1 #ifndef SETTINGSWINDOW_H
2 #define SETTINGSWINDOW_H
14 /** Display settings. */
15 class SettingsWindow: public QMainWindow
20 explicit SettingsWindow(QWidget *parent = 0);
21 enum {SchemeDefault, SchemeDay, SchemeNight, SchemeSand};
22 enum {OrientationPortrait, OrientationLandscape};
27 void onSliderValueChanged(int value);
28 void onCurrentFontChanged(const QFont &);
29 void onSchemeButtonClicked(int id);
30 void onOrientationButtonClicked(int id);
31 void onLightsToggled(bool enable);
32 void onGrabVolumeToggled(bool enable);
36 void closeEvent(QCloseEvent *e);
42 QFontComboBox *fontButton;
43 ToolButtonBox *orientationBox;
46 #endif // SETTINGSWINDOW_H