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 void closeEvent(QCloseEvent *e);
43 QFontComboBox *fontButton;
46 #endif // SETTINGSWINDOW_H