┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/iconsviewsettingspage.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-03-14 20:56:16 +0000
committerPeter Penz <[email protected]>2007-03-14 20:56:16 +0000
commit4dcb9b7a487ff1280fa4fd7a0d6566331ba31637 (patch)
tree1b9afa08f19acc3171c24fa711a00e47a5206f3d /src/iconsviewsettingspage.h
parentffcd3ed51435668b203ce58d34d2d625e9a7889d (diff)
Cleanup of iconview-settings dialog (no obsolete Q3 classes, ...) and fix broken zooming in icons view.
svn path=/trunk/KDE/kdebase/apps/; revision=642610
Diffstat (limited to 'src/iconsviewsettingspage.h')
-rw-r--r--src/iconsviewsettingspage.h17
1 files changed, 10 insertions, 7 deletions
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;