mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-03 16:01:18 -05:00
4fe7578f89
2. Added option to retain between QSOs the Comments field for ADIF and wsjtx logs. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3343 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
54 lines
982 B
C++
54 lines
982 B
C++
#ifndef LogQSO_H
|
|
#define LogQSO_H
|
|
|
|
#ifdef QT5
|
|
#include <QtWidgets>
|
|
#else
|
|
#include <QtGui>
|
|
#endif
|
|
|
|
namespace Ui {
|
|
class LogQSO;
|
|
}
|
|
|
|
class LogQSO : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit LogQSO(QWidget *parent = 0);
|
|
~LogQSO();
|
|
void initLogQSO(QString hisCall, QString hisGrid, QString mode,
|
|
QString rptSent, QString rptRcvd, QDateTime dateTime,
|
|
double dialFreq, QString myCall, QString myGrid,
|
|
bool noSuffix, bool toRTTY, bool dBtoComments);
|
|
|
|
double m_dialFreq;
|
|
|
|
bool m_saveTxPower;
|
|
bool m_saveComments;
|
|
|
|
QString m_myCall;
|
|
QString m_myGrid;
|
|
QString m_txPower;
|
|
QString m_comments;
|
|
|
|
QDateTime m_dateTime;
|
|
|
|
public slots:
|
|
void accept();
|
|
void reject();
|
|
|
|
signals:
|
|
void acceptQSO(bool accepted);
|
|
|
|
private slots:
|
|
void on_cbTxPower_toggled(bool checked);
|
|
void on_cbComments_toggled(bool checked);
|
|
|
|
private:
|
|
Ui::LogQSO *ui;
|
|
};
|
|
|
|
#endif // LogQSO_H
|