Commit graph

2969 commits

Author SHA1 Message Date
Laurent Montel a3d5bda629 Minor
svn path=/trunk/KDE/kdebase/apps/; revision=1187389
2010-10-19 07:38:50 +00:00
Peter Penz 0d1d0d5781 Provide icon for LocallyModifiedUnstaged versions of a file
svn path=/trunk/KDE/kdebase/apps/; revision=1187170
2010-10-18 14:09:55 +00:00
Peter Penz a85590ad07 It is a valid use-case that m_itemView is 0.
BUG: 254240

svn path=/trunk/KDE/kdebase/apps/; revision=1186206
2010-10-15 11:44:43 +00:00
David Faure 363e5b69dd Enable dropping of raw data, like one could do in KDE3. It's actually working fine with text data for instance,
only image data is still an issue due to bugs in Qt. This will be in KDE 4.6.
CCBUG: 159337

svn path=/trunk/KDE/kdebase/apps/; revision=1186021
2010-10-15 00:15:13 +00:00
Peter Penz 39f89141b0 The &-shortcut from another action is not set until the action has been shown at least once. To bypass this issue in the context-menu when pressing SHIFT, the text and &-shortcut is applied manually.
svn path=/trunk/KDE/kdebase/apps/; revision=1185522
2010-10-13 15:25:58 +00:00
Peter Penz 4ad4d4785c Update the statusbar also during loading the items, not only after the loading has been completed. This fixes the issue that no current item-count is shown when doing a search.
svn path=/trunk/KDE/kdebase/apps/; revision=1184520
2010-10-10 17:11:55 +00:00
Andreas Hartmetz c40a3a1ee6 compile in debug mode (asserts enabled)
svn path=/trunk/KDE/kdebase/apps/; revision=1184511
2010-10-10 16:13:25 +00:00
Peter Penz 717a665c4e Automatically start the searching if the user did not change the search-text for at least a second.
svn path=/trunk/KDE/kdebase/apps/; revision=1184510
2010-10-10 16:13:24 +00:00
Peter Penz 35f8c9d7b0 SVN_SILENT: documentation fixes
svn path=/trunk/KDE/kdebase/apps/; revision=1184468
2010-10-10 12:05:11 +00:00
Peter Penz 3478d4d971 Internal cleanup: Remove some public toggle-slots from DolphinView. Setters- and getters are already available for implementing a toggling.
svn path=/trunk/KDE/kdebase/apps/; revision=1184459
2010-10-10 11:28:18 +00:00
Peter Penz 36e89e9fa6 Internal cleanup: Remove public method selectedUrls() from DolphinView to keep the interface minimal (selectedItems() is already available)
svn path=/trunk/KDE/kdebase/apps/; revision=1184457
2010-10-10 11:11:45 +00:00
Peter Penz e8d895a91f * Increase the column-width automatically in case where the name of the file does not fit into the available width
* When scrolling to the active column, do it with a small delay so that temporary activations of a column don't result in jittering

BUG: 214324
FIXED-IN: 4.6.0 

svn path=/trunk/KDE/kdebase/apps/; revision=1184290
2010-10-09 18:46:58 +00:00
Peter Penz 71454158cc After disconnecting and reconnecting to the selectionChangedSignal() it must be checked, whether the selection got reset in the meantime.
svn path=/trunk/KDE/kdebase/apps/; revision=1184262
2010-10-09 16:32:02 +00:00
Peter Penz 53c36c4758 Move the "Add to Places" action upwards when used on the viewport to stay consistent when showing the context-menu above an item.
svn path=/trunk/KDE/kdebase/apps/; revision=1184250
2010-10-09 15:39:41 +00:00
Peter Penz 708312d759 Allow the user to resize the columns.
BUG: 190030
BUG: 196717
FIXED-IN: 4.6.0


svn path=/trunk/KDE/kdebase/apps/; revision=1184247
2010-10-09 15:22:49 +00:00
Peter Penz abd36cde0c Indicate the shown directory of a column by QStyle::PE_FrameFocusRect instead of using a custom code.
svn path=/trunk/KDE/kdebase/apps/; revision=1184180
2010-10-09 11:38:07 +00:00
Peter Penz 585bb59940 Use DolphinTreeView as implementation for the columns instead of QListView. This assures a consistent hover- and selection-behavior with the icons-view and details-view.
BUG: 242357
BUG: 243779

