┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.cpp
AgeCommit message (Collapse)Author
2008-10-26Revert http://websvn.kde.org/?view=rev&revision=876107 - it introduced a ↵Simon Paul St James
massive performance regression and also didn't really fix the issue. Use new way that fixes the issue in a less direct but more general way. Also - ;-- :) svn path=/trunk/KDE/kdebase/apps/; revision=876137
2008-10-26more straight forward syntax (no change of behavior is done)Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=876110
2008-10-26Minor fix - ensure that the horizontal elastic band optimisation info works ↵Simon Paul St James
with filenames that are wider than the name column. svn path=/trunk/KDE/kdebase/apps/; revision=876107
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-24* Move code from DolphinDropController to DragAndDropHelper.Peter Penz
* Move code which checks whether the dragging of a MIME type is supported to DragAndDropHelper. This allows adding an improved support for dropping compressed files from Ark to Dolphin later... CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=875611
2008-10-24performance improvement when selecting itemsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=875518
2008-10-22* don't show a tooltip if a rubberband selection is donePeter Penz
* hide a tooltip if a drag operation has been started BUG: 173148 CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=874641
2008-10-16fixed regression: don't change the state, otherwise when having a split view ↵Peter Penz
it is not possible dragging an item from the inactive to the active view (only the rubberband gets active in this case) CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=871928
2008-10-15Assure that the item delegate draws the hover effect and the selection for ↵Peter Penz
the details view only above the icon + name. Open issue: The performance when selecting files by the rubberband is too slow (will be fixed before KDE 4.2). CCBUG: 165999 CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=871874
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-09-28Use KonqOperations::doDrop() instead of a custom dropping code. Still some ↵Peter Penz
minor issues are open (Dolphin currently gets no feedback anymore when the operations have been finished), but they will be solved during the next week. BUG: 168154 svn path=/trunk/KDE/kdebase/apps/; revision=865708
2008-08-26Provide a common iconsize-widget for the settings dialog of the icons-, ↵Peter Penz
details- and column-view. The current version still requires some improvements (Labels on the left + right, preview, ...). svn path=/trunk/KDE/kdebase/apps/; revision=852961
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-15For the URL control of Dolphin and Konqueror to be LTR on RTL desktops ↵Diego Iastrubni
(those are URLs, and are not affected by the direction of the desktop). Force the filterbar of Dolphin to be LTR as well, as again it deals with files/directories which are english/latin letters most of the time. svn path=/trunk/KDE/kdebase/apps/; revision=847671
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-06-27Also allow to use the selection toggle when double click is used. This ↵Peter Penz
allows to select/deselect files without CTRL key. BUG: 165115 svn path=/trunk/KDE/kdebase/apps/; revision=825325
2008-06-25fixed issue that CTRL + mouseclick did not work anymore in the details view Peter Penz
BUG: 164693 svn path=/trunk/KDE/kdebase/apps/; revision=824372
2008-06-16Details view related fixes: all columns except the name column should act as ↵Peter Penz
viewport. svn path=/trunk/KDE/kdebase/apps/; revision=821229
2008-06-07Update the keypress state before invoking QTreeView::keyPressEvent(), as ↵Peter Penz
this call invokes QTreeView::currentChanged(), where the value is needed. This fix assures that the selection is changed when the current index is changed like in QListView. svn path=/trunk/KDE/kdebase/apps/; revision=818070
2008-06-03jump to the URL of the clipboard content if a middle click on an empty area ↵Peter Penz
inside the view is done svn path=/trunk/KDE/kdebase/apps/; revision=816421
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-05-11Update the internal state only, if no expanding/collapsing area has been hit ↵Peter Penz
(otherwise QTreeView assumes a dragging operation is done). svn path=/trunk/KDE/kdebase/apps/; revision=806561
2008-05-04Fixed issue that sometimes the dragging from an inactive view to an active ↵Peter Penz
view does not work. Note that this is just a workaround, QAbstractItemView should take care about this itself. I tried to provide a Qt-only example for this, but it is more tricky than I thought: it seems some expensive operations are required, so that the position of the second mouse-move event is outside the item area... I'll retest this issue without workaround if Qt 4.4 final is out. BUG: 154619 svn path=/trunk/KDE/kdebase/apps/; revision=803980
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-04-09fix drag & drop issue (multiple selected items have been deselected when ↵Peter Penz
starting to drag) svn path=/trunk/KDE/kdebase/apps/; revision=795339
2008-04-06fix selection regression that has been introduced by synchronizing the ↵Peter Penz
current index with the selected index BUG: 158649 svn path=/trunk/KDE/kdebase/apps/; revision=794189
2008-04-01don't start the editor for renaming the files when double clicking on itemsPeter Penz
BUG: 159694 svn path=/trunk/KDE/kdebase/apps/; revision=792538
2008-03-12* the WA_Hover flag is set by KFileItemDelegate automatically nowPeter Penz
* mouse tracking must stay enabled svn path=/trunk/KDE/kdebase/apps/; revision=784871
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-22KDE 4.1 requires Qt4.4 -> remove the #ifdefs...Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=778095
2008-02-22SVN_SILENT: updated comment with the Qt-bugtracker IDPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=778039
2008-02-21Fixed wrong comments. Discussed with David Faure: installing an event filter ↵Peter Penz
works for the icons-view and details-view, but not for the column-view which uses QListView child widgets internally... We decided to leave it as it is. svn path=/trunk/KDE/kdebase/apps/; revision=777838
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-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-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-21Bugfix: Currently, if you open dolphin, select a bunch of files, and right ↵Eduardo Robles Elvira
click and select Open With > whatever, all the files are opened. Which is the right thing. However, if you hit enter to open those selected files, no file is opened. Currently, the file is only opened if there's only *one* file selected. The attached patch fixes this problem. svn path=/trunk/KDE/kdebase/apps/; revision=777695
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-16Bypassed a bug in QTreeView::mouseMoveEvent() (see comment in code). ↵Peter Penz
Submitted a bug-report to Trolltech, bug tracker ID is still pending (will add the ID into the code as soon as I get it). svn path=/trunk/KDE/kdebase/apps/; revision=775736
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-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-11fix a flickering of the horizontal scrollbar when decreasing the width ↵Peter Penz
inside the details view CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=773821
2008-01-26reset the selection manager when the URL has been changed (otherwise the ↵Peter Penz
selection toggle button would stay visible) svn path=/trunk/KDE/kdebase/apps/; revision=766918
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-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-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