┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.cpp
AgeCommit message (Collapse)Author
2010-07-24Sourcecode hierarchy cleanup: Create folder "views" and move view related ↵Peter Penz
sources to it svn path=/trunk/KDE/kdebase/apps/; revision=1154146
2010-07-03* Unbreak last commit.Christian Muehlhaeuser
svn path=/trunk/KDE/kdebase/apps/; revision=1145468
2010-07-03* Ignore invalid redirection after renaming an expanded folder in detail view.Christian Muehlhaeuser
svn path=/trunk/KDE/kdebase/apps/; revision=1145456
2010-05-27When pasting or dropping items in the view in Dolphin or theFrank Reininghaus
DolphinPart (running in Konqueror), do not only select the new items, but also clear the previous selection. BUG: 223905 svn path=/trunk/KDE/kdebase/apps/; revision=1131230
2010-05-14Fix temporary regression of sorting introduced by SVN commit 1126410Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1126487
2010-05-14Rename AdditionalInfoManager to AdditionalInfoAccessorPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1126483
2010-05-13If an information entry will be added to KFileItemDelegate (like done ↵Peter Penz
recently), adjusting the corresponding code in Dolphin is a real pain, as the new information will be shown in Dolphin the following way: - As additional columns in the details view - As additional lines in the icons view - As menu entries in the "Sort By" and "Additional Information" groups - As popup menu entries in the details view header popup - As checkable entries in the View Properties dialog To prevent similar painful transitions in future, the class AdditionalInfoManager has been introduced. All parts in Dolphin that access/show/store additional information, use the AdditionalInfoManager now. If a new information entry will be added in KFileItemDelegate in future, only a small adjustment in AdditionalInfoManager will be required. Still open currently: - AdditionalInfoDialog does not use AdditionalInfoManager yet - DolphinView::Sorting should be replaced by KFileItemDelegate::Information, so that the sorting can also be done in a generic way. - The data for KFileItemDelegate::PathOrUrl is not determined The open issues will get fixed during the next days. Kudos to the brave warriors Sebastian and Frank, that tried to add a new information ;-) CCMAIL: [email protected] CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=1126410
2010-05-11Expose the new file item property pathorurl to the Dolphin UI. This is ↵Sebastian Trueg
mostly useful for search results to see the actual local path of the result. svn path=/trunk/KDE/kdebase/apps/; revision=1125631
2010-03-30Split the class DolphinController into the two classes DolphinViewController ↵Peter Penz
and ViewModeController. The ViewModeController offers a defined interface to control view mode implementations like icons view, details view and column view. The DolphinViewController allows those view mode implementations to control the parent DolphinView in a limited way. svn path=/trunk/KDE/kdebase/apps/; revision=1109228
2010-02-25Forward port of SVN commit 1096089: Fix regression that columns stay empty ↵Peter Penz
when switching between URLs that differ by more than one sub directory. Thanks to Frank Reininghaus for the analysis. CCBUG: 227785 CCBUG: 227748 svn path=/trunk/KDE/kdebase/apps/; revision=1096093
2010-02-23Remove all code that is related to DolphinController'sFrank Reininghaus
requestUrlChange signal. This signal was removed in r1080351, so the code isn't needed any more. svn path=/trunk/KDE/kdebase/apps/; revision=1095213
2010-02-21Forward port of SVN commit 1093803: Assure that the changed selection model ↵Peter Penz
is reconnected when changing columns. This fixes the regression that some operations have been disabled on sub columns. Thanks to Frank Reininghaus for the analyses. CCBUG: 226749 svn path=/trunk/KDE/kdebase/apps/; revision=1093807
2010-02-16Make sure that DolphinView's m_expanderActive member is handledFrank Reininghaus
correctly, and emit DolphinDetailsViewExpander's completed() signal only if the folder loading is really finished. This fixes possible problems when restoring the current item and scroll position of the view if these require a preceding folder expansion. svn path=/trunk/KDE/kdebase/apps/; revision=1090926
2010-01-26Reorganise some code in DolphinView and DolphinViewContainer. ThisFrank Reininghaus
makes it possible to restore the expanded folders in the Details View when navigating in history (based on r1056438 and r1079843). Also remove DolphinView::activateItem(const KUrl&) and DolphinView's m_loadingDirectory member (they are not needed any more). This will be in KDE 4.5. BUG: 169886 svn path=/trunk/KDE/kdebase/apps/; revision=1080549
2010-01-25* Adjust code to use the improved KUrlNavigator API.Peter Penz
* Open a new tab if the URL navigator requests it. * Get rid of a cyclic dependency between DolphinViewContainer and DolphinMainWindow. BUG: 181223 svn path=/trunk/KDE/kdebase/apps/; revision=1079843
2010-01-14Use KFileItem::text() instead of name() for pretty printed filenamesSebastian Trueg
svn path=/trunk/KDE/kdebase/apps/; revision=1074761
2010-01-14If the root directory lister is different from the internally used directory ↵Peter Penz
lister (e. g. in the column view), it is important to synchronize them. This fixes the issue that the enabled state of the "Create New..." menu in the column view has not been updated. BUG: 222329 svn path=/trunk/KDE/kdebase/apps/; revision=1074441
2010-01-06SVN_SILENT: ah, forgot to remove temporary testing code...Peter Penz
CCBUG: 210256 svn path=/trunk/KDE/kdebase/apps/; revision=1070848
2010-01-06Send the selectionChanged() signal without delay in case the selection has ↵Peter Penz
been changed from 0 to n or from n to 0. This ensure that the edit-actions are updated without delay. BUG: 210256 svn path=/trunk/KDE/kdebase/apps/; revision=1070844
2010-01-06Fixed issue that Ctrl+A sometimes did not result in an update of the ↵Peter Penz
Information Panel. As a sideeffect some code simplification has been done, which was possible because of the column view refactorization some time ago. svn path=/trunk/KDE/kdebase/apps/; revision=1070740
2010-01-06Fixed issue that when starting Dolphin with the column view a wrong layout ↵Peter Penz
has been shown. BUG: 211149 BUG: 214515 svn path=/trunk/KDE/kdebase/apps/; revision=1070708
2009-12-19Don't rely on that the same proxy model is used for all views. Trigger a ↵Peter Penz
refresh of the directory (done from the cache) and remember the selection. This fixes also the issue that the selection got lost when previews have been enabled or when the column view was used. BUG: 217562 CCBUG: 211149 svn path=/trunk/KDE/kdebase/apps/; revision=1063960
2009-12-17* respect the --select startup optionPeter Penz
* minor cleanups related to selecting items in general svn path=/trunk/KDE/kdebase/apps/; revision=1063329
2009-12-03removed workaround for KDE 4.0, that is obviously not required anymorePeter Penz
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=1058033
2009-11-30When the view is reloaded in Dolphin or the DolphinPart insideFrank Reininghaus
Konqueror, restore the selection, the current item, the scroll position, and the expanded folders in the Details View. BUG: 169893 BUG: 187732 svn path=/trunk/KDE/kdebase/apps/; revision=1056438
2009-11-25Restore the "Edit->Selection" menu from Konqueror 3 for fileFrank Reininghaus
management. It includes the actions "Select All" and "Select Items Matching a Pattern". This feature will be in KDE 4.4. FEATURE: 197536 svn path=/trunk/KDE/kdebase/apps/; revision=1053976
2009-11-14SVN_SILENT: Remove trailing white spaceFrank Reininghaus
svn path=/trunk/KDE/kdebase/apps/; revision=1049182
2009-11-14When navigating back/forward in the DolphinPart inside Konqueror, rememberFrank Reininghaus
1. the current item, 2. the scroll position of the view, and 3. the expansion state of the details view. Before 3. can be implemented in Dolphin itself, some changes in KUrlNavigator are required. This fix will be in KDE 4.4. BUG: 193549 BUG: 198073 BUG: 213137 svn path=/trunk/KDE/kdebase/apps/; revision=1049164
2009-10-25Do not zoom the icons if the user presses Control and the left mouseFrank Reininghaus
button while using the mouse wheel. The user is probably trying to scroll the view during a rubberband selection in that case. Also simplify the code a bit by handling the icon zooming in DolphinView::eventFilter(). BUG: 190703 svn path=/trunk/KDE/kdebase/apps/; revision=1040021
2009-10-19Fixed possible crash when switching between 2 views. In this case ↵Peter Penz
DolphinView::itemView() can temporary be 0 and it is important that no signals/slot connection is existing for the (by deleteLater()) deleted instance. Thanks a lot to Frank Reininghaus for the analysis! CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=1037671
2009-09-18Update the controller's url upon redirection, otherwise pasting would paste ↵David Faure
into the old url. #186947 svn path=/trunk/KDE/kdebase/apps/; revision=1025406
2009-09-18Fix crash when changing view modes (view creation -> openurl -> clear -> ↵David Faure
update statusbar text -> accessing view, which is NULL) svn path=/trunk/KDE/kdebase/apps/; revision=1025401
2009-09-18don't call deleteLater on a null pointer, gives ↵David Faure
"QCoreApplication::postEvent: Unexpected null receiver" svn path=/trunk/KDE/kdebase/apps/; revision=1025364
2009-09-11Fixed minor regression introduced with the column view refactoring: When ↵Peter Penz
switching the view mode in a folder showing previews, the previews get lost after switching. The KFilePreviewGenerator initialized in the ViewExtensionsFactory wants a valid icon size to accept previews. Fixed + Q_ASSERT added to prevent such a mistake in future. svn path=/trunk/KDE/kdebase/apps/; revision=1022453
2009-08-30Restore "open folders automatically when dragging items above it" (it had ↵Peter Penz
been temporary deactivated because of the column view refactoring). svn path=/trunk/KDE/kdebase/apps/; revision=1017531
2009-08-30Move the selection listener from DolphinView to ViewExtensionsFactory. The ↵Peter Penz
statusbar and information panel are now informed correctly about selection changes also when using the column view. svn path=/trunk/KDE/kdebase/apps/; revision=1017497
2009-08-30Move the VersionControlObserver from the DolphinView to the ↵Peter Penz
ViewExtensionsFactory. This automatically enables also the column view to be able handling version controlled files. svn path=/trunk/KDE/kdebase/apps/; revision=1017482
2009-08-30- The selection changed timer only needs to be created for a DolphinView ↵Peter Penz
instance. - Set the extensions mode inside the ViewExtensionsFactory. svn path=/trunk/KDE/kdebase/apps/; revision=1017461
2009-08-29- fix focus issue in column-viewPeter Penz
- minor interface corrections svn path=/trunk/KDE/kdebase/apps/; revision=1017162
2009-08-29Restore "show hidden files" functionality in a generic way which works also ↵Peter Penz
for the column view. svn path=/trunk/KDE/kdebase/apps/; revision=1017091
2009-08-29As KFilePreviewGenerator takes care for refreshing the directory lister ↵Peter Penz
automatically now, there is no need to reload the directory in Dolphin. svn path=/trunk/KDE/kdebase/apps/; revision=1016976
2009-08-29SVN_SILENT compileChristoph Feck
svn path=/trunk/KDE/kdebase/apps/; revision=1016959
2009-08-29- restore functionality that selections are kept when changing the view modePeter Penz
- some minor cleanups svn path=/trunk/KDE/kdebase/apps/; revision=1016955
2009-08-29move the DolphinFileItemDelegate creation into ViewExtensionsFactoryPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1016949
2009-08-29move handling of SelectionManager and AutoScroller to ViewExtensionsFactoryPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1016927
2009-08-29Move code for initializing and handling view extensions to the new class ↵Peter Penz
ViewExtensionsFactory. Beside making DolphinView less complex this will allow the column view to share the view extension code instead of (partly) duplicating it as it has been done before. Currently only the tooltips- and filepreview-handling have been moved into ViewExtensionsFactory, a further cleanup will be done later. svn path=/trunk/KDE/kdebase/apps/; revision=1016893
2009-08-28Restore filtering of items. The DolphinView just tells the controller about ↵Peter Penz
the filter, the views (1:1 iconView + detailView, 1:n columnView) connect to the filter-changed signal and apply it to their proxy model. svn path=/trunk/KDE/kdebase/apps/; revision=1016782
2009-08-28I wanted to this for KDE 4.1 already, but well...Peter Penz
Columview refactoring: Get rid of "isColumnView()" special cases in DolphinView and the interface code duplications due to delegating non-QAbstractItemView interfaces to the column view. This reduces the code size + complexity a lot and will make future maintainance of the columnview and DolphinView a lot easier. Currently there are some regressions in the column view, but this will be fixed during the next 14 days. svn path=/trunk/KDE/kdebase/apps/; revision=1016776
2009-08-13* Use the term "version control" instead of "revision control" to be ↵Peter Penz
consistent with the naming in kdevplatform. * Renamed VersionControlPlugin to KVersionControlPlugin so that the interface can be moved out of Dolphin. svn path=/trunk/KDE/kdebase/apps/; revision=1011058
2009-07-29Allow the revision control plugins to indicate information-, error- and ↵Peter Penz
operation-completed messages. svn path=/trunk/KDE/kdebase/apps/; revision=1004346