June 7, 2012

boumacmilan boumacmilan
Lab Rat
8 posts

delet a QML page from pagestack

 

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,

2 replies

June 7, 2012

favoritas37 favoritas37
Ant Farmer
147 posts

Have you read the complete documentation of PageStack [doc.qt.nokia.com] ?

If you want to remove the top most page in the stack you use pop [doc.qt.nokia.com] function. Also you can use replace [doc.qt.nokia.com] 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.

June 8, 2012

leafaku leafaku
Lab Rat
16 posts

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

 
  ‹‹ Animating an image      [SOLVED] ListView delegates and offsetting ››

You must log in to post a reply. Not a member yet? Register here!