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

List:       kde-devel
Subject:    Re: [PROPOSAL] New KListView
From:       Michaël_Larouche <michael.larouche () kdemail ! net>
Date:       2006-03-15 17:41:01
Message-ID: 200603151241.01291.michael.larouche () kdemail ! net
[Download RAW message or body]

Le Mercredi 15 Mars 2006 11:33, Sebastian Gottfried a écrit  :> Hi all,>> After \
being a happy KDE user for a long time I thought now is the right> time to pay \
something back :)>> In a recent thread Michaël Larouche mentioned KListView still \
needs to be> ported, so here comes my proposal for the new KlistView. First, I> \
think, it's wise to rename the class to KTreeView, because the new base> class will \
be QTreeView.>> By using the model/view concept it should be possible to move the \
most> features of the old KListView into the models:>> - the table headers and all \
the data editing features are now provided by> the model automatically. A feature I \
could imagine is column selecting by> the user like in firefox.>>  - for the column \
sorting the class should hold a own private> QSortFilterProxyModel (or a derived \
class) as a private member for> reasonable sorting, e.g. sorting number as numbers, \
not as strings>> - drag and drop support is also complete, but a little a bit \
complicated.> The model can specify which items are dragable and/or dropable. The \
view> only have to specify if dropping and/or dragging is this view generally is> \
allowed>> - the search line widget could be easily incorporated, it must only take> \
the original model and expose the filtered model to KTreeView.>> Questions:> What \
about FileManager selection mode. Is this really necessary? Or can the> defined \
keyboard strokes generally accessible (if the selection mode allows> it).>> I have \
attached my first version of the class interface and I would like to> implement it \
after some discussion if no one objects.>> Sebastian Gottfried You should post your \
implemention too. -- Michaël Larouche (Shock The Dark Mage)KDE developer working on \
Kopete, Kamefu...on dial-up :P--------------------------------------Blog: \
http://mlarouche.blogspot.com/MSN/Email: michael.larouche@kdemail.netIRC: \
irc.freenode.org/DarkShock on #kopete,#solid,#kamefu,#plasmaJabber: \
darkshock@myjabber.net  >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub \
to unsubscribe <<


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

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