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


Groups > comp.lang.python > #36550

Re: How to implement mouse gesture by python or pyqt ?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <redstone-cold@163.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'mouse': 0.07; 'subject:How': 0.09; '8bit%:68': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'advance': 0.10; 'gui': 0.11; 'subject:python': 0.11; 'googled': 0.16; 'merely': 0.16; 'pressed': 0.16; 'wrote:': 0.17; 'examples': 0.18; 'module': 0.19; 'tuples': 0.22; 'cc:2**0': 0.23; 'this:': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'guess': 0.27; 'appreciated': 0.27; 'toolkit': 0.29; 'points': 0.29; 'subject: ?': 0.30; 'button': 0.30; 'lists': 0.31; 'received:google.com': 0.34; 'thanks': 0.34; 'needed': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'really': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'received:209.85.214': 0.39; 'google': 0.39; 'help': 0.40; 'your': 0.60; "you'll": 0.62; 'close': 0.63; 'p.s.': 0.63; 'information,': 0.63; 'our': 0.65; 'forums': 0.71; '8bit%:60': 0.84; 'gesture': 0.84; 'recognition': 0.84; 'tie': 0.84
Newsgroups comp.lang.python
Date Wed, 9 Jan 2013 18:41:37 -0800 (PST)
In-Reply-To <mailman.348.1357776388.2939.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=182.242.153.249; posting-account=Z1-aQQoAAADvnuKxr9sysEiuPIcBNfjX
References <06fe2548-aa2c-4e66-8a59-474a7a4fc484@googlegroups.com> <4dc2d029-8b1a-494c-8c3e-fccb56ffff42@googlegroups.com> <mailman.348.1357776388.2939.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 182.242.153.249
MIME-Version 1.0
Subject Re: How to implement mouse gesture by python or pyqt ?
From iMath <redstone-cold@163.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.355.1357786446.2939.python-list@python.org> (permalink)
Lines 46
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357786446 news.xs4all.nl 6882 [2001:888:2000:d::a6]:34850
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:36550

Show key headers only | View raw


在 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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web