Re: [SailfishDevel] alpha2 sdk: shared source directory not working ?

2013-08-14 Thread Jonni Rainisto
feature is not finished yet. br, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of W. Dobbe [winfried_...@xmsnet.nl] Sent: Wednesday, August 14, 2013 5:01 PM To: devel@lists.sailfishos.org Subject: [SailfishDe

[SailfishDevel] alpha2 sdk: shared source directory not working ?

2013-08-14 Thread W. Dobbe
I just removed alpha1 and installed alpha2. I noticed the new SDK installer now asks if you want to use a source directory outside your home directory. I entered the development directory of my data disk. However when I try to build the example application generated by the Sailfish project wiz

Re: [SailfishDevel] Search Field Component

2013-08-14 Thread BenoƮt HERVIER
Hello, No it do not filter listView automatically hopefully. That just a text field with additionnal informations. You can see an exemple of how i use it in ownNotes here : https://github.com/khertan/ownNotes/blob/master/Sailfish/pages/MainPage.qml Regards, Le 2013-08-14 13:42, Dimitris a

Re: [SailfishDevel] Search Field Component

2013-08-14 Thread Joona Petrell
Hi Dimitris, Silica SearchField is just a specially-styled TextField, the actual search string filtering should be implemented in the application model (QAbstractListModel or QML ListModel). For an example of how to use SearchField see Search page in Component Gallery. When displaying the searc

[SailfishDevel] Search Field Component

2013-08-14 Thread Dimitris
Hello, I want to use this component and there is not much info about it in the documentation. Is it just a TextField with two additional icons or does it actually filters the result according to the text given? Because if it doesn't I have to implement it on my own. Thanks. _

Re: [SailfishDevel] Cannot pop while operation is in progress : SOLVED

2013-08-14 Thread Wim de Vries
Thanks Mathew, Your suggestion indeed works like this: pageStack.replaceAbove(pageStack.previousPage(), Qt.resolvedUrl("controls/MTextEdit.qml")) I got the error because there was still a pop() somewhere in the current page! Silly, I had been fiddling to much. Thanks again. I now have a nice work

Re: [SailfishDevel] Cannot pop while operation is in progress

2013-08-14 Thread Matthew Vogt
Hi Wim. Correct me if I'm wrong, but I understand your page stack situation to be like this: [ ..., page0, page1, page2 ] and you want to pop page2, and also replace page1 with a new page, so you end up with: [ ..., page0, page3 ] Is that right? If so, then the first argument to replaceAbove()

Re: [SailfishDevel] Cannot pop while operation is in progress

2013-08-14 Thread Wim de Vries
I also tried pageStack.replaceAbove(Qt.resolvedUrl("controls/MTextEdit.qml")) which should remove the current page, but then: file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:111: Error: Cannot replace with invalid target page which is not present on the stack > This is my function in main.q

Re: [SailfishDevel] Cannot pop while operation is in progress

2013-08-14 Thread Wim de Vries
Thanks Matt, This is my function in main.qml (called from within c++) function loadTextEdit(text) { //pageStack.push(Qt.resolvedUrl("controls/MTextEdit.qml"))//works OK! pageStack.replaceAbove(pageStack.currentPage, Qt.resolvedUrl("controls/MTextEdit.qml")) pageStack.currentPage.s