[solved] Change icon using QAnimate or QStateMachine?
General and Desktop
3
Posts
2
Posters
2.4k
Views
1
Watching
-
I can't seem to get the icon on a pushbutton to change using a state machine.
I'm currently doing this:@State->assignProperty( widget.pushButton, "icon", ":/LeftArrow.png" );@
Another property for the same state is being set:
@State->assignProperty( widget.pushButton, "text", "logged in" );@
So I'm sure the state is getting transitioned to.Thanks!