diff options
| author | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
| commit | e0737c56c1e384e05064a0c6e1ac46979371041b (patch) | |
| tree | a0123d694a2d36c43dabdf0a3907392fce11d457 /widgets/messageaveraging.h | |
| parent | b4aebf2d137b892f53503b13785ecae900062ff7 (diff) | |
New upstream version 2.0.0+repackupstream/2.0.0+repack
Diffstat (limited to 'widgets/messageaveraging.h')
| -rw-r--r-- | widgets/messageaveraging.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/widgets/messageaveraging.h b/widgets/messageaveraging.h new file mode 100644 index 00000000..4a8556b2 --- /dev/null +++ b/widgets/messageaveraging.h @@ -0,0 +1,32 @@ +// -*- Mode: C++ -*- +#ifndef MESSAGEAVERAGING_H_ +#define MESSAGEAVERAGING_H_ + +#include <QWidget> + +class QSettings; +class QFont; + +namespace Ui { + class MessageAveraging; +} + +class MessageAveraging + : public QWidget +{ +public: + explicit MessageAveraging(QSettings *, QFont const&, QWidget * parent = 0); + ~MessageAveraging(); + void displayAvg(QString const&); + void changeFont (QFont const&); + +private: + void read_settings (); + void write_settings (); + void setContentFont (QFont const&); + QSettings * settings_; + + QScopedPointer<Ui::MessageAveraging> ui; +}; + +#endif |
