Peter Penz [Tue, 13 Mar 2007 19:46:49 +0000 (19:46 +0000)]
Use KFontRequester for dialogs as suggested by Ellen at http://wiki.openusability.org/guidelines/index.php/Practical_Examples:Configuration_Dialogs. TODO: get rid of Qt3 classes in these dialogs and use a more sensible spacing/margin
Peter Penz [Tue, 13 Mar 2007 17:31:54 +0000 (17:31 +0000)]
Allow renaming of items (note that currently the "rename multiple files" dialog is temporary used for this until KFileItemDelegate offers editing functionality).
Peter Penz [Sun, 11 Mar 2007 16:47:12 +0000 (16:47 +0000)]
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.
Peter Penz [Sun, 11 Mar 2007 11:13:07 +0000 (11:13 +0000)]
Fixed some drag & drop issues:
- allow drag & drop inside the view
- prevent a dragging from a directory into itself
- use QModelIndex instead of the position
Peter Penz [Sun, 11 Mar 2007 00:56:43 +0000 (00:56 +0000)]
Create a SidebarTreeView which will include support for drag & drop in later releases and encapsulates sidebar specific behavior. TODO: using a sort proxy model results in duplicated elements when the dir lister reloads items.
Peter Penz [Sat, 10 Mar 2007 21:58:55 +0000 (21:58 +0000)]
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.
Peter Penz [Sat, 10 Mar 2007 20:30:17 +0000 (20:30 +0000)]
Update of the patch from Filip Brcic for browsing through ZIP and TAR files. One part of the patch for the URL navigator has not been committed yet (see notes in URL navigator::setUrl() for details).
Peter Penz [Sat, 10 Mar 2007 19:41:49 +0000 (19:41 +0000)]
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 :-)
Peter Penz [Fri, 2 Mar 2007 18:59:09 +0000 (18:59 +0000)]
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)...
Peter Penz [Thu, 1 Mar 2007 20:59:24 +0000 (20:59 +0000)]
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...
Peter Penz [Wed, 28 Feb 2007 19:38:25 +0000 (19:38 +0000)]
Don't use assertions here. The result of the preview might have been done although the model has changed (e. g. by changed the folder during a preview job is working) -> it's possible to get an invalid model index.
Peter Penz [Wed, 28 Feb 2007 19:17:26 +0000 (19:17 +0000)]
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).
Peter Penz [Wed, 28 Feb 2007 06:32:56 +0000 (06:32 +0000)]
Instead of using the ListMode of the icon view for the left to right alignment, still use the IconMode and adjust the alignment properties. Minor issue open: it seems that KFileItemDelegate currently does not care about the alignment properties of QStyleOptionViewItem, it always centers the the icons + text; I'll have a look on this...
Peter Penz [Tue, 27 Feb 2007 20:46:21 +0000 (20:46 +0000)]
The icons view and details view don't use hardcoded (test-) values anymore, instead the settings for fonts, grid size, ... are read out. The settings dialogs itself will be reworked later if it is clear what should be configurable in which manner. At least the current settings dialog allows to play with the new capabilities we got by KFileItemDelegate, just lets see what we can improve later on...
Peter Penz [Sun, 25 Feb 2007 22:42:47 +0000 (22:42 +0000)]
As Aaron suggested: use the global setting for "Show Delete command" instead of using a custom Dolphin setting. I hope I used the reworked KConfig classes in a correct manner (setGroup() has been marked as deprecated, Konqueror still uses those deprecated methods).
Peter Penz [Sun, 25 Feb 2007 20:51:05 +0000 (20:51 +0000)]
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?
Oscar Blumberg [Thu, 22 Feb 2007 16:45:53 +0000 (16:45 +0000)]
* 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 ?)
Peter Penz [Sun, 18 Feb 2007 11:20:32 +0000 (11:20 +0000)]
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.
Peter Penz [Sat, 17 Feb 2007 20:04:06 +0000 (20:04 +0000)]
Improve usability of the viewproperties dialog: use 2 radiobuttons instead of one checkbox to make clear where the view properties are applied. Separate the apply-to-group visually from the 'Use as default for new folders' checkbox.
Peter Penz [Sat, 17 Feb 2007 18:25:46 +0000 (18:25 +0000)]
Allow the pasting of a text clipboard content to the URL navigator by pressing the middle mouse button. Although this is quite a hidden feature, I think it makes happy a lot of people who just want to paste a URL available as text to the URL navigator without switching from the breadcrump view to the traditional view.
Very nice "side effect": the URL navigator is now completely flicker free when changing URLs because of using the whole available width :-)
TODO: I'm not 100 % sure whether checking the middle mousebutton by 'if (event->button() == Qt::MidButton) { ... }' is the right approach (maybe there is a more generic way to check the 'paste button').
Peter Penz [Sat, 17 Feb 2007 14:46:54 +0000 (14:46 +0000)]
Prevent a flickering of the URL navigator buttons by reusing existing buttons (before all items have been deleted and recreated). The flickering is still not solved to 100 %, but a lot better than before. @Aaron: I did not change anything inside the logic of the code -> the net protocol code works the same as in our internal KDE3 working prototype of Dolphin
Peter Penz [Sat, 17 Feb 2007 10:31:52 +0000 (10:31 +0000)]
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...
Peter Penz [Fri, 16 Feb 2007 17:03:02 +0000 (17:03 +0000)]
Reanimated drag & drop support again after introducing the DolphinController. It is now also possible to move the items inside an icon view like discussed on kde-devel/kde-usability.
Peter Penz [Wed, 14 Feb 2007 21:54:24 +0000 (21:54 +0000)]
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.