Re: PageStack and StackView

2014-12-01 Thread Marco Martin
On Saturday 29 November 2014, Kai Uwe Broulik wrote: > I migrated the essential parts of PageStack to StackView but now System > Tray is completely broken. Switching to different applets leaves the old > ones there. > > According to documentation "By default […] StackView will destroy items > push

Re: PageStack and StackView

2014-11-29 Thread Kai Uwe Broulik
I migrated the essential parts of PageStack to StackView but now System Tray is completely broken. Switching to different applets leaves the old ones there. According to documentation "By default […] StackView will destroy items pushed as components or URLs. Items not destroyed will be re-paren

Re: PageStack and StackView

2014-11-24 Thread Kai Uwe Broulik
Am Montag, 24. November 2014, 20:47:26 schrieb Marco Martin: > pageStack.push(someItem, {fgcolor: "red", bgcolor: "blue"}, true) would just > wrap internally > stackView.push({item: someItem, immediate: true, properties: {fgcolor: > "red", bgcolor: "blue"}}) So it seems when I define a function

Re: PageStack and StackView

2014-11-24 Thread Marco Martin
On Monday 24 November 2014, Marco Martin wrote: > > push(page, properties, immediate) → push(item) as a shortcut, or > > push({item: someItem, immediate: true, properties: {foo: "bar", baz: > > "bla"} }) which cannot be (easily, if at all?) overloaded to provide > > legacy support > > Uuh, from wh

Re: PageStack and StackView

2014-11-24 Thread Marco Martin
On Monday 24 November 2014, Kai Uwe Broulik wrote: > Hi again, > > I was looking into porting PlasmaComponents.PageStack to > QtQuick.Controls.StackView. PageStack provides quite some legacy features > Marco told me weren't that important but it also has a lot of similar-but- > different API with

PageStack and StackView

2014-11-24 Thread Kai Uwe Broulik
Hi again, I was looking into porting PlasmaComponents.PageStack to QtQuick.Controls.StackView. PageStack provides quite some legacy features Marco told me weren't that important but it also has a lot of similar-but- different API with JavaScript functions taking a couple of parameters whereas Q