Results 1 to 2 of 2

Thread: How to change theme of a window

  1. #1
    Join Date
    Aug 2008
    Posts
    84
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default How to change theme of a window

    Hi every body ,I am using QT4.4.3 with MSVS2005. I want to develop a appication with rich look. I am not able to chage the theme of the window . Which Class I havet o use to chage the theme of the window and plese suggest me what all I have to do .
    So please suggest me to solve this problem.



    Reagards,
    sudheer.

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: How to change theme of a window

    What do you mean by "theme"?
    Do you mean style?
    If so, Check QWidget::setStyle().
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Replies: 2
    Last Post: 9th August 2009, 23:08
  2. Change Qt theme while running
    By Macok in forum Qt Programming
    Replies: 7
    Last Post: 12th February 2009, 20:57
  3. change operating system theme.
    By rajeshs in forum Qt Programming
    Replies: 2
    Last Post: 20th March 2008, 05:02
  4. how to change size of window... stupid mistake
    By Sergio_Almonte in forum Qt Programming
    Replies: 2
    Last Post: 30th November 2007, 16:00
  5. Change shape of window / animate window
    By sabeesh in forum Qt Programming
    Replies: 3
    Last Post: 31st October 2007, 09:16

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.