Commit graph

1627 commits

Author SHA1 Message Date
Sebastian Trueg bd64849b07 Implemented tagging of multiple files at the same time.
The result is always an intersection of the tags of all files.
Another possibility would be to only change the clicked tag. Feedback?

BUG: 160157

svn path=/trunk/KDE/kdebase/apps/; revision=792518
2008-04-01 12:27:06 +00:00
Peter Penz 18354deaae provide a tooltip for the selection toggle
svn path=/trunk/KDE/kdebase/apps/; revision=792514
2008-04-01 12:05:12 +00:00
Peter Penz 03f4481bdf assure that the Dolphin KPart inside Konqueror gets updated when the settings are changed
svn path=/trunk/KDE/kdebase/apps/; revision=792496
2008-04-01 11:00:27 +00:00
Sebastian Trueg e8970ac771 Removed minimum size hint since we have zooming anyway.
One problem persists: the heightForWidth method does not take zooming
into account. Anyway, the tagcloud would probably benefit from being 
implemented using QGraphicsView (any volounteers? ;)

BUG: 160159

svn path=/trunk/KDE/kdebase/apps/; revision=792475
2008-04-01 09:19:34 +00:00
Script Kiddy 6b87f451e5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=792414
2008-04-01 02:04:26 +00:00
Sebastian Trueg 2120512d4c Load existing comments as plain text to allow editing of html comments.
Maybe in the future it would be nice to have a rich text editor here which
also handles semantic stuff like automatic annotations.

BUG: 160160

