PDA

View Full Version : GUI Styles



dsmcc
19th November 2008, 12:57
Hi..
I have just started using Qt. I am using Qt Designer 3.3.3. I have developed a small GUI and had a preview of my GUI in the various styles (Windows, Motif, dotNet, B3 etc). I just want to know how to start my GUI with a particular style (Motif etc..). By default it starts with the system style.
Regards,
dsmcc

wysota
19th November 2008, 15:58
You can pass a -style stylename switch or use QApplication::setStyle("stylename") where stylename is the name of the style you want to set.