Commit graph

2406 commits

Author SHA1 Message Date
Script Kiddy c3289bc0a2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1022719
2009-09-12 11:18:13 +00:00
Peter Penz fda626e074 Fixed minor regression introduced with the column view refactoring: When switching the view mode in a folder showing previews, the previews get lost after switching.
The KFilePreviewGenerator initialized in the ViewExtensionsFactory wants a valid icon size to accept previews. Fixed + Q_ASSERT added to prevent such a mistake in future.

svn path=/trunk/KDE/kdebase/apps/; revision=1022453
2009-09-11 19:50:40 +00:00
Frank Reininghaus e725c334fb Fix selection in the Details view in the following use case:
1. Ctrl-click item 1.
2. Enter the first letter of item 2, such that
   it will be selected and the new current item.
3. Shift-click item 3.

With this commit, all items between 2 and 3 will be selected, as
expected, and not all items between 1 and 3.

BUG: 201459

svn path=/trunk/KDE/kdebase/apps/; revision=1021267
2009-09-08 17:52:52 +00:00
Script Kiddy be9eb65bcc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1020827
2009-09-07 10:25:20 +00:00
Peter Penz ad4b299a17 allow to turn off natural sorting
CCBUG: 169883

svn path=/trunk/KDE/kdebase/apps/; revision=1017536
2009-08-30 20:58:53 +00:00
Peter Penz ef68f84a6e Restore "open folders automatically when dragging items above it" (it had been temporary deactivated because of the column view refactoring).
svn path=/trunk/KDE/kdebase/apps/; revision=1017531
2009-08-30 20:49:34 +00:00
Peter Penz a2a9992635 Move the selection listener from DolphinView to ViewExtensionsFactory. The statusbar and information panel are now informed correctly about selection changes also when using the column view.
svn path=/trunk/KDE/kdebase/apps/; revision=1017497
2009-08-30 19:17:08 +00:00
Peter Penz 05762d42ea Move the VersionControlObserver from the DolphinView to the ViewExtensionsFactory. This automatically enables also the column view to be able handling version controlled files.
svn path=/trunk/KDE/kdebase/apps/; revision=1017482
2009-08-30 18:39:03 +00:00
Peter Penz 55704b419e - The selection changed timer only needs to be created for a DolphinView instance.
- Set the extensions mode inside the ViewExtensionsFactory.

svn path=/trunk/KDE/kdebase/apps/; revision=1017461
2009-08-30 17:54:15 +00:00
Peter Penz 0edb1d9f73 fix the context menu of the column view
svn path=/trunk/KDE/kdebase/apps/; revision=1017450
2009-08-30 17:36:29 +00:00
Peter Penz 3f16cc00cf pressing the left arrow key should activate the left column
svn path=/trunk/KDE/kdebase/apps/; revision=1017443
2009-08-30 17:17:44 +00:00
Will Stephenson 22187ee547 Add view-filter icon as discussed on kde-devel with ppenz.
svn path=/trunk/KDE/kdebase/apps/; revision=1017236
2009-08-30 08:33:59 +00:00
Peter Penz 136e2ae3d7 - fixed issue that the horizontal progress bar and the space info bar get hidden sometimes when changing the setting
- use less vertical space for the capacity bar (thanks to Rafael Fernández López for the patch!)

svn path=/trunk/KDE/kdebase/apps/; revision=1017172
2009-08-29 20:26:29 +00:00
Peter Penz 625cfd2743 - fix focus issue in column-view
- minor interface corrections

