QML window changing.
-
In qml, which one is the best way to open child window or window at the same level from this option?
dynamically using QML Loader Element
By creating component (using Qt.createComponent)
initially we create all window but pt them in invisible mode and set visibility at the time of use.
-
The second one - By creating the componenet dynamically using Qt.createComponent(). Since QML elements are bit heavy than C++ objects, because of too much decorations like gradient, animation etc (my assumption), its better to create them dynamically and destroy them after usage using destroy().