hover effect on qwidget
Solved
General and Desktop
-
i've subclassed qframe and i wanna get a hovering effect. i want some button-ish effect (like background) but i can't come up with styles to apply. what can i use?
p.s. i know that i could've subclassed some button but in my case i found it easier to subclass qframe
-
i've subclassed qframe and i wanna get a hovering effect. i want some button-ish effect (like background) but i can't come up with styles to apply. what can i use?
p.s. i know that i could've subclassed some button but in my case i found it easier to subclass qframe
@user4592357
QFrame is such a simple widget that it doesn't support the:hover
pseudo state.
Thus you would have to listen to the enter/leave events yourself and adapt the background dynamically.