mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-16 12:42:28 -04:00
Remove "WSPR-LF" from Mode menu. Another try at getting the "Call First" logic right.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7834 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
407eb2c514
commit
16a6a0df97
@ -2724,7 +2724,6 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
|
|
||||||
if(m_mode=="FT8") {
|
if(m_mode=="FT8") {
|
||||||
int i1=decodedtext.string().indexOf(" "+m_baseCall+" ");
|
int i1=decodedtext.string().indexOf(" "+m_baseCall+" ");
|
||||||
// m_bCallingCQ=true;
|
|
||||||
if(m_bCallingCQ and i1>0 and ui->cbFirst->isChecked()) {
|
if(m_bCallingCQ and i1>0 and ui->cbFirst->isChecked()) {
|
||||||
// int snr=decodedtext.string().mid(6,4).toInt();
|
// int snr=decodedtext.string().mid(6,4).toInt();
|
||||||
m_bDoubleClicked=true;
|
m_bDoubleClicked=true;
|
||||||
@ -2733,12 +2732,12 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
} else {
|
} else {
|
||||||
int audioFreq=decodedtext.frequencyOffset();
|
int audioFreq=decodedtext.frequencyOffset();
|
||||||
audioFreq=decodedtext.string().mid(16,4).toInt();
|
audioFreq=decodedtext.string().mid(16,4).toInt();
|
||||||
if(!m_config.enable_VHF_features() and
|
if(i1>0 or (abs(audioFreq - m_wideGraph->rxFreq()) <= 10)) bDisplayRight=true;
|
||||||
(abs(audioFreq - m_wideGraph->rxFreq()) <= 10)) bDisplayRight=true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (bDisplayRight) {
|
if (bDisplayRight) {
|
||||||
// This msg is within 10 hertz of our tuned frequency, or a JT4 or JT65 avg
|
// This msg is within 10 hertz of our tuned frequency, or a JT4 or JT65 avg,
|
||||||
|
// or contains MyCall
|
||||||
ui->decodedTextBrowser2->displayDecodedText(decodedtext,m_baseCall,false,
|
ui->decodedTextBrowser2->displayDecodedText(decodedtext,m_baseCall,false,
|
||||||
m_logBook,m_config.color_CQ(),m_config.color_MyCall(),
|
m_logBook,m_config.color_CQ(),m_config.color_MyCall(),
|
||||||
m_config.color_DXCC(),m_config.color_NewCall());
|
m_config.color_DXCC(),m_config.color_NewCall());
|
||||||
@ -3108,7 +3107,6 @@ void MainWindow::guiUpdate()
|
|||||||
&& !message_is_73 (m_lastMessageType, m_lastMessageSent.split (' ', QString::SkipEmptyParts));
|
&& !message_is_73 (m_lastMessageType, m_lastMessageSent.split (' ', QString::SkipEmptyParts));
|
||||||
if (m_sentFirst73) {
|
if (m_sentFirst73) {
|
||||||
m_qsoStop=t2;
|
m_qsoStop=t2;
|
||||||
// if(m_config.id_after_73 () and (!m_bFastMode)) {
|
|
||||||
if(m_config.id_after_73 ()) {
|
if(m_config.id_after_73 ()) {
|
||||||
icw[0] = m_ncw;
|
icw[0] = m_ncw;
|
||||||
}
|
}
|
||||||
@ -3116,8 +3114,13 @@ void MainWindow::guiUpdate()
|
|||||||
logQSOTimer.start (0);
|
logQSOTimer.start (0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (is_73 && m_config.disable_TX_on_73 ()) {
|
bool b=(m_mode=="FT8") and ui->cbAutoSeq->isChecked() and ui->cbFirst->isChecked();
|
||||||
|
if(is_73 and (m_config.disable_TX_on_73() or b)) {
|
||||||
auto_tx_mode (false);
|
auto_tx_mode (false);
|
||||||
|
if(b) {
|
||||||
|
m_ntx=6;
|
||||||
|
ui->txrb6->setChecked(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(m_config.id_interval () >0) {
|
if(m_config.id_interval () >0) {
|
||||||
@ -4323,14 +4326,9 @@ void MainWindow::displayWidgets(int n)
|
|||||||
}
|
}
|
||||||
j=j>>1;
|
j=j>>1;
|
||||||
}
|
}
|
||||||
if(m_config.my_callsign()=="K1JT" or m_config.my_callsign()=="K9AN" or
|
b=m_mode=="FT8";
|
||||||
m_config.my_callsign()=="G4WJS" || m_config.my_callsign () == "KI7MT") {
|
ui->cbFirst->setVisible(b);
|
||||||
ui->actionWSPR_LF->setEnabled(true);
|
ui->cbWeak->setVisible(false);
|
||||||
b=m_mode=="FT8";
|
|
||||||
ui->cbFirst->setVisible(b);
|
|
||||||
ui->cbWeak->setVisible(b);
|
|
||||||
ui->cbWeak->setEnabled(false);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_actionFT8_triggered()
|
void MainWindow::on_actionFT8_triggered()
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>872</width>
|
<width>876</width>
|
||||||
<height>583</height>
|
<height>583</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@ -2367,7 +2367,7 @@ QPushButton[state="ok"] {
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>872</width>
|
<width>876</width>
|
||||||
<height>21</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@ -2996,6 +2996,9 @@ QPushButton[state="ok"] {
|
|||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Experimental LF/MF mode</string>
|
<string>Experimental LF/MF mode</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="visible">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionFT8">
|
<action name="actionFT8">
|
||||||
<property name="checkable">
|
<property name="checkable">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user