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. qproperty-icon on hover button stylesheet
Forum Updated to NodeBB v4.3 + New Features

qproperty-icon on hover button stylesheet

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 4.7k 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.
  • M Offline
    M Offline
    Mr Gisa
    wrote on last edited by
    #1

    I have an :hover with qproperty-icon in a QToolButton but it doesn't change the icon. Everything works like the background color and so on, but the icon doesn't change.

    1 Reply Last reply
    0
    • RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by Ratzz
      #2

      @Mr-Gisa

      May be bug ? QTBUG-2982.

      There is a workaround here .

      You can make use of Event Filters .

      --Alles ist gut.

      1 Reply Last reply
      1
      • M Offline
        M Offline
        Mr Gisa
        wrote on last edited by
        #3

        That is a weird bug, I worked for me just using:

            background-image: url(":/save.png");
            background-repeat: no-repeat;
            background-position: center;
        
        1 Reply Last reply
        0

        • Login

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