Commit graph

75 commits

Author SHA1 Message Date
Peter Penz 4908c5e60c changed EOL from windows to unix
svn path=/trunk/KDE/kdebase/apps/; revision=648942
2007-04-01 18:36:23 +00:00
Peter Penz 05fe35c4e8 reload view when the settings are applied
svn path=/trunk/KDE/kdebase/apps/; revision=648929
2007-04-01 18:08:24 +00:00
David Faure 623c19e042 Added setters in urlnavigator to remove dependency on dolphinsettings.
Removed old unused kfileiconview.h header, fixed some unrelated missing includes due to that one being removed.

svn path=/trunk/KDE/kdebase/apps/; revision=647244
2007-03-27 19:38:32 +00:00
Peter Penz fd060ce7f6 Initial version for a column view support (thanks a lot to Benjamin Meyer for QColumnView in Qt4.3!). Currently there is a problem when using the DolphinSortFilterProxyModel: some items get duplicated, but I doubt it's an issue in QColumnView (the same issue occurs when using QTreeView) -> further investigations necessary...
svn path=/trunk/KDE/kdebase/apps/; revision=647234
2007-03-27 19:08:44 +00:00
David Faure 85bc196887 Ported to KBookmarkManager::closestBookmark - which even solves another TODO about code duplication.
Improved urlnavigator API to avoid exposing the full QList (api independent from implementation now).

svn path=/trunk/KDE/kdebase/apps/; revision=646954
2007-03-26 23:04:43 +00:00
David Faure ad6c01d200 Using a QLinkedList mostly for "accessing element at index i" is not the best solution performance-wise... use a QList instead.
svn path=/trunk/KDE/kdebase/apps/; revision=646813
2007-03-26 18:34:52 +00:00
Peter Penz 8f9baef848 Patch by Luca Gugelmann: get rid of any mainwindow dependency from the sidebars.
svn path=/trunk/KDE/kdebase/apps/; revision=646256
2007-03-25 06:44:28 +00:00
Peter Penz ae338af474 improve the handling when applying item effects to cut items
svn path=/trunk/KDE/kdebase/apps/; revision=645516
2007-03-22 19:25:44 +00:00
Sebastian Trueg 4af3a2dcb4 Improved KMetaData integration. The Dolphin info sidebar now uses KMetaData to allow file rating, commenting, and tagging.
This commit is indended to show what can be done with KMetaData in an easy way. The GUI is not perfect yet.

svn path=/trunk/KDE/kdebase/apps/; revision=644510
2007-03-20 09:01:22 +00:00
Peter Penz 242bda1ead let the context menu be aware about the trash
svn path=/trunk/KDE/kdebase/apps/; revision=642935
2007-03-15 21:24:41 +00:00
Peter Penz d9ac44e08f Allow renaming of items (note that currently the "rename multiple files" dialog is temporary used for this until KFileItemDelegate offers editing functionality).
svn path=/trunk/KDE/kdebase/apps/; revision=642219
2007-03-13 17:31:54 +00:00
Peter Penz a6d59a1381 replaced string "MIME Type" by "Type"
svn path=/trunk/KDE/kdebase/apps/; revision=641540
2007-03-11 18:28:59 +00:00
Peter Penz f768cbd235 disable the 'Additional information' menu for other views then the 'Icons View'
svn path=/trunk/KDE/kdebase/apps/; revision=641532
2007-03-11 17:51:37 +00:00
Peter Penz 25349096ae Allow to set the 'AdditionalInformation' property from KFileItemDelegate for each folder. Use case:
- Icons view for images: set 'Size' as additional property
- Icons view for media: show 'MIME type' as additional property
- Default Icons view: don't show any addtional property for a clean layout.

TODO: KFileItemDelagate::AdditionalInformation intersects with KDirModel::Columns when used in combination with the details view. Assure that the user does not get confronted with such implementation details in the user interface.

