Re: [SailfishDevel] Detecting if running in emulator/debug mode in QML

2014-01-18 Thread christopher . lamb
Hi Antoine Your point is valid, in the old days of the N9 Simulator I was able to write code to detect the simulator vs real device. But should it be necessary? Why should we need to detect a difference between an Emulator / Simulator, and a real device? Probably because of weaknesses in

Re: [SailfishDevel] Detecting if running in emulator/debug mode in QML

2014-01-18 Thread Artem Marchenko
You can propagate C++ knowledge to QML, Antoine For example setContextProperty #ifdef QT_QML_DEBUG Best regards, Artem. On Sun, Jan 12, 2014 at 1:41 PM, Antoine Reversat wrote: > Hi, > > I was wondering if there is a way to know if we're in debug mode or > running in the emulator in QML (some

[SailfishDevel] SearchField focus in ListView with Qt/C++ data model

2014-01-18 Thread Matthias Fehring
Hello, I already read some posts about the SearchField losing focus after model update. https://lists.sailfishos.org/pipermail/devel/2013-August/000615.html https://www.mail-archive.com/devel@lists.sailfishos.org/msg02204.html I adapted the example from the component gallery and also set curren

Re: [SailfishDevel] SSL certificate manager

2014-01-18 Thread Matthias Fehring
Thanks for the hint. I voted for it. Am Samstag, 18. Januar 2014, 15:58:42 schrieb Jonni Rainisto: > https://together.jolla.com/question/1607/gui-to-addtrust-ssl-root-certsself-> > signed-certs/ > > > From: devel-boun...@lists.sailfishos.org > [devel-boun

Re: [SailfishDevel] SSL certificate manager

2014-01-18 Thread Jonni Rainisto
https://together.jolla.com/question/1607/gui-to-addtrust-ssl-root-certsself-signed-certs/ From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Matthias Fehring [buschm...@huessenbergnetz.de] Sent: Saturday, January 18,

[SailfishDevel] SSL certificate manager

2014-01-18 Thread Matthias Fehring
Hello, is there something like a SSL certificate manager availbale on Sailfish OS? Something one can use in own apps to check and accept SSL certificates, especially self signed certs? Maybe something similar to aegis-certman on Harmattan? Best greetings Matthias -- Das Gesetz hat zum Schne

Re: [SailfishDevel] Receiving notifications

2014-01-18 Thread Thomas Tanghus
On Saturday 18 January 2014 10:08 marko.kosc...@tisno.de wrote: > That is exactly what I am looking for. I want to show errors in my > ownKeepass app if the user gave e.g. a wrong password. Currently I have > implemented my own banner component which should look like those from the > system. -> >

Re: [SailfishDevel] Receiving notifications

2014-01-18 Thread marko . koschak
That is exactly what I am looking for. I want to show errors in my ownKeepass app if the user gave e.g. a wrong password. Currently I have implemented my own banner component which should look like those from the system. -> https://github.com/jobe-m/ownkeepass/blob/master/Sailfish/qml/common/In