X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=settingswindow.h;h=c3f52326917257c7aa02b15532d55485ea11c95f;hb=7c53414daec98fecb63ea234d54c428aefd587ac;hp=581657eccbd1b66972029809cb79532f0ba73ff4;hpb=76446a14739779702a024d207be9fb52da36bd24;p=dorian diff --git a/settingswindow.h b/settingswindow.h index 581657e..c3f5232 100644 --- a/settingswindow.h +++ b/settingswindow.h @@ -1,19 +1,27 @@ #ifndef SETTINGSWINDOW_H #define SETTINGSWINDOW_H -#include +#include +#include + +#include "adopterwindow.h" class QPushButton; class QFontComboBox; class QFont; +class QSlider; +class QFontComboBox; +class QLabel; +class ToolButtonBox; -class SettingsWindow: public QMainWindow +/** Display settings. */ +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: @@ -23,8 +31,16 @@ public slots: void onCurrentFontChanged(const QFont &); void onSchemeButtonClicked(int id); void onOrientationButtonClicked(int id); + void onLightsToggled(bool enable); + void onGrabVolumeToggled(bool enable); + +protected: + void closeEvent(QCloseEvent *e); private: + QSlider *zoomSlider; + QLabel *zoomLabel; + QFontComboBox *fontButton; }; #endif // SETTINGSWINDOW_H