Results 1 to 2 of 2

Thread: GUI Styles

  1. #1
    Join Date
    Nov 2008
    Posts
    2
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default GUI Styles

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: GUI Styles

    You can pass a -style stylename switch or use QApplication::setStyle("stylename") where stylename is the name of the style you want to set.

Similar Threads

  1. Learning more about styles
    By bruccutler in forum Newbie
    Replies: 4
    Last Post: 20th February 2010, 09:09
  2. PyQt Styles
    By awestman in forum Qt Programming
    Replies: 0
    Last Post: 17th October 2008, 13:59
  3. Problem with Qt4 Styles
    By drake1983 in forum Newbie
    Replies: 2
    Last Post: 10th February 2008, 03:11
  4. Styles - building
    By Salazaar in forum Newbie
    Replies: 10
    Last Post: 20th May 2007, 18:19
  5. Multiple styles for sliders
    By Lele in forum Qt Programming
    Replies: 2
    Last Post: 27th October 2006, 16:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.