Re: [SailfishDevel] Update on application naming for Harbour applications

2013-11-29 Thread Thomas Tanghus
On Friday 22 November 2013 14:32 Robin Burchell wrote: > Ahoy, > > In Iekku’s mail yesterday, we referred to application names needing to use a > “dotted” form (e.g. com.example.myapp). It was brought to our attention > that this isn’t factually possible at this time due to limitations in Qt > Cre

Re: [SailfishDevel] best way to work with covers?

2013-11-29 Thread Gabriel Böhme
Hmm, Jolla uses Source Sans Pro as far as I know. Maybe it helps if you are setting manually the font in your cover. But it's interessting, maybe a bug? Gabriel. -- Von meinem Nokia N9 gesendet Tigre-Bleu schrieb am 30.11.13 00:41: Well, using the second case with no typo works but wit

Re: [SailfishDevel] best way to work with covers?

2013-11-29 Thread Gabriel Böhme
Hello, In first case your Cover is not an instance, instead it's created directly from File, that means the function is not known. The second case should work, if you change onUpdated to onUpdated(myCoverPage.myFunction()) Because at the moment you don't use the id's name! Cheers Gabriel.

Re: [SailfishDevel] best way to work with covers?

2013-11-29 Thread Tigre-Bleu
Hi, While that solution below works perfectly fine to get data from the appWindow to the cover, I am facing an issue trying to do the opposite. Let's explain. My AppWindow looks like this: ApplicationWindow { MyModel { ... onUpdated(cover.myFunction()) } cover: Qt.resolvedUrl("cover/C

Re: [SailfishDevel] File chooser

2013-11-29 Thread Superpelican
IMHO a file picker/chooser/dialog should be the number 1 priority for the Sailors right now, now's the time to get the devs aboard and keep the ones already aboard happy ;) IMHO feature updates to the OS (like landscape mode for the stock browser) can wait until the dev stuff is sorted out. Next

Re: [SailfishDevel] Swipe Lock

2013-11-29 Thread Mariano Boragno
Hi guys, Anyway, this didn't work. I've set the Qt::WindowOverridesSystemGestures as Jonni proposed but I can still minimize and close the application using the swipe gesture. This feature is a must in my application. The game is intended to block babies from playing around with the phone while g

Re: [SailfishDevel] Swipe Lock

2013-11-29 Thread Mariano Boragno
Hi Jonni, Does that mean that I cannot dynamically enable/disable swipe lock on the fly? Thanks for your answer! Regards... -- ...Mariano Boragno... On 29/11/13 14:45 Jonni Rainisto wrote: Hi You need to call that before your setSource-line, as setFlags will not do anything if qml i

Re: [SailfishDevel] Swipe Lock

2013-11-29 Thread Jonni Rainisto
Hi You need to call that before your setSource-line, as setFlags will not do anything if qml is already loaded. Usually I do it with something like this: QScopedPointer app(Sailfish::createApplication(argc, argv)); QScopedPointer view(Sailfish::createView()); // Disable swi

[SailfishDevel] Swipe Lock

2013-11-29 Thread Mariano Boragno
Hi guys, I'm doing a game that requires to lock the system gestures (it's a game for babies, so I have to lock the swipe to avoid the baby from surfing all around the phone :) ) According to https://sailfishos.org/wiki/Porting/Harmattan it must be done through Qt::WindowOverridesSystemGestures, w

Re: [SailfishDevel] ContextMenu inside a PullDownMenu

2013-11-29 Thread Lauri Lavanti
Yeah, I tried that, but I couldn't figure out what the campus-elements should be as in they'd need to be clickable and on click it should modify the original page's property and then return to that page :S -- Lauri Lavanti laurilava...@gmail.com > -Alkuperäinen viesti- > Lähettäjä: deve

Re: [SailfishDevel] ContextMenu inside a PullDownMenu

2013-11-29 Thread Thomas Tanghus
I'd make a page for that: PullDownMenu { MenuItem { text: 'Settings' onClicked: pageStack.push(Qt.resolvedUrl('Campuses.qml')) } } And then have a SilicaListView with the campuses in Campuses.qml. On Tuesday 26 November 2013 20:32 Lauri Lavanti wr

Re: [SailfishDevel] Qt5Svg links against Qt5Widgets -> rejected in Harbour

2013-11-29 Thread Alessandro Portale
Hi Robin, thanks for the good news that it is fixed. Am Mittwoch, 27. November 2013 schrieb Robin Burchell : > Hi Alessandro, > > On 27 Nov 2013, at 20:43, Alessandro Portale > > > wrote: > > my app uses QtSvg and got rejected because it requires the blacklisted > > QtWidgets. > > That was corr