[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:19:20
[Download RAW message or body]

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();

I'm using that now. I added the three classes to libkdeui.

>> 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 ?
>
>> Anyway, I hope I get some comments this time :-)) Should I put these classes in
>> kdeui?
>
>You know my opinion :-)

I ported now konqy and kfile to use the new stuff.

-- 
Reggie

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

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