svn path=/trunk/KDE/kdebase/apps/; revision=641525
2007-03-11 16:47:12 +00:00
Peter Penz fca6867fea Apply an item effect to all cut items. As discussed with Fredrik this should be done in the application itself and not inside KDirModel to be able to do some optimizations.
svn path=/trunk/KDE/kdebase/apps/; revision=641317
2007-03-10 21:58:55 +00:00
Peter Penz 175f629b69 fix internationalization issue
svn path=/trunk/KDE/kdebase/apps/; revision=641301
2007-03-10 20:45:07 +00:00
Peter Penz bfcf764b69 Fixed icon-names so that they match to the new Oxygen naming scheme (erase all Dolphin config files to see the effect). Although Oxygen is not finished yet, it looks very beautiful already, kudos to the Oxygen team :-)
svn path=/trunk/KDE/kdebase/apps/; revision=641285
2007-03-10 19:41:49 +00:00
Aaron J. Seigo 3759f51a13 oxygen icon naming fixes from Luca Gugelmann
svn path=/trunk/KDE/kdebase/libkonq/; revision=640669
2007-03-08 19:32:19 +00:00
Peter Penz 9470a816eb Per default turn off the information panel and the tree view panel for the first start of Dolphin, only show the bookmarks panel.
svn path=/trunk/KDE/kdebase/apps/; revision=639007
2007-03-04 00:39:21 +00:00
Peter Penz fe8b349bce It seems some people cannot live without a tree view ;-) So Dolphin will provide a dock which contains the directory hierarchy, which will be synchronized with the active view. It does not clutter the UI (the dock can be turned off), but makes happy a lot of users -> kind of win-win-situation. This commit provides only a rough initial version, which shows the current URL as tree. I'll work on the interaction during the next week(s)...
svn path=/trunk/KDE/kdebase/apps/; revision=638628
2007-03-02 18:59:09 +00:00
Peter Penz 802a2572b3 Use the home URL from the settings instead of the "first bookmark" when starting Dolphin. The "first bookmark" is not automatically the home URL like in older Dolphin releases...
svn path=/trunk/KDE/kdebase/apps/; revision=638406
2007-03-01 20:59:24 +00:00
Peter Penz a0cf8456fe Allow zooming in and zooming out in the icons view.
svn path=/trunk/KDE/kdebase/apps/; revision=638386
2007-03-01 19:36:37 +00:00
Peter Penz a46551d63e Jippie: file previews are generated again! Thanks to Fredrik for giving me a hint how to do it (if I would have known that it is so easy, I'd have implemented it already some weeks ago...). It's very nice that the details view now also is able to show previews (Kudos to Interview & KDirModel).
svn path=/trunk/KDE/kdebase/apps/; revision=638081
2007-02-28 19:17:26 +00:00
Peter Penz d9c3648d5a Implemented one of the most often requested features for Dolphin: allow that the command 'Delete' is shown in the context menu to bypass the trash. Like in Konqueror the default setting is that the 'Delete' command is not shown. TODO: currently this is a custom setting of Dolphin. Konqueror uses the global settings from KDE for this -> should this be changed to use the global setting instead?
svn path=/trunk/KDE/kdebase/apps/; revision=637232
2007-02-25 20:51:05 +00:00
Oscar Blumberg 9c8e7f4e43 Add libkmetadata detection and minor fixes
SVN_SILENT

svn path=/trunk/KDE/kdebase/apps/; revision=636328
2007-02-22 20:15:20 +00:00
Oscar Blumberg cefcbf0ef0 * Starts to add Nepomuk supports to dolphin (currently, only annotations are supported)
* Little changes in InfoSidebarPage (no more multiple label for infos & Q3Layout>QLayout)
* Support infos for multiple files (only total size, what else ?)

svn path=/trunk/KDE/kdebase/apps/; revision=636272
2007-02-22 16:45:53 +00:00
Alexander Wiedenbruch bf50ced734 Fixing autogenerated headers includes
svn path=/trunk/KDE/kdebase/apps/; revision=635892
2007-02-21 10:43:59 +00:00
Chusslove Illich 1a81483d2e i18n fixes. Note: %n is no longer used in plural strings.
svn path=/trunk/KDE/kdebase/apps/; revision=635655
2007-02-20 15:03:09 +00:00
David Faure 76ba5d5a09 setGroup -> KConfigGroup
svn path=/trunk/KDE/kdebase/apps/; revision=635597
2007-02-20 11:55:38 +00:00
Peter Penz abf17941f7 Dolphin is now a KUniqueApplication. A lot of thanks go to Oscar Blumberg, who submitted this patch.
svn path=/trunk/KDE/kdebase/apps/; revision=634862
2007-02-18 17:01:36 +00:00
Peter Penz 3316903fe8 View properties dialog: Allow to reset all view properties (the timestamp is used for this). Additionally it is possible for the user to specify whether the current view properties should be the default for new directories.
svn path=/trunk/KDE/kdebase/apps/; revision=634789
2007-02-18 11:20:32 +00:00
Peter Penz 0368591365 Fixed shortcuts, removed warnings.
svn path=/trunk/KDE/kdebase/apps/; revision=634634
2007-02-17 21:47:45 +00:00
Peter Penz ace4095c98 don't perform a copy operation, if the user clicked outside the popup menu
svn path=/trunk/KDE/kdebase/apps/; revision=634547
2007-02-17 14:57:05 +00:00
Peter Penz 175fe7ff47 Cleanup of the URL navigator, so that the DolphinMainWindow and the DolphinView are not used anymore. This will make it easier for us later on when moving the URL navigator outside Dolphin to make it accessable for other parts. Currently the bookmarks are still accessed by DolphinSettings, but this will be cleaned up later...
svn path=/trunk/KDE/kdebase/apps/; revision=634432
2007-02-17 10:31:52 +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
David Faure d674eda218 Fix compilation
svn path=/trunk/playground/utils/dolphin/; revision=630669
2007-02-05 23:12:51 +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 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 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 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
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
Peter Penz d8ab89171d Applied some patches found by EBN (thanks to Nicolas Lécureuil for the patches!).
svn path=/trunk/playground/utils/dolphin/; revision=621872
2007-01-10 00:04:16 +00:00
Kevin Ottens 8046908e5b Port to new KAction, KActionCollection API.
svn path=/trunk/playground/utils/dolphin/; revision=621553
2007-01-09 00:45:31 +00:00
Peter Penz b4543ce170 Remember the position and size of the docks by using QMainWindow::saveState() and QMainWindow::restoreState(). I assume that in KDE 4 there will be a generic mechanism to store the position and size of docks like done for toolbars -> this is only a temporary solution to have a usable version of Dolphin in the meantime.
svn path=/trunk/playground/utils/dolphin/; revision=620954
2007-01-07 21:10:52 +00:00