[Qt-qml] [Qt-Qml] Best way to handle different QML Views
Thomas Ganshorn
mailings at novaimages.de
Wed Jun 1 16:27:28 CEST 2011
Hi i have another noob question.
For my project i want to achieve the following.
My application has multiple "output windows".
For each window i can design multiple QML Scenes.
These QML Scenes are "plugins" meaning i want to search for a list of qml files
in a specific directory
and have a command availalbe to switch between these qml scenes
(eg. switchDisplay ( window, qmlscene ) )
because these qml screens can get rather complicated (a first calculation with
one of my test widgets lead to about 1000 items for one screen) i dont want them
to eat up all my cpu power while they are not visible.
So how is the best way to handle this situation ?
load all qml scenes into a tabbed widget and switch them ?
relaod and reinitialise all scenes everytime it gets visible (is this fast
enough or will it take several seconds till i can see something ?)
is there a pause scene or something like that ?
Greetings
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20110601/6f162aaf/attachment.html
More information about the Qt-qml
mailing list