┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.cpp
AgeCommit message (Collapse)Author
2011-03-24Make cursor keys always trigger a statusbar updateSebastian Dörner
When the selection is changed using the cursor keys, the statusbar should be updated. Until now, this didn't actually happen directly after an operation ending in a OperationCompletedMessage, because the OperationCompletedMessage was protected. This patch changes the behaviour to only protect ErrorMessages in the ViewContainer. When an OperationCompletedMessage was issued very recently, it keeps being protected by DolphinStatusbar itself. Statusbar updates in the ViewContainer are only triggered by a) user actions (move keyboard focus, enter something in the filter bar) b) finished filed jobs In case a), the update is desired, also overriding OperationCompletedMessages. In case b), the OperationCompletedMessage issued by the file command is issues so shortly before the call to updateStatusBar, that the DolphinStatusBar skips the message anyway (see DolphinStatusBar::setMessage). BUG: 193847 FIXED-IN: 4.7.0 REVIEW: 100939
2011-02-12Reset progress of the statusbar when the stop-button has been pressedPeter Penz
2011-02-10revert ed4f9d3e11e66dd5ef136c3fac874ac5f53ec91aChristoph Thielecke
2011-02-10compile fix: includes does only exist with old names, please fix kde headers tooChristoph Thielecke
2011-02-09Coding style update for pointer comparisonPeter Penz
Most developers seem to prefer if (ptr) ... if (!ptr) ... in comparison to if (ptr != 0) ... if (ptr == 0) ... Adjusted the Dolphin-code to use the "most-prefered style" to make contributors happy.
2011-02-09Use capitalized includes of recently committed kdelibs headersPeter Penz
2011-02-05Provide a hook for externally triggered search queriesPeter Penz
In this case the "From Here"/"Everywhere" buttons and the "Filename"/"Content" buttons are useless. Currently they just get disabled but the plan is to provide a better visual indication of the current query and to remove them completely.
2011-02-04Add unittest for DolphinSearchBoxPeter Penz
A minor API cleanup in DolphinSearchBox has been done related to the test.
2011-02-04Don't clear the search-text when switching between tabsPeter Penz
The clearing of the search-text should only be done when opening the search-box.
2011-02-04Update e-mail address from [email protected] to [email protected]Peter Penz
2011-02-04Don't use the submodule-path for Qt-includes on application-levelPeter Penz
Also some KDE-includes have been capitalized
2011-02-04Use capitalized KDE includesPeter Penz
2011-01-09Encapsulate the creation and handling of the directory lister, the model and ↵Peter Penz
proxy model to DolphinView. By this it will be easier later to replace the traditional QAbstractItemViews by any kind of other implementation (e.g. based on QGraphicsView/QML). svn path=/trunk/KDE/kdebase/apps/; revision=1213189
2010-12-19Select the whole text in the filterbar and searchbox if the widget has lost ↵Peter Penz
the focus and gets focused again by the shortcut (this behavior is consistent to e.g. the behavior in Kate). CCBUG: 256160 svn path=/trunk/KDE/kdebase/apps/; revision=1207719
2010-12-15Keeping DolphinDirLister and DolphinModel as DolphinViewContainers members ↵Peter Penz
is not needed anymore, as all the handling is encapsulated inside DolphinView in the meantime. The moving of the dirlister- and model-construction will be done after the 4.6 release, as some internal API adjustments are necessary. svn path=/trunk/KDE/kdebase/apps/; revision=1206754
2010-12-15Fix issue that the enabled state of the "Create New..." menu is not updated ↵Peter Penz
correctly in the column-view. BUG: 258534 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1206749
2010-12-10Show an undetermined progress indication within one second after changing an ↵Peter Penz
URL. Update to SVN commit 1205329: - Fix issue that an undetermined progress is shown when switching between columns of the column-view. - Fix issue that no undetermined progress is shown when editing the URL directly in the URL navigator BUG: 234894 BUG: 163004 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1205345
2010-12-10Show an undetermined progress indication within one second after changing an ↵Peter Penz
URL. svn path=/trunk/KDE/kdebase/apps/; revision=1205329
2010-11-20removed: include of unused headerFriedrich W. H. Kossebau
svn path=/trunk/KDE/kdebase/apps/; revision=1199157
2010-11-20Allow to cancel the loading of search results.Peter Penz
BUG: 257421 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1199112
2010-11-07Make the filter-behavior similar to applications like Kate, where activating ↵Peter Penz
the filter lets focus it again. BUG: 256160 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1193912
2010-11-05Rename the setter showFilterBar() to setFilterBarVisible().Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1193348
2010-11-05If the user has changed the startup settings, they should also get applied ↵Peter Penz
to the current views. BUG: 254947 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1193344
2010-11-01Assure that always the search-box is shown instead of the URL-navigator if a ↵Peter Penz
Nepomuk-URL is requested. We still have to think about how to show queries that cannot be represented by the facet-widget, but at least it is sure that this kind of information should not be shown by the URL navigator. svn path=/trunk/KDE/kdebase/apps/; revision=1191912
2010-10-27- Automatically show the filter-panel when a searching is donePeter Penz
- Remove filter-prototypes that conflict with the filterpanel svn path=/trunk/KDE/kdebase/apps/; revision=1190445
2010-10-10Update the statusbar also during loading the items, not only after the ↵Peter Penz
loading has been completed. This fixes the issue that no current item-count is shown when doing a search. svn path=/trunk/KDE/kdebase/apps/; revision=1184520
2010-10-10Automatically start the searching if the user did not change the search-text ↵Peter Penz
for at least a second. svn path=/trunk/KDE/kdebase/apps/; revision=1184510
2010-09-17KDirModel takes ownership of the directory lister, so don't delete the ↵Peter Penz
directory lister manually. BUG: 196681 svn path=/trunk/KDE/kdebase/apps/; revision=1176325
2010-08-17Fix triggering of an assertion, if a new tab is opened. Thanks to Frank ↵Peter Penz
Reininghaus for the detailed analyses! BUG: 246747 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1164862
2010-07-24Sourcecode hierarchy cleanup: Move further files from src to src/viewsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1154150
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-24Unify the search interface for non-indexed and indexed foldersPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1154073
2010-07-22Properly KIO::stat instead of simply using the KFileItem constructor whenSebastian Trueg
showing metadata for the currently selected folder. This way we can even get rid of the special handling of nepomuksearch:/ URLs since the KIO slave provides a nice name and all you need to show to the user. Even nicer: When clicking an entry in the metadata view the resulting query will be related to the one clicked resource. This resource will then be represented by the query folder. So all in all this patch makes Dolphin more generic while additionally activating a new feature. svn path=/trunk/KDE/kdebase/apps/; revision=1152959
2010-07-08Forward port of SVN commit 1147596: Skip redirection URLs when going back or ↵Peter Penz
forward in history (otherwise going back won't be possible for the user, as a redirection will occur again). CCBUG: 212293 svn path=/trunk/KDE/kdebase/apps/; revision=1147597
2010-06-12SVN_SILENT: Remove unnecessary includePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1137348
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-03-09Port patch 1098976 for Konqueror by David Faure to Dolphin: When the user ↵Peter Penz
clicks on a Type=Link desktop files that point to a directory, let's open that directory in the current view, rather than starting a new Konqueror. As requested by LukasLT for http://forum.kde.org/viewtopic.php?f=14&t=66660 svn path=/trunk/KDE/kdebase/apps/; revision=1101071
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-26* Assure that the URL navigator is synchronized with the active column.Peter Penz
* Removed obsolete triggerUrlChangeRequest() method + signal in the DolphinController. This is not needed anymore because of the refactored column view. svn path=/trunk/KDE/kdebase/apps/; revision=1080351
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-06If an operation has been completed (e. g. a rename operation), the default ↵Peter Penz
status bar text must be updated too. Otherwise the statusbar would show a cached version after the "operation completed" message is not shown anymore. BUG: 212797 svn path=/trunk/KDE/kdebase/apps/; revision=1070800
2009-11-19Provide clickable resources for the Information Panel. Thanks to Sebastian ↵Peter Penz
Trüg für the patch! CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=1051553
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-11-13Implemented initialization of value-widgets. This allows e.g. to apply dates ↵Peter Penz
like "today", "last week", ... to the date-value-widgets just by specifying a search criterion. svn path=/trunk/KDE/kdebase/apps/; revision=1048771
2009-11-13search finetuning:Peter Penz
* trigger progress information when starting a search * let the information panel hide the meta data for the search string * get the search string from the configurator svn path=/trunk/KDE/kdebase/apps/; revision=1048721
2009-11-12Show a progress information when doing a Nepomuk search. As "sideeffect" ↵Peter Penz
some KDE3 relicts for the progress bar code have been removed too... svn path=/trunk/KDE/kdebase/apps/; revision=1048225
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-01move statusbar code into the directory "statusbar"Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1005704
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
2009-07-11Update the statusbar synchronously when the directory lister has been ↵Peter Penz
completed. As no selection is given at this moment, there is no risk that updateStatusBar() is expensive. svn path=/trunk/KDE/kdebase/apps/; revision=995021