-
Notifications
You must be signed in to change notification settings - Fork 0
/
logdialog.h
44 lines (37 loc) · 994 Bytes
/
logdialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef LOGDIALOG_H
#define LOGDIALOG_H
#include <QDialog>
#include <QFile>
namespace Ui {
class LogDialog;
}
class LogDialog : public QDialog
{
Q_OBJECT
public:
explicit LogDialog(QWidget *parent = nullptr);
~LogDialog();
void setCurrentValues();
signals:
void logSaved(QString logline);
public slots:
void setOtherCall(const QString call);
void setOpName(const QString op);
void setMode(const QString mode);
void setFrequency(const QString freq);
void setPower(const int power);
void setRemoteLoc(const QString remote);
void setSentReport(const QString sent);
void setRecdReport(const QString recd);
private slots:
void on_logSaveButton_clicked();
void on_logClearButton_clicked();
void on_closeButton_clicked();
private:
Ui::LogDialog *ui;
const QString DELIM = ",";
QFile logfile;
bool b_keepPower = true;
bool b_keepFreq = true;
};
#endif // LOGDIALOG_H