Re: [SailfishDevel] pagestack signals for eg pageback

2013-08-09 Thread Benoît HERVIER
Hi, Sorry i answer only to Wim and forgot to add the mailing list address Thanks Matthew for the tips of using a dialog, indeed this could be usefull too, depending on the use case. Regards, Le 2013-08-10 01:14, Matthew Vogt a écrit : Thanks for the extra detail, Wim. You can probably do w

Re: [SailfishDevel] pagestack signals for eg pageback

2013-08-09 Thread Matthew Vogt
Thanks for the extra detail, Wim. You can probably do what you want in a handler to the statusChanged event: onStatusChanged: { if (status == PageStatus.Deactivating) { if (_navigation == PageNavigation.Back) { // User has navigated back from this page

Re: [SailfishDevel] pagestack signals for eg pageback

2013-08-09 Thread Wim de Vries
Hi Matt Benoît Hervier pointed me to the status property. The scenario is simple. I am rounding up a checklist app (for in a aircraft cockpit). If the user navigates back, the complete list has to be reset (security rule). btw: the checklists are displayed in non-salfish colors (need max contras

Re: [SailfishDevel] pagestack signals for eg pageback

2013-08-09 Thread Matthew Vogt
Hi Wim. There are no signals for PageBack or PageForward in the Silica PageStack. What are you trying to do? From within a Page element, you can observe changes to the 'pageContainer' property (when added and removed from the PageStack), or the 'status' property (which reflects the page's sta

Re: [SailfishDevel] Sending SMS Messages from Sailfish Alpha 2

2013-08-09 Thread Thomas B. Rücker
On 08/09/2013 10:24 PM, John Brooks wrote: > On Aug 7, 2013, at 1:14 PM, Thomas B. Rücker wrote: > >> Hi, >> >> let me join this conversation, as I have a similar use-case. >> >> On 08/07/2013 06:19 PM, John Brooks wrote: >>> On Aug 7, 2013, at 2:19 AM, christopher.l...@thurweb.ch wrote: >> My use

Re: [SailfishDevel] Sending SMS Messages from Sailfish Alpha 2

2013-08-09 Thread John Brooks
On Aug 7, 2013, at 1:14 PM, Thomas B. Rücker wrote: > Hi, > > let me join this conversation, as I have a similar use-case. > > On 08/07/2013 06:19 PM, John Brooks wrote: >> On Aug 7, 2013, at 2:19 AM, christopher.l...@thurweb.ch wrote: > > My use case is related. I'm thinking about push notif

Re: [SailfishDevel] Sending SMS Messages from Sailfish Alpha 2 from QML

2013-08-09 Thread John Brooks
On Aug 9, 2013, at 10:23 AM, christopher.l...@thurweb.ch wrote: > Hi John > > I think the QML side should look like this: > >TelepathyChannelManager { >id: handler >} > >property var currentChannel: > handler.getConversation("/org/freedesktop/Telepathy/Account/ring/tel/acco

[SailfishDevel] Mailing list

2013-08-09 Thread Rafael Martinez
Unsubscribe me please thanks. Sent from my iPhone ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] Sending SMS Messages from Sailfish Alpha 2 from QML

2013-08-09 Thread christopher . lamb
Hi John I think the QML side should look like this: TelepathyChannelManager { id: handler } property var currentChannel: handler.getConversation("/org/freedesktop/Telepathy/Account/ring/tel/account0", "12345") PullDownMenu { MenuItem {

[SailfishDevel] DeclarativeGlassImageProvider in qt5 alpha

2013-08-09 Thread Tero Siironen
Hi, I used glass background for my app successfully in the first alpha sdk, but now with qt5 alpha sdk whatever I try to set to source of image element I get error like this: QFSFileEngine::open: No file name specified QFSFileEngine::open: No file name specified DeclarativeGlassImageProvider::req

Re: [SailfishDevel] Include Python.h: BuildRequires

2013-08-09 Thread Robin Burchell
On 9. aug. 2013, at 10:03, christopher.l...@thurweb.ch wrote: > BuildRequires: pkgconfig(QtCore) >= 4.7.0 > BuildRequires: pkgconfig(QtDeclarative) > BuildRequires: pkgconfig(QtContacts) > BuildRequires: pkgconfig(qdeclarative-boostable) > BuildRequires: pkgconfig(TelepathyQt5) > BuildRequires

[SailfishDevel] pagestack signals for eg pageback

2013-08-09 Thread Wim de Vries
Hi, I cannot find the signals/functions of the pagestack (eg onPageBack) in the documentation. (the same goes for other silica elements as well). Am I over looking sth? Thanks. ___ SailfishOS.org Devel mailing list

[SailfishDevel] Fwd: SailfishOS application template

2013-08-09 Thread Helge Täubert
Hello, yes, this is exactly, what I have tried. There is no SailfishOS application template. I have tried to remove and reinstall the SDK, but nothing changed. Thanks for you help and time 2013/8/9 Lucien XU > Hello, > > Did you tried to create a new project with this SailfishOS SDK QtCreator

Re: [SailfishDevel] SailfishOS application template

2013-08-09 Thread Lucien XU
Hello, Did you tried to create a new project with this SailfishOS SDK QtCreator ? In the "Application" tab of the project creation wizard, there should be "Sailfish OS application". Cheers, Lucien Le jeudi 8 août 2013 22:49:02 Helge Täubert a écrit : > Hello, > > I have installed the Sailfish

Re: [SailfishDevel] SearchField and focus

2013-08-09 Thread Lucien XU
Hello ! It works here on Weatherfish. Thanks ! However, it might worth it to mention it in official docs, since it might happen often. Cheers, Lucien Le vendredi 9 août 2013 12:11:35 Benoît HERVIER a écrit : > Hello, > > Indeed. > > Thanks a lot for the explanation. > > Regards, > > Le 2013

Re: [SailfishDevel] SearchField and focus

2013-08-09 Thread Benoît HERVIER
Hello, Indeed. Thanks a lot for the explanation. Regards, Le 2013-08-09 03:12, Bea Lam a écrit : Hello, The problem is that when the model changes, the last added delegate steals the focus, as ListView has a focus scope. If you set "currentIndex: -1" on the ListView, then this behaviour wil

Re: [SailfishDevel] Sending SMS Messages from Sailfish Alpha 2 from QML

2013-08-09 Thread christopher . lamb
Hi John Zitat von "John Brooks" : property var currentChannel: handler.getConversation("/org/freedesktop/Telepathy/Account/ring/tel/account0", "12345") onClicked: currentChannel.sendMessage("Hello world") I have installed telepathy-qt5 and telepathy-qt5-devel. I was also able to build org

Re: [SailfishDevel] Include Python.h: BuildRequires

2013-08-09 Thread Jonni Rainisto
You are trying to pkgconfig stuff that doesn't have corresponding .pc file. In mersdk vm, if you "su -l mersdk" and do "sb2 ls /usr/lib/pkgconfig" you can see available pkgconfig packages. If there is no pkgconfig package avail then you most likely just need to BuildRequire the -devel package t

Re: [SailfishDevel] Include Python.h: BuildRequires

2013-08-09 Thread christopher . lamb
Hi Jonni Could you clarify you answer here: Zitat von "Jonni Rainisto" : Other option would just to add depency to spec file (or to yaml), that way package gets automatically installed to toolchain while building. BuildRequires: pkgconfig(python-2.7) In my case the Build fails with an