Re: [SailfishDevel] QtTouch for Sailfish?

2014-11-22 Thread Andrey Kozhevnikov

look at this: http://i.imgur.com/kRGwdJB.png

21.11.2014 13:49, wsvries пишет:

Hi,
Until now I have used the standard Silica GUI items with only onClick 
as user interaction.

I now need to support drag, pinch etc.
My assumption is to use QTouchEvent, but the sailfishtouchexample
 does not work (and it is quite 'old' as well).
DuckDuckgoing and searching through this list didn't help me further.
Should I use QTouchEvent, and if so, are their special setting 
requirements, because I am not able to catch any events with QTouchEvent.

Thanks.
r
wim
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] QtTouch for Sailfish?

2014-11-21 Thread Wim de Vries
Thanks a lot.
It works fine now!
r
wim
On Friday, November 21, 2014 06:12:59 PM Jonni Rainisto wrote:
> Ah, sorry, I've used non-IDE mb script to build those projects.
> 
> I added a build fix in yaml-file and pushed it into repo, and now the raw
> QTouchEvents example should also compile in sailfish IDE, so "git pull".
> 
> re, Jonni
> 
> 
> From: devel-boun...@lists.sailfishos.org
> [devel-boun...@lists.sailfishos.org] on behalf of wsvries
> [wsvr...@xs4all.nl] Sent: Friday, November 21, 2014 6:22 PM
> To: Sailfish OS Developers
> Subject: Re: [SailfishDevel] QtTouch for Sailfish?
> 
> Thanks,
> 
> Jonni Rainisto schreef op 2014-11-21 10:17:
> > Here's couple of example projects that I did a while ago (just tested
> > that they still work).
> > 
> > Example of raw QTouchEvents events in QML:
> > https://gitorious.org/sailfishtouchexample/sailfishtouchexample/
> 
> I tried this one but it causes qmake errors and seems to be from Qt4.x
> period I thought it was outdated.
> 
> > Example of MultiPointTouchArea:
> > https://gitorious.org/sailfishtouchexample/multipointtoucharea/
> 
> This one seems to be working!
> 
> > re, Jonni
> > 
> > From: devel-boun...@lists.sailfishos.org
> > [devel-boun...@lists.sailfishos.org] on behalf of wsvries
> > [wsvr...@xs4all.nl]
> > Sent: Friday, November 21, 2014 10:49 AM
> > To: devel@lists.sailfishos.org
> > Subject: [SailfishDevel] QtTouch for Sailfish?
> > 
> > Hi,
> > Until now I have used the standard Silica GUI items with only onClick
> > as
> > user interaction.
> > I now need to support drag, pinch etc.
> > My assumption is to use QTouchEvent, but the sailfishtouchexample
> > 
> >   does not work (and it is quite 'old' as well).
> > 
> > DuckDuckgoing and searching through this list didn't help me further.
> > Should I use QTouchEvent, and if so, are their special setting
> > requirements, because I am not able to catch any events with
> > QTouchEvent.
> > Thanks.
> > r
> > wim
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> > devel-unsubscr...@lists.sailfishos.org
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> > devel-unsubscr...@lists.sailfishos.org
> 
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] QtTouch for Sailfish?

2014-11-21 Thread Jonni Rainisto
Ah, sorry, I've used non-IDE mb script to build those projects.

I added a build fix in yaml-file and pushed it into repo, and now the raw 
QTouchEvents example should also compile in sailfish IDE, so "git pull". 

re, Jonni


From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of wsvries [wsvr...@xs4all.nl]
Sent: Friday, November 21, 2014 6:22 PM
To: Sailfish OS Developers
Subject: Re: [SailfishDevel] QtTouch for Sailfish?

Thanks,
Jonni Rainisto schreef op 2014-11-21 10:17:
> Here's couple of example projects that I did a while ago (just tested
> that they still work).
>
> Example of raw QTouchEvents events in QML:
> https://gitorious.org/sailfishtouchexample/sailfishtouchexample/
I tried this one but it causes qmake errors and seems to be from Qt4.x
period I thought it was outdated.



> Example of MultiPointTouchArea:
> https://gitorious.org/sailfishtouchexample/multipointtoucharea/
This one seems to be working!

