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. Steer flow of displayed pages on external data triggers
Qt 6.11 is out! See what's new in the release blog

Steer flow of displayed pages on external data triggers

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 186 Views 1 Watching
  • 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.
  • SebastianMS Offline
    SebastianMS Offline
    SebastianM
    wrote on last edited by
    #1

    Hi,
    I've implemented feature with one Controller item containing 5 items (each item is template for 2-4 pages, so with states I can display ie. 15 different pages).
    With backend I'm communicating with ONE slot (ControlRequest) and react to changes on ControlResponse property.
    There's demand from design team to implement 3 different flows (Wizards). Those 3 flows are triggered by user click or specific ControlResponse.

    Currently I've done it with one giant Connections on ControlResponse property. To distinguish what page to show - I check received ControlResponse, what item is visible and in what state it is. Sometimes I need to store additional bool flag to remember what flow is followed.
    This solution is difficult to maintain and/or modify.

    What are other solutions for this demand? One idea was I thought to use different Connections (enabled when given flow is identified). Someone told me that JS has premises (but this feature it's unknown to me).
    Working examples are most valuable.

    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