diff options
| author | Christoph Berg <myon@debian.org> | 2019-04-29 22:08:59 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2019-04-29 22:08:59 +0200 |
| commit | b7238399ea4f1ca51d8f7b8f9220af3da0913edf (patch) | |
| tree | 9716c5c0a793b2f7cda83e9d8f840095a0e9358e /widgets/mainwindow.h | |
| parent | 200de07a95209a55d6019ba87f0abc78d302bf4c (diff) | |
New upstream version 2.1.0~rc5+repackupstream/2.1.0_rc5+repack
Diffstat (limited to 'widgets/mainwindow.h')
| -rw-r--r-- | widgets/mainwindow.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/widgets/mainwindow.h b/widgets/mainwindow.h index acabffe7..eada752b 100644 --- a/widgets/mainwindow.h +++ b/widgets/mainwindow.h @@ -46,9 +46,11 @@ #define NUM_MSK144_SYMBOLS 144 //s8 + d48 + s8 + d80 #define NUM_QRA64_SYMBOLS 84 //63 data + 21 sync #define NUM_FT8_SYMBOLS 79 +#define NUM_FT4_SYMBOLS 105 #define NUM_CW_SYMBOLS 250 #define TX_SAMPLE_RATE 48000 #define N_WIDGETS 33 +#define NRING 3456000 extern int volatile itone[NUM_ISCAT_SYMBOLS]; //Audio tones for all Tx symbols extern int volatile icw[NUM_CW_SYMBOLS]; //Dits for CW ID @@ -200,6 +202,7 @@ private slots: void on_actionJT65_triggered(); void on_actionJT9_JT65_triggered(); void on_actionJT4_triggered(); + void on_actionFT4_triggered(); void on_actionFT8_triggered(); void on_TxFreqSpinBox_valueChanged(int arg1); void on_actionSave_decoded_triggered(); @@ -309,6 +312,7 @@ private slots: void on_comboBoxHoundSort_activated (int index); void not_GA_warning_message (); void checkMSK144ContestType(); + void on_pbBestSP_clicked(); int setTxMsg(int n); bool stdCall(QString const& w); @@ -343,6 +347,7 @@ private: void hideMenus(bool b); void foxTest(); void setColorHighlighting(); + void chkFT4(); NetworkAccessManager m_network_manager; bool m_valid; @@ -461,6 +466,7 @@ private: qint32 m_tFoxTxSinceCQ=999; //Fox Tx cycles since most recent CQ qint32 m_nFoxFreq; //Audio freq at which Hound received a call from Fox qint32 m_nSentFoxRrpt=0; //Serial number for next R+rpt Hound will send to Fox + qint32 m_kin0=0; bool m_btxok; //True if OK to transmit bool m_diskData; @@ -515,6 +521,7 @@ private: bool m_bCheckedContest; bool m_bWarnedSplit=false; bool m_bTUmsg; + bool m_bBestSPArmed=false; enum { @@ -609,6 +616,8 @@ private: QString m_nextCall; QString m_nextGrid; QString m_fileDateTime; + QString m_inQSOwith; + QString m_BestCQpriority; QSet<QString> m_pfx; QSet<QString> m_sfx; @@ -627,12 +636,24 @@ private: QMap<QString,FoxQSO> m_foxQSO; //Key = HoundCall, value = parameters for QSO in progress QMap<QString,QString> m_loggedByFox; //Key = HoundCall, value = logged band + struct FixupQSO //Info for fixing Fox's log from file "FoxQSO.txt" + { + QString grid; //Hound's declared locator + QString sent; //Report sent to Hound + QString rcvd; //Report received from Hound + QDateTime QSO_time; + }; + QMap<QString,FixupQSO> m_fixupQSO; //Key = HoundCall, value = info for QSO in progress + QQueue<QString> m_houndQueue; //Selected Hounds available for starting a QSO QQueue<QString> m_foxQSOinProgress; //QSOs in progress: Fox has sent a report QQueue<qint64> m_foxRateQueue; QDateTime m_dateTimeQSOOn; QDateTime m_dateTimeLastTX; + QDateTime m_dateTimeSentTx3; + QDateTime m_dateTimeRcvdRR73; + QDateTime m_dateTimeBestSP; QSharedMemory *mem_jt9; QString m_QSOText; @@ -709,7 +730,7 @@ private: QString save_wave_file (QString const& name , short const * data - , int seconds + , int samples , QString const& my_callsign , QString const& my_grid , QString const& mode |
