Hi,
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?
Regards

Mailing lists / lazarus / 2012-09
13 messages · 5 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi,
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?
Regards
On 9/16/12, Krzysztof wrote:
. Exists any style or switch which makes the program will
look the same on all platforms?
fpGUI perhaps?
Ask Graeme...
Bart
I have application which is using QT widgetset on all platforms (gnome, kde, windows).…
Yes. Start your application with param -style windows. It's win95 look and it works on all platforms.
zeljko
Yes. Start your application with param -style windows. It's win95 look and it works on all platforms.
Thanks!
fpGUI perhaps?
This interface is the best solution, but I can't use it until it doesn't have trayicon component
I have application which is using QT widgetset on all platforms (gnome, kde, windows).…
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
. Exists any style or switch which makes the program will fpGUI perhaps? Ask Graeme...…
Bart wrotefpGUI perhaps? Ask Graeme...
I couldn't say it better myself. :-)
G.
I have application which is using QT widgetset on all platforms (gnome, kde, windows).…
Krzysztof wroteplatforms. Exists any style or switch which makes the program will look the same on all platforms?
Qt apps (not sure about LCL-Qt ones) support a -style parameter. Qt includes 4-5 styles (Win9x, Motif, CDE, ClearLooks etc.) by default which you can use.
Regards,
- Graeme -
Thanks! This interface is the best solution, but I can't use it until it doesn't have…
Krzysztof wroteThis interface is the best solution, but I can't use it until it doesn't have trayicon component
via LCL-fpGUI or via native fpGUI? Either way, native fpGUI Toolkit should have a trayicon component in the next few days. It's very near complete.
Regards,
- Graeme -
Qt apps (not sure about LCL-Qt ones) support a -style parameter. Qt includes 4-5 styles…
@Graeme. What about tray icon in fpGUI?
Krzysztof wrote@Graeme. What about tray icon in fpGUI?
Get a repository update later in the week, and it should be there. ;-)
Regards,
- Graeme -
@Graeme. What about tray icon in fpGUI?
LCL-fpGUI or via native fpGUI?
Native. Hmm, I've never heard about LCL-fpGUI. What is this? I can mix standard LCL controls with fpGUI? How to install it?
Native. Hmm, I've never heard about LCL-fpGUI. What is this? I can mix standard LCL…
Krzysztof wroteI've never heard about LCL-fpGUI. What is this?
It is a Lazarus LCL widgetset backend. It is a LCL interface to other toolkits just like LCL-Qt, LCL-GTK1, LCL-GTK2, LCL-CustomDrawn, LCL-Cocoa, LCL-Carbon.
Native fpGUI: This is when you only use fpGUI Toolkit - no LCL. This is when you get the true power of fpGUI and single source development, with very low dependencies.
LCL-fpGUI: This is when you use LCL, and told the Lazarus IDE to compile your project for the fpGUI Toolkit backend.
I can mix standard LCL controls with fpGUI?
No.
How to install it?
LCL-fpGUI comes standard with Lazarus, but it is still in Alpha state. Many feature still need to be implemented before it can truly be used to compile any LCL application. There is no dedicated developer working on this, hence progress is slow. It's not a difficult task though. I simply don't have the time, as fpGUI, tiOPF, FPTest, OnGuard, my daytime job, and my family keeps me rather busy. I do occasionally supply LCL-fpGUI patches though.
Regards,
- Graeme -