Results 1 to 4 of 4

Thread: Changing colour thru qss file

  1. #1
    Join Date
    Oct 2007
    Posts
    201
    Thanks
    19
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Changing colour thru qss file

    Hi All.
    i ve a doubt. Im changing the colour of o/p window by applying .qss file. But its not changing the child window colour. e.g while im presing button 9 is asking 2 change qss file. If i'll choose coffee its colour is changing to coffee. and while im pressing 5 a new child window is generating but its colour is not getting changed. What shd i do to change the child window colour.

    Thank u All.
    Cheers,
    Phillip



    --- Please post the solution you got to solve your problem. It may help others.

  2. #2
    Join Date
    Feb 2008
    Posts
    26
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Changing colour thru qss file

    Check if the stylesheet works in QtDesigner, you might have typed something wrong.

    Also, if you're trying to use the example styles, keep in mind that the Pagefold style partly applies to direct child widgets only (see the documentation about stylesheets for more about selector rules and all that).

  3. #3
    Join Date
    Oct 2007
    Posts
    201
    Thanks
    19
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Changing colour thru qss file

    Quote Originally Posted by Stukfruit View Post
    Check if the stylesheet works in QtDesigner, you might have typed something wrong.

    Also, if you're trying to use the example styles, keep in mind that the Pagefold style partly applies to direct child widgets only (see the documentation about stylesheets for more about selector rules and all that).
    I chaned noting in that example code.
    Cheers,
    Phillip



    --- Please post the solution you got to solve your problem. It may help others.

  4. #4
    Join Date
    Oct 2007
    Posts
    201
    Thanks
    19
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Changing colour thru qss file

    Hi, all till now, I'm facing same problem and could not find any solution in Net.
    Can any body tell me how to solve this problem.
    Thank U.
    Cheers,
    Phillip



    --- Please post the solution you got to solve your problem. It may help others.

Similar Threads

  1. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 06:51
  2. file renaming on windows
    By jdd81 in forum Qt Programming
    Replies: 9
    Last Post: 2nd October 2007, 19:41
  3. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  4. Dynamically changing QLabel background colour
    By T4ng10r in forum Qt Programming
    Replies: 19
    Last Post: 19th April 2007, 12:47
  5. Sending Binary File with QFTP
    By nbkhwjm in forum Newbie
    Replies: 2
    Last Post: 7th March 2007, 18:10

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.