svn path=/trunk/KDE/kdebase/apps/; revision=1017162
2009-08-29 19:35:59 +00:00
Peter Penz 60d28ca5c9 centralize namefilter handling
svn path=/trunk/KDE/kdebase/apps/; revision=1017117
2009-08-29 18:35:57 +00:00
Peter Penz baaab6d17b restore sorting functionality in a generic way which also works for the column view
svn path=/trunk/KDE/kdebase/apps/; revision=1017106
2009-08-29 18:15:37 +00:00
Peter Penz 898c1cf71b Restore "show hidden files" functionality in a generic way which works also for the column view.
svn path=/trunk/KDE/kdebase/apps/; revision=1017091
2009-08-29 17:36:02 +00:00
Peter Penz c66d825e66 As KFilePreviewGenerator takes care for refreshing the directory lister automatically now, there is no need to reload the directory in Dolphin.
svn path=/trunk/KDE/kdebase/apps/; revision=1016976
2009-08-29 13:49:56 +00:00
Christoph Feck bdd6c8b26c SVN_SILENT compile
svn path=/trunk/KDE/kdebase/apps/; revision=1016959
2009-08-29 13:03:01 +00:00
Peter Penz a5473c0cf2 - restore functionality that selections are kept when changing the view mode
- some minor cleanups

svn path=/trunk/KDE/kdebase/apps/; revision=1016955
2009-08-29 12:51:04 +00:00
Peter Penz b1536a4342 move the DolphinFileItemDelegate creation into ViewExtensionsFactory
svn path=/trunk/KDE/kdebase/apps/; revision=1016949
2009-08-29 12:16:02 +00:00
Peter Penz 95f0ba76ae move handling of SelectionManager and AutoScroller to ViewExtensionsFactory
svn path=/trunk/KDE/kdebase/apps/; revision=1016927
2009-08-29 11:36:22 +00:00
Peter Penz 69686ffbba - The view implementations don't need to keep the Extensions Factory as member.
- Created basic documentation for Extensions Factory.

svn path=/trunk/KDE/kdebase/apps/; revision=1016898
2009-08-29 09:51:02 +00:00
Peter Penz c05395ef9a Move code for initializing and handling view extensions to the new class 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-29 09:42:21 +00:00
Peter Penz e1c74b05fd Restore filtering of items. The DolphinView just tells the controller about 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-28 21:53:18 +00:00
Peter Penz 8d31eca0e0 Remove the class DolphinColumnWidget. Due to the refactoring the column view classes are now represented by DolphinColumnViewContainer and DolphinColumnView.
svn path=/trunk/KDE/kdebase/apps/; revision=1016780
2009-08-28 21:15:58 +00:00
Peter Penz 656763c930 restore zooming functionality
svn path=/trunk/KDE/kdebase/apps/; revision=1016779
2009-08-28 21:12:46 +00:00
Peter Penz 41c14c5f8e I wanted to this for KDE 4.1 already, but well...
Columview refactoring: Get rid of "isColumnView()" special cases in DolphinView and the interface code duplications due to delegating non-QAbstractItemView interfaces to the column view. This reduces the code size + complexity a lot and will make future maintainance of the columnview and DolphinView a lot easier.

Currently there are some regressions in the column view, but this will be fixed during the next 14 days.

svn path=/trunk/KDE/kdebase/apps/; revision=1016776
2009-08-28 21:04:15 +00:00
Peter Penz dcf397ae51 allow to change the order of columns in the details view
BUG: 164696

svn path=/trunk/KDE/kdebase/apps/; revision=1015987
2009-08-26 18:23:31 +00:00
Burkhard Lück a5d47c369f forward port from 4.3 r1015507 to make the kcm's load the proper catalog
BUG:204859

svn path=/trunk/KDE/kdebase/apps/; revision=1015509
2009-08-25 17:53:22 +00:00
Script Kiddy e8a1168aa4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1014621
2009-08-23 12:06:49 +00:00
Frank Reininghaus 8e17757ae3 Use KApplication::sessionSaving() to determine if Dolphin is closed by
the session manager - there's no need to reinvent the wheel ;-)

Thanks to Lubos Lunak for the hint.

svn path=/trunk/KDE/kdebase/apps/; revision=1013726
2009-08-20 15:47:38 +00:00
Peter Penz 1d75c9dcae - Fixed issue that the items inside the "Other" category are sorted in a wrong manner.
- Removed redundant code.

BUG: 173027

