1 #ifndef SETTINGSWINDOW_H
2 #define SETTINGSWINDOW_H
16 /** Display settings. */
17 class SettingsWindow: public QMainWindow
22 explicit SettingsWindow(QWidget *parent = 0);
23 enum {SchemeDefault, SchemeDay, SchemeNight, SchemeSand};
24 enum {OrientationPortrait, OrientationLandscape};
29 void onSliderValueChanged(int value);
30 void onCurrentFontChanged(const QFont &);
31 void onSchemeButtonClicked(int id);
32 void onOrientationButtonClicked(int id);
33 void onLightsToggled(bool enable);
34 void onGrabVolumeToggled(bool enable);
38 void closeEvent(QCloseEvent *e);
44 QFontComboBox *fontButton;
45 ToolButtonBox *orientationBox;
48 #endif // SETTINGSWINDOW_H