Re: QML plasmoid, pageStack.pop() doesn't work

2012-07-17 Thread Aaron J. Seigo
On Thursday, July 12, 2012 18:24:18 Gao Xiang wrote: > initialPage: [ c, b, a ] as Darker noted, this is incorrect: it only takes a single page that is used to initialize the stack. you want to use push and pop to push and pop pages on and off the stack. push can take an array of

Re: QML plasmoid, pageStack.pop() doesn't work

2012-07-12 Thread Daniel Kreuter
On Thursday, July 12, 2012 11:02:50 PM Gao Xiang wrote: On Thursday 12 July 2012 10:51:47 Daker Fernandes Pinheiro wrote: Hi Gao, Actually the initialPage property holds 'the' initial page. It doesn't works with an ordered lists of pages. Just put initialPage: c to get your expected behaviour.

Re: QML plasmoid, pageStack.pop() doesn't work

2012-07-12 Thread Gao Xiang
On Thursday 12 July 2012 10:51:47 Daker Fernandes Pinheiro wrote: Hi Gao, Actually the initialPage property holds 'the' initial page. It doesn't works with an ordered lists of pages. Just put initialPage: c to get your expected behaviour. Br, Daker Fernandes Pinheiro Thank you for your repl

Re: QML plasmoid, pageStack.pop() doesn't work

2012-07-12 Thread Daker Fernandes Pinheiro
Hi Gao, Actually the initialPage property holds 'the' initial page. It doesn't works with an ordered lists of pages. Just put initialPage: c to get your expected behaviour. Br, Daker Fernandes Pinheiro 2012/7/12 Gao Xiang > The sample qml is easy: > =

QML plasmoid, pageStack.pop() doesn't work

2012-07-12 Thread Gao Xiang
The sample qml is easy: == import QtQuick 1.1 import org.kde.plasma.components 0.1 as PlasmaComponents Item { PlasmaComponents.PageStack { id: pageStack anchors.fill: parent initialPage: [ c,