From 2b8772807fb862895c00762fb5b246ed78b663fc Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 16 Mar 2008 02:17:16 +0000 Subject: provide a cleaner layout for the information panel; there are still some open issues, but it looks already less cluttered... svn path=/trunk/KDE/kdebase/apps/; revision=786080 --- src/infosidebarpage.h | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'src/infosidebarpage.h') diff --git a/src/infosidebarpage.h b/src/infosidebarpage.h index 08782d779..6cdc1e824 100644 --- a/src/infosidebarpage.h +++ b/src/infosidebarpage.h @@ -39,6 +39,7 @@ class KFileItem; class QLabel; class PixmapViewer; class MetaDataWidget; +class MetaTextLabel; /** * @brief Sidebar for showing meta information of one ore more selected items. @@ -121,14 +122,6 @@ private: */ void showMetaInfo(); - /** - * Adds the texts \a labelText and \a infoText as one formated line - * to text. - */ - void addInfoLine(QString& text, - const QString& labelText, - const QString& infoText); - /** * Converts the meta key \a key to a readable format into \a text. * Returns true, if the string \a key represents a meta information @@ -143,12 +136,10 @@ private: KUrl m_urlCandidate; // URL candidate that will replace m_shownURL after a delay KFileItem m_fileItem; // file item for m_shownUrl if available (otherwise null) - PixmapViewer* m_preview; QLabel* m_nameLabel; - - QLabel* m_infoLabel; - + PixmapViewer* m_preview; MetaDataWidget* m_metaDataWidget; + MetaTextLabel* m_metaTextLabel; }; #endif // INFOSIDEBARPAGE_H -- cgit v1.3