Re: [SailfishDevel] Inhibit PageStack back gestures on Map widget

2014-02-16 Thread Aaron McCarthy
Hi, On Sun, 16 Feb 2014 18:29:55 Tigre-Bleu wrote: > I have a Pagestack where a page is displaying a map with QtLocation Map {} > element. > > I can pan the map to the top/bottom/right but if I try to pan to the left, > the OS thinks it is a swipe back and pop the page out. I would expect that >

[SailfishDevel] Preventing auto sleep and detecting sleep mode

2014-02-16 Thread Arvid Fahlström Myrman
Hi, I have two questions relating to sleep mode: First, is it possible for an application to prevent the Jolla from automatically entering sleep mode e.g. while on a specific page? An example use case would be when using navigation apps while driving, where you need the screen to be on at all

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

2014-02-16 Thread Thomas Perl
On 2014-02-16 16:07, Dietmar Schwertberger wrote: But IMHO restricting GUI to QML only is a mistake. You can use the Wayland protocol directly or e.g. SDL2 or anything else that can be made to render via OpenGL ES/EGL and talk via the Wayland protocol. Nobody is restricting the GUI to QML;

Re: [SailfishDevel] Video playback in application

2014-02-16 Thread AL13N
Op maandag 17 februari 2014 00:23:32 schreef Mohammed Hassan: > On Sun, Feb 16, 2014 at 11:08:10PM +0100, AL13N wrote: > > Op zondag 16 februari 2014 19:34:29 schreef Mohammed Hassan: > > > On Sun, Feb 16, 2014 at 04:31:24PM +0100, Ove Kåven wrote: > > > > Den 16. feb. 2014 11:32, skrev AL13N: > >

Re: [SailfishDevel] Video playback in application

2014-02-16 Thread Mohammed Hassan
On Sun, Feb 16, 2014 at 11:08:10PM +0100, AL13N wrote: > Op zondag 16 februari 2014 19:34:29 schreef Mohammed Hassan: > > On Sun, Feb 16, 2014 at 04:31:24PM +0100, Ove Kåven wrote: > > > Den 16. feb. 2014 11:32, skrev AL13N: > > > >Hi, but then... how is the gallery video playback working??? it use

Re: [SailfishDevel] Video playback in application

2014-02-16 Thread AL13N
Op zondag 16 februari 2014 19:34:29 schreef Mohammed Hassan: > On Sun, Feb 16, 2014 at 04:31:24PM +0100, Ove Kåven wrote: > > Den 16. feb. 2014 11:32, skrev AL13N: > > >Hi, but then... how is the gallery video playback working??? it uses > > >VideoOutput as well... > > > > If you mean the Jolla Ga

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

2014-02-16 Thread Dietmar Schwertberger
Am 16.02.2014 18:18, schrieb christopher.l...@thurweb.ch: http://blog.qt.digia.com/blog/2012/04/18/qt-5-c-and-qt-widgets/ When I have a look at the comments, then it seems that I'm not the only one who's missing the non-QML API to QtQuick... With a non-QML API QtQuick would be much more acceptab

Re: [SailfishDevel] Getting odd error when attempting to use LocalStorage.changeVersion

2014-02-16 Thread Sylvain B .
Oh I did not. Ok that's great, it's a shame that it's not documented! Thanks! > Date: Sun, 16 Feb 2014 18:28:06 +0100 > From: r...@hoelz.ro > To: devel@lists.sailfishos.org > CC: sth...@hotmail.com > Subject: Re: [SailfishDevel] Getting odd error when attempting to use > LocalStorage.changeVersio

Re: [SailfishDevel] QNetworkAccessManager: how to wait for Internet?

2014-02-16 Thread Sylvain B .
Thanks for the hints. So there is not easy way to wait for Internet before triggering a request :/ After tests, I've seen that it's the networkStatusChanged and the networkConfigurationChanged signals that are triggered when my Jolla connects to Internet. So I can indeed in case of failure due

Re: [SailfishDevel] Video playback in application

2014-02-16 Thread Mohammed Hassan
On Sun, Feb 16, 2014 at 04:31:24PM +0100, Ove Kåven wrote: > Den 16. feb. 2014 11:32, skrev AL13N: > >Hi, but then... how is the gallery video playback working??? it uses > >VideoOutput as well... > > If you mean the Jolla Gallery, then it apparently uses > GStreamerVideoOutput, not VideoOutput.

[SailfishDevel] Inhibit PageStack back gestures on Map widget

2014-02-16 Thread Tigre-Bleu
Hi, I have a Pagestack where a page is displaying a map with QtLocation Map {} element. I can pan the map to the top/bottom/right but if I try to pan to the left, the OS thinks it is a swipe back and pop the page out. I would expect that the Map {} element intercepts all mouse events when gest