svn path=/trunk/KDE/kdebase/apps/; revision=1184177
2010-10-09 11:29:45 +00:00
Peter Penz af820f077b It is a valid usecase that the model can be 0 when destructing a view.
svn path=/trunk/KDE/kdebase/apps/; revision=1184156
2010-10-09 10:14:12 +00:00
Peter Penz 7e864a72b1 Move the generic hover- and selection-adjustments from DolphinsDetailsView into the new base class DolphinTreeView.
Background info: QTreeView does not respect the width of a cell for the hover-feedback and the selections. This has been adjusted in DolphinDetailsView already, but the required code for this is quite large. This made it tricky to maintain the really Dolphin-specific parts in DolphinDetailsView.

svn path=/trunk/KDE/kdebase/apps/; revision=1184152
2010-10-09 09:45:56 +00:00
Peter Penz 69d235fb48 Add the "Find" action per default to the toolbar.
svn path=/trunk/KDE/kdebase/apps/; revision=1183953
2010-10-08 20:43:56 +00:00
Peter Penz 396706a741 Allow to use wildcards when searching filenames or simple text files with the filenamesearchprotocol.
svn path=/trunk/KDE/kdebase/apps/; revision=1183944
2010-10-08 20:07:13 +00:00
Peter Penz eade3a4a3d - Don't show the name of the file in the "Path" column
- Also provide a path for non-local URLs

svn path=/trunk/KDE/kdebase/apps/; revision=1183939
2010-10-08 19:32:55 +00:00
Peter Penz f955ee200d Move the changing of the cursor-shape from the extensions-factory and the selection-toggle to the selection-manager. Beside simplifying the code this also solves some corner-cases where the shape has not been restored correctly.
svn path=/trunk/KDE/kdebase/apps/; revision=1183934
2010-10-08 19:10:53 +00:00
Peter Penz fff40080bc Fix issue in column-view, that the icon size has been increased when several columns are open and a switch to the icon-view is done.
svn path=/trunk/KDE/kdebase/apps/; revision=1183919
2010-10-08 17:27:10 +00:00
Peter Penz 6c8c052b3f Use the actions "new_tab" and "new_window" for the viewport-contextmenu instead of "open_in_new_tab" and "open_in_new_window", as the current selection should get ignored.
svn path=/trunk/KDE/kdebase/apps/; revision=1183548
2010-10-07 18:25:47 +00:00
Peter Penz f60340508b Reset the file-item when the viewport is entered and files are selected. Otherwise the information of the file-item will be shown instead of the selection.
svn path=/trunk/KDE/kdebase/apps/; revision=1183544
2010-10-07 18:13:55 +00:00
Peter Penz 6751f6a52a Internal cleanups to assure that the asynchronous request for the folder-information works reliable when switching between directories.
svn path=/trunk/KDE/kdebase/apps/; revision=1183537
2010-10-07 18:00:58 +00:00
Peter Penz 431da0482c Internal cleanup for panels: Let the panel-implementations decide whether they accept an URL or not.
svn path=/trunk/KDE/kdebase/apps/; revision=1183480
2010-10-07 14:09:30 +00:00
Peter Penz 06b0569613 Ignore search-results in the treeview, as showing equal directory names without path makes no sense.
svn path=/trunk/KDE/kdebase/apps/; revision=1183472
2010-10-07 13:42:17 +00:00
Peter Penz 50294c7a3c Hide the text of the go-back, go-forward and view-mode actions per default when the text is shown alongside icons.
svn path=/trunk/KDE/kdebase/apps/; revision=1183466
2010-10-07 13:33:01 +00:00
Peter Penz a83876c44f Implement the actions "Open in New Window" and "Open in New Tab" for the case if no item is selected.
svn path=/trunk/KDE/kdebase/apps/; revision=1183222
2010-10-06 15:04:37 +00:00
Peter Penz d928089fd2 Restore the cursor if the URL has been changed. This assures that the pointing-hand cursor gets reset when changing the directory.
svn path=/trunk/KDE/kdebase/apps/; revision=1183219
2010-10-06 14:53:06 +00:00
Peter Penz ec861fd269 Apply the cursor asynchronously. This fixes the issue that a pointing-hand cursor is shown if the selection-toggle and the item are hovered at the same time.
svn path=/trunk/KDE/kdebase/apps/; revision=1183214
2010-10-06 14:42:48 +00:00
Peter Penz e2b844437e Use a pointing-hand cursor when hovering items as discussed on http://lists.kde.org/?l=kde-core-devel&m=126027946921686&w=1
svn path=/trunk/KDE/kdebase/apps/; revision=1183195
2010-10-06 13:58:47 +00:00
Frank Reininghaus 2297cbee2e Prevent that icons overlap in Details View when zooming.
The problem was that a maximum size was assigned to KFileItemDelegate
for displaying items without considering that icon zooming may change
the item height.

CCBUG: 234600

