Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Way to handle multiple qml pages in WindowApplication without using StackView or SwipeView
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 738 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sakthivel
    wrote on 22 Mar 2020, 09:14 last edited by
    #1

    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 Reply Last reply
    0
    • Q Offline
      Q Offline
      qyvlik
      wrote on 22 Mar 2020, 09:25 last edited by
      #2
      1. try ListView, set the ListView currentIndex when use menu selection.
      2. try Loader, set the Loader url when use menu selection.
      S 1 Reply Last reply 22 Mar 2020, 15:20
      0
      • Q qyvlik
        22 Mar 2020, 09:25
        1. try ListView, set the ListView currentIndex when use menu selection.
        2. try Loader, set the Loader url when use menu selection.
        S Offline
        S Offline
        Sakthivel
        wrote on 22 Mar 2020, 15:20 last edited by
        #3

        @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.

        1 Reply Last reply
        0

        1/3

        22 Mar 2020, 09:14

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved