]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/iconsviewsettingspage.h
Fix the problem of the elements being rendered as hovered when a dragging was being...
[dolphin.git] / src / iconsviewsettingspage.h
index 61e1bb9006bcbde97ff730a9c6dc9cfe01ea484a..bfc0c63c13f04790162bc9eef7731b2cd637e877 100644 (file)
 
 class DolphinMainWindow;
 class KFontRequester;
-class QComboBox;
 class QCheckBox;
+class QComboBox;
 class QPushButton;
-class QSlider;
 class QSpinBox;
 
 /**
@@ -61,17 +60,23 @@ public:
      */
     void applySettings();
 
+    /** Restores the settings to default values. */
+    void restoreDefaults();
+
 private slots:
     void openIconSizeDialog();
 
+private:
+    void loadSettings();
+
 private:
     enum
     {
         GridSpacingBase =   8,
-        GridSpacingInc  =  24,
+        GridSpacingInc  =  12,
         LeftToRightBase = 128,
         LeftToRightInc  =  64,
-        TopToBottomBase =  96,
+        TopToBottomBase =  64,
         TopToBottomInc  =  32
     };
 
@@ -83,6 +88,7 @@ private:
     QComboBox* m_textWidthBox;
     KFontRequester* m_fontRequester;
     QSpinBox* m_textlinesCountBox;
+    QCheckBox* m_showAdditionalInfo;
 
     QComboBox* m_arrangementBox;
     QComboBox* m_gridSpacingBox;