Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Way to handle multiple qml pages in WindowApplication without using StackView or SwipeView



  • I have need of use ApplicationWindow control to have header and footer option, along with contents to be override with different QML pages based on the menu selection. How to do without using StackView or SwipeView to load different QML pages into Content section based on use menu selection ?

    80065574-ad0d-4b27-ac40-4c1ece696d6a-image.png

    Appreciate your kind suggestions.



    1. try ListView, set the ListView currentIndex when use menu selection.
    2. try Loader, set the Loader url when use menu selection.


  • @qyvlik Thanks for the suggestion.

    I have tried sample project with Loader option. It looks working.

    Let me do the actual program and see how best it works.


Log in to reply