Re: [Qt-creator] License Templates / [SOLVED] DPI=72 + 6pt / *.h- and *.cpp-templates

2010-09-23 Thread Kai Koehne
On 9/23/2010 9:26 AM, ext mailingli...@bluespirit.la wrote:
> Hello Adam,
>
> without the xorg.conf-autodetection (I had no xorg.conf at all) and the
> hand-written DisplaySize and DisplayMode, the fonts look fine now -
> thank a log. I tried something similar some months ago, but my xserver
> crashed - even with the auto-generated xorg.conf.
>
> The other question: Does someone of you know some documentation of the
> "License Template" feature of the qtcreator? I just tried qtcreator
> 2.0.1 - but I'm still faced with the same problems...

Hi Charly,

in latest master there is documentation for this. Keywords listed there are

   %YEAR%, %DATE%, %USER%, %VARIABLE%, %FILENAME%, %CLASS%

FILENAME and CLASS seems to be available only in master / upcoming 2.1.

Kai

-- 
Kai Koehne
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] License Templates / [SOLVED] DPI=72 + 6pt / *.h- and *.cpp-templates

2010-09-23 Thread mailinglists
Hello Adam,

without the xorg.conf-autodetection (I had no xorg.conf at all) and the
hand-written DisplaySize and DisplayMode, the fonts look fine now -
thank a log. I tried something similar some months ago, but my xserver
crashed - even with the auto-generated xorg.conf.

The other question: Does someone of you know some documentation of the
"License Template" feature of the qtcreator? I just tried qtcreator
2.0.1 - but I'm still faced with the same problems...

Cheers,
Charly



On Wed, 22 Sep 2010 10:09:24 -0500, Coda Highland
 wrote:
> 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
>  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,   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