┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views
AgeCommit message (Collapse)Author
2010-11-18- When showing the trash content, use the details view with path as default viewPeter Penz
- Assure that the original path is shown for the trash protocol within Dolphin svn path=/trunk/KDE/kdebase/apps/; revision=1198481
2010-11-17Add unit test which checks that DolphinDetailsView::expandedUrls()Frank Reininghaus
works as expected. svn path=/trunk/KDE/kdebase/apps/; revision=1198202
2010-11-17Verify that the pointer m_extensionsFactory is not 0 beforeFrank Reininghaus
dereferencing it. Fixes a possible crash when initialising the Details View in Konqueror, caused by an indirect resizing the of columns before the DolphinDetailsView constructor is finished. CCBUG: 257035 svn path=/trunk/KDE/kdebase/apps/; revision=1198138
2010-11-17SVN_SILENT made messages (.desktop file)Script Kiddy
svn path=/trunk/KDE/kdebase/apps/; revision=1198064
2010-11-12Fix issue that the folders in the details-view are not automatically opened ↵Peter Penz
when dragging items and "expandable folders" is disabled. CCBUG: 237731 svn path=/trunk/KDE/kdebase/apps/; revision=1196240
2010-11-09Adjust the color when using the LocallyModifiedUnstagedVersion (patch ↵Peter Penz
written by Sebastian Dörner) svn path=/trunk/KDE/kdebase/apps/; revision=1194724
2010-11-09Add unit test for bug 217447.Frank Reininghaus
To make it work, I had to make DolphinTreeView::indexAt public, but this method is public in the base class anyway. svn path=/trunk/KDE/kdebase/apps/; revision=1194511
2010-11-08Remember the root-URL when saving the state of a view. This allows to ↵Peter Penz
restore a column-view correctly when going back in history. svn path=/trunk/KDE/kdebase/apps/; revision=1194323
2010-11-08Also assure that when scrolling right that the currently completely ↵Peter Penz
invisible column gets partly visible. svn path=/trunk/KDE/kdebase/apps/; revision=1194305
2010-11-08Use KFileItem::mostLocalUrl() instead of KFileItem::url() for the "Path" ↵Peter Penz
column. This assures that a path is shown also for the nepomuksearch:/ protocol. svn path=/trunk/KDE/kdebase/apps/; revision=1194303
2010-11-05Fix issue that the horizontal scrollbar is not updated correctly when ↵Peter Penz
resizing the window svn path=/trunk/KDE/kdebase/apps/; revision=1193329
2010-11-04Interface cleanup: The DolphinView should not expose ↵Peter Penz
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-01Added implementation of the FileInfoExtension to allow KPart plugins to ↵Dawit Alemayehu
obtain such information svn path=/trunk/KDE/kdebase/apps/; revision=1191993
2010-10-31SVN_SILENT made messages (.desktop file)Script Kiddy
svn path=/trunk/KDE/kdebase/apps/; revision=1191511
2010-10-29It's easier to put functionality that is used by many unit tests intoFrank Reininghaus
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-25- Add support for file item actions (see http://reviewboard.kde.org/r/5659/)Peter Penz
- Internal cleanups of DolphinContextMenu code svn path=/trunk/KDE/kdebase/apps/; revision=1189651
2010-10-22Add a second Dolphin unit test (for a regression in DolphinDetailsViewFrank Reininghaus
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-18Provide icon for LocallyModifiedUnstaged versions of a filePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1187170
2010-10-15It is a valid use-case that m_itemView is 0.Peter Penz
BUG: 254240 svn path=/trunk/KDE/kdebase/apps/; revision=1186206
2010-10-15Enable dropping of raw data, like one could do in KDE3. It's actually ↵David Faure
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-10SVN_SILENT: documentation fixesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1184468
2010-10-10Internal cleanup: Remove some public toggle-slots from DolphinView. Setters- ↵Peter Penz
and getters are already available for implementing a toggling. svn path=/trunk/KDE/kdebase/apps/; revision=1184459
2010-10-10Internal cleanup: Remove public method selectedUrls() from DolphinView to ↵Peter Penz
keep the interface minimal (selectedItems() is already available) svn path=/trunk/KDE/kdebase/apps/; revision=1184457
2010-10-09* Increase the column-width automatically in case where the name of the file ↵Peter Penz
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-09After disconnecting and reconnecting to the selectionChangedSignal() it must ↵Peter Penz
be checked, whether the selection got reset in the meantime. svn path=/trunk/KDE/kdebase/apps/; revision=1184262
2010-10-09Allow the user to resize the columns.Peter Penz
BUG: 190030 BUG: 196717 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1184247
2010-10-09Indicate the shown directory of a column by QStyle::PE_FrameFocusRect ↵Peter Penz
instead of using a custom code. svn path=/trunk/KDE/kdebase/apps/; revision=1184180
2010-10-09Use DolphinTreeView as implementation for the columns instead of QListView. ↵Peter Penz
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-09It is a valid usecase that the model can be 0 when destructing a view.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1184156
2010-10-09Move the generic hover- and selection-adjustments from DolphinsDetailsView ↵Peter Penz
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-08- Don't show the name of the file in the "Path" columnPeter Penz
- Also provide a path for non-local URLs svn path=/trunk/KDE/kdebase/apps/; revision=1183939
2010-10-08Move the changing of the cursor-shape from the extensions-factory and the ↵Peter Penz
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-08Fix issue in column-view, that the icon size has been increased when several ↵Peter Penz
columns are open and a switch to the icon-view is done. svn path=/trunk/KDE/kdebase/apps/; revision=1183919
2010-10-06Restore the cursor if the URL has been changed. This assures that the ↵Peter Penz
pointing-hand cursor gets reset when changing the directory. svn path=/trunk/KDE/kdebase/apps/; revision=1183219
2010-10-06Apply the cursor asynchronously. This fixes the issue that a pointing-hand ↵Peter Penz
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-06Use a pointing-hand cursor when hovering items as discussed on ↵Peter Penz
http://lists.kde.org/?l=kde-core-devel&m=126027946921686&w=1 svn path=/trunk/KDE/kdebase/apps/; revision=1183195
2010-10-05Prevent that icons overlap in Details View when zooming.Frank Reininghaus
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-05SVN_SILENT: Remove commented (and obsolete) codePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1182780
2010-10-05Fix minor regression resulted by the previous commit: The m_newName-member ↵Peter Penz
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- Integrate the patch from Matthias Fuchs from ↵Peter Penz
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: [email protected] BUG: 226761 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1182776
2010-09-28Fix issue that tooltip-labels might get clipped (this regression has been ↵Peter Penz
introduced by revision 1158057) CCBUG: 241608 svn path=/trunk/KDE/kdebase/apps/; revision=1180693
2010-09-25Use KStringHandler::preProcessWrap() when calculating the width of aFrank Reininghaus
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-22Unbelievable: I simply forgot to implement the Stop-action in Dolphin since ↵Peter Penz
KDE SC 4.0. Well better later than never: Done now :-) BUG: 233836 svn path=/trunk/KDE/kdebase/apps/; revision=1178344
2010-09-22Add a small invisible margin to the selection toggle in case the item-height ↵Peter Penz
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-22If 'remember view-properties' is selected, store the .directory files only ↵Peter Penz
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-22Fix issue, that the details-view has no size and date column in the ↵Peter Penz
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-21SVN_SILENT: There is no plural for "information"Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1177951
2010-09-21It was a bad idea to store the enabled additional-information as bit-values: ↵Peter Penz
With the current setup only up to 8 additional informations are possible. This restriction is bypassed now: - Backward compatibility for old .directorry files is provided - A version-information has been added for possible future changes - As "side-effect" it also allows to have a details-view with only one column (#238140) BUG: 238140 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1177944
2010-09-21SVN_SILENT made messages (.desktop file)Script Kiddy
svn path=/trunk/KDE/kdebase/apps/; revision=1177799
2010-09-21Does not use bitwise operators on booleans. Thanks to dfaure for pointing it ↵Matthias Fuchs
out. svn path=/trunk/KDE/kdebase/apps/; revision=1177781