Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Delet a QML page from pagestack
boumacmilan last edited by
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.
favoritas37 last edited by
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.
leafaku last edited by
Use pageStack.find to get the page which you want to pop up.