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. ___ Sail

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 network

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

2014-01-22 Thread Mohammed Hassan
On Wed, Jan 22, 2014 at 08:29:19PM +0100, christopher.l...@thurweb.ch wrote: [...] > Solution 3) > > Via a Gstreamer QML Plugin. > > I dug out some old code that worked on Harmattan, basically the code > from this link to create a qml plugin > > http://developer.nokia.com/Community/Wiki/How_to_t

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

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 14:3

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

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

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 th

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 http://qt-project.org/doc/qt-5/qtquick-visualcanvas-scenegraph.html#mixing-scene-graph-a

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 > > This makes the Sepa

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 > 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 accepting all elements. > > E

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] OpenGL Under Selica QML

2014-01-22 Thread David Greaves
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 > > http://qt-project.org/doc/qt-5/qtquick-visualcanvas-scenegraph.html#mixing-scene-graph-and-opengl > > AFAIUI it's slightly lower performance but it does give you total control

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

[SailfishDevel] Does BackgroundItem not accept all elements?

2014-01-22 Thread Gabriel Böhme
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 accepting all elements. Easy example: BackgroundItem { id: background highlightedColor: Theme.secondaryHighligh

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

2014-01-22 Thread Jonni Rainisto
thats the problem, as rpm checker script does: `strings yourbinary | grep "/home/nemo/"` so if it finds a hit, it gives a reject. re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of wsvries [wsvr...@xs4all.

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). H

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

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

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

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

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

Re: [SailfishDevel] ComboBox with many MenuItems

2014-01-22 Thread Franck Routier (perso)
Ok, so this is a known bug. I'll keep my MenuItems below 7 that triggers the "menu on another page" behaviour for now and wait for the proposed patch to be applied. Thanks, Franck Le 22/01/2014 09:08, Mikko Leppänen a écrit : > Hi, > > Look at the thread: > ​​ > ​​ > ​​ > http > ​s​ > ://www.mai

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.html ​/Mikko​ 2014/1/22 Franck Routier (perso) > Hi, > > I have a ComboBox with MenuItem. OnClicked, each MenuItem upda

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