[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 w

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.

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 : > Hi Ove > > That's pre

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] LED Flash functionality on a real Jolla

2014-01-26 Thread Artem Marchenko
Cool to see that happening, guys! Will help me to move Flashlight app to proper gstreamer too if it is ever allowed in harbour or if I (or anybody else) manages to bundle it with the app. Should be possible. Cheers, Artem. On Sat, Jan 25, 2014 at 6:50 PM, wrote: > Mohammed et al > > I have j

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] 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" : Hi, try to build/

Re: [SailfishDevel] Harbour compliant way to read contacts

2014-01-26 Thread Bernd Wachter
Gabriel Böhme writes: > 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. Technically it's app access, but obviously it boils down to some services not wanting you to freely do wi

Re: [SailfishDevel] Harbour compliant way to read contacts

2014-01-26 Thread Martin Grimme
2014-01-26, 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. What makes you think that the contacts you sync from a 3rd party service are still YOUR contacts? Have

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

2014-01-26 Thread Sven Putze
Hi, try to build/run qmake from the menu and if that does not help, throw away the Makefile. The property binding depends on the Qt meta system, bound to the Q_OBJECT macro. Often recompiling does not start the needed steps to recreate the moc files and things get strange. BR. Sven > > The t

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, Gabrie

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 26.

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 contact

[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 >

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 > 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 entere

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

2014-01-26 Thread Andrey Kozhevnikov
everything possible, but widgets is the worst what can happen for sailfish. get time to learn qml, its easy. On 27.01.2014 00:15, Gabriel Böhme wrote: Hi Dietmar, I've started to learn coding with Python/PyQt on N900 just before the N9 and all the QML stuff started. That was a bit hard.

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

2014-01-26 Thread Gabriel Böhme
Hi Dietmar, I've started to learn coding with Python/PyQt on N900 just before the N9 and all the QML stuff started. That was a bit hard. I started to learn also QML and fell in love - kind of. On one side it's so easy and fast to creat stunning UI's and the other point - it makes sense to spli

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

2014-01-26 Thread Bernd Wachter
Wim de Vries 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 functionality (info

Re: [SailfishDevel] Harbour compliant way to read contacts

2014-01-26 Thread Bernd Wachter
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 all. So surely m

Re: [SailfishDevel] LED Flash functionality on a real Jolla: using policy engine

2014-01-26 Thread christopher . lamb
Hi Mohmammed following your suggestion earlier in this thread: "You will also have to make use of resource policy engine to arbitrate access to camera." I have updated this demo: https://github.com/sailfishapps/ThrowawayDemos/tree/master/Working/GSTTorch2 to do so using nemo-qml-plugin-poli

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

2014-01-26 Thread christopher . lamb
Hi Andrey Zitat von "Andrey Kozhevnikov" : writing qmltypes file can help you :) Thanks. How is that best done with the Sailfish SDK? It does not include a qmlplugindump tool. I have found copies of qmlplugindump in other Qt installations on my workstation, but have not got them workin

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 > Hi Dietmar > > Zitat von "Dietmar Schwertberger" : > > > >> Switching to QML/Qt Quick seems a major effort and especially,

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, sugg

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

2014-01-26 Thread christopher . lamb
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. So far so good. The trouble is, I often refactor the C+

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 assum

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

2014-01-26 Thread Ove Kåven
Den 26. jan. 2014 13:42, skrev christopher.l...@thurweb.ch: 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. Are you able to tell the difference between something like this, and the more

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

2014-01-26 Thread christopher . lamb
Hi Dietmar Zitat von "Dietmar Schwertberger" : 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 components used by QML.

[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

[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

Re: [SailfishDevel] ComboBox with many MenuItems

2014-01-26 Thread Franck Routier (perso)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Interestingly, the workaround that worked with paged ComboBox (that is use onCurrentItemChanged) stopped to work as soon as I switch to MenuItems defined from a Repeater. With MenuItems defined from Repeater, onCurrentItemChanged fires everytime the pa