X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=settingswindow.h;h=6cf421fb9268c6d684cab5df6fe1db5b2209449c;hb=d651145f54a754e135df407c56dc114c80e2bd52;hp=581657eccbd1b66972029809cb79532f0ba73ff4;hpb=76446a14739779702a024d207be9fb52da36bd24;p=dorian diff --git a/settingswindow.h b/settingswindow.h index 581657e..6cf421f 100644 --- a/settingswindow.h +++ b/settingswindow.h @@ -1,13 +1,21 @@ #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 @@ -23,8 +31,17 @@ 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; + ToolButtonBox *orientationBox; }; #endif // SETTINGSWINDOW_H