projects
/
dorian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix downloading several books. Update version.
[dorian]
/
settingswindow.h
diff --git
a/settingswindow.h
b/settingswindow.h
index
581657e
..
6cf421f
100644
(file)
--- a/
settingswindow.h
+++ b/
settingswindow.h
@@
-1,13
+1,21
@@
#ifndef SETTINGSWINDOW_H
#define SETTINGSWINDOW_H
#ifndef SETTINGSWINDOW_H
#define SETTINGSWINDOW_H
-#include <QMainWindow>
+#include <QLabel>
+#include <QSlider>
+
+#include "adopterwindow.h"
class QPushButton;
class QFontComboBox;
class QFont;
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
{
Q_OBJECT
@@
-23,8
+31,17
@@
public slots:
void onCurrentFontChanged(const QFont &);
void onSchemeButtonClicked(int id);
void onOrientationButtonClicked(int id);
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:
private:
+ QSlider *zoomSlider;
+ QLabel *zoomLabel;
+ QFontComboBox *fontButton;
+ ToolButtonBox *orientationBox;
};
#endif // SETTINGSWINDOW_H
};
#endif // SETTINGSWINDOW_H