Commit graph

122 commits

Author SHA1 Message Date
Peter Penz 207cb06316 Activated "clicking on tags" fix from Sebastian Trüg. By providing a different link color the difference to the "Change tags..." link is visible.
svn path=/trunk/KDE/kdebase/apps/; revision=1059985
2009-12-07 20:45:20 +00:00
Sebastian Trueg 25b9640456 Added all code necessary for clickable tags in the KTaggingWidget. As soon as we figured out how to
only show links on hover we are good to go.
This is actually a fix as resources in the rest of the info view are already clickable.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=1059908
2009-12-07 16:41:37 +00:00
Sebastian Trueg f4067a705a Added versioning information to the list of hidden properties. This fixes hiding in case an old kmetainformationrc exists.
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=1059900
2009-12-07 16:31:05 +00:00
Laurent Montel 456fa7054b Fix mem leak
svn path=/trunk/KDE/kdebase/apps/; revision=1057381
2009-12-02 08:14:31 +00:00
Sebastian Trueg bd47f7f978 Use KFileItem::text() instead of KUrl::fileName() to display the entry's name in the metadata panel. This way Nepomuk results and all entries from KIO slaves that make use of UDS_DISPLAY_NAME look nice.
svn path=/trunk/KDE/kdebase/apps/; revision=1056260
2009-11-29 18:16:36 +00:00
Sebastian Trueg d324e790d6 * Fixed execution of links in the metadata widget.
* Do not try to list non-listable URLs.

