┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kitemlistview.cpp
AgeCommit message (Collapse)Author
2011-09-29Keep current item and selection when resorting, part 1Frank Reininghaus
KFileItemModel now emits the itemsMoved signal when the model is resorted, and KItemListSelectionManager has a new function itemsMoved() which will be called indirectly when this signal is emitted. Unit tests for the new functionality are included. The following things are still needed to make the feature work: 1. KFileItemMdel::resortAllItems() should not emit itemsAdded/itemsRemoved any more. 2. KItemListView::itemsMoved() must update the view according to the changes in the model, and it must call KItemListSelectionManager::itemsMoved().
2011-09-28Details view: Improve performance when expanding itemsPeter Penz
Prevent unnecessary calls to visibleRolesSizes() when expanding items. Also the performance has been improved when resizing the window.
2011-09-27Details view: Improve performancePeter Penz
When inserting items or when updating the item-roles there is no need to recalculate the column-widths for all items to get an optimized column-width.
2011-09-25Provide scrollbar for large itemsPeter Penz
If an item does not fit into the available width/height a scrollbar should be provided (e.g. typically this represents the horizontal scrollbar in the details-view where the width can be larger than the than the visible width). Currently the interaction with the scrollbar is not implemented but this will be a quite minor task in comparison to this patch.
2011-09-24Update the layout asynchronously when items are changedPeter Penz
This results in less overhead if item-changes are done rather fast (e.g. when applying the number of sub directories for the "size" role).
2011-09-23Increase the width of the first column automaticallyPeter Penz
Additionally it is assured that on role-changes the size-hints get updated if necessary.
2011-09-23Allow resizing of columns by the userPeter Penz
Still open: - Column content is not clipped correctly - First column is not automatically increased to the available width like in Dolphin 1.7
2011-09-22Update the layout periodically when resizing the windowPeter Penz
Up to now the layout has only been updated when the geometry has not been changed for at least 300 ms. This has been changed so that at least each 300 ms the layout is updated to give a better visual feedback when resizing the window.
2011-09-20Show the role-description in the header of the details viewPeter Penz
2011-09-20Change signature of setVisibleRoles()Peter Penz
Simply use a QList<QByteArray> instead of QHash<QByteArray, int>.
2011-09-19Draw styled header for the details-viewPeter Penz
2011-09-19Rough draft for getting back the header for the details-viewPeter Penz
2011-09-01Improve autoscrollingPeter Penz
- Start autoscrolling when doing a dragging - Start autoscrolling with a small delay
2011-08-27Improve the autoscrolling for the rubberband selectionPeter Penz
This modifications will also allow to do an autoscrolling in an easy way for drag and drop operations (not fully implemented yet).
2011-08-24Interface cleanups for drag and drop supportPeter Penz
2011-08-23Rough draft for getting back drag and drop supportPeter Penz
Includes a lot of TODOs but is a base for getting back full drag and drop support quite soon.
2011-08-20Respect rubberband direction when autoscrollingPeter Penz
The autoscrolling should not be triggered if the rubberband direction is different from the autoscroll direction
2011-08-20Fix possible endless recursion when using the rubberbandPeter Penz
If the autoscrolling has been activated when using the rubberband, it was possible that an endless recursion occured as the autoscrolling triggered a change of the rubberband which triggered a change of the autoscrolling etc.
2011-08-18Provide basic rubberband functionalityPeter Penz
This is just a rough draft: The rubberband gets visible and an automatic scrolling is done if the autoscroll-margins have been reached. However currently no items get selected yet. Currently the autoscrolling has a severe bug if the scrollbars are manually changed before or after a rubberband selection.
2011-08-14Remove incorrect assertsFrank Reininghaus
They could lead to crashes if the Details View is used and the view is not wide enough to show all columns for the items.
2011-08-14Keep the current item visible in the viewFrank Reininghaus
2011-08-14Enable switching rows or columns using the keyboardFrank Reininghaus
2011-08-09Improvements for selections, smooth scrolling, tooltips and info-panelPeter Penz
2011-08-04Underline the current item in KFileItemListViewFrank Reininghaus
It still looks a bit ugly, but at least we can see the current item now :-) It is only updated by mouse clicks at the moment.
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.