From d3a04321886e8ca39ab91a647a9547ebe4d52154 Mon Sep 17 00:00:00 2001 From: Sebastian Trueg Date: Fri, 21 Mar 2008 21:05:05 +0000 Subject: 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 --- src/CMakeLists.txt | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6af8fc9f3..0354f925d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -5,6 +5,7 @@ add_subdirectory( tests ) macro_optional_find_package(Soprano) include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${BLITZ_INCLUDES} ) + if (Soprano_FOUND) include_directories( ${SOPRANO_INCLUDE_DIR} ) endif (Soprano_FOUND) @@ -27,7 +28,6 @@ set(dolphinprivate_LIB_SRCS dolphinview.cpp dolphinviewactionhandler.cpp iconmanager.cpp - ratingpainter.cpp renamedialog.cpp selectiontoggle.cpp selectionmanager.cpp @@ -103,6 +103,8 @@ set(dolphin_SRCS infosidebarpage.cpp main.cpp metadatawidget.cpp + commentwidget.cpp + commenteditwidget.cpp metatextlabel.cpp pixmapviewer.cpp settingspagebase.cpp @@ -117,6 +119,19 @@ set(dolphin_SRCS viewsettingspage.cpp viewpropsprogressinfo.cpp ) +if(Nepomuk_FOUND) +set(dolphin_SRCS + ${dolphin_SRCS} + nepomukmassupdatejob.cpp + tagcloud/tagcloud.cpp + tagcloud/resourcetaggingwidget.cpp + tagcloud/taggingpopup.cpp + tagcloud/newtagdialog.cpp +) +kde4_add_ui_files(dolphin_SRCS tagcloud/newtagdialog.ui) + +endif(Nepomuk_FOUND) + if(NOT WIN32) set(dolphin_SRCS ${dolphin_SRCS} terminalsidebarpage.cpp) endif(NOT WIN32) -- cgit v1.3.1