┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
AgeCommit message (Collapse)Author
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
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-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-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-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-05extra ';'Pino Toscano
svn path=/trunk/KDE/kdebase/apps/; revision=721720
2007-10-05fixed most regressions due to the previous column-view refactoringPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=721706
2007-10-05Refactored DolphinColumnWidget so that it does not need a hierarchical ↵Peter Penz
KDirLister. This simplifies the code a lot and also bypasses the current problems with the KDirLister cache when working on hierarchical directories in parallel. There are some minor regressions which will be fixed, but all in all some improvements are visible already: - the loading of columns is a lot faster - preview in columns is working - no side effects in combination with the treeview-panel because of caching svn path=/trunk/KDE/kdebase/apps/; revision=721678
2007-10-02Allow showing additional information like type, size and date in parallel ↵Peter Penz
for the icons view (thanks to Fredrik for the extension of KFileItemDelegate!). svn path=/trunk/KDE/kdebase/apps/; revision=720283
2007-10-02replace QList<KFileItem> by KFileItemList, as KFileItemList is not ↵Peter Penz
QList<KFileItem*> anymore since todays update of kfileitem.* in kdelibs svn path=/trunk/KDE/kdebase/apps/; revision=720234
2007-10-02fix signal/slotDavid Faure
svn path=/trunk/KDE/kdebase/apps/; revision=720110
2007-10-01Port dolphin to the KFileItemDelegate API changes.Fredrik Höglund
svn path=/trunk/KDE/kdebase/apps/; revision=719796
2007-09-27Use case: categorized sorting is enabled, the current view mode is ↵Peter Penz
icons-view. When switching to the details-view (which does not support categorized sorting yet), the 'categorized sorting' action should get only disabled to indicate that it is not available, not get unchecked (currently it gets disabled AND unchecked). This patch assures that always the stored categorization state is returned for the menu actions, but internally the categorization is turned off for the proxy model for the details view and column view. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=717548
2007-09-25further root URL handling cleanupsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=716789
2007-09-24Restore the root URL when navigating through the history (this is important ↵Peter Penz
for views like the column view where the root URL might differ from the current URL). svn path=/trunk/KDE/kdebase/apps/; revision=716310
2007-09-17drag and drop fixes for the column view (implied a signal changed which ↵Peter Penz
affected other views too) svn path=/trunk/KDE/kdebase/apps/; revision=713430
2007-09-17Create the new architecture for KCategorizedView. Now DolphinModel is ↵Rafael Fernández López
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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=713319
2007-09-01SVN_SILENT typos--Arto Hytönen
svn path=/trunk/KDE/kdebase/apps/; revision=707204
2007-08-28Clicking on items in dolphin part finally implemented.David Faure
Fixed connect() error in dolphinstatusbar [unrelated]. svn path=/trunk/KDE/kdebase/apps/; revision=705835
2007-08-17use adjusted signals from KDirListerPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=701057
2007-08-16preview did not work anymore (KDirLister emits the signal newItems(const ↵Peter Penz
KFileItemList&) -> generatePreviews() from Dolphin must have the same signature) svn path=/trunk/KDE/kdebase/apps/; revision=700834
2007-08-13Use KFileItem by value rather than by pointerDavid Faure
- in KDirModel::itemForIndex, as noted there as a TODO - in dolphin, everywhere. svn path=/trunk/KDE/kdebase/apps/; revision=699691
2007-08-12* fixed issue that when having a split view, that both views get the same ↵Peter Penz
color after OK or Apply has been pressed inside the Dolphin settings dialog * prepare for toggling the view icon depending from the activation state svn path=/trunk/KDE/kdebase/apps/; revision=699311
2007-08-06Fixed 'Select All' and 'Invert Selection' for the column view (only the ↵Peter Penz
items of the currently active column will be selected, not the whole tree). The current implementation is quite slow, but this will be fixed later. svn path=/trunk/KDE/kdebase/apps/; revision=696893