┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
AgeCommit message (Collapse)Author
2008-03-13differ between pasting one folder, pasting one file and pasting n itemsPeter Penz
BUG: 154926 svn path=/trunk/KDE/kdebase/apps/; revision=785409
2008-03-12If a user pastes a directory into itself, ask him whether this intended and ↵Peter Penz
give him the chance to cancel the operation. BUG: 159207 svn path=/trunk/KDE/kdebase/apps/; revision=784965
2008-03-06prevent flickering when zooming in or zooming outPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=782795
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-21Let the DolphinController be aware on which QAbstractItemView instance he is ↵Peter Penz
working. This allows to connect signals from the view implementations (icons view, details view, column view) directly to the slots of the DolphinController without a helper slot. svn path=/trunk/KDE/kdebase/apps/; revision=777737
2008-02-16Provide an option for the details view to expand folders (= tree view), as ↵Peter Penz
this is required for Konqueror to get back this functionality from KDE 3. It is possible in Dolphin to enable this option too, but it is set to false per default. BUG: 155571 svn path=/trunk/KDE/kdebase/apps/; revision=775621
2008-02-15don't connect to a non-existent slot (the code for updateCutItems() is now ↵Peter Penz
part of the IconManager) svn path=/trunk/KDE/kdebase/apps/; revision=775418
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-11apply sorting + sort order to the column viewPeter Penz
BUG: 157343 svn path=/trunk/KDE/kdebase/apps/; revision=773766
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-27Column-View: When switching to another view-mode, just switch the view for ↵Peter Penz
the currently focused column as Aurélien suggested. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=767205
2008-01-26* increase the performance of item previews: each item view provides an icon ↵Peter Penz
size hint -> the preview and item effects are only applied to the current size, not to the maximum of 128 x 128 pixels * make the icons of hidden files semitransparent like in KDE3 svn path=/trunk/KDE/kdebase/apps/; revision=766659
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-22restore previous behavior: additional info actions are not mutually exclusive.David Faure
(although requesting size and type at the same time doesn't show the type...) svn path=/branches/KDE/4.0/kdebase/apps/; revision=764538
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-13don't forget to initialize the correct preview settingsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=760940
2008-01-13Improve the feeled preview performance by assuring that the preview is ↵Peter Penz
generated first for the visible items. svn path=/trunk/KDE/kdebase/apps/; revision=760897
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
2008-01-10Fixed issue that when renaming a variable number of items, that only one ↵Peter Penz
#-character as index is allowed. BUG: 155249 svn path=/trunk/KDE/kdebase/apps/; revision=759454
2008-01-07Backport of bugfix 154434 (trunk revision 757791): Remember the ↵Peter Penz
additional-info property (size, date, type, ...) for each view mode (icons view, details view, column view) individually. svn path=/branches/KDE/4.0/kdebase/apps/; revision=758210
2008-01-05Remember the additional-info property (size, date, type, ...) for each view ↵Peter Penz
mode (icons view, details view, column view) individually. BUG: 154434 CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=757791
2008-01-01Icon renaming (code changes - KDE/):Jakob Petsovits
consolidate the fileview-* icons to view-* svn path=/trunk/KDE/kdebase/apps/; revision=755384
2007-12-24This TODO is implementable now: use real KFileItem instead of fake oneDavid Faure
svn path=/trunk/KDE/kdebase/apps/; revision=752421
2007-12-15Fixed issue that Ctrl+A inverted the selection instead doing a "Select All". ↵Peter Penz
It seems like a Qt issue, but I'm not 100 % sure - I'll try to make this reproducible with a Qt-only code after KDE 4.0 and submit a bug report to Trolltech... BUG: 153938 svn path=/trunk/KDE/kdebase/apps/; revision=748823
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-08SVN_SILENT: adjusted position of commentPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=746415
2007-12-06fixed issue that the information panel shows wrong meta data when having ↵Peter Penz
split views in combination with selected items BUG: 151644 svn path=/trunk/KDE/kdebase/apps/; revision=745669
2007-12-04SVN_SILENT coding style fixesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=744903
2007-12-03Do not reload the directory when changing the viewJohn Tapsell
svn path=/trunk/KDE/kdebase/apps/; revision=744377
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
2007-10-30* fixed drag & drop issue in column view (dropping on files was not possible ↵Peter Penz
-> handled as viewport now) * only show the hover-drop-indicator on directories (dropping on file-items is handled like dropping on the viewport) * simplified signature of drop signal (source widget not required anymore) svn path=/trunk/KDE/kdebase/apps/; revision=731129
2007-10-26Simplify DolphinController: don't remember the show-preview state in the ↵Peter Penz
controller and add an unnecessary additional signal; instead just read the state from the DolphinView svn path=/trunk/KDE/kdebase/apps/; revision=729726
2007-10-26Simplify the DolphinController: The "show hidden files" state can be ↵Peter Penz
retrieved by the DolphinView, there is no need introducing additional signals + states. Further cleanups will follow... svn path=/trunk/KDE/kdebase/apps/; revision=729721
2007-10-26due to the recent tagging freeze this commit contains several fixes in one:Peter Penz
* the filterbar now also filters directories (works also in the column-view :-)) * The "Additional Information" menu entry now also works for showing/hiding the columns of the details view. This also implies that the columns for the details view can now be adjusted per directory -> we have now a consistent behavior between the icons view and details view. Still open: the view properties dialog must be fixed * Don't show a "Nepomuk not available" error message when starting Dolphin and Nepomuk is not available. * Fix issue that the information panel blocked the application because of parsing the full meta data of a huge file. svn path=/trunk/KDE/kdebase/apps/; revision=729704