![]() |
Re: Getting started whit QT and Sailfish
Quote:
Code:
pageStack.pop(null)Code:
pageStack.pop(myPage) |
Re: Getting started whit QT and Sailfish
Thanks for your answer! However pop(null) will in my case do the same as pop(), ie go back one step only. I'll look into find()...
|
Re: Getting started whit QT and Sailfish
Using find() at best I get the same result as with pop() and pop(null), it'll pop the top most page off, but not more.
Edit: As a workaround I thought I'd try clear() and then push the first page, but no luck so far. The stack is cleared allright, but I'm not sure how to push the first page after that.. |
Re: Getting started whit QT and Sailfish
Okay, keeping it simple I made this experiment:
1: I create the basic app in SDK 2: I create a new qml page "ThirdPage.qml" 3: I pretty much copy the "FirstPage.qml" contents to "SecondPage.qml" and "ThirdPage.qml", changing the PullDownMenus' MenuItem to: SecondPage.qml: Code:
MenuItem {Code:
MenuItem { |
| All times are GMT. The time now is 12:42. |
vBulletin® Version 3.8.8