diff options
| author | Peter Penz <[email protected]> | 2007-03-13 19:46:49 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-03-13 19:46:49 +0000 |
| commit | 27b9f6aa12bcc2f49cac72850ccbdc3990d0b844 (patch) | |
| tree | 28d0fdc82c477cb9b6fd91563872079cf1bdab15 /src/iconsviewsettingspage.h | |
| parent | 507984415a2953000ef1edb77c9dbc3364846b13 (diff) | |
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
Diffstat (limited to 'src/iconsviewsettingspage.h')
| -rw-r--r-- | src/iconsviewsettingspage.h | 8 |
1 files changed, 3 insertions, 5 deletions
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 <kvbox.h> 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; |
