New version. Update home page link in About box.
[dorian] / settingswindow.h
index 581657e..6cf421f 100644 (file)
@@ -1,13 +1,21 @@
 #ifndef SETTINGSWINDOW_H
 #define SETTINGSWINDOW_H
 
-#include <QMainWindow>
+#include <QLabel>
+#include <QSlider>
+
+#include "adopterwindow.h"
 
 class QPushButton;
 class QFontComboBox;
 class QFont;
+class QSlider;
+class QFontComboBox;
+class QLabel;
+class ToolButtonBox;
 
-class SettingsWindow: public QMainWindow
+/** Display settings. */
+class SettingsWindow: public AdopterWindow
 {
     Q_OBJECT
 
@@ -23,8 +31,17 @@ public slots:
     void onCurrentFontChanged(const QFont &);
     void onSchemeButtonClicked(int id);
     void onOrientationButtonClicked(int id);
+    void onLightsToggled(bool enable);
+    void onGrabVolumeToggled(bool enable);
+
+protected:
+    void closeEvent(QCloseEvent *e);
 
 private:
+    QSlider *zoomSlider;
+    QLabel *zoomLabel;
+    QFontComboBox *fontButton;
+    ToolButtonBox *orientationBox;
 };
 
 #endif // SETTINGSWINDOW_H