From 25349096ae7fe344613d35e5548cac1a91b60fd1 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 11 Mar 2007 16:47:12 +0000 Subject: 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. svn path=/trunk/KDE/kdebase/apps/; revision=641525 --- src/viewpropertiesdialog.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/viewpropertiesdialog.h') diff --git a/src/viewpropertiesdialog.h b/src/viewpropertiesdialog.h index 9c5dd4cc7..2454137bb 100644 --- a/src/viewpropertiesdialog.h +++ b/src/viewpropertiesdialog.h @@ -50,6 +50,7 @@ private slots: void slotViewModeChanged(int index); void slotSortingChanged(int index); void slotSortOrderChanged(int index); + void slotAdditionalInfoChanged(int index); void slotShowPreviewChanged(); void slotShowHiddenFilesChanged(); void markAsDirty(); @@ -62,6 +63,7 @@ private: QComboBox* m_viewMode; QComboBox* m_sorting; QComboBox* m_sortOrder; + QComboBox* m_additionalInfo; QCheckBox* m_showPreview; QCheckBox* m_showHiddenFiles; QRadioButton* m_applyToCurrentFolder; -- cgit v1.3.1