[Lazarus] QT Style

2012-09-16 Thread Krzysztof
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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] QT Style

2012-09-16 Thread zeljko
On Sunday 16 of September 2012 17:21:12 Krzysztof wrote:
 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?

Yes. Start your application with param -style windows.
It's win95 look and it works on all platforms.

zeljko

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] QT Style

2012-09-16 Thread Krzysztof
 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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] QT Style

2012-09-16 Thread Graeme Geldenhuys

On 16/09/12 17:08, Bart wrote:


fpGUI perhaps?

Ask Graeme...


I couldn't say it better myself. :-)

G.



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] QT Style

2012-09-16 Thread Graeme Geldenhuys

On 16/09/12 16:21, Krzysztof wrote:

platforms. 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 -


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] QT Style

2012-09-16 Thread Graeme Geldenhuys

On 16/09/12 18:02, Krzysztof wrote:

This 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 -


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] QT Style

2012-09-16 Thread Krzysztof
@Graeme. What about tray icon in fpGUI?

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] QT Style

2012-09-16 Thread Graeme Geldenhuys

On 16/09/12 19:51, Krzysztof wrote:

@Graeme. What about tray icon in fpGUI?


Get a repository update later in the week, and it should be there. ;-)

Regards,
  - Graeme -



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] QT Style

2012-09-16 Thread Krzysztof
 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?

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] QT Style

2012-09-16 Thread Graeme Geldenhuys

On 16/09/12 20:06, Krzysztof wrote:


I'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 -



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus