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.
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.
Use pageStack.find to get the page which you want to pop up.