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. Delet a QML page from pagestack
Forum Updated to NodeBB v4.3 + New Features

Delet a QML page from pagestack

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 3 Posters 1.9k 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.
  • B Offline
    B Offline
    boumacmilan
    wrote on last edited by
    #1

    Hi every body ,
    I have a problem I want to remove a qml page from the page stack I didn't manage how I found the clear method but it removes all the qml pages
    Any help would be appreciated.
    Thanks,

    1 Reply Last reply
    0
    • F Offline
      F Offline
      favoritas37
      wrote on last edited by
      #2

      Have you read the complete documentation of "PageStack":http://doc.qt.nokia.com/qt-components-symbian/qml-pagestack.html ?

      If you want to remove the top most page in the stack you use "pop":http://doc.qt.nokia.com/qt-components-symbian/qml-pagestack.html#pop-method function. Also you can use "replace":http://doc.qt.nokia.com/qt-components-symbian/qml-pagestack.html#replace-method function if you have a page and you want to replace it with an other.

      Finally in the PageStack's documentation there is a section named: Navigating with the PageStack (Advanced Method). There, as it says, you will find instructions for advanced operations on the PageStack.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        leafaku
        wrote on last edited by
        #3

        Use pageStack.find to get the page which you want to pop up.

        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