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

Calling a function from a new state

$
0
0
And in addition to that, if you want to load different data you could use the onStateChanged in your item/component. onStateChanged: {   if (state == "state1") get_db(3);   else if (state == "state2") ... }

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images