svn path=/trunk/KDE/kdebase/apps/; revision=1054300
2009-11-25 20:53:37 +00:00
Peter Penz 2a02ac7d02 Let KMetaDataWidget and all the child widgets respect the foreground role that might be set by the client. This allows KMetaDataWidget to get embedded inside a tooltip having correct tooltip colors.
svn path=/trunk/KDE/kdebase/apps/; revision=1052509
2009-11-21 22:50:22 +00:00
Sebastian Trueg ccd9a32988 Simplified the clickable resource metadata display. This also fixes a bug where sometimes resources are not displayed at all
svn path=/trunk/KDE/kdebase/apps/; revision=1052237
2009-11-21 09:33:37 +00:00
Peter Penz 2b6cceb0f6 Provide clickable resources for the Information Panel. Thanks to Sebastian Trüg für the patch!
CCMAIL: trueg@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=1051553
2009-11-19 19:38:34 +00:00
Peter Penz d4a983d98c don't crash if Nepomuk gets activated/deactivated during Dolphin is running
svn path=/trunk/KDE/kdebase/apps/; revision=1050611
2009-11-17 18:32:53 +00:00
Nicolas Lécureuil fb1380b183 Fix crash
svn path=/trunk/KDE/kdebase/apps/; revision=1050466
2009-11-17 11:09:28 +00:00
David Faure 5328ae8942 Stop crashing (apparently I have HAVE_NEPOMUK but the runtime check fails so the widget isn't created)
svn path=/trunk/KDE/kdebase/apps/; revision=1048851
2009-11-14 01:49:16 +00:00
Peter Penz 3eb05a06bb fixed issue that the rating was not applied to the Information Panel
svn path=/trunk/KDE/kdebase/apps/; revision=1048811
2009-11-13 23:25:38 +00:00
Peter Penz bd30bb6ca9 search finetuning:
* trigger progress information when starting a search
* let the information panel hide the meta data for the search string
* get the search string from the configurator

svn path=/trunk/KDE/kdebase/apps/; revision=1048721
2009-11-13 21:03:19 +00:00
Peter Penz 1c62d0accf SVN_SILENT: constify
svn path=/trunk/KDE/kdebase/apps/; revision=1048143
2009-11-12 20:05:30 +00:00
Peter Penz f0cab33518 Don't show the search options, if no Nepomuk is available. Hopefully Nepomuk will get a hard build dependency quite soon, those #ifdef-code is really ugly and difficult to maintain...
svn path=/trunk/KDE/kdebase/apps/; revision=1048135
2009-11-12 19:45:55 +00:00
Peter Penz d3f37b1af4 SVN_SILENT: removed unnecessary include
svn path=/trunk/KDE/kdebase/apps/; revision=1048117
2009-11-12 19:16:09 +00:00
Peter Penz 56bccf8f2f let the user also delete the created tags
svn path=/trunk/KDE/kdebase/apps/; revision=1047714
2009-11-11 21:47:09 +00:00
Peter Penz 98f0289c76 Images: Instead of showing the meta data for "Width:" and "Height:" separately with other items in between, they are merged as "Width x Height:" and added to the top of the sort order.
CCBUG: 193592

svn path=/trunk/KDE/kdebase/apps/; revision=1047680
2009-11-11 19:47:07 +00:00
Peter Penz 36ae0b6185 * don't show the "Add Tags..." and "Add Comments..." links for the meta data inside a tooltip
* minor cleanup of thread-interface to allow a proper sorting/merging on client side

svn path=/trunk/KDE/kdebase/apps/; revision=1047662
2009-11-11 18:59:29 +00:00
Andrew Coles b90e618a82 Two minor proof-reading changes:
- missing space in one message in string split across two lines
 - Servicemenu -> Service Menu.


svn path=/trunk/KDE/kdebase/apps/; revision=1046089
2009-11-07 13:24:03 +00:00
Peter Penz 18a2989794 move the position of the filename below the preview
svn path=/trunk/KDE/kdebase/apps/; revision=1045798
2009-11-06 20:06:00 +00:00
Peter Penz a9f8714fc1 fixed calculation of the height size hint: don't forget the spacing and margin of the layout
svn path=/trunk/KDE/kdebase/apps/; revision=1045768
2009-11-06 18:39:01 +00:00
Peter Penz 49a1a72d50 allow to set a custom description for the KMetaDataConfigurationDialog
svn path=/trunk/KDE/kdebase/apps/; revision=1045712
2009-11-06 17:06:33 +00:00
Sebastian Trueg d07b3d9ddb Handle lists of resources nicer. Maybe a list separated by new-lines is not the best though...
svn path=/trunk/KDE/kdebase/apps/; revision=1045283
2009-11-05 17:12:38 +00:00
Sebastian Trueg 8955d51666 fancy date formatting
svn path=/trunk/KDE/kdebase/apps/; revision=1045013
2009-11-05 08:56:42 +00:00
Sebastian Trueg e3d68e709f Nicer formatting of the values - only a temp solution just like tuneLabel. To many temp solutions...
svn path=/trunk/KDE/kdebase/apps/; revision=1044996
2009-11-05 08:04:54 +00:00
Peter Penz 565bd3bf23 Don't call QThread::wait() in the destructor - in the worst case an issue in Nepomuk will block Dolphin for several seconds. Refactored the load-meta-data-thread in a way that the meta data widget does not require to wait for a result of the thread.
svn path=/trunk/KDE/kdebase/apps/; revision=1044848
2009-11-04 19:14:39 +00:00
Peter Penz f5f2ccf8ee Fixed link issue - I'm sorry: I had installed a temporary version of KMetaDataWidget from kdelibs and did not recognize the issue...
svn path=/trunk/KDE/kdebase/apps/; revision=1044545
2009-11-04 00:46:45 +00:00
Patrick Spendrin af50b02f78 some more export fixes
svn path=/trunk/KDE/kdebase/apps/; revision=1043907
2009-11-02 16:54:10 +00:00
Patrick Spendrin 7f76ab761d do not export this widget with a wrong export define
svn path=/trunk/KDE/kdebase/apps/; revision=1043889
2009-11-02 16:05:52 +00:00
Peter Penz 73007f7d63 After some discussions at http://reviewboard.kde.org/r/1938 it turned out that moving KMetaDataWidget and KMetaDataConfigurationDialog to kdelibs should be postponed to KDE 4.5. The main reason is that adding application specific properties is not possible with the current API in a generic way. Also the topic how to hide properties application specific is an open point...
So now all adjustments from the review have been adapted to the Dolphin code. After KDE 4.4 has been released some refactoring will be done so that the open topics above are handled in a nice way.

svn path=/trunk/KDE/kdebase/apps/; revision=1041547
2009-10-28 07:18:00 +00:00
Peter Penz ba9a4972a0 assure that the "size" information can be hidden by the user
svn path=/trunk/KDE/kdebase/apps/; revision=1038142
2009-10-20 17:36:28 +00:00
Raphael Kubo da Costa 5e6f3b87ed Fix some spelling mistakes in comments.
svn path=/trunk/KDE/kdebase/apps/; revision=1037779
2009-10-19 23:32:21 +00:00
Peter Penz dd6febd314 use correct name for the tags-entry, otherwise disabling of tags won't work...
svn path=/trunk/KDE/kdebase/apps/; revision=1037727
2009-10-19 20:53:24 +00:00
Peter Penz d6db9ac22c the configuration menu should be shown also for multiple selections
svn path=/trunk/KDE/kdebase/apps/; revision=1037684
2009-10-19 19:52:25 +00:00
Sebastian Trueg 002787543f xesam is deprecated
svn path=/trunk/KDE/kdebase/apps/; revision=1036703
2009-10-17 16:47:48 +00:00
Sebastian Trueg e1dde0669f Use the magic QFlags I love so much.
svn path=/trunk/KDE/kdebase/apps/; revision=1036578
2009-10-17 13:16:45 +00:00
Peter Penz 59c430bb3f Use the tunedLabel() workaround also for the configuration dialog. Hopefully this can be cleaned up until KDE 4.4...
CCMAIL: trueg@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=1036559
2009-10-17 12:43:58 +00:00
Peter Penz 998b88f304 * get rid of MetaDataWidget::openConfigurationDialog()
* allow to hide specific data for applications
* check whether Nepomuk has been activated (the check with #idfef HAVE_NEPOMUK is not sufficient in the case if Nepomok is available but not activated)

svn path=/trunk/KDE/kdebase/apps/; revision=1036556
2009-10-17 12:23:38 +00:00
Peter Penz 71b292e95b provide an URI for the tag
svn path=/trunk/KDE/kdebase/apps/; revision=1036306
2009-10-16 23:28:13 +00:00
Peter Penz e512e98b41 * allow editing of tags
* minor adjustments for the default settings of visible meta data

svn path=/trunk/KDE/kdebase/apps/; revision=1036296
2009-10-16 22:53:27 +00:00
Peter Penz ee08881486 remove unnecessary 'const'
svn path=/trunk/KDE/kdebase/apps/; revision=1036229
2009-10-16 20:54:50 +00:00
Peter Penz 0bd6e46b2b prepare the behavior-settings dialog to configure the shown meta data for tooltips
svn path=/trunk/KDE/kdebase/apps/; revision=1036100
2009-10-16 15:50:30 +00:00
Peter Penz a6355d1ca4 prepare MetaDataConfigurationDialog to be a public class in the Nepomuk libs
svn path=/trunk/KDE/kdebase/apps/; revision=1036074
2009-10-16 14:17:49 +00:00
Peter Penz 7d4242d2c7 Fixed compilation issue if HAVE_NEPOMUK is not set. This #ifdef HAVE_NEPOMUK stuff is really a pain :-(
svn path=/trunk/KDE/kdebase/apps/; revision=1036067
2009-10-16 13:45:47 +00:00
Peter Penz 3852f31c30 * improved interface + documentation of MetaDataWidget
* provide a configuration dialog for adjusting the visibility of the meta data

svn path=/trunk/KDE/kdebase/apps/; revision=1036058
2009-10-16 13:01:11 +00:00
Peter Penz 660c1fd767 restore functionality that ratings, comments and tags get stored after the user changed the values
svn path=/trunk/KDE/kdebase/apps/; revision=1034884
2009-10-13 20:48:38 +00:00
Peter Penz ba444ba8d0 adjust margins + spacing
svn path=/trunk/KDE/kdebase/apps/; revision=1033755
2009-10-10 23:15:13 +00:00
Peter Penz 984378d7f7 layout improvements
svn path=/trunk/KDE/kdebase/apps/; revision=1033744
2009-10-10 22:29:05 +00:00