Re: [SailfishDevel] Getting odd error when attempting to use LocalStorage.changeVersion

2014-02-16 Thread Rob Hoelz
On Sun, 16 Feb 2014 17:13:11 + Sylvain B. wrote: > Thanks for the report on qt-project, I just faced this exact same > issue this afternoon (my app is not released yet but I already wanted > to see if a DB update will be possible). It's a shame not to be able > to open the DB without specifyi

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

2014-02-16 Thread christopher . lamb
Maybe prolonged death-throws would have been more accurate?? There are decidedly mixed messages on the Qt Project Website. http://blog.qt.digia.com/blog/2012/04/18/qt-5-c-and-qt-widgets/ http://qt-project.org/wiki/New-Features-in-Qt-5.2 Grüsse Chris Zitat von "Marcin M." : Death? The folk

Re: [SailfishDevel] Getting odd error when attempting to use LocalStorage.changeVersion

2014-02-16 Thread Sylvain B .
Thanks for the report on qt-project, I just faced this exact same issue this afternoon (my app is not released yet but I already wanted to see if a DB update will be possible). It's a shame not to be able to open the DB without specifying the version :/ Waiting for improvements on QML LocalStora

Re: [SailfishDevel] Getting odd error when attempting to use LocalStorage.changeVersion

2014-02-16 Thread Rob Hoelz
On Sat, 15 Feb 2014 17:42:15 +0100 Rob Hoelz wrote: > On Sat, 15 Feb 2014 01:47:52 +0100 > Rob Hoelz wrote: > > > Hi all, > > > > I'm working on an update for my Sudoku application, and one of the > > new features necessitates a storage schema change. So I wrote a > > utility function that tr

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

2014-02-16 Thread Marcin M.
Death? The folks on qt project said that qt widgets isn't gonna be dropped. -- Marcin 2014-02-16 16:40 GMT+01:00 : > Dietmar > > Sailfish is very far from being QML only. > > Sailfish like all other platforms based on Qt5.X supports a rich mix of > C++, QML and Javascript. > > The exact mix is

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

2014-02-16 Thread christopher . lamb
Dietmar Sailfish is very far from being QML only. Sailfish like all other platforms based on Qt5.X supports a rich mix of C++, QML and Javascript. The exact mix is up to you, and depends on your own experience, preferences and predilections, and of course on what you need to do. The deat

Re: [SailfishDevel] Video playback in application

2014-02-16 Thread Ove Kåven
Den 16. feb. 2014 11:32, skrev AL13N: Hi, but then... how is the gallery video playback working??? it uses VideoOutput as well... If you mean the Jolla Gallery, then it apparently uses GStreamerVideoOutput, not VideoOutput. ___ SailfishOS.org Devel

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

2014-02-16 Thread Dietmar Schwertberger
Thanks for the hints. I've come to the conclusion that for me it's not yet time to make the switch from N900 to Jollaas main device. (The main blocking point is lack of calendar synchronization with Outlook on a PC.) So I will probably have enough time to learn QML... But IMHO restricting GUI to

Re: [SailfishDevel] Video playback in application

2014-02-16 Thread AL13N
Hi, but then... how is the gallery video playback working??? it uses VideoOutput as well... this is a short reproducer: [nemo@localhost testvideo2]$ cat main.qml import QtQuick 2.0 import Sailfish.Silica 1.0 import QtMultimedia 5.0 ApplicationWindow { initia

Re: [SailfishDevel] Video playback in application

2014-02-16 Thread Janne Pulkkinen
QtMultimedia doesn't seem to work at the moment, so at the moment I'm using MediaPlayer with GStreamerVideoOutput: https://github.com/Matoking/Filetug/blob/master/qml/pages/fileView/Video.qml 2014-02-16 11:04 GMT+02:00 AL13N : > Hi, > > I have the same issue as below... i compared with the qml o

Re: [SailfishDevel] Possible to play video with gst-launch?

2014-02-16 Thread AL13N
but then... how is the video viewing in gallery working??? it uses VideoOutput... ??? Op donderdag 9 januari 2014 22:59:50 schreef Jens Persson: > As noone has replied yet gst-launch is probably not supporting video > streams ... yet. :) Great tool for debugging pipelines and codecs so > hopefull

Re: [SailfishDevel] Video playback in application

2014-02-16 Thread AL13N
Hi, I have the same issue as below... i compared with the qml of the Gallery Video play... i even tried static source with autoplay and autoload like this: Page{ anchors.fill: parent SilicaFlickable { anchors.fill: parent Rectangle { color: "black" anchors.fill: parent