svn path=/trunk/KDE/kdebase/apps/; revision=792294
2008-03-31 19:37:55 +00:00
Peter Penz e8cb5a292d Third attempt for fixing the layout issue, this time without side effects and only with very minor performance overhead...
svn path=/trunk/KDE/kdebase/apps/; revision=791824
2008-03-30 13:19:01 +00:00
Peter Penz b6f970d355 Revert last commit; the issue seems to be reproducible only in combination with 'Sort by Type' and we have to find the real root cause instead of bypassing a wrong layout.
CCMAIL: fredrik@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=791752
2008-03-30 08:44:52 +00:00
Peter Penz ae7d038d33 QListView might return a wrong x-position if the decoration size decreases. I temporary bypassed this in Dolphin, as I'm not 100 % sure whether it is really a QListView issue or related to KFileItemDelegate. To reproduce this issue with Qt-only quite a lot effort is needed -> I'll wait until Qt4.4 final is released...
CCMAIL: fredrik@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=791535
2008-03-29 19:40:26 +00:00
Rafael Fernández López 7ee8ead014 Use PE_PanelItemViewItem for consistency
svn path=/trunk/KDE/kdebase/apps/; revision=791451
2008-03-29 16:01:06 +00:00
Peter Penz ae392783a1 show modified time for folders inside the Information Panel
svn path=/trunk/KDE/kdebase/apps/; revision=791437
2008-03-29 14:58:18 +00:00
Peter Penz c33b01efb2 Move the pasteIntoFolder() method from the contextmenu into DolphinView. This allows to show the information inside the statusbar, that the paste operation has been completed (also some code duplication can be prevented by the way).
svn path=/trunk/KDE/kdebase/apps/; revision=791436
2008-03-29 14:54:56 +00:00
Peter Penz 6816615900 SVN_SILENT: assure that the position of the methods in the cpp file matchs with the position of the methods in the header file (part 2)
svn path=/trunk/KDE/kdebase/apps/; revision=791420
2008-03-29 14:17:52 +00:00
Peter Penz 44d938cf4b SVN_SILENT: assure that the position of the methods in the cpp file matchs with the position of the methods in the header file
svn path=/trunk/KDE/kdebase/apps/; revision=791416
2008-03-29 14:04:30 +00:00
Peter Penz fc15039860 The paste operation should ignore the current selection to behave similar as Konqueror and other file managers. Only if a context menu for a folder is opened, a pasting should be done into this folder.
Some internal cleanups are still required (see TODO comments), so that after finishing the operation an indication can be given to the user in the statusbar (must go for breakfast now, otherwise I'll eat my keyboard...).

BUG: 159862

svn path=/trunk/KDE/kdebase/apps/; revision=791354
2008-03-29 07:44:03 +00:00
Christian Ehrlicher 2fdeb4f5bb warnings-- / fix for fileSize > 2GB
svn path=/trunk/KDE/kdebase/apps/; revision=791169
2008-03-28 15:52:41 +00:00
Peter Penz f40e6db807 * minor coding style fixes
* replaced "Free disk space could not be determined" by "Unknown size", as the string would be too long fitting into the space information widget

svn path=/trunk/KDE/kdebase/apps/; revision=791051
2008-03-28 06:32:41 +00:00
Jeff Mitchell 1fed8b968c Revert back to kibibytes for now
svn path=/trunk/KDE/kdebase/apps/; revision=791031
2008-03-28 01:24:50 +00:00
Jeff Mitchell 994e0570ee This value was still wrong, because I mixed up kibibytes and kilobytes. Assuming KDiskFreeSpace is really returning kB = 1000 bytes instead of kiB as according to Si rules,
this value should now be correct (as opposed to the original code which assumed it was actually returning kibibytes, or my incorrect fix which multiplied the kibibyte value by 
a kilobyte factor to pass into convertSize. 

svn path=/trunk/KDE/kdebase/apps/; revision=791030
2008-03-28 01:21:19 +00:00
Jeff Mitchell daf788e858 Ack, forgot half the fix
svn path=/trunk/KDE/kdebase/apps/; revision=790987
2008-03-27 22:53:14 +00:00
Jeff Mitchell fba908b88c The size is passed in from KDiskFreeSpace as kilobytes, not kibibytes; use the appropriate conversion function
svn path=/trunk/KDE/kdebase/apps/; revision=790986
2008-03-27 22:52:21 +00:00
Jeff Mitchell 674fe81e0a If KDiskFreeSpace doesn't work for some reason it never emits foundMountPoint, and since Dolphin never checked for done(), it'd sit there waiting on the job.
svn path=/trunk/KDE/kdebase/apps/; revision=790923
2008-03-27 20:36:05 +00:00
Script Kiddy e08b8edc22 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=790904
2008-03-27 20:13:14 +00:00
Script Kiddy b6ef95e5a1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=790479
2008-03-26 19:25:10 +00:00
David Faure 6d425dcc66 Use new key in .protocol files, archiveMimetype, to know which kioslave can handle which type of archive in a generic way.
Used that in dolphin and in konqueror (and in the filetypes config module, to show the right default value for those mimetypes).
This way Urs can extend this mechanism with the p7zip kioslave in the future.
CCMAIL: uwolfer@kde.org, peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=790102
2008-03-25 21:39:05 +00:00
Script Kiddy b7049db594 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=790020
2008-03-25 18:47:35 +00:00
Thomas Reitelbach c81438bea1 Fix typo
svn path=/trunk/KDE/kdebase/apps/; revision=790017
2008-03-25 18:40:01 +00:00
Jarosław Staniek 48f122fa6c fix exports and use dolphinprivatelib in the part
svn path=/trunk/KDE/kdebase/apps/; revision=789835
2008-03-25 12:06:18 +00:00
Script Kiddy eb0974229f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=789620
2008-03-24 18:42:13 +00:00
Peter Penz 4b51a27aaa The background for the image previews is already filled, so there is no need adding a border with the background color again (this also fixes a one-pixel-issue that shaded the right/bottom border in a wrong way).
svn path=/trunk/KDE/kdebase/apps/; revision=789234
2008-03-23 17:40:14 +00:00
Richard J. Moore 1249738421 - Fix build for non-nepomuk users
svn path=/trunk/KDE/kdebase/apps/; revision=789215
2008-03-23 16:07:18 +00:00
Peter Penz 6420d5f973 provide a config module for the settings GUI of the Dolphin views, so that it can be embedded into Konqueror
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=789209
2008-03-23 15:54:07 +00:00
Peter Penz cfb135f24e provide an option to rename files inline
CCMAIL: fredrik@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=789208
2008-03-23 15:53:12 +00:00
Peter Penz 71afbc513b Show hovered items in the Information panel also when items are selected. If the cursor is above the viewport in this case, show the selection information again.
BUG: 154618

svn path=/trunk/KDE/kdebase/apps/; revision=789207
2008-03-23 15:52:31 +00:00
Peter Penz 99419d3d74 allow to show hidden files in the Folders panel (treeview)
svn path=/trunk/KDE/kdebase/apps/; revision=789206
2008-03-23 15:51:30 +00:00
Peter Penz acb61c69a6 Open Dolphin in the split-view when started with 2 URLs from the command line. Thanks to David Edmundson for the patch!
CCMAIL: david@davidedmundson.co.uk

svn path=/trunk/KDE/kdebase/apps/; revision=789204
2008-03-23 15:50:58 +00:00
Peter Penz ca1c230831 minor code simplification
svn path=/trunk/KDE/kdebase/apps/; revision=789193
2008-03-23 14:55:16 +00:00
Peter Penz 4d80f9924a take care to restart the timer even when no previews are in the queue: as long as preview jobs are working, new previews will arrive
svn path=/trunk/KDE/kdebase/apps/; revision=789066
2008-03-23 02:46:52 +00:00
Peter Penz 8c6e717ead Performance boost for previews that are already available in the cache: apply the previews in larger blocks instead of applying them immediately after getting the signal 'gotPreview' from the PreviewJob. Now the previews in Konqueror and Dolphin are as fast as in the good old KDE 3 days :-)
svn path=/trunk/KDE/kdebase/apps/; revision=789009
2008-03-23 01:56:18 +00:00
Peter Penz 4d1a74b745 A separator is required above the preview widget too for widgets with a lot of empty space. I played around with QFrame too, but this looks to busy...
svn path=/trunk/KDE/kdebase/apps/; revision=788845
2008-03-22 17:21:44 +00:00
Peter Penz fbe257768c * changed "Click to add comment..." to simply "Add comment..." for consistency with the "Change tags..." link
* do a centered alignment for "Change comment..."

CCMAIL: sebastian@trueg.de

svn path=/trunk/KDE/kdebase/apps/; revision=788837
2008-03-22 16:52:46 +00:00
Peter Penz 4eaa9ddcb1 minor layout improvements for the Information Panel:
* use the KStyle for drawing separators
* remove frame from general meta data box

CCMAIL: sebastian@trueg.de

svn path=/trunk/KDE/kdebase/apps/; revision=788834
2008-03-22 16:23:54 +00:00
Sebastian Trueg d3a0432188 This is the first step towards a better looking and more usable metadata GUI.
- A nicer comment widget shows a popup to edit the comment.
- A tag cloud replaces the ugly tagwidget from libnepomuk.
The plan is to use Dolphin as a testbed to optimize the look and then 
move at least the tagcloud to libnepomuk to make it available for all apps
since this is a common feature.

So please test it and provide feedback. The layout is still cluttered. So we
also need feedback on that. And of course on the usability.

Apart from the GUI Dolphin now uses the mass metadata update job to perform
metadata updates on many files in an async KJob without blocking the GUI.
This is another candidate for public API at some point.

svn path=/trunk/KDE/kdebase/apps/; revision=788565
2008-03-21 21:05:05 +00:00
Sebastian Trueg 9ceab694e2 removed unused includes
svn path=/trunk/KDE/kdebase/apps/; revision=788554
2008-03-21 20:57:34 +00:00
Luboš Luňák 2328577ac6 Append # to the object name (window role), KWin uses it for better
window grouping.


svn path=/trunk/KDE/kdebase/apps/; revision=788492
2008-03-21 17:24:06 +00:00
Peter Penz 0d9e87975e use QDir::rootPath() to make the folders panel functional on Windows
svn path=/trunk/KDE/kdebase/apps/; revision=788155
2008-03-20 21:37:15 +00:00
Peter Penz c50a1e000f assure that the maximum size of the item-delegate gets updated before showing the icons view
svn path=/trunk/KDE/kdebase/apps/; revision=788152
2008-03-20 21:23:06 +00:00
Peter Penz a47758bae5 show the Information Panel per default as discussed in core-devel
CCMAIL: jriddell@ubuntu.com

svn path=/trunk/KDE/kdebase/apps/; revision=788150
2008-03-20 21:10:27 +00:00
Peter Penz 6c05a2bb29 fixed regression because of disconnecting non-available slots - now files don't get started twice in the column view anymore
BUG: 159551

svn path=/trunk/KDE/kdebase/apps/; revision=788133
2008-03-20 20:15:18 +00:00
Urs Wolfer 8246f56923 fix icon
svn path=/trunk/KDE/kdebase/apps/; revision=788123
2008-03-20 19:23:50 +00:00