Commit graph

4602 commits

Author SHA1 Message Date
Peter Penz
f42d1d2c02 minor documentation fixes
svn path=/trunk/KDE/kdebase/apps/; revision=633708
2007-02-14 22:27:47 +00:00
Peter Penz
c91365ab8d Step one for having DolphinParts for the icons and details view, which can be used by Konqueror. TODO: currently dropping of items is deactivated, as I want to wait for Davids feedback whether the direction is ok.
svn path=/trunk/KDE/kdebase/apps/; revision=633703
2007-02-14 21:54:24 +00:00
David Faure
8134fd34d5 get libkonq from kdebase
svn path=/trunk/KDE/kdebase/apps/; revision=633693
2007-02-14 21:17:05 +00:00
Peter Penz
2463621457 update to i18n change: no more %n in plural calls
svn path=/trunk/playground/utils/dolphin/; revision=633273
2007-02-13 17:35:17 +00:00
Peter Penz
67e47827f6 use KIO::itemsSummaryString() instead of reinventing the wheel
svn path=/trunk/playground/utils/dolphin/; revision=632870
2007-02-12 15:32:28 +00:00
Peter Penz
0a963931d3 fixed internationalization issue for languages with more complex plural forms (thanks to David for the hint)
svn path=/trunk/playground/utils/dolphin/; revision=632674
2007-02-11 21:39:01 +00:00
Peter Penz
7e61bb47d7 don't accept drops into the same view if it is not done above a directory
svn path=/trunk/playground/utils/dolphin/; revision=632656
2007-02-11 20:54:07 +00:00
Peter Penz
814a7c7f77 fixed i18n issue when showing how many files are selected
svn path=/trunk/playground/utils/dolphin/; revision=632641
2007-02-11 20:23:50 +00:00
Peter Penz
dc3e19744d don't trigger an item if the user does a selection by using the control- or shift-modifier
svn path=/trunk/playground/utils/dolphin/; revision=632633
2007-02-11 20:04:18 +00:00
Peter Penz
64ef4394f9 restore the x- and y-position of the view if the current view is part of the history
svn path=/trunk/playground/utils/dolphin/; revision=632370
2007-02-10 21:29:29 +00:00
Peter Penz
fcf8436737 just a coding guideline style fix: assure that a consistent coding style is used within Dolphin
svn path=/trunk/playground/utils/dolphin/; revision=631710
2007-02-08 20:46:49 +00:00
Peter Penz
ee4e21530b Fixed issue that the filterbar and the menu state have not been synchronized (a not existing signal name has been used)
svn path=/trunk/playground/utils/dolphin/; revision=631709
2007-02-08 20:33:49 +00:00
Peter Penz
abf8f1917d Additionally to sorting by name, size and date it is now possible to sort by permissions, owner and group.
svn path=/trunk/playground/utils/dolphin/; revision=631058
2007-02-07 06:19:06 +00:00
Peter Penz
ac62df5672 If the user changes the sorting by clicking on a header section, the resulting sorting state must be synchronized with the Dolphin menu.
svn path=/trunk/playground/utils/dolphin/; revision=630740
2007-02-06 06:43:34 +00:00
Peter Penz
9eb1cac4b7 update the header indicators corresponding to the current sort column and sort order
svn path=/trunk/playground/utils/dolphin/; revision=630675
2007-02-05 23:18:22 +00:00
Peter Penz
fe1cb386e4 Only group the directories before items if the KDirModel::Name column is sorted. If the sorting is done e. g. by the date column, it is confusing when still directories are seperated from items.
svn path=/trunk/playground/utils/dolphin/; revision=630674
2007-02-05 23:17:15 +00:00
Peter Penz
3f53b0f32d updated the documentation
svn path=/trunk/playground/utils/dolphin/; revision=630673
2007-02-05 23:15:09 +00:00
David Faure
d674eda218 Fix compilation
svn path=/trunk/playground/utils/dolphin/; revision=630669
2007-02-05 23:12:51 +00:00
Stefan Gehn
17e8c553de Fix compile
deprecated--

