We are beginning the creation of a fairly complex user interface and would like to accomplish the following:
In order to avoid the entire UI being placed in one QML file with an unreasonable amount of "states" we would like to embed QML elements into a larger QML file where each item is a separate document. For instance, if we were creating an automotive dashboard we would have a speedometer QML file that controlled all the UI elements relating to the speedometer. This would sit in the larger dashboard UI along with the odometer qml file, etc.
Does this make sense? What code will accomplish this?
Also, how can I navigate between different QML UI pages? For instance in the dashboard example the setup pages would link to one another as the menu system is traversed.