Good way to completely change a page through options
Unsolved
QML and Qt Quick
-
Hello,
I have a product that have a Homepage.qml file which represent the Home page of the product. It happens that this product have an other mode which completely change the Homepage representation.
To swap from one mode to another u have to go in some setting pages (which is described in another QML).
What is the right way to change this Homepage representation? Currently the only way I see is using a var that tell me in which mode I am and to use if statement to what i have to load in QML.
Is there a better way to do it?
Thanks and have a nice day