┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.cpp
AgeCommit message (Collapse)Author
2009-02-06SVN_SILENT: Added a comment.Shaun Reich
svn path=/trunk/KDE/kdebase/apps/; revision=921970
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-23In rare circumstances (a very narrow viewport is a necessary, but not ↵Simon Paul St James
sufficient, condition) DolphinDetailsView::resizeColumns() is called with an empty model so that sizeHintForColumn(...) returns -1 and so the name column ultimately has width -1. Detect and prevent this. svn path=/trunk/KDE/kdebase/apps/; revision=915781
2009-01-14Group classes into folders, Dolphin is too big in the meantime for having a ↵Peter Penz
flat directory hierarchy. dolphin/src/CMakeLists.txt will be cleaned up later. svn path=/trunk/KDE/kdebase/apps/; revision=911065
2009-01-04Fixed issue that in combination with the "automatically open folders during ↵Peter Penz
drag operations" the details view is not drawn correctly in the following case: Drag an item in the icons view to a folder which uses the details view. Thanks to Simon St. James for the patch! CCBUG: 178630 svn path=/trunk/KDE/kdebase/apps/; revision=905627
2009-01-04SVN_SILENT: minor coding style cleanupsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=905620
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-30SVN_SILENT: minor coding style cleanupsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=903414
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-13Especially when using the details view in combination with the split ↵Peter Penz
functionality, the size of the name column can get too small. Do an optimized resizing in this case (at least for up to 200 items, otherwise the performance penalty is too big). svn path=/trunk/KDE/kdebase/apps/; revision=896446
2008-12-13Handling the key events for autoscrolling in DolphinViewAutoscroller does ↵Peter Penz
not work good enough (e. g. when letters are pressed, the current index might change too). Revert to Frank Reininhaus' original patch to fix this issue :-) CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=896362
2008-12-12SVN_SILENT: removed trailing spacesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=895978
2008-12-11as the detailsview and columnview can also have icon sizes up to 256 x 256 ↵Peter Penz
pixels, the steps when using the scrollwheel must be adjusted dynamically svn path=/trunk/KDE/kdebase/apps/; revision=895825
2008-12-06Fixed serious usability issue: QAbstractItemView::setAutoScroll() is not ↵Peter Penz
usable when trying to select items outside the visible view area (reported to Qt Software with bug ID #214542) -> implemented custom auto scrolling algorithm. BUG: 165531 svn path=/trunk/KDE/kdebase/apps/; revision=893546
2008-11-23Opening a tab with the middle mouse button should always be done with one ↵Peter Penz
click, even if double click has been activated. BUG: 162986 svn path=/trunk/KDE/kdebase/apps/; revision=888007
2008-11-19* fixed issue that the autoresizing of columns is applied when ↵Peter Penz
adding/removing columns * assure that QTreeView::resizeEvent() is called before applying the autoresizing for having an updated state BUG: 175603 svn path=/trunk/KDE/kdebase/apps/; revision=886690
2008-11-12typoJordi Polo
svn path=/trunk/KDE/kdebase/apps/; revision=883287
2008-11-08* implement the DragAndDropHelper as singleton derived from QObject, so that ↵Peter Penz
emitting of signals is possible * show an information message in the statusbar, if items are dragged into the same directory TODO: although the signal seems to get connected correctly, the slot DolphinMainWindow::showInformationMessage() is not invoked when the signal is emitted -> will debug this later, it is important that the new string is added before the message freeze svn path=/trunk/KDE/kdebase/apps/; revision=881627
2008-11-05If the elastic band ventures beyond the logical top-left of the view (NOTE: ↵Simon Paul St James
not the viewport), then startIndex will likely be invalid, resulting in broken selection behaviour. Prevent this. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=880585
2008-11-02assure that the autoresizing still works in combination with the ↵Peter Penz
"automatically expand folders during drag operations" feature svn path=/trunk/KDE/kdebase/apps/; revision=879152
2008-11-01initialise in the correct orderPino Toscano
svn path=/trunk/KDE/kdebase/apps/; revision=878498
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-28Yet more corner cases in commitToggleIndexRange - include them, and refactor ↵Simon Paul St James
to make things a bit more logical. svn path=/trunk/KDE/kdebase/apps/; revision=877164
2008-10-28If ignoreOldInfo, we should manually clear oldSelectionRect - an obscure bug ↵Simon Paul St James
where it is no longer possible to use rubber band selection(!) occurs otherwise! svn path=/trunk/KDE/kdebase/apps/; revision=877160
2008-10-28Use nameColumnRect rather than duplicating code (change the local variable ↵Simon Paul St James
of the same name to prevent clashes!) Use KFileItem::text() instead of KFileItem::name() there, too. svn path=/trunk/KDE/kdebase/apps/; revision=877159
2008-10-27Sometimes, the penultimate item in the bounds would get deselected when it ↵Simon Paul St James
shouldn't - this is because lastIndex is always included in the toggle range, even if it needn't be toggled. Fixed now - hopefully, there are no more "elastic band selection" bugs, now :) svn path=/trunk/KDE/kdebase/apps/; revision=876724
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-27Essential validity check that fell through the cracks when ↵Simon Paul St James
setSelectionRecursive was removed. svn path=/trunk/KDE/kdebase/apps/; revision=876682
2008-10-26If we commit a toggle range due to a change of parent, check to see if we ↵Simon Paul St James
should immediately form a new range with the current index. This stops child items from sometime being missed by the band. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=876240
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-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