Commit graph

3098 commits

Author SHA1 Message Date
Peter Penz 6da89c3f30 Adjust code to the changed signal of the Nepomuk facet-widget.
svn path=/trunk/KDE/kdebase/apps/; revision=1193123
2010-11-04 18:05:36 +00:00
Peter Penz 7e311509a4 Interface cleanup: The DolphinView should not expose QAbstractItemView-specific things like QItemSelectionModel. Just providing interfaces for KFileItem and KUrl will make it easier in future to change the view-implementations internally to QML-specific itemviews or whatever.
svn path=/trunk/KDE/kdebase/apps/; revision=1193113
2010-11-04 17:27:11 +00:00
Tobias Koenig bd7416d0af Use the ontologies compiled into libnepomuk
svn path=/trunk/KDE/kdebase/apps/; revision=1193072
2010-11-04 13:38:06 +00:00
Peter Penz 7b8b1acf14 Use a ':' as end of the label instead of a '.', even if the label is top-aligned.
svn path=/trunk/KDE/kdebase/apps/; revision=1192621
2010-11-03 15:06:40 +00:00
Dawit Alemayehu 0ad893ae2b Added implementation of the FileInfoExtension to allow KPart plugins to obtain such information
svn path=/trunk/KDE/kdebase/apps/; revision=1191993
2010-11-01 16:56:47 +00:00
Peter Penz 3aa13c7a24 Assure that always the search-box is shown instead of the URL-navigator if a Nepomuk-URL is requested. We still have to think about how to show queries that cannot be represented by the facet-widget, but at least it is sure that this kind of information should not be shown by the URL navigator.
svn path=/trunk/KDE/kdebase/apps/; revision=1191912
2010-11-01 12:31:44 +00:00
Script Kiddy 3cfbcbcf7e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1191511
2010-10-31 09:11:11 +00:00
Peter Penz e144e45029 If the signal sliderMoved() is emitted, always valueChanged() is emitted too -> no need to connect to sliderMoved()
svn path=/trunk/KDE/kdebase/apps/; revision=1191107
2010-10-29 15:32:31 +00:00
Peter Penz 1fdd594ea5 If the vertical scrollbar got triggered by the wheel, the autoscrolling should be reactivated too.
svn path=/trunk/KDE/kdebase/apps/; revision=1191100
2010-10-29 15:17:32 +00:00
Peter Penz 2f1051d1b4 Don't do an automatic horizontal scrolling, if the user has adjusted the horizontal scrollbar. The autoscrolling gets reactivated again if the vertical scrollbar has been moved by the user.
svn path=/trunk/KDE/kdebase/apps/; revision=1191098
2010-10-29 15:12:59 +00:00
Frank Reininghaus b1e69cae00 It's easier to put functionality that is used by many unit tests into
a common base class. I took that idea from Nepomuk's unit tests in
kdelibs.

svn path=/trunk/KDE/kdebase/apps/; revision=1191051
2010-10-29 14:13:11 +00:00
Peter Penz 454a0a6539 Fix build-issue if Nepomuk is not available.
svn path=/trunk/KDE/kdebase/apps/; revision=1191041
2010-10-29 13:41:26 +00:00
Peter Penz fb36fdf3aa Set icons for the rename- and properties-action of the Folders Panels context-menu.
svn path=/trunk/KDE/kdebase/apps/; revision=1190486
2010-10-27 20:30:49 +00:00
Peter Penz 8559b78d7d - Allow to disable the automatic horizontal scrolling of the Folders Panel
- Remember the 'Show Hidden Files' setting
- Improve the autoscroll behavior
- Fix issue that expanding folders might not increase the horizontal width
- Fix issue that the selected item might get hidden by the horizontal scrollbar

BUG: 191787
FIXED-IN: 4.6.0
CCMAIL: datpeter@yahoo.com>