>
> re, Jonni
> 
> From: devel-boun...@lists.sailfishos.org
> [devel-boun...@lists.sailfishos.org] on behalf of wsvries
> [wsvr...@xs4all.nl]
> Sent: Friday, November 21, 2014 10:49 AM
> To: devel@lists.sailfishos.org
> Subject: [SailfishDevel] QtTouch for Sailfish?
>
> Hi,
> Until now I have used the standard Silica GUI items with only onClick
> as
> user interaction.
> I now need to support drag, pinch etc.
> My assumption is to use QTouchEvent, but the sailfishtouchexample
>   does not work (and it is quite 'old' as well).
> DuckDuckgoing and searching through this list didn't help me further.
> Should I use QTouchEvent, and if so, are their special setting
> requirements, because I am not able to catch any events with
> QTouchEvent.
> Thanks.
> r
> wim
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] QtTouch for Sailfish?

2014-11-21 Thread wsvries

Thanks,
Jonni Rainisto schreef op 2014-11-21 10:17:

Here's couple of example projects that I did a while ago (just tested
that they still work).

Example of raw QTouchEvents events in QML:
https://gitorious.org/sailfishtouchexample/sailfishtouchexample/
I tried this one but it causes qmake errors and seems to be from Qt4.x 
period I thought it was outdated.





Example of MultiPointTouchArea:
https://gitorious.org/sailfishtouchexample/multipointtoucharea/

This one seems to be working!



re, Jonni

From: devel-boun...@lists.sailfishos.org
[devel-boun...@lists.sailfishos.org] on behalf of wsvries
[wsvr...@xs4all.nl]
Sent: Friday, November 21, 2014 10:49 AM
To: devel@lists.sailfishos.org
Subject: [SailfishDevel] QtTouch for Sailfish?

Hi,
Until now I have used the standard Silica GUI items with only onClick 
as

user interaction.
I now need to support drag, pinch etc.
My assumption is to use QTouchEvent, but the sailfishtouchexample
  does not work (and it is quite 'old' as well).
DuckDuckgoing and searching through this list didn't help me further.
Should I use QTouchEvent, and if so, are their special setting
requirements, because I am not able to catch any events with
QTouchEvent.
Thanks.
r
wim
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] QtTouch for Sailfish?

2014-11-21 Thread Jonni Rainisto
Here's couple of example projects that I did a while ago (just tested that they 
still work).

Example of raw QTouchEvents events in QML: 
https://gitorious.org/sailfishtouchexample/sailfishtouchexample/
Example of MultiPointTouchArea: 
https://gitorious.org/sailfishtouchexample/multipointtoucharea/

re, Jonni

From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of wsvries [wsvr...@xs4all.nl]
Sent: Friday, November 21, 2014 10:49 AM
To: devel@lists.sailfishos.org
Subject: [SailfishDevel] QtTouch for Sailfish?

Hi,
Until now I have used the standard Silica GUI items with only onClick as
user interaction.
I now need to support drag, pinch etc.
My assumption is to use QTouchEvent, but the sailfishtouchexample
  does not work (and it is quite 'old' as well).
DuckDuckgoing and searching through this list didn't help me further.
Should I use QTouchEvent, and if so, are their special setting
requirements, because I am not able to catch any events with
QTouchEvent.
Thanks.
r
wim
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] QtTouch for Sailfish?

2014-11-21 Thread Andrey Kozhevnikov

MouseArea, MultiPointTouchArea, PinchArea QML objects

21.11.2014 13:49, wsvries пишет:

Hi,
Until now I have used the standard Silica GUI items with only onClick 
as user interaction.

I now need to support drag, pinch etc.
My assumption is to use QTouchEvent, but the sailfishtouchexample
 does not work (and it is quite 'old' as well).
DuckDuckgoing and searching through this list didn't help me further.
Should I use QTouchEvent, and if so, are their special setting 
requirements, because I am not able to catch any events with QTouchEvent.

Thanks.
r
wim
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] QtTouch for Sailfish?

2014-11-21 Thread wsvries

Hi,
Until now I have used the standard Silica GUI items with only onClick as 
user interaction.

I now need to support drag, pinch etc.
My assumption is to use QTouchEvent, but the sailfishtouchexample
 does not work (and it is quite 'old' as well).
DuckDuckgoing and searching through this list didn't help me further.
Should I use QTouchEvent, and if so, are their special setting 
requirements, because I am not able to catch any events with 
QTouchEvent.

Thanks.
r
wim
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org