mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-04-05 19:08:38 -04:00
Insert red line on waterfall to mark an FT4 transmission.
This commit is contained in:
parent
7da4fc63a6
commit
2e4035c8bb
@ -4036,7 +4036,8 @@ void MainWindow::stopTx2()
|
||||
on_stopTxButton_clicked ();
|
||||
m_nTx73 = 0;
|
||||
}
|
||||
if(m_mode.startsWith ("WSPR") and m_ntr==-1 and !m_tuneup) {
|
||||
if(((m_mode.startsWith("WSPR") and m_ntr==-1) or m_mode=="FT4") and
|
||||
!m_tuneup) {
|
||||
m_wideGraph->setWSPRtransmitted();
|
||||
WSPR_scheduling ();
|
||||
m_ntr=0;
|
||||
|
@ -166,7 +166,7 @@ void CPlotter::draw(float swide[], bool bScroll, bool bRed)
|
||||
|
||||
ymin=1.e30;
|
||||
if(swide[0]>1.e29 and swide[0]< 1.5e30) painter1.setPen(Qt::green);
|
||||
if(swide[0]>1.4e30) painter1.setPen(Qt::yellow);
|
||||
if(swide[0]>1.4e30) painter1.setPen(Qt::red);
|
||||
if(!m_bReplot) {
|
||||
m_j=0;
|
||||
int irow=-1;
|
||||
|
@ -187,7 +187,8 @@ void WideGraph::dataSink2(float s[], float df3, int ihsym, int ndiskdata) //dat
|
||||
// Time according to this computer
|
||||
qint64 ms = QDateTime::currentMSecsSinceEpoch() % 86400000;
|
||||
int ntr = (ms/1000) % m_TRperiod;
|
||||
if((ndiskdata && ihsym <= m_waterfallAvg) || (!ndiskdata && ntr<m_ntr0)) {
|
||||
if((ndiskdata && ihsym <= m_waterfallAvg) || (!ndiskdata &&
|
||||
(ntr<m_ntr0 || (m_mode=="FT4" and m_bHaveTransmitted)))) {
|
||||
float flagValue=1.0e30;
|
||||
if(m_bHaveTransmitted) flagValue=2.0e30;
|
||||
for(int i=0; i<MAX_SCREENSIZE; i++) {
|
||||
|
@ -108,7 +108,7 @@ private:
|
||||
|
||||
bool m_bFlatten;
|
||||
bool m_bRef;
|
||||
bool m_bHaveTransmitted; //Set true at end of a WSPR transmission
|
||||
bool m_bHaveTransmitted; //Set true at end of a WSPR or FT4 transmission
|
||||
|
||||
QString m_rxBand;
|
||||
QString m_mode;
|
||||
|
Loading…
Reference in New Issue
Block a user