06-25-2012 07:55 AM
Hi to all.
I write an app with four page ..
I've two questions:
1 - is better one file.qml for every page in app or one file .qml for all App pages?
2 - In the second page I retrieve input from users an elaborate it. In page four I can't link the variable in page two for visualize the result.
For example: page2 -- C= A+B
page4 -- label = page2.C
What's the correct formula?
Sorry for my bad English .. ![]()
Solved! Go to Solution.
06-25-2012 01:51 PM
It is better to have one QML file per page, this makes it easier to contol things as your app gets bigger.
As far as the scope for variables, I suspect you need to use the id's to control what data you are controlling.
The sample apps are a good example of organising your data.
Graham