#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
void onCurrentFontChanged(const QFont &);
void onSchemeButtonClicked(int id);
void onOrientationButtonClicked(int id);
+ void onLightsToggled(bool enable);
+ void onGrabVolumeToggled(bool enable);
protected:
-#ifdef Q_WS_MAEMO_5
void closeEvent(QCloseEvent *e);
-#endif
private:
QSlider *zoomSlider;
+ QLabel *zoomLabel;
QFontComboBox *fontButton;
+ ToolButtonBox *orientationBox;
};
#endif // SETTINGSWINDOW_H