svn path=/trunk/KDE/kdebase/apps/; revision=1011495
2009-08-14 20:36:54 +00:00
Script Kiddy a24d3793f2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1011290
2009-08-14 09:29:08 +00:00
Peter Penz d84909dc36 * Use the term "version control" instead of "revision control" to be consistent with the naming in kdevplatform.
* Renamed VersionControlPlugin to KVersionControlPlugin so that the interface can be moved out of Dolphin.

svn path=/trunk/KDE/kdebase/apps/; revision=1011058
2009-08-13 20:48:58 +00:00
Peter Penz 54093338c4 Fix possible crash when opening Dolphin with an enabled Terminal. Thanks to Dario Andres for the analyses!
BUG: 202953

svn path=/trunk/KDE/kdebase/apps/; revision=1011008
2009-08-13 19:12:49 +00:00
Frank Reininghaus c0922a81d8 Do not warn the user about closing Dolphin windows with multiple tabs
if Dolphin is closed by the session manager, i.e., if the user logs
out. The fix is inspired by the way this issue is handled in
Konqueror.

BUG: 201803

svn path=/trunk/KDE/kdebase/apps/; revision=1011002
2009-08-13 18:54:16 +00:00
Peter Penz bcc439dd66 Fix infinite recursion if the default text is empty.
BUG: 203455
 

svn path=/trunk/KDE/kdebase/apps/; revision=1010911
2009-08-13 15:38:24 +00:00
Script Kiddy 311c5ec73c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1008343
2009-08-07 09:27:30 +00:00
Peter Penz 658976732d SVN_SILENT: use 'errorString' instead of requesting the string again
svn path=/trunk/KDE/kdebase/apps/; revision=1006624
2009-08-04 05:41:44 +00:00
Peter Penz 79a6e75b65 Assure that no empty error message is shown in the statusbar. This should not happen and the fix in this case should be done in the corresponding IO-slave, but let's be prepared for the "worst case".
svn path=/trunk/KDE/kdebase/apps/; revision=1005715
2009-08-01 21:11:29 +00:00
Peter Penz 52478842e3 Assure that non-default messages don't get hidden after a very short time by default messages.
svn path=/trunk/KDE/kdebase/apps/; revision=1005712
2009-08-01 20:30:23 +00:00
Peter Penz 99eacd9f56 move statusbar code into the directory "statusbar"
svn path=/trunk/KDE/kdebase/apps/; revision=1005704
2009-08-01 20:01:51 +00:00
Peter Penz 67de9286a0 Assure that the panels don't shrink when the view is split and the zoomslide and spaceinfo is shown in the statusbar.
BUG: 202147

svn path=/trunk/KDE/kdebase/apps/; revision=1005693
2009-08-01 19:30:52 +00:00
Peter Penz 22718cef13 Use QTemporaryFile instead of QFile. This assures an automatic deleting of the file and works reliable on multiuser system. Thanks to André Wöbbeking for the hint!
svn path=/trunk/KDE/kdebase/apps/; revision=1005674
2009-08-01 18:33:12 +00:00
Peter Penz 0706af30c0 Assure that the revision control observer receives the correct revision states of subtree-items.
svn path=/trunk/KDE/kdebase/apps/; revision=1005646
2009-08-01 16:07:42 +00:00
Peter Penz 34b6b30050 SVN_SILENT: warning--, fixed indentations
svn path=/trunk/KDE/kdebase/apps/; revision=1005230
2009-07-31 15:29:37 +00:00
Peter Penz 802902c9b1 SVN_SILENT: warning--
svn path=/trunk/KDE/kdebase/apps/; revision=1005229
2009-07-31 15:29:09 +00:00
Laurent Montel 0dd0f27f83 Fix forward declaration
svn path=/trunk/KDE/kdebase/apps/; revision=1004949
2009-07-31 07:14:20 +00:00
Peter Penz 6c5ffd1455 provide texts for each revision state
svn path=/trunk/KDE/kdebase/apps/; revision=1004795
2009-07-30 21:46:51 +00:00