svn path=/trunk/playground/utils/dolphin/; revision=629105
2007-02-01 12:05:20 +00:00
Peter Penz
c8b837a47b clear the status bar when doing an undo operation
svn path=/trunk/playground/utils/dolphin/; revision=628910
2007-01-31 22:14:46 +00:00
Peter Penz
cd3df82730 Queue error messages so that a currently shown error message is not replaced until the user confirmed the reading. If there are no pending error messages and a timeout has been exceeded, the currently shown error messages automatically fades out as soon as the user triggered another action. This behavior should correspond to Ellens suggestions (I hope :-)).
svn path=/trunk/playground/utils/dolphin/; revision=628905
2007-01-31 22:03:35 +00:00
Dirk Mueller
5a0b3330d6 remove include
svn path=/trunk/playground/utils/dolphin/; revision=628892
2007-01-31 20:58:34 +00:00
Peter Penz
7495dabc15 Improvements for error messages:
- increase/decrease size on demand and hide progress bar or space information if required
- provide close button

TODO: the code is far from being finished (e. g. no queueing of pending error messages, close button looks fugly, ...), but I decided to commit the changes to prevent getting an inconsistent state in combination with other commits...

svn path=/trunk/playground/utils/dolphin/; revision=628642
2007-01-30 19:38:44 +00:00
Peter Penz
e181654494 update to changes in class KGlobal (kdelibs)
svn path=/trunk/playground/utils/dolphin/; revision=628641
2007-01-30 19:31:37 +00:00
Peter Penz
d71de955f4 Further optimizations: do a delayed update of the geometry. This leads to a reduced flickering/resizing when e. g. the view is split or the window is resized.
svn path=/trunk/playground/utils/dolphin/; revision=627494
2007-01-26 19:58:41 +00:00
Peter Penz
9877bef7c5 Further optimizations for the status bar: hide the space information if the status bar text does not fit into the remaining width.
svn path=/trunk/playground/utils/dolphin/; revision=627486
2007-01-26 19:38:32 +00:00
Script Kiddy
dcc41b4ad4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/playground/utils/dolphin/; revision=627378
2007-01-26 11:01:46 +00:00
David Faure
f25a5f90f5 fixed
svn path=/trunk/playground/utils/dolphin/; revision=627345
2007-01-26 09:09:44 +00:00
Peter Penz
db8090b4de upsi... forgot to uncomment the temporary workaround until the forward declaration in knewmenu.h is added :-(
svn path=/trunk/playground/utils/dolphin/; revision=627221
2007-01-26 00:57:52 +00:00
Peter Penz
5840fcede7 Do a custom error handling in for the 'Create New...' submenu. Thanks to David for adjusting KNewMenu :-)
svn path=/trunk/playground/utils/dolphin/; revision=627220
2007-01-26 00:55:49 +00:00
Peter Penz
d52282f8a2 First step for making the details view usable again:
- accept drops
- Automatically resize the columns in a way that the whole available width is used by stretching the width of the 'Name' column. Qt4's QTreeView really rocks, only a few lines of code had been necessary to get this behavior :-)

svn path=/trunk/playground/utils/dolphin/; revision=627189
2007-01-25 22:28:04 +00:00
Peter Penz
5e22e4efba David's patches come in faster than light: removed code duplication, as a proper default implementation is now available in KonqUndoManager::UiInterface::copiedFileWasModified().
svn path=/trunk/playground/utils/dolphin/; revision=627164
2007-01-25 21:06:59 +00:00
Peter Penz
fb0b2a777b Use custom implementation of KonqUndoManager::UiInterface for Dolphin. This allows that error messages are shown inside the status bar of Dolphin (otherwise a modal error dialog containing an "OK" button would be opened).
svn path=/trunk/playground/utils/dolphin/; revision=627130
2007-01-25 19:37:19 +00:00
Peter Penz
33fab30e57 Cleanup of URL drop handling (simplified code, modifier keys work again). After further minor cleanups it looks like KonqOperations::doDrop() can be used later on :-)
svn path=/trunk/playground/utils/dolphin/; revision=627105
2007-01-25 17:56:29 +00:00
Peter Penz
214ee5de3f Use KNewMenu instead of custom implementation of Dolphin. TODO: currently errors are indicated automatically in a message box KNewMenu. In Dolphin modal dialogs having only an "OK" button are not used -> it would be nice if Dolphin could handle the errors in a custom way.
svn path=/trunk/playground/utils/dolphin/; revision=627085
2007-01-25 16:56:52 +00:00
Peter Penz
78d1167c38 Get rid of some KDE 3 relicts.
svn path=/trunk/playground/utils/dolphin/; revision=626610
2007-01-23 21:44:52 +00:00
Peter Penz
50676d8d25 Minor adjustments and cleanups in the statusbar:
- prevent a flickering of the space information if a folder has been changed
- assure that no progress bar and space information is shown if an error is displayed currently

