Results 1 to 2 of 2

Thread: Apply style sheet to whole application from main window.

  1. #1
    Join Date
    Oct 2012
    Location
    Gurgaon, Haryana, India
    Posts
    15
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Question Apply style sheet to whole application from main window.

    Hi,
    I have an Application. I want to apply stylesheet on whole application from main window when user select from availabe list on stylesheets. so how can change stylesheet when application is in runnig state. Please help me for this. Thanks you very much in advance.

  2. #2
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Apply style sheet to whole application from main window.

    See the example:- demo_stylesheet.zip
    Last edited by sonulohani; 3rd October 2012 at 12:49.
    Heavy Metal Rules. For those about to rock, we salute you.
    HIT THANKS IF I HELPED.

  3. The following user says thank you to sonulohani for this useful post:

    Pardeep (5th October 2012)

Similar Threads

  1. How to apply style for widget over application style
    By muthu-ms in forum Qt Programming
    Replies: 5
    Last Post: 21st October 2011, 08:16
  2. Problems with Gradient style used through Style sheet on ARM platform
    By puneet.narsapur in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 25th January 2010, 12:48
  3. Replies: 2
    Last Post: 9th August 2009, 22:08
  4. Creating a Main Window Application
    By gt.beta2 in forum Qt Tools
    Replies: 13
    Last Post: 24th February 2009, 19:45
  5. accessing my main application window widget
    By jayw710 in forum Newbie
    Replies: 8
    Last Post: 15th November 2007, 19:33

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.