Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Changing State of a Component from another Component

$
0
0
I am a newbie in QT. In my application I have a headerbar which is a component. This headerbar component have two states “base” and “state1”. on Homescreen i want to show the base state but on screen 2 i want to show the state1 of headerbar. I tried setting the headbar.state variable in the screen2 but that does not work. Is there a way to do this? Thanks -A

Viewing all articles
Browse latest Browse all 4972

Trending Articles