Unable to grey out QPushButton with image, when disable
-
Hello,
I would like to grey out a image on QPushButton (only the image, not the background) when i disable it.
If i understand well, it's a base functionnality (it should grey out image when disable) but when i disable a button the color don't change (the button is well disable i can't click on it).I don't want to create a special disable icon because i would like to save the current state ex:
default image : grey
clicked image : blue
disable : more grey out
if click before and then disable : blue grey out.I use QT5.15.2 for C++ (on a older version of Qt it's work well).
What i am missing ? Thanks for your help.
-
Hi and welcome to devnet,
Can you show a picture of the working version and the one you have now ?
Since it used to work, there might be a regression.