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/iconsviewsettingspage.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/iconsviewsettingspage.h') diff --git a/src/iconsviewsettingspage.h b/src/iconsviewsettingspage.h index 675225718..ccf0bb7f7 100644 --- a/src/iconsviewsettingspage.h +++ b/src/iconsviewsettingspage.h @@ -24,12 +24,12 @@ #include class DolphinMainWindow; +class KFontRequester; class QSlider; class QComboBox; class QCheckBox; class QPushButton; class QSpinBox; -class QFontComboBox; /** * @brief Tab page for the 'Icons Mode' and 'Previews Mode' settings @@ -40,8 +40,7 @@ class QFontComboBox; * - preview size * - text width * - grid spacing - * - font family - * - font size + * - font * - number of text lines * - arrangement * @@ -79,8 +78,7 @@ private: QPushButton* m_iconSizeButton; QComboBox* m_textWidthBox; - QFontComboBox* m_fontFamilyBox; - QSpinBox* m_fontSizeBox; + KFontRequester* m_fontRequester; QSpinBox* m_textlinesCountBox; QComboBox* m_arrangementBox; -- cgit v1.3.1