┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.cpp
AgeCommit message (Collapse)Author
2012-05-10Allow to remember view-properties for the search-modePeter Penz
Per default Dolphin remembers the view-properties for each search-URL individually. However when being in the search-mode, where the search-URL is different each time by definition, it should also be possible for the user to adjust the view-properties. The DolphinView is not aware about any "search-mode", so an interface has been added to provide a "context" for storing the view-properties. The context will be adjusted by the DolphinViewContainer in case if the search-mode is active.
2012-05-10Reimplement search-filtersPeter Penz
BUG: 270721 BUG: 280377 FIXED-IN: 4.9.0
2012-04-26Update the view when changing the directory using 'cd' in the terminalFrank Reininghaus
Thanks to Jekyll Wu for helping to implement this feature! FEATURE: 156732 FIXED-IN: 4.9.0
2012-04-25Fix search-UI issues in combination with the new places entriesPeter Penz
The places-entries for searching revealed some serious issues in combination with the search-panel. Move the filtering away from QDockWidget and bring it back below the search-bar.
2012-04-15Minor statusbar fixesPeter Penz
- Don't show information messages as KMessageWidget - Assure that a set text in a statusbar will be shown for at least one second
2012-04-13Use KMessageWidget for error- and information-messagesPeter Penz
See http://agateau.com/2011/04/21/kde-ux-2011/ for more details. This simplifies the statusbar in Dolphin a lot and allows to do a proper eliding in case if status-messages are too long: In this case a tooltip will show the whole status-message (thanks to Wolfgang Mader for the initial patch!). There is still missing some finetuning but the general approach seems to work quite nice. BUG: 249638 BUG: 245618 BUG: 146533 FIXED-IN: 4.9.0
2012-04-11KFileItemModel: interface cleanupsPeter Penz
Fix some naming inconsistencies regarding the usage of 'dir' vs. 'directory' vs. 'folder'.
2012-04-11Minor API-cleanups for DolphinViewPeter Penz
2012-04-11KItemViews: Internal directory restructurationPeter Penz
- Move all private headers from the kitemviews-directory into the 'private' subdirectory. - Get rid of DolphinDirLister and just use a directory-lister internally in KFileItemModel. - Minor interface-cleanups for signals
2012-04-10Improvements for slow sorting rolesPeter Penz
If the sorting is done for data which is resolved asynchronously (e.g. rating), it is important to give a visual feedback about the state of the sorting. This is done now by a progress indication in the statusbar. Also optimizations for "Sort by type" have been done: Although resolving a type can be expensive in the most often case it is a very cheap operation. So it the sorting is done by type, try to resolve the type synchronously for at least 200 ms to prevent a asynchronous resorting. This is usually sufficient to have resolved types even for directories with several thousands of items. BUG: 292733 FIXED-IN: 4.9.0
2012-02-03Show file size when hovering an itemPeter Penz
BUG: 292687 FIXED-IN: 4.8.1
2012-01-31Apply changed home-URL to the URL navigatorPeter Penz
BUG: 291043 FIXED-IN: 4.8.1
2012-01-30Synchronize view-mode settings before the settings dialog gets openedPeter Penz
BUG: 292698 FIXED-IN: 4.8.1
2012-01-30Fix drag & drop issues with non-local URLsPeter Penz
BUG: 292821 BUG: 292355 FIXED-IN: 4.8.1
2012-01-14Assure an active view when activating an itemPeter Penz
This might not be the case when e.g. having a split view, having enabled the "auto expand folders" option and dragging an item from the active view to another folder of the inactive view.
2011-12-22Reenable drag & drop for the URL navigatorPeter Penz
BUG: 289568 FIXED-IN: 4.8.0
2011-11-25Use KFileItem::text() instead of KFileItem::name().Sebastian Trueg
This way Nepomuk search results get their proper user readable names. BUG: 287472 REVIEW: 103237
2011-11-06Delete obsolete class DolphinSettingsPeter Penz
2011-11-04Don't use mixed units in size-column of details-viewPeter Penz
This makes it tricky to compare the filesizes without adjusting the sort-order, so now all sizes in the size-column are shown in KiB or KB (dependent on the KLocale setting). BUG: 219932 FIXED-IN: 4.8.0 Related fixes: - Stay consistent with the rounding when using the KiB/KB unit in the statusbar. - Fix sorting-by-size issue for folders - Show "Unknown" in the size-column when the number of items cannot be determined.
2011-10-08Context menu cleanupsPeter Penz
- Open the context menu on the mouse-press event, not on the mouse-release event. - Provide an explicit position-information and don't use QCursor::pos(). This fixes the issue that opening a context-menu by the keyboard opens below the cursor. - Provide different signals in the KItemListController for the different context-menu types (item vs. view vs. header). - Implement turning on/off roles by the header-context-menu.
2011-08-29Renamed some signals for consistency with KItemViews classesPeter Penz
2011-07-31normalize signals/slotsMontel Laurent
2011-07-30Merged very early alpha-version of Dolphin 2.0Peter Penz
Dolphin 2.0 will get a new view-engine with the following improvements: - Better performance - Animated transitions - No clipped filenames due to dynamic item-sizes - Grouping support for all view-modes - Non-rectangular selection areas - Simplified code for better maintenance More details will be provided in a blog-entry during the next days. Please note that the code is in a very early alpha-stage and although the most tricky parts have been implemented already very basic things like drag and drop or selections have not been pushed yet. Those things are rather trivial to implement but this still will take some time.
2011-06-11Return the url of the view instead of the url of the url navigator.Matthias Fuchs
That way if a wrong protocol had been entered the currently watched directory will be returned. BUG:274890 REVIEW:101580
2011-04-20Search improvementsPeter Penz
Use Query::titleFromQueryUrl() to give a hint what kind of information is shown to the user.
2011-04-20Improve usability of Search PanelPeter Penz
If the Search Panel is shown outside the context of the "Find" mode it will be always enabled and does a global search. Only if the user is in the "Find" mode and the searching is restricted to the current directory the Search Panel might get disabled if the current directory is not indexed. This solves the major usability issue that it was not clear for the users whether a global or restricted search is done.
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