svn path=/trunk/KDE/kdebase/apps/; revision=1190479
2010-10-27 20:11:46 +00:00
Peter Penz 8a7591e20b Postpone the initialization of the filter-panel until it is shown. This prevents overhead if the filter-panel is disabled.
svn path=/trunk/KDE/kdebase/apps/; revision=1190460
2010-10-27 18:31:39 +00:00
Peter Penz d9141a2ade Move "Filter"-action to the bottom and apply icon + shortcut
svn path=/trunk/KDE/kdebase/apps/; revision=1190446
2010-10-27 17:17:20 +00:00
Peter Penz 4383f4238e - Automatically show the filter-panel when a searching is done
- Remove filter-prototypes that conflict with the filterpanel


svn path=/trunk/KDE/kdebase/apps/; revision=1190445
2010-10-27 17:08:02 +00:00
Kevin Ottens e521e260b6 showMenuBar is deprecated, use showHideMenuBar instead.
svn path=/trunk/KDE/kdebase/apps/; revision=1190390
2010-10-27 14:26:05 +00:00
Peter Penz 90d6867a5e Rename FacetPanel to FilterPanel so that the name reflects the headline.
svn path=/trunk/KDE/kdebase/apps/; revision=1190370
2010-10-27 13:35:24 +00:00
Peter Penz 6e34ec835d Fix build issues if Nepomuk is not available
svn path=/trunk/KDE/kdebase/apps/; revision=1190010
2010-10-26 16:01:43 +00:00
Peter Penz 537ad8a891 Apply the facets-patch written by Sebastian Trüg, which allows to filter search results in a very comfortable way. A lot of finetuning is necessary (e.g. the custom filter-prototypes from Dolphin will get removed etc). This will be done during the next weeks.
svn path=/trunk/KDE/kdebase/apps/; revision=1189951
2010-10-26 13:11:37 +00:00
Script Kiddy d9e1d5176e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1189884
2010-10-26 09:57:26 +00:00
Frank Reininghaus d81d56a640 Add some debug output to DolphinDetailsViewTest
I've seen the test fail due to timeout at
http://my.cdash.org/index.php?project=kdebase&date=
Maybe some debug output helps to find the cause for this.

svn path=/trunk/KDE/kdebase/apps/; revision=1189677
2010-10-25 14:51:10 +00:00
Peter Penz edd98d7659 - Add support for file item actions (see http://reviewboard.kde.org/r/5659/)
- Internal cleanups of DolphinContextMenu code


svn path=/trunk/KDE/kdebase/apps/; revision=1189651
2010-10-25 13:45:34 +00:00
Andreas Hartmetz 4ca9aeaad2 Link with gold, KDirModel is in KIO. Also remove redundant
QT_QTCORE_LIBRARY - KDE4_*_LIBS includes dependencies.

svn path=/trunk/KDE/kdebase/apps/; revision=1188673
2010-10-22 22:29:56 +00:00
Frank Reininghaus 28bc452f0d Add a second Dolphin unit test (for a regression in DolphinDetailsView
which has been fixed recently). This commit also adds a new class
TestHelper which provides some funtionality that most Dolphin unit
tests will need. I hope that this makes implementing additional tests
as easy as possible :-)

svn path=/trunk/KDE/kdebase/apps/; revision=1188536
2010-10-22 15:41:47 +00:00
Andreas Hartmetz ef87498e52 Link with gold
svn path=/trunk/KDE/kdebase/apps/; revision=1188148
2010-10-21 14:11:09 +00:00
Frank Reininghaus 1c27b1d154 Add a first unit test for Dolphin, which verifies that the fix for one
of the problems related to Dolphin's modifications to QTreeView works
as it should.

This is only a small start, but I hope that we can cover at least the
basic functionality of DolphinView, the three item views and possibly
a couple of other classes with a rather stable API soon.

svn path=/trunk/KDE/kdebase/apps/; revision=1188049
2010-10-21 07:58:56 +00:00
Oswald Buddenhagen 818f1878a9 actually install the .desktop files as executables
changing merely the file permissions is the repo is quite a noop as far
as cmake is concerned.


svn path=/trunk/KDE/kdebase/apps/; revision=1187438
2010-10-19 12:44:48 +00:00
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