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


Groups > comp.lang.python > #25519

Re: PyQt QCalendarWidget events question

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.029
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'mouse': 0.07; 'received:209.85.160.174': 0.07; 'subject:question': 0.08; 'gui': 0.11; 'suggest': 0.11; 'confusion': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'select,': 0.16; 'subject:PyQt': 0.16; 'users.': 0.16; 'wrote:': 0.17; 'instance,': 0.17; 'insert': 0.23; 'header:In-Reply-To:1': 0.25; 'order.': 0.27; 'strongly': 0.27; 'message-id:@mail.gmail.com': 0.27; 'enforce': 0.29; 'usually': 0.30; 'code': 0.31; 'generally': 0.32; 'problem': 0.33; 'to:addr:python-list': 0.33; 'another': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'anything': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'object': 0.38; 'things': 0.38; 'to:addr:python.org': 0.39; 'application': 0.40; 'header:Received:5': 0.40; 'your': 0.60; 'most': 0.61; 'series': 0.63; 'different': 0.63; 'incorporate': 0.65; 'jul': 0.65; 'click': 0.76; 'subject:events': 0.84; 'fired': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jvLkg/TSKjmFKfGxUenJnm8ZxcbMeq7n0C26n8VIp1w=; b=mTmOirIubL+Kj+HTOxHlDK4Az8krEEqF7om+FYOR1YLyBarId99f/DrR1H2NhJ9FtF 9Ir/YatuuOBl41rSb7DfPZ4UPfbZyLaTSXlKbAysE+67t7YsBmxI4n72xw7RL+c9LQ+0 EVP78Tl/MbAfIvZqc4DfTyPRPUvzQ1+90mJcoYqn0WxNlaAqfQG4a9i2pShCX6SzCOu9 xWQ9wj+QW8yGyYCx7Vl7YkTfoJlOvLCI3wjGJWmeeLZL0sHvzSjb5NOLyhAbvI5mLxca t7ANB6kXaG5BSAO+2Q3sCRH0dEdAtrYLlsp8REIMAIwV4KeqKgEouRqiKe1ulA/uNGyl 0htg==
MIME-Version 1.0
In-Reply-To <q5ofd9-id7.ln1@chris.zbmc.eu>
References <bspdd9-22s.ln1@chris.zbmc.eu> <m2sdd9-s2t.ln1@chris.zbmc.eu> <mailman.2186.1342470497.4697.python-list@python.org> <q5ofd9-id7.ln1@chris.zbmc.eu>
Date Wed, 18 Jul 2012 03:41:35 +1000
Subject Re: PyQt QCalendarWidget events question
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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>
Newsgroups comp.lang.python
Message-ID <mailman.2232.1342546899.4697.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1342546899 news.xs4all.nl 6906 [2001:888:2000:d::a6]:60530
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:25519

Show key headers only | View raw


On Tue, Jul 17, 2012 at 7:34 PM,  <tinnews@isbd.co.uk> wrote:
> It's so fundamental to most GUIs that single-click
> and double-click allow one to do different things with the same object

Kinda yes, kinda no. Most GUIs and GUI recommendations would either
enforce or strongly suggest that the double-click action incorporate
the click action; for instance, click to select, double-click to open.

The series of events usually goes:

Mouse down
Mouse up
Click
Mouse down
Mouse up
Double-click

They're fired as things happen and in that order. (Some systems insert
another Click just before the Double-click, but that's generally
unhelpful.) Please code your application so that this isn't a problem
to it, because anything else causes untold confusion to the users.

ChrisA

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


Thread

PyQt QCalendarWidget events question tinnews@isbd.co.uk - 2012-07-16 16:51 +0100
  Re: PyQt QCalendarWidget events question tinnews@isbd.co.uk - 2012-07-16 17:28 +0100
    Re: Re: PyQt QCalendarWidget events question John Posner <jjposner@optimum.net> - 2012-07-16 15:58 -0400
      Re: PyQt QCalendarWidget events question tinnews@isbd.co.uk - 2012-07-17 10:34 +0100
        Re: PyQt QCalendarWidget events question Chris Angelico <rosuav@gmail.com> - 2012-07-18 03:41 +1000

csiph-web