┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.h
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-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-22Use the full width of the "Name" column of the Details View forFrank Reininghaus
renaming items inline. BUG: 226666 svn path=/trunk/KDE/kdebase/apps/; revision=1094416
2010-01-11Fixed issue in details view, that "sometimes" the rubberband selection only ↵Peter Penz
selects one item after an item has been deleted. It took me nearly 30 minutes to find out how to reproduce this issue 100 % reliable: - a confirm dialog must be shown (thanks a lot to Dario for the hint!) - the most important part: the keys (e. g. Shift + Del) must be pressed long enough until the confirm dialog grabs the focus from the details view... BUG: 220898 BUG: 183386 BUG: 203112 svn path=/trunk/KDE/kdebase/apps/; revision=1073043
2009-12-13Reimplement visualRegionForSelection in DolpinDetailsView.Frank Reininghaus
Fixes the problem that not the entire area affected by changing the selection gets updated. QTreeView::visualRegionForSelection assumes implicitly that the visualRects of all items have the same width, which is not the case here. Fix will be in KDE 4.4 Beta 2. BUG: 218114 svn path=/trunk/KDE/kdebase/apps/; revision=1062076
2009-12-09Rename Dolphin View's nameColumnRect member to visualRect.Frank Reininghaus
This overrides QTreeView::visualRect, such that the "visual rect" matches the area used in indexAt. Fixes the problem that the selection loses items in the Details View when selecting new items with Shift+Keyboard. BUG: 217447 svn path=/trunk/KDE/kdebase/apps/; revision=1060716
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-08-29centralize namefilter handlingPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1017117
2009-08-29move handling of SelectionManager and AutoScroller to ViewExtensionsFactoryPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1016927
2009-08-29- The view implementations don't need to keep the Extensions Factory as member.Peter Penz
- Created basic documentation for Extensions Factory. svn path=/trunk/KDE/kdebase/apps/; revision=1016898
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-26allow to change the order of columns in the details viewPeter Penz
BUG: 164696 svn path=/trunk/KDE/kdebase/apps/; revision=1015987
2009-06-10don't clear the selection if a toggle has been pressedPeter Penz
BUG: 181123 svn path=/trunk/KDE/kdebase/apps/; revision=979750
2009-02-24Stupid me: The inconsistent behavior between QListView::scrollTo() and ↵Peter Penz
QTreeView::scrollTo() has been fixed in Qt 4.5 :-) I should have tested this _before_ committing the huge patch for bug 185191... So: * Remove the workaround in DolphinIconsView::scrollTo() to bypass an issue in Qt 4.4 (-> fixed in Qt 4.5) * Revert the "use the DolphinController"-parts of commit 930754 and just use QAbstractItemView::scrollTo() instead. CCBUG: 185191 svn path=/trunk/KDE/kdebase/apps/; revision=930777
2009-02-24After renaming an item the view should be scrolled in a way to still have a ↵Peter Penz
fully visible renamed item. The implementation required a lot of more code changes as such a fix should require: QAbstractItemView::scrollTo() cannot be used directly (inconsistent default behavior in QListView and QTreeView, a special case for the column view), so the communication has to be done with the DolphinController... BUG: 185191 svn path=/trunk/KDE/kdebase/apps/; revision=930754
2009-02-11- allow the view implementations to attach custom actions to the context menuPeter Penz
- let the "details view" show the "[x] Expandable Folders" action in the context menu CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=924867
2009-02-03Check whether the global single-click/double-click setting has been changed ↵Peter Penz
during runtime and assure that the behavior of the view is adjusted. CCMAIL: [email protected] BUG: 175635 BUG: 175280 svn path=/trunk/KDE/kdebase/apps/; revision=920754
2009-01-31Allow to enable/disable the "Expandable Folders" setting of the details-view ↵Peter Penz
by the context menu of the header. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=919035
2009-01-03contentsPos turned out to be a little broken - it would always return (0,0), ↵Simon Paul St James
except in a very unusual set of circumstances where it returned ... "different" values, causing very odd behaviour with the elastic band :) Remove it. svn path=/trunk/KDE/kdebase/apps/; revision=904995
2008-12-13only jump automatically to the current index, if the autoscrolling is not activePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=896481
2008-12-12SVN_SILENT: removed trailing spacesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=895978
2008-11-12typoJordi Polo
svn path=/trunk/KDE/kdebase/apps/; revision=883287
2008-10-31Be better behaved in the presence of scroll events in the middle of an ↵Simon Paul St James
elastic band selection by storing the last selection elastic band in view (rather than viewport) coordinates. svn path=/trunk/KDE/kdebase/apps/; revision=878316
2008-10-27Restore behaviour (I don't have an old version to check against, though!) - ↵Simon Paul St James
if CTRL is pressed when initiating elastic band, respect the item selection at that time while dragging the band. CCMAIL : [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=876690
2008-10-26When restoring the index, we don't necessarily want to scroll to it.Simon Paul St James
BUG:165551 svn path=/trunk/KDE/kdebase/apps/; revision=876177
2008-10-26Improve the selection performance of the details view by factor of 5 (patch ↵Peter Penz
provided by Simon St. James). CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=876099
2008-10-15First step for having a details view, where only the icon + name act as ↵Peter Penz
selectable area (not the whole width of the name column - similar to KDE3). Thanks to Simon St. James for the original patch! Currently it is very confusing that although only the icon + name is selectable, still the selection and hovering is drawn above the whole column width. This will be fixed before KDE 4.2. CCBUG: 165999 CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=871834
2008-08-18Column view + detail view: use different settings for preview and icon size ↵Peter Penz
like in the icon view for consistency. The setting dialogs will be adjusted later. svn path=/trunk/KDE/kdebase/apps/; revision=848955
2008-08-12Disable the alternating row colors when the details view is inactive. This ↵Peter Penz
solves the problem that when having a split view that too less contrast is given to be aware about the activation state. BUG: 168270 svn path=/trunk/KDE/kdebase/apps/; revision=846021
2008-08-05First step of refactoring to improve the zooming capabilities of views:Peter Penz
* Let classes that use DolphinView know about the currently used zoom level. * Provide more zoom levels for all views (the settings dialogs have not been adjusted yet). * Fixed issue that when using the wheel that the enabled state of the zoom actions has not been updated. svn path=/trunk/KDE/kdebase/apps/; revision=842715
2008-05-29Only select an item if the current item has been changed by a key press (e. ↵Peter Penz
g. QTreeView sets the current item when the view loses the focus). svn path=/trunk/KDE/kdebase/apps/; revision=814234
2008-05-11Per default QTreeView starts either a selection or a drag operation when ↵Peter Penz
dragging the expanding toggle button (tricky and hard to reproducible Qt-issue - see TODO comment in DolphinIconsView::mousePressEvent()). Turn off this behavior in Dolphin to stay predictable. svn path=/trunk/KDE/kdebase/apps/; revision=806597
2008-04-16* clear the selection toggle when zooming in or outPeter Penz
* clear the selection toggle when using the scroll wheel (this is only a temporary workaround until Qt-issue #200665 has been fixed) BUG: 159737 svn path=/trunk/KDE/kdebase/apps/; revision=797808
2008-04-16if the mouse is above an item and moved very fast outside the widget, no ↵Peter Penz
viewportEntered() signal might be emitted although the mouse has been moved above the viewport svn path=/trunk/KDE/kdebase/apps/; revision=797742
2008-03-12As the Qt-issue 160611 is solved in Qt4.4 and Fredrik has improved ↵Peter Penz
KFileItemDelegate, it is not necessary anymore drawing a custom drag & drop indication. svn path=/trunk/KDE/kdebase/apps/; revision=784851
2008-02-21stay consistent with the QListView behavior: changed the current index also ↵Peter Penz
changes the selection svn path=/trunk/KDE/kdebase/apps/; revision=777817
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-21Prevent code duplication by moving the duplications into the DolphinController.Peter Penz
Maybe it might be a good idea to let the DolphinController be aware also about his QAbstractItemView -> it might be possible to directly connect signals of the dolphin view implementations with the controller. I'll check this... (I did not backport this cleanup as I think it has too many changes to be handled as bugfix) CCMAIL: [email protected] CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=777719
2008-02-17* if the system font is changed during Dolphin is open, take care to update ↵Peter Penz
the used font of all views too (assuming that the user selected "system font" as font) * store the font weight instead of a bool property "isBold" Thanks to Rafael for the patch! CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=776188
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-01-26Blend in a toggle button when hovering items. This allows selecting items ↵Peter Penz
without using the rubberband or Ctrl/Shift-keys in the single-click mode. Any feedback from users is highly welcome (I think people will either love or hate this feature, I'm really not sure -> it can be turned off too). svn path=/trunk/KDE/kdebase/apps/; revision=766901
2008-01-16don't resize the columns automatically, as soon as the user has modified the ↵Peter Penz
column widths himself (e. g. by a double-click on the header or by moving the header handle) BUG: 155760 svn path=/trunk/KDE/kdebase/apps/; revision=762385
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
2007-12-06Fixed wrong usage of QStyleOptionViewItem: caching of the file item in the ↵Peter Penz
constructor is too early (thanks to Fredrik for the hint!). This fixes 2 issues: * the selection color of the details view now uses the correct selection color * changing the colors of KDE results in updating the colors of all Dolphin views CCMAIL: [email protected] CCMAIL: [email protected] CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=745700
2007-11-20Drag & drop fixes for all views: assure that a consistent pixmap for the ↵Peter Penz
drag object is used throughout all views (still open yet: KCategorizedView uses its custom code yet) svn path=/trunk/KDE/kdebase/apps/; revision=739322
2007-11-07Fixed performance issue in the details-view when showing > 10000 items:Peter Penz
* Resizing the columns takes around 250 ms instead of 2 seconds. * Opening 10000 items from the disk cache takes 3 seconds instead of 20 seconds. svn path=/trunk/KDE/kdebase/apps/; revision=734052
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-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-05fixed most regressions due to the previous column-view refactoringPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=721706