[Qt-qml] Working with larger projects.
Jason H
scorp1us at yahoo.com
Fri Jul 16 15:32:13 CEST 2010
I'm going through the docs looking for the guidelines for working with larger
projects made up of multiple QML files, but I am not finding much. I start at
http://doc.qt.nokia.com/4.7-snapshot/declarativeui.html
Is there any documentation on the .qmlproject file format?
Also, it would be nice if the docs gave examples of how to structure projects
and such projects. So far all I have is an import statement.
My immediate task is:
I have 2 QML files and qmproject file. I added a 3rd "main.qml". I want to have
the main load the two other QML files and switch between them. (Each file
defines a "page") However, I would actually like the main to be dynamic that is,
it creates and destroys the pages as it needs them, as there will be many and i
don't want all that in memory all the time. Everything comes from local storage
so loading shouldn't be an issue.
Also I was wondering if there was/is going to be a Declarative ItemStack {
property int page; ...} that would allow people to switch between pages with an
animated transitions.
Thank you
More information about the Qt-qml
mailing list