Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
4.4.3, 5.7.0 Beta
-
d71dbe3e9322430dceed9cb2d3f957fbac2ab715 (qt/qtbase/5.15)
Description
When using pseudo states, and qproperty in style sheet, then qproperty
doesn't apply for example:
QPushButton {
qproperty-icon: url(:/my/resource/icon.png);
}
QPushButton:hover {
qproperty-icon: url(:/my/resource/icon2.png);
}
it will always display one icon.
Attachments
Issue Links
- relates to
-
QTBUG-79137 QStyleSheet: implement support for setting icon on a QPushButton
- Closed
-
QTBUG-51236 Q_PROPERTY is not updated with values from stylesheet when a widget changed pseudo state
- Open