I am new to QT Quick and QML and I am trying to build a Linux Desktop multi Window application using C++ and QT. I mean application having multiples windows like:
- Slash or Welcome Screen
- Main Dashboard
- User Profile
- Charts and Graphs
- Etc. etc.
I want to have these screens as independent C++ classes and QML files for example:
- Dashboard.cpp
- Dashboard.qml
I am able to build QML files representing these screens but not sure how to map them to a class which will control and communicate with QML and backend. I want to have each QML file represented as C++ Class. And screen stack manager will use these classes to push and pop screens from the screen stack.
I have seen the examples provided by QT but most of the examples are single screen and not explaining how to have multiple screens and how the screen stack is maintained.