[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-look
Subject:    Re: Double-click!
From:       Christian Czezatke <e9025461 () student ! tuwien ! ac ! at>
Date:       1997-06-27 13:56:58
[Download RAW message or body]

Hi!

On Fri, 27 Jun 1997, Sirtaj Singh Kang wrote:

> 
> On Fri, 27 Jun 1997, Adam D. Moss wrote:
> 
> > Hello... this is just a little thing; Is it possible to change the
> > pointer double-click period, or is it hard wired?
> 
> Good question. I've found the double-click a little unforgiving, too. 
> 
> Unfortunately, searching the Qt docs for "double click", "click period" or
> "click time"  yields nothing useful. So I think we are stuck with it. 
> 
> Unless, of course, The Trolls are listening.


Yes, the double click period is currently hardwired in Qt (afaik. to
400ms). -- I happen to know that because when I first tried to get Qt 1.1
working on Linux/Alpha it failed to recognize double clicks. -- I had to
patch that very line... ;-) (Thanks to TrollTech for including that patch
in the Qt sources, BTW...) -- When I had a look at the Qt 1.2 sources I
saw that my patch is still there.

I don't have the Qt sources at hand now so I cannot tell you the very
source file you have to look at. -- But you could try to grep for "400",
it is hardcoded directly in the sources (so no #defines)... 

Turning the double-click delay into an option that can be configured at
run-time would be very nice indead. (hint, hint... ;-) )

But IMHO Qt is great even with that hardwired double-click delay... ;-)

     Christian

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic