Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36385 > unrolled thread

How to implement mouse gesture by python or pyqt ?

Started byiMath <redstone-cold@163.com>
First post2013-01-07 16:44 -0800
Last post2013-01-09 18:41 -0800
Articles 5 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  How to implement mouse gesture by python or pyqt ? iMath <redstone-cold@163.com> - 2013-01-07 16:44 -0800
    Re: How to implement mouse gesture by python or pyqt ? iMath <redstone-cold@163.com> - 2013-01-08 18:57 -0800
      Re: How to implement mouse gesture by python or pyqt ? Michael Torrie <torriem@gmail.com> - 2013-01-09 17:06 -0700
        Re: How to implement mouse gesture by python or pyqt ? iMath <redstone-cold@163.com> - 2013-01-09 18:41 -0800
        Re: How to implement mouse gesture by python or pyqt ? iMath <redstone-cold@163.com> - 2013-01-09 18:41 -0800

#36385 — How to implement mouse gesture by python or pyqt ?

FromiMath <redstone-cold@163.com>
Date2013-01-07 16:44 -0800
SubjectHow to implement mouse gesture by python or pyqt ?
Message-ID<06fe2548-aa2c-4e66-8a59-474a7a4fc484@googlegroups.com>
It would be better to give me some examples .thanks in advance !

P.S. which module or lib are needed ?

[toc] | [next] | [standalone]


#36469

FromiMath <redstone-cold@163.com>
Date2013-01-08 18:57 -0800
Message-ID<4dc2d029-8b1a-494c-8c3e-fccb56ffff42@googlegroups.com>
In reply to#36385
在 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 !

[toc] | [prev] | [next] | [standalone]


#36533

FromMichael Torrie <torriem@gmail.com>
Date2013-01-09 17:06 -0700
Message-ID<mailman.348.1357776388.2939.python-list@python.org>
In reply to#36469
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.

[toc] | [prev] | [next] | [standalone]


#36549

FromiMath <redstone-cold@163.com>
Date2013-01-09 18:41 -0800
Message-ID<6f3ad1cd-75e3-4d7e-a3af-03d54aeb3556@googlegroups.com>
In reply to#36533
在 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

[toc] | [prev] | [next] | [standalone]


#36550

FromiMath <redstone-cold@163.com>
Date2013-01-09 18:41 -0800
Message-ID<mailman.355.1357786446.2939.python-list@python.org>
In reply to#36533
在 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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web