diff options
| author | Peter Penz <[email protected]> | 2007-03-11 16:47:12 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-03-11 16:47:12 +0000 |
| commit | 25349096ae7fe344613d35e5548cac1a91b60fd1 (patch) | |
| tree | 92ab776bc1a02653858148321b3defe80fe74063 /src/viewpropertiesdialog.h | |
| parent | 66efe4d7061344dcd2070979dbe6ec4cb50df44b (diff) | |
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
Diffstat (limited to 'src/viewpropertiesdialog.h')
| -rw-r--r-- | src/viewpropertiesdialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
