Results 1 to 8 of 8

Thread: Stylesheet for QCheckBox - where does the background color come from?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Stylesheet for QCheckBox - where does the background color come from?

    Possibly because the white portion of your checkmark image is not transparent so it is overlaying the background when it is painted. Try the attached image: checkmark_grey.png

  2. #2
    Join Date
    Sep 2010
    Posts
    28
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Stylesheet for QCheckBox - where does the background color come from?

    I will (when I get to work), but that can't be all that happens? If you look at my screenshots, all the colors change when I add the checkmark image.

Similar Threads

  1. Replies: 1
    Last Post: 27th May 2011, 20:27
  2. Replies: 4
    Last Post: 2nd December 2010, 14:57
  3. QCheckBox change color
    By vajindarladdad in forum Newbie
    Replies: 4
    Last Post: 6th October 2009, 08:33
  4. How to change defualt color of QCheckbox box?
    By darshan.hardas in forum Qt Programming
    Replies: 3
    Last Post: 12th November 2008, 13:24
  5. qCheckbox back ground color
    By sreedhar in forum Qt Programming
    Replies: 1
    Last Post: 20th December 2006, 18:44

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.