┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
AgeCommit message (Collapse)Author
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
2008-01-21Make sort/descending available in dolphinpartDavid Faure
svn path=/branches/KDE/4.0/kdebase/apps/; revision=764444
2008-01-21forwardport 764429:David Faure
Revert the moving of the action to the DolphinView instance, this doesn't work with splitted views. (Each view would need its own action collection, but then DolphinView would have to become a KXMLGUIClient, and the GUI would flicker when switching views). Instead, use the same solution as the other shared actions: static method in DolphinView (for now), slot in the mainwindow (and for the more complex actions than this one, shared code in DolphinView) svn path=/trunk/KDE/kdebase/apps/; revision=764436
2008-01-21Revert the moving of the action to the DolphinView instance, this doesn't ↵David Faure
work with splitted views. (Each view would need its own action collection, but then DolphinView would have to become a KXMLGUIClient, and the GUI would flicker when switching views). Instead, use the same solution as the other shared actions: static method in DolphinView (for now), slot in the mainwindow (and for the more complex actions than this one, shared code in DolphinView) svn path=/branches/KDE/4.0/kdebase/apps/; revision=764429
2008-01-21merge -c764347 by Peter, needed for dolphinpart bugfixingDavid Faure
svn path=/branches/KDE/4.0/kdebase/apps/; revision=764379
2008-01-21Cleanup: let the DolphinView be aware about the used action collection. This ↵Peter Penz
will allow us cleaning up some code in DolphinMainWindow and will make it easier sharing code with DolphinPart. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=764347
2008-01-11Up to now DolphinView and ColumnWidget contained a lot of code duplication ↵Peter Penz
regarding generating previews and the dimming of cut items. This has been refactored by introducing an IconManager which takes care itself about generating a preview and dimming cut items. This also allows improving the speed of previews in (near) future (at the moment showing previews from the cache is a lot slower than in KDE 3...). svn path=/trunk/KDE/kdebase/apps/; revision=759864
2007-12-14Moving code around in dolphin fixes DnD support in konqueror :)David Faure
svn path=/trunk/KDE/kdebase/apps/; revision=748476
2007-12-11fixed issue that turning off the preview during the preview job still was ↵Peter Penz
active did not work as expected TODO for 4.1: provide a preview helper class which can be shared between DolphinView and the special use case of DolphinColumnViewWidget BUG: 153816 svn path=/trunk/KDE/kdebase/apps/; revision=747348
2007-12-04SVN_SILENT coding style fixesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=744903
2007-12-03Share the selection model. Does not fix the selections yet thoughJohn Tapsell
svn path=/trunk/KDE/kdebase/apps/; revision=744230
2007-11-17Fix "delete" and "move to trash" actions in dolphinpart; moved all logic for ↵David Faure
those out of konqueror. Inside dolphin, the usual: moving code to DolphinView. Pressing shift while clicking on "Move to Trash" in konq (dolphinpart) offers to delete, as in kde3 (this bit of logic might be good for dolphin itself too? see DolphinPart::slotTrashActivated) CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=737682
2007-11-15Implement cut/copy/paste in dolphinpart.David Faure
Had to move more code to DolphinView, to use it from the part. svn path=/trunk/KDE/kdebase/apps/; revision=737203
2007-11-15Implement renaming in dolphinpart.David Faure
No more rename action provided by konqueror, the part provides it now. Had to move a bit of code around in dolphin, as discussed with Peter. svn path=/trunk/KDE/kdebase/apps/; revision=737121
2007-11-06When switching from e. g. the icons view to the details view, additional ↵Peter Penz
information properties like 'Size' and 'Date' are added as default (showing a details-view without details does not make sense as default setting...). This fix assures that the additional information properties are removed again when switching back to the icons view. Only if the user modified the additional information properties by a GUI-interaction (e. g. by adding a 'Type'), this information is persistet also when switching back to the icon-view. BUG: 151891 svn path=/trunk/KDE/kdebase/apps/; revision=733313