From 4dcb9b7a487ff1280fa4fd7a0d6566331ba31637 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 14 Mar 2007 20:56:16 +0000 Subject: Cleanup of iconview-settings dialog (no obsolete Q3 classes, ...) and fix broken zooming in icons view. svn path=/trunk/KDE/kdebase/apps/; revision=642610 --- src/iconsviewsettingspage.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'src/iconsviewsettingspage.h') diff --git a/src/iconsviewsettingspage.h b/src/iconsviewsettingspage.h index ccf0bb7f7..61e1bb900 100644 --- a/src/iconsviewsettingspage.h +++ b/src/iconsviewsettingspage.h @@ -25,10 +25,10 @@ class DolphinMainWindow; class KFontRequester; -class QSlider; class QComboBox; class QCheckBox; class QPushButton; +class QSlider; class QSpinBox; /** @@ -65,13 +65,16 @@ private slots: void openIconSizeDialog(); private: - /** - * Adjusts the selection of the text width combo box dependant - * from the grid width and grid height settings. - */ - void adjustTextWidthSelection(); + enum + { + GridSpacingBase = 8, + GridSpacingInc = 24, + LeftToRightBase = 128, + LeftToRightInc = 64, + TopToBottomBase = 96, + TopToBottomInc = 32 + }; -private: DolphinMainWindow* m_mainWindow; int m_iconSize; int m_previewSize; -- cgit v1.3