Commit graph

14 commits

Author SHA1 Message Date
Rafael Fernández López
c8072005fa Create the new architecture for KCategorizedView. Now DolphinModel is created, inheriting KDirModel for returning valid data for the role of the category of
an item. DolphinSortFilterProxyModel implements now methods lessThanCategoryMethod and lessThanGeneralMethod from KCategorizedSortFilterProxyModel.

The only thing that needs to be adapted is the keyboard navigation on the KCategorizedView.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=713319
2007-09-17 04:02:17 +00:00
Peter Penz
52648c9634 Use the new method KDirModel::expandToUrl() from David for expanding the treeview -> no more crashes anymore for long URLs :-)
svn path=/trunk/KDE/kdebase/apps/; revision=706516
2007-08-30 16:20:46 +00:00
Peter Penz
33ddc0e791 don't use the term "Bookmarks" anymore, use "Places" instead (includes devices etc.)
svn path=/trunk/KDE/kdebase/apps/; revision=704553
2007-08-25 10:42:10 +00:00
Peter Penz
9e8f0ec1a4 provide a useful default width for the Folders dock (treeview)
svn path=/trunk/KDE/kdebase/apps/; revision=692544
2007-07-25 20:04:14 +00:00
Peter Penz
aad46935fa optimization: don't load the directory tree if the widget is invisible
svn path=/trunk/KDE/kdebase/apps/; revision=661865
2007-05-06 20:47:15 +00:00
Peter Penz
bafaf9496c some cleanups for the sidebar pages (move protected members to private section etc.)
svn path=/trunk/KDE/kdebase/apps/; revision=661815
2007-05-06 17:25:50 +00:00
Peter Penz
8f9baef848 Patch by Luca Gugelmann: get rid of any mainwindow dependency from the sidebars.
svn path=/trunk/KDE/kdebase/apps/; revision=646256
2007-03-25 06:44:28 +00:00
Peter Penz
1cdb64a12b Don't force the context menu to be valid only for DolphinView instances, make it possible to have it also inside the treeview sidebar.
svn path=/trunk/KDE/kdebase/apps/; revision=642953
2007-03-15 22:42:21 +00:00
Peter Penz
49f881f5ec Fixed some drag & drop issues:
- allow drag & drop inside the view
- prevent a dragging from a directory into itself
- use QModelIndex instead of the position

svn path=/trunk/KDE/kdebase/apps/; revision=641451
2007-03-11 11:13:07 +00:00
Peter Penz
277e385fd8 support drag & drop for the treeview sidebar page
svn path=/trunk/KDE/kdebase/apps/; revision=641405
2007-03-11 09:15:08 +00:00
Peter Penz
b5cc2a6924 Create a SidebarTreeView which will include support for drag & drop in later releases and encapsulates sidebar specific behavior. TODO: using a sort proxy model results in duplicated elements when the dir lister reloads items.
svn path=/trunk/KDE/kdebase/apps/; revision=641359
2007-03-11 00:56:43 +00:00
Peter Penz
897d4acc22 synchronize the tree view with the active view
svn path=/trunk/KDE/kdebase/apps/; revision=639751
2007-03-05 22:27:00 +00:00
Peter Penz
862c090bf3 Some basic fixes to stay synchronized between the tree view and the currently active view.
svn path=/trunk/KDE/kdebase/apps/; revision=639008
2007-03-04 00:40:14 +00:00
Peter Penz
fe8b349bce It seems some people cannot live without a tree view ;-) So Dolphin will provide a dock which contains the directory hierarchy, which will be synchronized with the active view. It does not clutter the UI (the dock can be turned off), but makes happy a lot of users -> kind of win-win-situation. This commit provides only a rough initial version, which shows the current URL as tree. I'll work on the interaction during the next week(s)...
svn path=/trunk/KDE/kdebase/apps/; revision=638628
2007-03-02 18:59:09 +00:00