[SailfishDevel] ComboBox with many MenuItems

2014-01-22 Thread Franck Routier (perso)
Hi, I have a ComboBox with MenuItem. OnClicked, each MenuItem updates a value in a component of my page. So far, so good. But when adding more item, the menu list is displayed on a second page. I can choose an item, but the inClicked function does not act as it does with less items (and the

Re: [SailfishDevel] ComboBox with many MenuItems

2014-01-22 Thread Mikko Leppänen
Hi, Look at the thread: ​​ ​​ ​​ http ​s​ ://www.mail-archive.com/devel@lists.sailfishos.org/msg02026.htmlhttp://www.mail-archive.com/devel@lists.sailfishos.org/msg02026.html ​/Mikko​ 2014/1/22 Franck Routier (perso) a...@mecadu.org Hi, I have a ComboBox with MenuItem. OnClicked, each

Re: [SailfishDevel] ComboBox with many MenuItems

2014-01-22 Thread Andrey Kozhevnikov
from onCurrentItem changed check currentIndex and do action. It's the only way to get paged combobox to work. On 22.01.2014 14:02, Franck Routier (perso) wrote: Hi, I have a ComboBox with MenuItem. OnClicked, each MenuItem updates a value in a component of my page. So far, so good. But when

[SailfishDevel] OpenGL Under Selica QML

2014-01-22 Thread Wim de Vries
Hi, Some time ago Thomas Perl was so kind to supply us with an example 'OpenGL Over QML'. It uses the afterRendering() signal. I am trying to use the beforeRendering() signal (including setClearBeforeRendering(false)), but I get no OpenGL output. It works with standard (non-Selica) QML. I

[SailfishDevel] harbour rejects user files in a Documents subfolder?

2014-01-22 Thread Wim de Vries
Hi, My checklists app got rejected by harbour again because of user data files :-( . My app creates a checklistdata folder under Documents (one default/example data file is copied there after first start up). Harbour doesn't want that: File creation in /home/nemo/Documents/ is not allowed, if

Re: [SailfishDevel] harbour rejects user files in a Documents subfolder?

2014-01-22 Thread Andrey Kozhevnikov
just use QStandartPath or at least QDir::Home instead of hardcoding /home/nemo On 22.01.2014 15:29, Wim de Vries wrote: Hi, My checklists app got rejected by harbour again because of user data files :-( . My app creates a checklistdata folder under Documents (one default/example data file is

Re: [SailfishDevel] harbour rejects user files in a Documents subfolder?

2014-01-22 Thread Reto Zingg
Hi, On 22.01.2014 11:29, Wim de Vries wrote: Hi, My checklists app got rejected by harbour again because of user data files :-( . My app creates a checklistdata folder under Documents (one default/example data file is copied there after first start up). Harbour doesn't want that: File creation

Re: [SailfishDevel] harbour rejects user files in a Documents subfolder?

2014-01-22 Thread wsvries
Andrey Kozhevnikov schreef op 2014-01-22 10:30: just use QStandartPath or at least QDir::Home instead of hardcoding /home/nemo I use the env.var. HOME (which is normally set to /home/nemo), and only if that fails it falls back to /home/nemo On 22.01.2014 15:29, Wim de Vries wrote: Hi, My

Re: [SailfishDevel] harbour rejects user files in a Documents subfolder?

2014-01-22 Thread wsvries
Reto Zingg schreef op 2014-01-22 10:41: Hi, On 22.01.2014 11:29, Wim de Vries wrote: Hi, My checklists app got rejected by harbour again because of user data files :-( . My app creates a checklistdata folder under Documents (one default/example data file is copied there after first start up).

Re: [SailfishDevel] OpenGL Under Selica QML

2014-01-22 Thread David Greaves
On 22/01/14 08:37, Wim de Vries wrote: Hi, Some time ago Thomas Perl was so kind to supply us with an example 'OpenGL Over QML'. It uses the afterRendering() signal. I am trying to use the beforeRendering() signal (including setClearBeforeRendering(false)), but I get no OpenGL output. It

Re: [SailfishDevel] ComboBox with many MenuItems

2014-01-22 Thread Franck Routier (perso)
Le 22/01/2014 09:21, Andrey Kozhevnikov a écrit : from onCurrentItem changed check currentIndex and do action. It's the only way to get paged combobox to work. Thanks. This worked and I will do that waiting for a proper fix in Sailfish. BR, Franck

Re: [SailfishDevel] Does BackgroundItem not accept all elements?

2014-01-22 Thread Mikko Leppänen
Hi, Define some height for the separator item. /Mikko 2014/1/22 Gabriel Böhme m.gabrielboe...@googlemail.com Hi sailors, I have a ListView and want to create a delegate for it. So I use the BackgroundItem as Silica Documentation recommend, but it seems, that the BackgroundItem is not

Re: [SailfishDevel] Does BackgroundItem not accept all elements?

2014-01-22 Thread Mikko Leppänen
Hi, Okay, you could try defining a width and height directly for the background item: BackgroundItem { id: background width: parent.width height: background_content.childrenRect.height ... } ​/Mikko​ 2014/1/22 Google Mail

Re: [SailfishDevel] OpenGL Under Selica QML

2014-01-22 Thread wsvries
Thanks, I'll stick to standard QML then. r wim David Greaves schreef op 2014-01-22 12:04: On 22/01/14 10:59, David Greaves wrote: The other option is to render to an FBO and then assign that to a QML item

Re: [SailfishDevel] OpenGL Under Selica QML

2014-01-22 Thread wsvries
I got it working! ApplicationWindow { _backgroundVisible : false ... } This way the ApplicationWindow (background) doesn't overpaint the OpenGL. Silica items now nicely and transparantly overlap the OpenGL. r wim wsvries schreef op 2014-01-22 14:50: Thanks, I'll stick to standard QML

[SailfishDevel] How can I use qtwebsockets module?

2014-01-22 Thread itviewer
Hi , As “qtwebsockets” become more mature(https://qt.gitorious.org/qt/qtwebsockets/source/master: ) There are some features in my app that I intend to use this module,So I want to learn about whether it is now possible to use? sorry for my english

[SailfishDevel] Listening to Connman DBUS signals

2014-01-22 Thread Julius Loman
Hi this is for sure a beginners question, but I hope somebody can help me to sort it out. I want to listen to connman dbus events to determine connection changes (I'm interested in receiving signal as soon as device connects to particular WLAN network). Using some examples I was able to capture

Re: [SailfishDevel] OpenGL Under Selica QML

2014-01-22 Thread David Greaves
Fantastic - I just verified that it works here too. How are you getting the GL into the QML scene? I created a GLItem which allows property connections and sizing so I know where to draw in the window. I then inherit from this item and render into the viewport it sets up. David On 22/01/14

[SailfishDevel] LED Flash functionality on a real Jolla

2014-01-22 Thread christopher . lamb
Hi All As many will know from previous threads, I am well on the way to porting an app for paraglider pilots. A subsidiary yet still important feature {1} that I added to the Harmattan version is an emergency flash, using the phone's LED. Now that I have got the app's main functionality

Re: [SailfishDevel] Listening to Connman DBUS signals

2014-01-22 Thread Ove Kåven
Den 22. jan. 2014 17:18, skrev Julius Loman: Hi this is for sure a beginners question, but I hope somebody can help me to sort it out. I want to listen to connman dbus events to determine connection changes (I'm interested in receiving signal as soon as device connects to particular WLAN

Re: [SailfishDevel] Listening to Connman DBUS signals

2014-01-22 Thread Ove Kåven
Den 22. jan. 2014 22:11, skrev Ove Kåven: You can see in there that PropertyChanged takes a string and a variant (which presumably maps to QString and QVariant), not a D-Bus object path. I think I should have said QDBusVariant, not QVariant. ___