Frank Reininghaus
8879f5e752
Implement 'Sort By Size'
...
It only works for files so far. The sorting of folders
by the number of items is more tricky to get right because
this number is retrieved asynchronously by
KFileItemModelRolesUpdater.
2011-09-18 16:50:44 +02:00
Peter Penz
3c41cd3c9d
Fix crash in version-control-observer
...
The returned file-item of the root might be null.
BUG: 282108
2011-09-18 15:07:27 +02:00
Frank Reininghaus
31d3b91813
Implement some missing sorting options
...
Changing the sort order and enabling/disabling the
"Sort Folders First" option works now.
2011-09-18 15:03:45 +02:00
Frank Reininghaus
01d4b8d082
Implement DolphinView::sorting()
...
This fixes the problem that changing the sorting criterion
from 'Name' to 'Date' and then back to 'Name' doesn't work.
2011-09-17 22:51:57 +02:00
Frank Reininghaus
9424f5a789
Implement restoring expanded folders in Details View
2011-09-17 14:35:25 +02:00
Peter Penz
5070666ad2
Fix crash when expanding/closing a sub-tree
...
m_pendingItems and m_pendingInvisibleItems might contain already
removed items. Take care to delete them before starting to resolve
the roles.
Thanks to Frank Reininghaus for finding out the root-cause.
2011-09-16 22:35:14 +02:00
Script Kiddy
6a0b15cbaa
SVN_SILENT made messages (.desktop file)
2011-09-12 09:37:32 +02:00
Frank Reininghaus
93b4d60727
Fix possible crash in KFileItemModel::slotRefreshItems()
...
If the changed items have been created recently, they might not be in
m_items yet. In that case, the list 'indexes' might be empty, which
leads to a crash later on (I saw the crash in KFileItemModel's unit
test).
2011-09-10 21:55:27 +02:00
Peter Penz
ff24326174
Provide KVersionControlPlugin version 2
...
Based on the work of Vishesh Yadav some extensions where required
for the KVersionControlPlugin interface that have found there way
now into KVersionControlPlugin2.
Beside some interface cleanups it is now possible that a version
control plugin may also provide context actions for directories or
files that are not versioned yet.
REVIEW: 102541
2011-09-10 18:11:09 +02:00
Peter Penz
c7272df5c1
Improve cache handling in KItemListWidget
...
Provide a hook for derived KItemListWidget where the cache
can be updated.
2011-09-09 20:35:57 +02:00
Peter Penz
93cb7e0261
Version control: Show context menu entries of plugins
2011-09-09 19:22:13 +02:00
Peter Penz
9dbd073951
Version control: Get rid of PendingThreadsMaintainer
2011-09-09 12:28:28 +02:00
Script Kiddy
4ed6c9f842
SVN_SILENT made messages (.desktop file)
2011-09-09 09:18:36 +02:00
Peter Penz
b60cbf2d1d
KFileItemModel: emit itemsChanged() signal
2011-09-08 21:17:35 +02:00
Peter Penz
f0debd9377
Version control: show pixmap overlays for the version state
2011-09-08 20:29:27 +02:00
Peter Penz
be629fe850
Version control: Apply text-color if an item is versioned
2011-09-08 18:58:59 +02:00
Script Kiddy
f8f78f223c
SVN_SILENT made messages (.desktop file)
2011-09-08 09:00:21 +02:00
Peter Penz
b8c718a6fd
First step to reactivate version control plugin functionality
...
- Add a DolphinFileItemListWidget that provides icon-overlays
and colored text for the version state (implementation is
missing yet)
- Allow KFileItemListWidget to have custom text colors
- Update interface of VersionControlObserver to work with
KFileItemModel instead of the old model-interface.
2011-09-06 23:45:41 +02:00
Peter Penz
7a91492cff
Improved drag and drop support
2011-09-04 17:41:15 +02:00
Peter Penz
8266e456a1
Simplified code for the viewmode settings
2011-09-02 19:49:49 +02:00
Peter Penz
d2a3510cc3
Improve autoscrolling
...
- Start autoscrolling when doing a dragging
- Start autoscrolling with a small delay
2011-09-01 23:09:31 +02:00
Peter Penz
c4a3313ea9
Preserve extensions when renaming multiple files
...
Thanks to Chiraq Anand for the patch! The commit is based on the
patch at https://git.reviewboard.kde.org/r/102495/ with some
minor modifications.
REVIEW: 102495
2011-09-01 19:04:53 +02:00
Peter Penz
fc5cb366c2
Removed warning, minor coding style update
2011-09-01 15:57:34 +02:00
Peter Penz
9e6d73aef8
Fix issue when moving items to trash
...
KDirLister does not emit a completed() signal when deleting files,
only when files are listed.
2011-09-01 15:48:22 +02:00
Frank Reininghaus
15ebfc7329
Items are expandable in the Details View.
2011-08-31 12:17:08 +02:00
Frank Reininghaus
4582bca90b
Implement DolphinView::simplifiedSelectedUrls()
...
Makes it possible to trash and delete items.
2011-08-30 19:05:09 +02:00
Frank Reininghaus
9dc7cd79e7
KItemListKeyboardSearchManager improvements and unit tests
...
This commit implements a 'repeated key search' feature, similar
to QAbstractItemView, and adds unit tests for keyboard searching.
2011-08-30 18:22:56 +02:00
Tirtha Chatterjee
1e897556b0
Made items a const.
2011-08-30 21:28:25 +05:30
Vishesh Yadav
7c99bf5f6b
DolphinView zoom with CTRL+MouseWheel REVIEW: 102490
2011-08-30 18:16:27 +05:30
Tirtha Chatterjee
8a5cf061e1
Using selectedItems() method already present in DolphinView for slotItemActivated()
2011-08-30 12:19:52 +05:30
Peter Penz
a087d77ba7
Fix context-menu selection issue
...
When requesting a context menu above a non-selected item, the
existing selection must be cleared.
2011-08-29 20:46:37 +02:00
Peter Penz
1b88652b85
Renamed some signals for consistency with KItemViews classes
2011-08-29 20:14:33 +02:00
Tirtha Chatterjee
aa94938451
Fixed a trivial bug that was breaking build.
2011-08-29 21:18:23 +05:30
Tirtha Chatterjee
6e6b4ce75c
Added the functionality to activate items by pressing 'enter' or 'return' key on them, equivalent to a mouse click.
...
REVIEW: 102450
2011-08-29 21:13:36 +05:30
Tirtha Chatterjee
d8ce0bfe56
Removed a warning of unused variable
2011-08-29 14:29:19 +05:30
Tirtha Chatterjee
afca8efa26
Added support for highlighting items by typing their name on the keyboard.
2011-08-29 04:12:05 +05:30
Frank Reininghaus
b01c73607b
Control-rubberband selection toggles the selection state
2011-08-28 19:16:14 +02:00
Peter Penz
7f5fb3ae2c
Adjust the current item when selecting an expansion toggle
2011-08-27 23:38:08 +02:00
Peter Penz
d99d5fbea7
Improve the autoscrolling for the rubberband selection
...
This modifications will also allow to do an autoscrolling in an
easy way for drag and drop operations (not fully implemented yet).
2011-08-27 20:13:22 +02:00
Peter Penz
4905667ada
Minor simplification
2011-08-27 13:38:14 +02:00
Tirtha Chatterjee
12921754e1
Respect the KGlobalSettings::singleClick() attribute, function accordingly
...
REVIEW: 102447
2011-08-27 16:01:02 +05:30
Frank Reininghaus
78a38f2000
Remove unneded function KItemListSelectionManager::anchorItem()
2011-08-27 10:23:40 +02:00
Script Kiddy
4cc49f3a97
SVN_SILENT made messages (.desktop file)
2011-08-27 10:02:42 +02:00
Frank Reininghaus
ea765ba573
Simplify KItemListSelectionManager
...
1. The anchorChanged() signal is not needed.
2. The only place where setAnchorItem() is called is in
beginAnchoredSelection() -> merge both functions.
2011-08-26 18:39:32 +02:00
Frank Reininghaus
b43316297e
Implement DolphinView::selectionMimeData()
...
BUG:280456
2011-08-26 17:34:54 +02:00
Peter Penz
26648a0264
Fix issue that removing an item is not recognized
...
Thanks to Tirtha Chatterjee for the patch!
REVIEW: 102435
2011-08-26 08:09:50 +02:00
Peter Penz
a14d8bf655
Fix smooth-scrolling issue in combination with key-presses
...
If e.g. the down-arrow-key is pressed constantly the view does not
scroll as the animation always will get restarted. Assure that
the animation proceeds in this case.
2011-08-25 16:53:45 +02:00
Peter Penz
04dec30c80
Fix smooth-scrolling issue
...
The smooth-scrolling may only get turned off after finishing the
animation, if the scrollbar is not currently modified by the user.
2011-08-25 15:44:23 +02:00
Peter Penz
cae90c168e
Fix issues with the anchor selection
...
Don't change the selection if the anchor is invalid. This fixes
the issue that items might get selected during changing a directory.
2011-08-24 22:37:16 +02:00
Peter Penz
bf20b404c8
Dragging and selection fixes
...
- Don't clear the selection on mouse-press events, do it (if
allowed) in the mouse-release-event. Otherwise dragging of
multiple selected items would not be possible.
- Don't clear the selection when the context-menu gets opened
by a right-click.
- Fix issue that dragging is not possible after the first
drop that has been canceled.
2011-08-24 21:31:19 +02:00