Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to save the current component in stackview and push it back at onclick event from any other component

How to save the current component in stackview and push it back at onclick event from any other component

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 114 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.
  • A Offline
    A Offline
    AICT_Radhika
    wrote on last edited by
    #1
    1. I push the component via its url as,
      stack_view.push("Menu.qml")
      2 . I push this component from many other components.
      3 . In Menu.qml ,there is Close Button. On 'the Close Button' click I need to go back to the base component from which the Menu.qml is pushed to stack.
      4 . So my questions are,
      a. How to save the current component before pushing the Menu.qml in to the stack?
      b.How to push again/pop to the previous component(saved in first question)?
    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