#ifndef SETTINGSWINDOW_H
#define SETTINGSWINDOW_H
-#include <QMainWindow>
+#include <QLabel>
+#include <QSlider>
+
+#include "adopterwindow.h"
class QPushButton;
class QFontComboBox;
class ToolButtonBox;
/** Display settings. */
-class SettingsWindow: public QMainWindow
+class SettingsWindow: public AdopterWindow
{
Q_OBJECT
public:
explicit SettingsWindow(QWidget *parent = 0);
- enum {SchemeDefault, SchemeDay, SchemeNight, SchemeSand};
+ enum {SchemeDay, SchemeNight, SchemeSand};
enum {OrientationPortrait, OrientationLandscape};
signals:
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