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. Resolving app navigation/flow
QtWS25 Last Chance

Resolving app navigation/flow

Scheduled Pinned Locked Moved QML and Qt Quick
qt quickapplicationnavigation
3 Posts 2 Posters 1.5k 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.
  • lajtuL Offline
    lajtuL Offline
    lajtu
    wrote on last edited by lajtu
    #1

    Hey,

    I'm facing problem of inventing architecture of my application flow which is consisted of pure QtQuick code. To be exact I'm developing control panel for "intelligent house" which should work for Desktop & Mobile. My app is going to be constructed from Dashboard, then from tabs:

    • Rooms - (as in image) view from which I can see all devices belonging to the selected room
    • Devices - similar to rooms but show devices of desired type.
    • Camera - entering video
    • Settings - entering form with some data

    like in the attached image

    What is the best approach to implement great flow/navigation of such app ? I want to go forward like the arrows say and go back with e.g. Back Button on Android.

    I believe it's simple but very common case for apps. I'd really appreciate your opinions! :)

    p3c0P 1 Reply Last reply
    0
    • lajtuL lajtu

      Hey,

      I'm facing problem of inventing architecture of my application flow which is consisted of pure QtQuick code. To be exact I'm developing control panel for "intelligent house" which should work for Desktop & Mobile. My app is going to be constructed from Dashboard, then from tabs:

      • Rooms - (as in image) view from which I can see all devices belonging to the selected room
      • Devices - similar to rooms but show devices of desired type.
      • Camera - entering video
      • Settings - entering form with some data

      like in the attached image

      What is the best approach to implement great flow/navigation of such app ? I want to go forward like the arrows say and go back with e.g. Back Button on Android.

      I believe it's simple but very common case for apps. I'd really appreciate your opinions! :)

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi @lajtu and Welcome,
      For this incremental type of approach I would use a StackView here. Then for the independent pages like for eg. Dashboard a Grid or GridView or GridLayout can be used whichever depends upon your requirements there. Likewise for others too. Then these individual Components/Items can be pushed on to the Stack when pressed forward and then popped when back is pressed. You may also choose to not delete these created items so as to avoid the recreation of them. You can also add animations for the transitions between these operations.
      Have a look at its document. There are lots of properties you may find interesting.

      157

      1 Reply Last reply
      0
      • lajtuL Offline
        lajtuL Offline
        lajtu
        wrote on last edited by
        #3

        This looks very promising, thanks ! :)

        1 Reply Last reply
        0

        • Login

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