Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   How to implement mouse gesture by python or pyqt ? (http://www.velocityreviews.com/forums/t956277-how-to-implement-mouse-gesture-by-python-or-pyqt.html)

iMath 01-08-2013 12:44 AM

How to implement mouse gesture by python or pyqt ?
 
It would be better to give me some examples .thanks in advance !

P.S. which module or lib are needed ?

iMath 01-09-2013 02:57 AM

Re: How to implement mouse gesture by python or pyqt ?
 
在 2013年1月8日星期二UTC+8上午8时44分20秒 iMath写道:
> It would be better to give me some examples .thanks in advance !
>
>
>
> P.S. which module or lib are needed ?


what I wanna perhaps like this:
when a right mouse button is pressed and we go down and right with a cursor.. As in letter 'L'. Our mouse gesture will close the window.
I googled such gesture examples on PyQt4 ,but hard to find one ,so your help will be greatly appreciated !
thanks inadvance !

Michael Torrie 01-10-2013 12:06 AM

Re: How to implement mouse gesture by python or pyqt ?
 
On 01/08/2013 07:57 PM, iMath wrote:
> 在 2013年1月8日星期二UTC+8上午8时44分20秒 iMath写道:
>> It would be better to give me some examples .thanks in advance !
>>
>>
>>
>> P.S. which module or lib are needed ?

>
> what I wanna perhaps like this: when a right mouse button is pressed
> and we go down and right with a cursor. As in letter 'L'. Our mouse
> gesture will close the window. I googled such gesture examples on
> PyQt4 ,but hard to find one ,so your help will be greatly appreciated
> ! thanks inadvance !


My guess is that if you google for it you'll find a gesture recognition
module for python. moosegesture.py is one such implementation. However
it is up to you to tie it into your chosen GUI toolkit. It merely
processes tuples of points in the gesture. Each GUI toolkit has mailing
lists and forums that would help you know that information, which is not
really python-specific.

iMath 01-10-2013 02:41 AM

Re: How to implement mouse gesture by python or pyqt ?
 
在 2013年1月10日星期四UTC+8上午8时06分13秒 ,Michael Torrie写道:
> On 01/08/2013 07:57 PM, iMath wrote:
>
> > 在 2013年1月8日星期二UTC+8上午8时44分20秒 iMath写道:

>
> >> It would be better to give me some examples .thanks in advance !

>
> >>

>
> >>

>
> >>

>
> >> P.S. which module or lib are needed ?

>
> >

>
> > what I wanna perhaps like this: when a right mouse button is pressed

>
> > and we go down and right with a cursor. As in letter 'L'. Our mouse

>
> > gesture will close the window. I googled such gesture examples on

>
> > PyQt4 ,but hard to find one ,so your help will be greatly appreciated

>
> > ! thanks inadvance !

>
>
>
> My guess is that if you google for it you'll find a gesture recognition
>
> module for python. moosegesture.py is one such implementation. However
>
> it is up to you to tie it into your chosen GUI toolkit. It merely
>
> processes tuples of points in the gesture. Each GUI toolkit has mailing
>
> lists and forums that would help you know that information, which is not
>
> really python-specific.


oh yes ,I find it moosegesture.py

iMath 01-10-2013 02:41 AM

Re: How to implement mouse gesture by python or pyqt ?
 
在 2013年1月10日星期四UTC+8上午8时06分13秒 ,Michael Torrie写道:
> On 01/08/2013 07:57 PM, iMath wrote:
>
> > 在 2013年1月8日星期二UTC+8上午8时44分20秒 iMath写道:

>
> >> It would be better to give me some examples .thanks in advance !

>
> >>

>
> >>

>
> >>

>
> >> P.S. which module or lib are needed ?

>
> >

>
> > what I wanna perhaps like this: when a right mouse button is pressed

>
> > and we go down and right with a cursor. As in letter 'L'. Our mouse

>
> > gesture will close the window. I googled such gesture examples on

>
> > PyQt4 ,but hard to find one ,so your help will be greatly appreciated

>
> > ! thanks inadvance !

>
>
>
> My guess is that if you google for it you'll find a gesture recognition
>
> module for python. moosegesture.py is one such implementation. However
>
> it is up to you to tie it into your chosen GUI toolkit. It merely
>
> processes tuples of points in the gesture. Each GUI toolkit has mailing
>
> lists and forums that would help you know that information, which is not
>
> really python-specific.


oh yes ,I find it moosegesture.py


All times are GMT. The time now is 05:17 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.