Results 1 to 7 of 7

Thread: Changing the colour of an individual widget

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows
    Thanks
    9
    Thanked 27 Times in 27 Posts

    Default Re: Changing the colour of an individual widget

    Emm..posted code is not ehough..bottomColours what is it?
    a life without programming is like an empty bottle

  2. #2
    Join Date
    May 2006
    Location
    Australia
    Posts
    53
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    11
    Thanked 4 Times in 4 Posts

    Default Re: Changing the colour of an individual widget

    haha...sorry....clearly I am half asleep

    I didn't think my variable names would make sense to anyone but me, so I changed some of the names, but I am dumb so I missed one! sorry for wasting ur time....


    anyway, what that line is meant to be is

    topRight->QWidget::setPalette(palette);


    that makes a bit more sense doesn't it?

Similar Threads

  1. QDockWidget inside another widget in the center?
    By Antebios in forum Qt Programming
    Replies: 1
    Last Post: 16th February 2010, 07:06
  2. Replies: 1
    Last Post: 8th February 2009, 11:37
  3. Changing QPushButton text colour with mouseMoveEvent
    By Misenko in forum Qt Programming
    Replies: 1
    Last Post: 10th June 2008, 16:53
  4. Changing colour thru qss file
    By phillip_Qt in forum Qt Programming
    Replies: 3
    Last Post: 27th March 2008, 05:36
  5. Dynamically changing QLabel background colour
    By T4ng10r in forum Qt Programming
    Replies: 19
    Last Post: 19th April 2007, 12:47

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
  •  
Qt is a trademark of The Qt Company.