[SailfishDevel] CalDAV/CardDAV Contributor Meeting

2016-09-08 Thread Chris Adams
Hi everyone, During the recent Sailfish OS Community Meeting, I raised the topic of CalDAV/CardDAV sync plugins for discussion. These plugins provide vital functionality, but due to the complexity of the space (e.g., dozens of different server implementations, each with slightly different beha

Re: [SailfishDevel] PageStack: from push pushAttached directly to initialPage

2016-09-08 Thread Kimmo Lindholm
Is this what you are looking for?? function getBottomPageId() { return pageStack.find( function(page) { return (page._depth === 0) }) } pageStack.pop(getBottomPageId(), PageStackAction.Immediate) /* Remove all except bottom page, Thansk for Acce: * htt

Re: [SailfishDevel] PageStack: from push pushAttached directly to initialPage

2016-09-08 Thread Andrey Kozhevnikov
for find function you might set objectName of your page -- Исходное сообщение -- От: "Michael Fuchs" Кому: devel@lists.sailfishos.org Отправлено: 08.09.2016 22:52:09 Тема: Re: [SailfishDevel] PageStack: from push pushAttached directly to initialPage The find function looks promising.

Re: [SailfishDevel] PageStack: from push pushAttached directly to initialPage

2016-09-08 Thread Michael Fuchs
The find function looks promising. But where do I set the id of the mainPage, which is accessible via pageStack? ApplicationWindow { id: app initialPage: Component { id: here?; TaskList { id:here?; } } } Am 08.09.2016 um 17:16 schrieb Andrey Kozhevnikov: pageStack.pop(id of mainPag

Re: [SailfishDevel] PageStack: from push pushAttached directly to initialPage

2016-09-08 Thread Andrey Kozhevnikov
pageStack.pop(id of mainPage or page found using pageStack.find function) -- Исходное сообщение -- От: "Michael Fuchs" Кому: devel@lists.sailfishos.org Отправлено: 08.09.2016 19:39:39 Тема: Re: [SailfishDevel] PageStack: from push pushAttached directly to initialPage Thanks for your

[SailfishDevel] Connect to 2 databases

2016-09-08 Thread Chris Walker
Can anybody point me in the direction of some C++ code to connect to two SQL databases please? I want to have one set as read-only and the other as read-write. Whatever I'm doing is wrong as I always end up with a default connection. ___ SailfishOS.org

Re: [SailfishDevel] PageStack: from push pushAttached directly to initialPage

2016-09-08 Thread Michael Fuchs
Thanks for your attention. ;) I guess I got it: onClicked: pageStack.replaceAbove(null, app.initialPage); ...works for me. Am 08.09.2016 um 13:18 schrieb Michael Fuchs: Hi guys, I got a question about the PageStack. I got a main page and a filter page, which can be push() 'ed or pushAtta

[SailfishDevel] PageStack: from push pushAttached directly to initialPage

2016-09-08 Thread Michael Fuchs
Hi guys, I got a question about the PageStack. I got a main page and a filter page, which can be push() 'ed or pushAttached() several times. Either via PullDownMenu or swipe to left. I would like to have another item in the pulldownmenu, which lets me directly go back to the first page ("Back