┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
AgeCommit message (Collapse)Author
2009-04-20Let the user choose if folders are always shown first in the views ofFrank Reininghaus
Dolphin and Konqueror (the default) or not. This setting can be changed in the View menu: "View->Sort By->Folders First". FEATURE: 62007 svn path=/trunk/KDE/kdebase/apps/; revision=956820
2009-03-30BUG: 187732Rahman Duran
Make Dolphin to remember selected files after view refresh. svn path=/trunk/KDE/kdebase/apps/; revision=946726
2009-03-17After creating an item with the "Create New..." menu, the new item should ↵Peter Penz
get selected and it must be assured that the item stays visible. Thanks a lot to Rahman Duran for the original patch and the good discussions :-) Open issues: - F10 shortcut does not work yet (interface extension might be done in KNewMenu) - Does not work in column view yet, but this is a colum view specific issue. CCMAIL: [email protected] CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=940624
2009-02-24After renaming an item the view should be scrolled in a way to still have a ↵Peter Penz
fully visible renamed item. The implementation required a lot of more code changes as such a fix should require: QAbstractItemView::scrollTo() cannot be used directly (inconsistent default behavior in QListView and QTreeView, a special case for the column view), so the communication has to be done with the DolphinController... BUG: 185191 svn path=/trunk/KDE/kdebase/apps/; revision=930754
2009-02-11- allow the view implementations to attach custom actions to the context menuPeter Penz
- let the "details view" show the "[x] Expandable Folders" action in the context menu CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=924867
2009-01-25Refactor the folder expansion system. Main effect: instead of having a list ↵Simon Paul St James
of m_expandedViews which cannot yet be deleted, we more accurately identify the current source of the drag operation if any and store only this for later deletion. This also fixes folder-expansion not working in Column view. svn path=/trunk/KDE/kdebase/apps/; revision=916701
2009-01-14Cleanup panel related class names: The terms "sidebar"/"sidebarpage" are ↵Peter Penz
relicts from the KDE 3 version of Dolphin and are called "Panels" in the KDE 4 version of Dolphin. Yes, renaming classes may take more than 1 year ;-) svn path=/trunk/KDE/kdebase/apps/; revision=911089
2008-12-21When common view properties are used for all folders, the internal ↵Peter Penz
properties should not be changed during the lifetime of a DolphinView instance. This allows to e. g. split a view and work with different view modes on each view. BUG: 174102 svn path=/trunk/KDE/kdebase/apps/; revision=899571
2008-12-12SVN_SILENT: removed trailing spacesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=895978
2008-12-03use KDirModel::mimeData() for cut/copy operations as suggested by David FaurePeter Penz
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=891865
2008-11-03* Show the total size of files in the statusbar (thanks to Bram Schoenmakers ↵Peter Penz
for the patch). * Changed the format of the string to be consistent with the format used when doing a selection. Maybe it would be useful adjusting KIO::itemsSummaryString() instead using a custom output format. Currently KIO::itemsSummaryString() shows "20 Items (5 Files, 15 Folders) - (200 KiB Total)", which is quite confusing IMO, as the total size is only counted for the files. Dolphin currently shows: "15 Folders, 5 Files (200 KiB)" BUG: 161462 svn path=/trunk/KDE/kdebase/apps/; revision=879405
2008-11-02Assure that automatically expanding of a folder also works when the new ↵Peter Penz
folder has a different view mode. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=879143
2008-10-24Assure that no reloading is done if KDirLister emits a redirection, only ↵Peter Penz
change the the URL. Thanks to David Faure and Albert Alstals Cid for the detailed analysis! BUG: 155591 svn path=/trunk/KDE/kdebase/apps/; revision=875554
2008-10-23SVN_SILENT Fix typos in kdebaseEnrique Matías Sánchez
svn path=/trunk/KDE/kdebase/apps/; revision=875089
2008-10-15Assure that the item delegate draws the hover effect and the selection for ↵Peter Penz
the details view only above the icon + name. Open issue: The performance when selecting files by the rubberband is too slow (will be fixed before KDE 4.2). CCBUG: 165999 CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=871874
2008-10-13Konq popupmenu fix: we don't show the "Create new" submenu over subdirs in ↵David Faure
an iconview because you wouldn't see the just-created file/dir, but let's show it in the case of the hiearchical details view ("folders expandable" option), since you can indeed see the new file/dir in that case. Peter: problem solved with itemsExpandable(). CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=871109
2008-10-05update the statusbar and provide a progress information within the Dolphin ↵Peter Penz
KPart, so that Konqueror shows the same information as Dolphin (thanks to Simon St James for the patch!) CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=868210
2008-10-01* adjusted Dolphin to use KonqOperations::doDrop() instead of using a custom ↵Peter Penz
implementation * used new signals jobRecordingStarted() and jobRecordingFinished from FileUndoManager to inform the user in the statusbar when a recorded command has been finished svn path=/trunk/KDE/kdebase/apps/; revision=866777
2008-09-28Use KonqOperations::doDrop() instead of a custom dropping code. Still some ↵Peter Penz
minor issues are open (Dolphin currently gets no feedback anymore when the operations have been finished), but they will be solved during the next week. BUG: 168154 svn path=/trunk/KDE/kdebase/apps/; revision=865708
2008-09-21renamed IconManager to KFilePreviewGeneratorPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=863324
2008-08-26Provide a common iconsize-widget for the settings dialog of the icons-, ↵Peter Penz
details- and column-view. The current version still requires some improvements (Labels on the left + right, preview, ...). svn path=/trunk/KDE/kdebase/apps/; revision=852961
2008-08-15minor adjustment to prevent code duplicationPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=847497
2008-08-08assure correct update of the enabled/disabled state of the zoom actions (no ↵Peter Penz
backport required, as a new zooming approach is used on trunk) svn path=/trunk/KDE/kdebase/apps/; revision=843849
2008-08-05First step of refactoring to improve the zooming capabilities of views:Peter Penz
* Let classes that use DolphinView know about the currently used zoom level. * Provide more zoom levels for all views (the settings dialogs have not been adjusted yet). * Fixed issue that when using the wheel that the enabled state of the zoom actions has not been updated. svn path=/trunk/KDE/kdebase/apps/; revision=842715
2008-07-26Provide a 'int selectedItemsCount() const' interface for performance ↵Peter Penz
reasons, so that code which just needs to know whether items have been selected does not need to invoke selectedItems().count(), which is quite expensive. svn path=/trunk/KDE/kdebase/apps/; revision=838037
2008-06-18the method dropUrls(KUrl::List, KUrl) was never used as slot and is invoked ↵Peter Penz
only once -> moved to caller svn path=/trunk/KDE/kdebase/apps/; revision=822000
2008-06-18Assure that when requesting the context menu for the column-view, that the ↵Peter Penz
correct items are used. TODO for 4.2: get rid of those 'if (isColumnViewActive())' special cases and provide a generic model which also works with the way the column view is implemented BUG: 164146 svn path=/trunk/KDE/kdebase/apps/; revision=821903
2008-05-28Handle redirections (e.g. from fish://localhost) without breaking the column ↵David Faure
view -- thanks Peter for the advice on how to separate the two cleanly. svn path=/trunk/KDE/kdebase/apps/; revision=813954
2008-05-28Move the code for restoring the current item from DolphinViewContainer to ↵Peter Penz
DolphinView, as the DolphinView must be able to do this without advice from the container. Beside that this simplifies the code it also fixes a regression of having empty tabs. svn path=/trunk/KDE/kdebase/apps/; revision=813828
2008-05-20when going back in history apply the keyboard focus to the the previously ↵Peter Penz
shown directory BUG: 156550 BUG: 158590 svn path=/trunk/KDE/kdebase/apps/; revision=810493
2008-05-07SVN_SILENT: updated commentsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=805188
2008-05-07allow Konqueror to open also files inside a new tab, not only directoriesPeter Penz
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=805184
2008-04-30KonqFileUndoManager moved to kdelibs, as KIO::FileUndoManager. Ported the ↵David Faure
code in libkonq+dolphin+konqueror. svn path=/trunk/KDE/kdebase/apps/; revision=802881
2008-04-12when clicking with the middle mouse button on a directory, a new tab should ↵Peter Penz
be opened svn path=/trunk/KDE/kdebase/apps/; revision=796116
2008-04-09hide the tooltip when an item gets triggered or a context menu is openedPeter Penz
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=795330
2008-04-08Bypassed a Qt-issue where enabling the menu-animation for QApplication emits ↵Peter Penz
a clicked() signal during the context menu is open. I got no bug-number from the Trolltech tasktracker yet, I'll update the number xxxxxx by the real number as soon as I received the bug-number. BUG: 155574 svn path=/trunk/KDE/kdebase/apps/; revision=794872
2008-03-29Move the pasteIntoFolder() method from the contextmenu into DolphinView. ↵Peter Penz
This allows to show the information inside the statusbar, that the paste operation has been completed (also some code duplication can be prevented by the way). svn path=/trunk/KDE/kdebase/apps/; revision=791436
2008-03-23provide an option to rename files inlinePeter Penz
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=789208
2008-03-20QListView does not support having a margin for grids. Originally it has been ↵Peter Penz
tried to bypass this by overwriting QListView::visualRect(), but this has some side effects (see #155378 and #155575). The clean approach is to return a proper size hint in the file item delegate. Currently a custom item delegate has been made for Dolphin, but we'll discuss whether it makes sense providing this feature already in KFileItemDelegate... BUG: 155378 BUG: 155575 CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=788095
2008-02-21* Install an event-filter for the view implementations. Whenever a view ↵Peter Penz
implementation gets the focus, it should request it's activation. * Let the metadata widget only get the focus by clicking. * Tried to install a similar filter for the wheel-event code duplication in the view-implementations, but the event filter is invoked _after_ the view implementation gets the wheel event... -> added a note the the 3 implementations as hint. svn path=/trunk/KDE/kdebase/apps/; revision=777757
2008-02-13Provide the dolphinpart view modes (Icons, Details, Columns) in konqueror's ↵David Faure
View Modes menu. (this is done using a Q_PROPERTY in the dolphin part and a signal; the available view modes for creating the menu in the first place are listed in dolphinpart.desktop) Konqueror: cleaned up the old (complex) handling of view modes as N toolbar buttons from M services grouped by library (240 lines less!). Dolphin: moved view mode handling to DolphinViewActionHandler, removes duplication between part and mainwindow. svn path=/trunk/KDE/kdebase/apps/; revision=774646
2008-02-12Move the Ctrl-wheel zoom handling to dolphinview.Luciano Montanaro
The specialized views still need to ignore the Ctrl-qualified wheel events, though. svn path=/trunk/KDE/kdebase/apps/; revision=773976
2008-02-11Forwardport 773570:David Faure
Factorize all the view-related action handling to DolphinViewActionHandler, to remove code duplication between mainwindow and part, and to remove my code-splitting with the static createFooAction methods in the view. svn path=/trunk/KDE/kdebase/apps/; revision=773572
2008-02-11Factorize all the view-related action handling to DolphinViewActionHandler, ↵David Faure
to remove code duplication between mainwindow and part, and to remove my code-splitting with the static createFooAction methods in the view. svn path=/branches/KDE/4.0/kdebase/apps/; revision=773570
2008-01-28keep in sync with 4.0 branch (767566)David Faure
svn path=/trunk/KDE/kdebase/apps/; revision=767567
2008-01-28Centralize three more actions so that they are available in DolphinPart: ↵David Faure
'Show preview' 'Show hidden files' 'Categorized sorting' Found a way of sharing the actions with even less code duplication, discussed it with Peter, but this will be for after 4.0.1 svn path=/branches/KDE/4.0/kdebase/apps/; revision=767566
2008-01-22svn merge -r764536:HEAD from 4.0 branch: refactor "additional info" actions ↵David Faure
and provide them in the part svn path=/trunk/KDE/kdebase/apps/; revision=764550
2008-01-22Move the code handling the additional-info-actions to DolphinView; simplify ↵David Faure
signal from DolphinView (it has the info anyway). The fact that the last additional-info doesn't show up in the icon view is in fact a KFileItemDelegate bug, not a bug in this code :) svn path=/branches/KDE/4.0/kdebase/apps/; revision=764544
2008-01-22Use a QActionGroup and save 6 slots (and the duplication of the action names ↵David Faure
in the code). svn path=/branches/KDE/4.0/kdebase/apps/; revision=764537
2008-01-21Make sort/descending available in dolphinpartDavid Faure
svn path=/trunk/KDE/kdebase/apps/; revision=764445