┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views
AgeCommit message (Collapse)Author
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
2010-09-20Disables the rename button if no name or an identical name has been specified.Matthias Fuchs
Checks for '#' in the case of renaming multiple files. svn path=/trunk/KDE/kdebase/apps/; revision=1177675
2010-09-04Further optimizations for calculating the width of columnsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1171607
2010-09-04The row-count cannot be 0 at this part of the code.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1171602
2010-09-04Use the size-hint provided by the item-delegate to calculate the required ↵Peter Penz
width of the columns. This assures that columns like "Path" are not clipped. svn path=/trunk/KDE/kdebase/apps/; revision=1171601
2010-09-04Never ignore the view-properties if "Use common view properties for all ↵Peter Penz
folders" has been set, otherwise the view-properties switch when searching files won't work. Originally this flag has been introduced when working with a split view, however I consider the behavior to always respect the view-properties when changing a folder more consistent anyway. svn path=/trunk/KDE/kdebase/apps/; revision=1171589
2010-09-04When searching for files, as default view the details view is used showing ↵Peter Penz
the path of the search result. The view still can be adjusted by the user of course. svn path=/trunk/KDE/kdebase/apps/; revision=1171585
2010-09-04Fix issue that an old preview might be shown in a tooltip. Cool bug-id btw ;-)Peter Penz
CCBUG: 250000 FIXED-IN: 4.5.2 svn path=/trunk/KDE/kdebase/apps/; revision=1171569
2010-08-30Move dolphin's statusbar message-label (the one with support for errors and ↵David Faure
a close button) to libkonq so that it can be used in konqueror as well. Fix its sizeHint. Reviewed by Peter Penz. svn path=/trunk/KDE/kdebase/apps/; revision=1169901
2010-08-29Avoid the unnecessary construction of a KIconEffect by using the one ↵Jonathan Michael Thomas
provided by Dolphin's global KIconLoader svn path=/trunk/KDE/kdebase/apps/; revision=1169558
2010-08-27Context-menu cleanups:Peter Penz
- KNewMenu has been deprecated by KNewFileMenu. Reflect this in the names of related Dolphin classes. - Provide context-sensitive actions also when a context-menu is opened on the viewport BUG: 191938 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1168586
2010-08-19Set the toggle invisible, if a mouse button has been pressed outside the ↵Peter Penz
toggle boundaries. This e.g. assures, that the toggle gets invisible during dragging items. BUG: 244304 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1165577
2010-08-19Initialize the zoom slider correctly on startup (regression introduced in 4.5.0)Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1165572
2010-08-19Fix wrong behavior (or triggering of an assertion in the debug mode), if "Go ↵Peter Penz
Up" is used in the column view. CCBUG: 248405 svn path=/trunk/KDE/kdebase/apps/; revision=1165550
2010-08-19Fix crash in column view because of a dangling pointer to a selection model. ↵Peter Penz
Thanks a lot to Frank Reininghaus for finding a way how to reproduce the issue and analyzing the root cause. Keeping the selection model as part of the DolphinView is not required anymore at all, as the restoring of selected items is done by m_selectedItems in the meantime. CCBUG: 247618 svn path=/trunk/KDE/kdebase/apps/; revision=1165532
2010-08-09Update to use the changed signature of the metaDataRequestFinished signal.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1161017
2010-08-07Fix spelling errors reported by crazyPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1160316
2010-08-07krazy fix: Use QString::clear() instead of assigning an empty string.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1160315
2010-08-07krazy fixes: use proper include guardPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1160313
2010-08-03SVN_SILENT made messages (.desktop file)Script Kiddy
svn path=/trunk/KDE/kdebase/apps/; revision=1158610