┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
AgeCommit message (Collapse)Author
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
2007-10-16polish look of column view:Peter Penz
- don't show a focused border above all columns - provide a small gap between the columns - assure that the background of inactive columns works well with more complex styles like Oxygen CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=726042
2007-10-14The sorting on dolphinview is no more needed, it is done automatically by ↵Rafael Fernández López
KCategorizedSortFilterProxyModel when setCategorizedModel is changed. Bug fixed for the categorized view: Details => Icons (with no categories) => Categorized was resulting in no items in the view or all items in the same position svn path=/trunk/KDE/kdebase/apps/; revision=725212
2007-10-10DolphinPart: provide a way to switch between view modes in konqueror.David Faure
Factorized those actions between dolphinmainwindow and dolphinpart (see new methods in dolphinview), and simplified mainwindow code by using the signal from the action group and the QVariant data of the actions (standard Qt4 solution for a group of actions). svn path=/trunk/KDE/kdebase/apps/; revision=723871
2007-10-09Allow filtering of items also for the column view. A filtering of ↵Peter Penz
directories is not done yet, but with the latest updates of the column view this could be added now (but it's more a question whether we really want this...). svn path=/trunk/KDE/kdebase/apps/; revision=723536
2007-10-09column view fixes:Peter Penz
* assure that the history does not get messed up when changing the focus to an existing column * fix issue that the status bar does not get updated when the focus is changed between the columns svn path=/trunk/KDE/kdebase/apps/; revision=723519
2007-10-07* assure that the columns of the colum-view get dimmed if the colum-view is ↵Peter Penz
inactive * updated documentation of DolphinController + minor cleanups svn path=/trunk/KDE/kdebase/apps/; revision=722452
2007-10-06don't use the directory lister directlyPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=722142
2007-10-06remove unneeded codePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=722140