mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-10-31 15:47:10 -04:00
8e43af11e5
These were discovered when running under teh valgrind MemCheck tool. I have also checked in a suppressions file (wsjtx-valgrind.linux.supp) suitable for use on Linux when running the valgrind MemCheck tool. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6755 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
34 lines
627 B
C++
34 lines
627 B
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&);
|
|
|
|
protected:
|
|
void closeEvent (QCloseEvent *) override;
|
|
|
|
private:
|
|
void read_settings ();
|
|
void write_settings ();
|
|
void setContentFont (QFont const&);
|
|
QSettings * settings_;
|
|
|
|
QScopedPointer<Ui::MessageAveraging> ui;
|
|
};
|
|
|
|
#endif // MESSAGEAVERAGING_H
|