Results 1 to 4 of 4

Thread: QPushButton color

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2010
    Posts
    62
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QPushButton color

    Hello,

    I have a checkable QPushButton and I'd like to change its color when checked.
    I've change the palette colors accordingly, but in the checked state the button is "dimmed" (dithered) as in the attached screendump.
    I am working on LINUx, application style is "Windows".

    How can I get rid of this dithering?

    Thanks for your help
    Attached Images Attached Images

Similar Threads

  1. QPushButton with MANY text color
    By somename in forum Newbie
    Replies: 8
    Last Post: 30th May 2010, 14:38
  2. QPushButton SetText Color
    By Qt Coder in forum Qt Programming
    Replies: 1
    Last Post: 13th April 2009, 17:21
  3. QPushbutton background color
    By omega36 in forum Qt Programming
    Replies: 27
    Last Post: 31st October 2008, 12:47
  4. QPushButton color when clicked
    By ntp in forum Qt Programming
    Replies: 3
    Last Post: 30th April 2008, 18:34
  5. How to change color of a QPushButton?
    By vishal.chauhan in forum Qt Programming
    Replies: 6
    Last Post: 5th March 2008, 13:22

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.