svn path=/trunk/playground/utils/dolphin/; revision=626571
2007-01-23 18:33:43 +00:00
Script Kiddy
fe34b6b551 SVN_SILENT made messages (.desktop file)
svn path=/trunk/playground/utils/dolphin/; revision=626448
2007-01-23 11:10:33 +00:00
Peter Penz
ccb06e68ac - Fixed crash when showing "Open With..." items of the context menu: the model index from the proxy model was used instead of the model index from the KDirModel.
- Use QMenu::addSeparator() instead of QMenu::insertSeparator().

svn path=/trunk/playground/utils/dolphin/; revision=626040
2007-01-21 22:12:49 +00:00
Peter Penz
70999c96a2 Cleanup of DolphinContextMenu:
- don't use any deprecated methods anymore
- temporary deactivated the "Open With..." submenu. There's a crash in KDirModel when invoking KFileItem::mimetype(); although the same code worked with an older version of kdelibs, I assume this is a Dolphin issue -> I'll do some further analyses...

svn path=/trunk/playground/utils/dolphin/; revision=626023
2007-01-21 21:20:37 +00:00
Peter Penz
07e07fd522 Removed helper class ProgressIndicator (not needed anymore because of the use of KonqUndoManager).
svn path=/trunk/playground/utils/dolphin/; revision=625608
2007-01-20 15:03:14 +00:00
Script Kiddy
a376e4d43e SVN_SILENT made messages (.desktop file)
svn path=/trunk/playground/utils/dolphin/; revision=624903
2007-01-18 11:01:54 +00:00
Peter Penz
76866f783c Replaced Dolphins UndoManager and DolphinCommand by KonqUndoManager and KonqOperations. There are still some minor open issues left (renaming of multiple selected files, no undo support for KonqOperations::mkdir(), redo, ...), but all in all it absolutely makes sense to use a shared code for those operations.
svn path=/trunk/playground/utils/dolphin/; revision=624760
2007-01-18 06:32:21 +00:00
Laurent Montel
4db903c670 Fix signal/slot
svn path=/trunk/playground/utils/dolphin/; revision=624604
2007-01-17 13:03:29 +00:00
Script Kiddy
04a0cad4c8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/playground/utils/dolphin/; revision=624571
2007-01-17 10:59:03 +00:00
Peter Penz
d7b618e4bb Minor performance improvement. As Dominic Battre pointed out correctly, it is not necessary to calculate the value of both numbers, it is enough to compare the weight.
svn path=/trunk/playground/utils/dolphin/; revision=623878
2007-01-15 18:28:19 +00:00
Peter Penz
e28a32728b The KMimeTypeResolver instance is owned by the item view and may not be deleted manually.
svn path=/trunk/playground/utils/dolphin/; revision=623875
2007-01-15 18:18:09 +00:00
Peter Penz
a58ce6d0b7 Use a QTreeView for the representation of the details view (previously a QListView has been used).
svn path=/trunk/playground/utils/dolphin/; revision=623643
2007-01-15 06:43:17 +00:00
Peter Penz
de4ffa3322 Fixed issue in method naturalCompare: strings having numbers with the same amount of digits got the same weight. E. g. naturalCompare("Item 10", "Item 11") returned 0 instead of a value < 0.
svn path=/trunk/playground/utils/dolphin/; revision=622757
2007-01-12 21:21:06 +00:00
Peter Penz
71c0a43490 Natural sorting fix: assure that directories are sorted always before files as Ellen has recommended. One minor issue is left: when the sort order is descending, the natural sorting result is:
item 10.jpg
 item 11.jpg
 item 2.jpg
 item 1.jpg
instead of
 item 11.jpg
 item 10.jpg
 item 2.jpg
 item 1.jpg

svn path=/trunk/playground/utils/dolphin/; revision=622751
2007-01-12 20:24:23 +00:00