Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How Qt creates the disabled/other states for QIcon
Forum Updated to NodeBB v4.3 + New Features

How Qt creates the disabled/other states for QIcon

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 365 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on last edited by
    #1

    Hi
    Im looking for the code spot where Qt generates the grey (disabled) etc version of the Icon you assign.
    I found it once but for the life of me I cant recall where.
    Should be near QIconEngines paint but i cant find it.

    So thought someone might know :)

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Ah
      it was
      http://doc.qt.io/qt-5/qstyle.html#generatedIconPixmap

      1 Reply Last reply
      5

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved