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

List:       kde-core-devel
Subject:    Re: SIngle click and double click
From:       Reginald Stadlbauer <reggie () troll ! no>
Date:       2000-01-08 23:38:39
[Download RAW message or body]

On Sun, 09 Jan 2000, David Faure wrote:
>On Sat, Jan 08, 2000 at 10:02:35PM +0100, Reginald Stadlbauer wrote:
>> On Sat, 08 Jan 2000, David Faure wrote:
>> >On Sat, Jan 08, 2000 at 09:44:04PM +0100, Reginald Stadlbauer wrote:
>> >> Hi!
>> >> Although I didn't get any comment on the single click and double click mail I
>> >> sent yesterday, I have implemented KIconView, KListBox and KListView now. They
>> >> make the click mode transparent for the application programmer with only a few
>> >> lines of code. Of course the ClickMode enum should be in KGlobal and in the
>> >FWIW It's already there :
>> >
>> >static bool useDoubleClicks();
>> >
>> >(or should be adapted to an enum if you prefer)
>> 
>> Ah, ok :-))
>> 
>> >> constructor of the views should set according to the current configuration the
>> >> correct click mode.
>> >> 
>> >> Anyway, attached are the views + a small test program where you can switch
>> >> between single and double click.
>> >> 
>> >> To make it working I think you need a more recent Qt than we have in kde-cvs at
>> >> the moment (if QListBox and QListView have not the onItem and onViewport
>> >> signals it will not work)
>> >So you'll update qt-copy when committing ?
>> 
>> No, I haven't even checked it out :-)) As long as some people use this old Qt
>> changing the mouse cursor in single click mode in KListView and KListBox will
>> not work for them - that's all. So it's not too critical :-)
>
>Nope, there is a problem for people using qt-copy :
>QApplication::startDragDistance,
>needed by qiconview.cpp, doesn't exist in qt-copy

See other mail....

-- 
Reggie

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

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