Results 1 to 2 of 2

Thread: Qicon disabled full color

  1. #1
    Join Date
    May 2011
    Posts
    18
    Thanks
    2

    Default Qicon disabled full color

    Hello,

    I’m currently using a QTableWidget with some QIcons in the QTableWidgetItem. Some of them are disabled, some of them are not.
    When they are disabled, Qt automatically colors them in grey. I want to disabled this grey color for disabled icon for aesthetic issues.
    The icons would all look alike.

    I can’t find a way to do it. Someone know?

    Thanks

  2. #2
    Join Date
    Sep 2009
    Location
    Aachen, Germany
    Posts
    60
    Thanks
    2
    Thanked 7 Times in 7 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qicon disabled full color

    Well, it would be a not so pretty hack, but you could just use a blank icon with the color you like for the QTableWidgetIcons that now have disabled icons

Similar Threads

  1. Replies: 4
    Last Post: 2nd December 2010, 14:57
  2. Shorcuts for disabled QActions
    By Michiel in forum Qt Programming
    Replies: 2
    Last Post: 23rd May 2007, 16:49
  3. Why the system buttons are disabled on Mac OS?
    By gtthang in forum Qt Programming
    Replies: 2
    Last Post: 3rd May 2007, 09:50
  4. Replies: 2
    Last Post: 31st May 2006, 21:52

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.