Multiple windows desktop app in Qt Quick?
-
I wonder if there exists simple way of making multiple windows application, where windows are created independently from single root ApplicationWindow? I'm totally new in Qt Quick, which is a bit puzzling in this regard. For example, how do I call form constructor? Or Qt Quick is a wrong tool for this sort of task?
Form1.qml:
ApplicationWindow { id: root visible: true ToolBar { ToolButton { color: "#FF0000" onClicked: Form2.show() } }
Form2.qml:
Window { id: Form2 width: 400 height: 400 }