WSJT-X/messageaveraging.h

36 lines
669 B
C
Raw Normal View History

#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&);
void foxLogSetup();
protected:
void closeEvent (QCloseEvent *) override;
private:
void read_settings ();
void write_settings ();
void setContentFont (QFont const&);
QSettings * settings_;
QString m_title_;
QScopedPointer<Ui::MessageAveraging> ui;
};
#endif // MESSAGEAVERAGING_H