Rotate Image of QPushButton
-
I would take a look at this. That should be what you're looking for in theory to handle when the cursor 'hovers' over the button. Instead, load a rotated version of the same image.
Alternatively, there may be more elegant approaches. Hope this helps!
-
I would take a look at this. That should be what you're looking for in theory to handle when the cursor 'hovers' over the button. Instead, load a rotated version of the same image.
Alternatively, there may be more elegant approaches. Hope this helps!
@Carmoneer I mean it's a animation or movement. Not just only changing background image in the hover stylesheet.
-
@Carmoneer I mean it's a animation or movement. Not just only changing background image in the hover stylesheet.
@Anh-Phan
hi
you can create your own button and use the
http://doc.qt.io/qt-5/animation-overview.html
for the animation.I also had good results using gif animation and a QLabel child.
-
@Anh-Phan
hi
you can create your own button and use the
http://doc.qt.io/qt-5/animation-overview.html
for the animation.I also had good results using gif animation and a QLabel child.