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

List:       kde-core-devel
Subject:    Re: KDirOperator, multiple selection
From:       Reginald Stadlbauer <reggie () troll ! no>
Date:       2000-02-02 21:39:03
[Download RAW message or body]

On Wed, 02 Feb 2000, Stephan Kulow wrote:
>Emily Ezust wrote:
>> 
>> Hi!
>> I'm having trouble with KDirOperator and multiple selection. I've
>> connected fileHighlighted to a slot that grabs the URL and adds
>> it to a QStringList, but I can't tell when to remove entries
>> from the list - there is no fileDeselected signal as far as I
>> can see. It might be nice to have this done internally anyhow -
>> to have a member function that returns a list of all files currently
>> selected or something.
>> 
>That's where I failed myself last time ;(
>There is a selectionChanged I think. You would have to iterate through
>all items and check isSelected() I'm afraid.
>
>Greetings, Stephan (wondering how multiselection works with single
>click)

With a rubber-band and ctrl+click.

-- 
Reggie

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

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