┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
AgeCommit message (Collapse)Author
2008-05-07Fixed issue the the current view does not get the focus after opening ↵Peter Penz
Dolphin. Although this fixes #161590, further improvements have to be done to minimize the number of necessary tab presses... BUG: 161590 svn path=/trunk/KDE/kdebase/apps/; revision=805206
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-24avoid unnecessary copies by using const & in foreachAlbert Astals Cid
svn path=/trunk/KDE/kdebase/apps/; revision=800783
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-09Provide tooltips. Per default tooltips are turned off because the ↵Peter Penz
information sidebar is turned on already. Thanks a lot to Konstantin Heil and Fredrik Höglund for the code :-) CCMAIL: [email protected] CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=795324
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-04-08Provide a setting to turn on/off tooltips. The tooltip implementation itself ↵Peter Penz
will be committed before the feature freeze (20th of April). CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=794772
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-29SVN_SILENT: assure that the position of the methods in the cpp file matchs ↵Peter Penz
with the position of the methods in the header file (part 2) svn path=/trunk/KDE/kdebase/apps/; revision=791420
2008-03-29SVN_SILENT: assure that the position of the methods in the cpp file matchs ↵Peter Penz
with the position of the methods in the header file svn path=/trunk/KDE/kdebase/apps/; revision=791416
2008-03-29The paste operation should ignore the current selection to behave similar as ↵Peter Penz
Konqueror and other file managers. Only if a context menu for a folder is opened, a pasting should be done into this folder. Some internal cleanups are still required (see TODO comments), so that after finishing the operation an indication can be given to the user in the statusbar (must go for breakfast now, otherwise I'll eat my keyboard...). BUG: 159862 svn path=/trunk/KDE/kdebase/apps/; revision=791354
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-03-18Fix Krazy i18n issues.Chusslove Illich
svn path=/trunk/KDE/kdebase/apps/; revision=787308
2008-03-17because of the recent Information Panel fixes it is now possible again that ↵Peter Penz
previews are shown for the inactive views too svn path=/trunk/KDE/kdebase/apps/; revision=786729
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