svn path=/trunk/KDE/kdebase/apps/; revision=1182797
2010-10-05 17:56:07 +00:00
Peter Penz 7437798a87 SVN_SILENT: Remove commented (and obsolete) code
svn path=/trunk/KDE/kdebase/apps/; revision=1182780
2010-10-05 16:44:38 +00:00
Peter Penz 3b2cd9c02e Fix minor regression resulted by the previous commit: The m_newName-member may only get updated after the OK-button has been pressed, otherwise renaming a single file fails.
svn path=/trunk/KDE/kdebase/apps/; revision=1182779
2010-10-05 16:38:00 +00:00
Peter Penz 828ba8902c - Integrate the patch from Matthias Fuchs from http://reviewboard.kde.org/r/5496 to allow having leading zeros when renaming files: E.g. Using the name "A ###.jpg" results in the filenames "A 001.jpg", "A 002.jpg"... The patch could be simplified a little bit by guaranting only one connective sequence of #'s.
- Move the renaming code into the RenameDialog

CCMAIL: mat69@gmx.net
BUG: 226761
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1182776
2010-10-05 16:30:03 +00:00
Peter Penz 7fcab3c783 Use "Open Path" instead of "Open Parent Folder", as the headline in the search-result is "Path".
svn path=/trunk/KDE/kdebase/apps/; revision=1182754
2010-10-05 14:40:42 +00:00
David Faure dbc6cb9a85 Make executable the Type=Application .desktop files we install,
so that they can be used even from a KDE running in another prefix (http://markmail.org/message/4p3krovtnzwx35zd)

svn path=/trunk/KDE/kdebase/apps/; revision=1182558
2010-10-04 22:55:09 +00:00
Peter Penz c98eebdfa3 Fix issue that no content is shown in the Information Panel on startup
svn path=/trunk/KDE/kdebase/apps/; revision=1180723
2010-09-28 17:51:20 +00:00
Peter Penz af98817d43 Fix issue that tooltip-labels might get clipped (this regression has been introduced by revision 1158057)
CCBUG: 241608


svn path=/trunk/KDE/kdebase/apps/; revision=1180693
2010-09-28 15:58:14 +00:00
Frank Reininghaus 732459f4e2 Use KStringHandler::preProcessWrap() when calculating the width of a
file name in DolphinFileItemDelegate. This makes sure that zero width
spaces (which prevent kerning) are added at the same places where
KFileItemDelegate adds them when actually rendering the name. Fixes
the problem that file names are elided and partly replaced by "..."
even though there is enough space for the full name.

CCBUG: 251121

svn path=/trunk/KDE/kdebase/apps/; revision=1179568
2010-09-25 22:01:05 +00:00
Peter Penz c5659d48b0 Fix icon-name for the filenamesearch protocol. This fixes the issue that an unknown-icon is shown when the search is done in a tab.
svn path=/trunk/KDE/kdebase/apps/; revision=1178364
2010-09-22 20:32:06 +00:00
Peter Penz 7f7bea872b If the context-menu is opened for a file shown as search result, offer the actions "Open Parent Folder in New Window" and "Open Parent Folder in New Tab"
svn path=/trunk/KDE/kdebase/apps/; revision=1178362
2010-09-22 20:24:49 +00:00
Peter Penz 5bb2a0f3c9 Unbelievable: I simply forgot to implement the Stop-action in Dolphin since KDE SC 4.0. Well better later than never: Done now :-)
BUG: 233836

svn path=/trunk/KDE/kdebase/apps/; revision=1178344
2010-09-22 19:39:46 +00:00
Peter Penz abefc8663a Add a small invisible margin to the selection toggle in case the item-height is nearly equal to the toggle-height. This prevents an accidental execution of application in the details-view with the default icon-size.
BUG: 169494
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1178332
2010-09-22 19:12:09 +00:00
Peter Penz 5517e4cf10 If 'remember view-properties' is selected, store the .directory files only if the directory is part of the home-path. Otherwise use the mirror in ~/.kde/share/apps/dolphin/view_properties to store the .directory file. This prevents conflicting view-properties if several users have write-access to a common directory.
BUG: 63347
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1178321
2010-09-22 18:10:45 +00:00
Peter Penz 1f45355b7d Fix issue, that the details-view has no size and date column in the following case:
- Use icons-view as default view
- Create a new directory
- Change view-properties of directory to show e.g. the owner
- Switch to the details-view

svn path=/trunk/KDE/kdebase/apps/; revision=1178311
2010-09-22 17:28:26 +00:00
Peter Penz 7d7ecaafb1 - Use less separators
- Move "Add to Places" action upwards


svn path=/trunk/KDE/kdebase/apps/; revision=1177960
2010-09-21 19:56:35 +00:00