From 27b9f6aa12bcc2f49cac72850ccbdc3990d0b844 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 13 Mar 2007 19:46:49 +0000 Subject: Use KFontRequester for dialogs as suggested by Ellen at http://wiki.openusability.org/guidelines/index.php/Practical_Examples:Configuration_Dialogs. TODO: get rid of Qt3 classes in these dialogs and use a more sensible spacing/margin svn path=/trunk/KDE/kdebase/apps/; revision=642269 --- src/detailsviewsettingspage.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/detailsviewsettingspage.h') diff --git a/src/detailsviewsettingspage.h b/src/detailsviewsettingspage.h index 95f611b85..f0214daa0 100644 --- a/src/detailsviewsettingspage.h +++ b/src/detailsviewsettingspage.h @@ -24,15 +24,15 @@ #include class DolphinMainWindow; +class KFontRequester; class QCheckBox; -class QFontComboBox; class QSpinBox; class QComboBox; class QRadioButton; /** * @brief Represents the page from the Dolphin Settings which allows - * to modify the settings for the details view. + * to modify the settings for the details view. */ class DetailsViewSettingsPage : public KVBox { @@ -58,9 +58,7 @@ private: QRadioButton* m_smallIconSize; QRadioButton* m_mediumIconSize; QRadioButton* m_largeIconSize; - - QFontComboBox* m_fontFamilyBox; - QSpinBox* m_fontSizeBox; + KFontRequester* m_fontRequester; }; #endif -- cgit v1.3