[Lazarus] QT Style

Den Jean Den.Jean at telenet.be
Sun Sep 16 19:06:51 CEST 2012


On Sunday 16 September 2012 17:21:12 Krzysztof wrote:
> 
> I have application which is using QT widgetset on all platforms
> (gnome, kde, windows). But Qt is trying simulate native look on all
> platforms. Exists any style or switch which makes the program will
> look the same on all platforms?

Instead of provide the startup style parameter
you can also programmatically achieve this,
see the mainwindow demo program of the binding on

http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html

see also 
http://qt-project.org/doc/qt-4.8/qapplication.html#setStyle-2

Kind regards,

Jan








More information about the Lazarus mailing list