Important: Please read the 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 ?


    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