On Jan 21, 2008, at 10:03 PM, Graeme Geldenhuys wrote:

On 21/01/2008, Den Jean <[EMAIL PROTECTED]> wrote:
On Monday 21 January 2008 01:18:56 pm Giuliano Colla wrote:
Either one takes the Qt way, i.e. using style to *mimic* the native
*look*, without actually using it, and provides a consistent behavior,
this does not honour the huge Qt effort. Qt DOES use
the native widget when necessary do have native look for XP, Vista and Mac OS X style. This is why these styles are not available on the other platforms
because the lack of the native widget set library.

Nope, it's like I explained before. Qt does all custom painting, it
does not required the underlying 'native' widgets. They used to copy
the look of OS's by manually drawing all controls.  Since late 3.x or
starting with 4.x (not sure which version) Qt under XP, Vista, MacOS X
and GTK asks the corresponding component (via native API) to draw
itself on a memory bitmap. Qt then paints that bitmap to the correct
location on the form. This overcomes the issue when user install there
own custom themes. Qt does not create a instance of the native widget.



For others I don't know but for Carbon I have a big doubt.


--
Damien Gerard
[EMAIL PROTECTED]

Le temps n'a pas d'importance. Seul le code est important
   -- (f00ty)




_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to