[Qt-creator] License Templates / DPI=72 + 6pt / *.h - and *.cpp-templates
Hello, I have some questions. I'm using qt 4.7.2 and a self-compiled qtcreator 2.0.0: 1) I'm using the license template, but only %YEAR% is working. Things like %FILENAME%, %CLASSNAME% etc. would be nice. What is working - and what is planned? Is there a documentation of this feature? 2) I have some problems with my Debian in the VMWare, which I fix with starting the XServer with -dpi 72. Qt still shows me the huge fonts, which I can workaround with setting the Qt fontsize to 6pt with qtconfig. This works fine for everything, but the texteditor of qtcreator has its own font-size, so I have to set it to 6pt too... but when I open the qtcreator the next time, it's set to 7pt again. Sometimes I have to set the fontsize on every second document I open. I ve installed the qt creator with your installer, but this not-self-compiled qtcreator ignores the qtconfig settings - so I cannot use it. 3) Is there another way, to make qt use of the dpi of X? 4) Is there a way, to use templates when creating new classes - so I have all comments placed in the new header. Thx, Charly ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] License Templates / DPI=72 + 6pt / *.h- and *.cpp-templates
Set the physical monitor size in your xorg.conf so that (screen width)/(horizontal resolution) and (screen height)/(vertical resolution) are the desired DPI. That should make the -dpi setting unnecessary since that's the calculation used by default anyway. /s/ Adam On Wed, Sep 22, 2010 at 9:37 AM, mailingli...@bluespirit.la wrote: Hello, I have some questions. I'm using qt 4.7.2 and a self-compiled qtcreator 2.0.0: 1) I'm using the license template, but only %YEAR% is working. Things like %FILENAME%, %CLASSNAME% etc. would be nice. What is working - and what is planned? Is there a documentation of this feature? 2) I have some problems with my Debian in the VMWare, which I fix with starting the XServer with -dpi 72. Qt still shows me the huge fonts, which I can workaround with setting the Qt fontsize to 6pt with qtconfig. This works fine for everything, but the texteditor of qtcreator has its own font-size, so I have to set it to 6pt too... but when I open the qtcreator the next time, it's set to 7pt again. Sometimes I have to set the fontsize on every second document I open. I ve installed the qt creator with your installer, but this not-self-compiled qtcreator ignores the qtconfig settings - so I cannot use it. 3) Is there another way, to make qt use of the dpi of X? 4) Is there a way, to use templates when creating new classes - so I have all comments placed in the new header. Thx, Charly ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] License Templates / DPI=72 + 6pt / *.h- and *.cpp-templates
Side note, the physical sizes are measured in millimeters, so remember that 25.4mm = 1in. If you want 72 DPI at 1024x768, your screen should be 361mm x 271mm. /s/ Adam On Wed, Sep 22, 2010 at 10:07 AM, Coda Highland c...@bobandgeorge.com wrote: Set the physical monitor size in your xorg.conf so that (screen width)/(horizontal resolution) and (screen height)/(vertical resolution) are the desired DPI. That should make the -dpi setting unnecessary since that's the calculation used by default anyway. /s/ Adam On Wed, Sep 22, 2010 at 9:37 AM, mailingli...@bluespirit.la wrote: Hello, I have some questions. I'm using qt 4.7.2 and a self-compiled qtcreator 2.0.0: 1) I'm using the license template, but only %YEAR% is working. Things like %FILENAME%, %CLASSNAME% etc. would be nice. What is working - and what is planned? Is there a documentation of this feature? 2) I have some problems with my Debian in the VMWare, which I fix with starting the XServer with -dpi 72. Qt still shows me the huge fonts, which I can workaround with setting the Qt fontsize to 6pt with qtconfig. This works fine for everything, but the texteditor of qtcreator has its own font-size, so I have to set it to 6pt too... but when I open the qtcreator the next time, it's set to 7pt again. Sometimes I have to set the fontsize on every second document I open. I ve installed the qt creator with your installer, but this not-self-compiled qtcreator ignores the qtconfig settings - so I cannot use it. 3) Is there another way, to make qt use of the dpi of X? 4) Is there a way, to use templates when creating new classes - so I have all comments placed in the new header. Thx, Charly ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator