[SailfishDevel] Python and Qt Widgets development possible?

2014-01-26 Thread Dietmar Schwertberger
Hi! Until now I have been using PySide to write Qt Widgets applications that were running fine under Windows and Maemo. With some if/else I got native look feel on both platforms. Now I've tried the same with PyQt5 on Sailfish OS and the application looks like a Windows application and even

[SailfishDevel] Binding weirdness on Jolla device after deploy with screen locked

2014-01-26 Thread christopher . lamb
Hi all I have come across some weird behaviour on the Jolla: Bindings don't seem to work immediately after an app has deployed when the screen is locked. To demonstrate this I have created the code snippet at the end of this mail. To reproduce, create a default Sailfish project, paste the

Re: [SailfishDevel] Python and Qt Widgets development possible?

2014-01-26 Thread christopher . lamb
Hi Dietmar Zitat von Dietmar Schwertberger maill...@schwertberger.de: Switching to QML/Qt Quick seems a major effort and especially, it is very un-pythonic to use this mixture of two languages. There is only one language here, QML, which is an extension of javascript. Qt Quick is a set of

Re: [SailfishDevel] Binding weirdness on Jolla device after deploy with screen locked

2014-01-26 Thread christopher . lamb
Hi Ove That's pretty much the behaviour I get, and the swipe to multitasking and back fixes things. The behaviour 1s 100% reproducible when the screen is locked during deploy, and never occurs when deploying to an unlocked screen. That the problem to do with bindings is only a wild

Re: [SailfishDevel] Qt Creator Code AutoCompletion in QML for C++ declarative plugins

2014-01-26 Thread Andrey Kozhevnikov
writing qmltypes file can help you :) On 26.01.2014 22:23, christopher.l...@thurweb.ch wrote: Hi All My app exposes chunks of functionality to the QML side from C++ declarative plugins. On the QML side QtCreator gives me automatic code completion for elements exposed from such plugins,

Re: [SailfishDevel] Python and Qt Widgets development possible?

2014-01-26 Thread Marcin M.
Just a thought - maybe using some legacy (i.e. Fremantle) theme could be a fix. But I have no idea whether it can be done and with how much effort. -- Marcin 2014-01-26 christopher.l...@thurweb.ch Hi Dietmar Zitat von Dietmar Schwertberger maill...@schwertberger.de: Switching to QML/Qt

Re: [SailfishDevel] Harbour compliant way to read contacts

2014-01-26 Thread Bernd Wachter
christopher.l...@thurweb.ch writes: Hi Sven I am equally curious: Reading and rereading Bernd's mail I see ..contacts synced to the device from some third party services... I entered all the contacts on my phone myself (most via bluetooth from the N9). No third parties are involved at

Re: [SailfishDevel] (USB) access to sdcard?

2014-01-26 Thread Bernd Wachter
Wim de Vries wsvr...@xs4all.nl writes: Hi, Currently the SDCARD is mounted at /run/usr/10/media/sdcard. Can I hard-code this into my app, or will it change in future? You should not rely on it beeing there forever. In a future update we'll provide middleware to handle SD-card related

Re: [SailfishDevel] Harbour compliant way to read contacts

2014-01-26 Thread Marcin M.
And wouldn't separate permission for each app solve the thing? -- Marcin 2014-01-26 Bernd Wachter bernd.wach...@jolla.com christopher.l...@thurweb.ch writes: Hi Sven I am equally curious: Reading and rereading Bernd's mail I see ..contacts synced to the device from some third

[SailfishDevel] Impossible to send a PROPFIND request via XMLHttpRequest !?

2014-01-26 Thread Matthias Barmeier
Hi, if I try to send a PROPFIND request via XMLHttpRequest I got: Error: Unsupported HTTP method type This makes live for QML developers harder then necessary. Will this be fixed or is there a hidden trick to get a PROPFIND response via QML ? Ciao Matze

Re: [SailfishDevel] Harbour compliant way to read contacts

2014-01-26 Thread Andrey Kozhevnikov
issue not in app permissions. issue in restriction access to cloud contacts got from 3rd party services, and so on On 27.01.2014 00:21, Marcin M. wrote: And wouldn't separate permission for each app solve the thing? -- Marcin 2014-01-26 Bernd Wachter bernd.wach...@jolla.com

Re: [SailfishDevel] Harbour compliant way to read contacts

2014-01-26 Thread Gabriel Böhme
So Jolla get's punishment, because a user want's to use HIS Contacts, because they are fetched from 3rd party service, the user put HIS contacts?! - Wow strange. But making added by hand contacts is/could be possible? And what about if the user have to accept that a app wants to use his contacts

Re: [SailfishDevel] Qt Creator Code AutoCompletion in QML for C++ declarative plugins

2014-01-26 Thread Gabriel Böhme
Would also be a good feature, to have the Refactoring function for QML in QtCreator - if you want to change id/property/... names. Is it possible?! Cheers, Gabriel. -- Von meinem Nokia N9 gesendet Andrey Kozhevnikov schrieb am 26.01.14 17:25: writing qmltypes file can help you :) On

Re: [SailfishDevel] Qt Creator Code AutoCompletion in QML for C++ declarative plugins

2014-01-26 Thread Andrey Kozhevnikov
i think you need to post your suggestions according QtCreator to Digia, not Jolla ;) On 27.01.2014 00:36, Gabriel Böhme wrote: Would also be a good feature, to have the Refactoring function for QML in QtCreator - if you want to change id/property/... names. Is it possible?! Cheers,

Re: [SailfishDevel] Harbour compliant way to read contacts

2014-01-26 Thread Martin Grimme
2014-01-26, Gabriel Böhme m.gabrielboe...@googlemail.com: So Jolla get's punishment, because a user want's to use HIS Contacts, because they are fetched from 3rd party service, the user put HIS contacts?! - Wow strange. What makes you think that the contacts you sync from a 3rd party service

Re: [SailfishDevel] Qt Creator Code AutoCompletion in QML for C++ declarative plugins

2014-01-26 Thread christopher . lamb
Hoi Sven thanks. The problem (and it is a small one only) is limited to the auto-completion. Code builds perfectly well enough. QtCreator's clean function wipes out the moc files, but seems to have no effect on auto-complete. grüsse Chris Zitat von Sven Putze sailfish...@hardcodes.de:

Re: [SailfishDevel] Qt Creator Code AutoCompletion in QML for C++ declarative plugins

2014-01-26 Thread David Greaves
On 26/01/14 16:23, christopher.l...@thurweb.ch wrote: Hi All My app exposes chunks of functionality to the QML side from C++ declarative plugins. On the QML side QtCreator gives me automatic code completion for elements exposed from such plugins, suggesting property and method names.

Re: [SailfishDevel] Harbour compliant way to read contacts

2014-01-26 Thread Thomas Tanghus
On Sunday 26 January 2014 20:48 Bernd Wachter wrote: Our plans for contacts are to first make all local contacts available to your applications, and then fine-tune how we're dealing with contacts from 3rd party services. Sounds like a reasonable approach. You shouldn't be blocked from your

Re: [SailfishDevel] Binding weirdness on Jolla device after deploy with screen locked

2014-01-26 Thread Tero Siironen
Just to confirm this, I'm having same issues with my app. If I launch it and put the screen off right away the application's screen is not updated when I open it again from the cover. Have to swipe it back to home and reopen it to get updated window. -- Tero 2014/1/26

Re: [SailfishDevel] Qt Creator Code AutoCompletion in QML for C++ declarative plugins

2014-01-26 Thread christopher . lamb
Hi David Thanks, your guess is correct. I had not seen the option under Tools / C++. Unfortunately it does not help either. During breakfast I have found a solution: closing all projects and QtCreator, then reopening gives autocompletion with the correct updated properties / method names.

[SailfishDevel] sailfish ui on laptop

2014-01-26 Thread Christophe Varoqui
Hello, First, sorry to post there, but I couldn't find a sailfish-users mailing list. I use a yoga 2 laptop with ubuntu as my primary workhorse, which has some interesting caracteristics: - highdpi : 3200x1800 pixels - touch screen - can be folded 360° to a tablet format I'm quite underwhelmed