]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/columnviewsettingspage.h
use a smaller step size when using the scroll wheel
[dolphin.git] / src / columnviewsettingspage.h
index 5bf25da9800a3e2385d3ce19d9604a04feba3def..5e16dc67bc47bfb4f4e83e051380212f4f06f2af 100644 (file)
 #ifndef COLUMNVIEWSETTINGSPAGE_H
 #define COLUMNVIEWSETTINGSPAGE_H
 
-#include <kvbox.h>
+#include <viewsettingspagebase.h>
 
 class DolphinMainWindow;
-class KFontRequester;
-class QCheckBox;
-class QSpinBox;
-class QComboBox;
-class QRadioButton;
+class DolphinFontRequester;
+class IconSizeGroupBox;
+class KComboBox;
 
 /**
  * @brief Represents the page from the Dolphin Settings which allows
  *        to modify the settings for the details view.
  */
-class ColumnViewSettingsPage : public KVBox
+class ColumnViewSettingsPage : public ViewSettingsPageBase
 {
     Q_OBJECT
 
 public:
-    ColumnViewSettingsPage(DolphinMainWindow* mainWindow, QWidget* parent);
+    ColumnViewSettingsPage(QWidget* parent);
     virtual ~ColumnViewSettingsPage();
 
     /**
@@ -46,20 +44,18 @@ public:
      * The settings are persisted automatically when
      * closing Dolphin.
      */
-    void applySettings();
+    virtual void applySettings();
 
     /** Restores the settings to default values. */
-    void restoreDefaults();
+    virtual void restoreDefaults();
 
 private:
     void loadSettings();
 
 private:
-    DolphinMainWindow* m_mainWindow;
-    QRadioButton* m_smallIconSize;
-    QRadioButton* m_mediumIconSize;
-    QRadioButton* m_largeIconSize;
-    KFontRequester* m_fontRequester;
+    IconSizeGroupBox* m_iconSizeGroupBox;
+    DolphinFontRequester* m_fontRequester;
+    KComboBox* m_textWidthBox;
 };
 
 #endif