1 #ifndef SETTINGSWINDOW_H
2 #define SETTINGSWINDOW_H
7 #include "adopterwindow.h"
17 /** Display settings. */
18 class SettingsWindow: public AdopterWindow
23 explicit SettingsWindow(QWidget *parent = 0);
24 enum {SchemeDefault, SchemeDay, SchemeNight, SchemeSand};
25 enum {OrientationPortrait, OrientationLandscape};
30 void onSliderValueChanged(int value);
31 void onCurrentFontChanged(const QFont &);
32 void onSchemeButtonClicked(int id);
33 void onOrientationButtonClicked(int id);
34 void onLightsToggled(bool enable);
35 void onGrabVolumeToggled(bool enable);
38 #if defined(Q_WS_MAEMO_5) || defined(Q_OS_SYMBIAN)
39 void closeEvent(QCloseEvent *e);
45 QFontComboBox *fontButton;
46 ToolButtonBox *orientationBox;
49 #endif // SETTINGSWINDOW_H