mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 13:48:42 -05:00
Remove the "Weak" checkbox from GUI, it's not implemented.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7994 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
0bc966c554
commit
79e63d782d
@ -956,7 +956,6 @@ void MainWindow::writeSettings()
|
||||
m_settings->setValue ("FreeText", ui->freeTextMsg->currentText ());
|
||||
m_settings->setValue("ShowMenus",ui->cbMenus->isChecked());
|
||||
m_settings->setValue("CallFirst",ui->cbFirst->isChecked());
|
||||
m_settings->setValue("CallWeak",ui->cbWeak->isChecked());
|
||||
m_settings->endGroup();
|
||||
|
||||
m_settings->beginGroup("Common");
|
||||
@ -1022,7 +1021,6 @@ void MainWindow::readSettings()
|
||||
m_settings->value ("FreeText").toString ());
|
||||
ui->cbMenus->setChecked(m_settings->value("ShowMenus",true).toBool());
|
||||
ui->cbFirst->setChecked(m_settings->value("CallFirst",true).toBool());
|
||||
ui->cbWeak->setChecked(m_settings->value("CallWeak",true).toBool());
|
||||
m_settings->endGroup();
|
||||
|
||||
// do this outside of settings group because it uses groups internally
|
||||
@ -4554,7 +4552,6 @@ void MainWindow::displayWidgets(int n)
|
||||
}
|
||||
ui->cbFirst->setVisible ("FT8" == m_mode);
|
||||
ui->actionEnable_AP->setVisible ("FT8" == m_mode);
|
||||
ui->cbWeak->setVisible(false);
|
||||
m_lastCallsign.clear (); // ensures Tx5 is updated for new modes
|
||||
genStdMsgs (m_rpt, true);
|
||||
}
|
||||
@ -6718,19 +6715,12 @@ void MainWindow::on_cbMenus_toggled(bool b)
|
||||
void MainWindow::on_cbFirst_toggled(bool b)
|
||||
{
|
||||
if (b) {
|
||||
ui->cbWeak->setChecked (!b);
|
||||
if (m_auto && CALLING == m_QSOProgress) {
|
||||
ui->cbFirst->setStyleSheet ("QCheckBox{color:red}");
|
||||
}
|
||||
} else {
|
||||
ui->cbFirst->setStyleSheet ("");
|
||||
}
|
||||
else {
|
||||
ui->cbFirst->setStyleSheet ("");
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::on_cbWeak_toggled(bool b)
|
||||
{
|
||||
if(b) ui->cbFirst->setChecked(!b);
|
||||
}
|
||||
|
||||
void MainWindow::on_cbAutoSeq_toggled(bool b)
|
||||
|
@ -244,7 +244,6 @@ private slots:
|
||||
void on_cbTx6_toggled(bool b);
|
||||
void on_cbMenus_toggled(bool b);
|
||||
void on_cbFirst_toggled(bool b);
|
||||
void on_cbWeak_toggled(bool b);
|
||||
void on_cbAutoSeq_toggled(bool b);
|
||||
void networkError (QString const&);
|
||||
void on_ClrAvgButton_clicked();
|
||||
|
@ -761,16 +761,6 @@ QLabel[oob="true"] {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="cbWeak">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Call the weakest decoded responder to my CQ.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Weak</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="cbTx6">
|
||||
<property name="enabled">
|
||||
@ -975,7 +965,7 @@ QLabel[oob="true"] {
|
||||
<item row="1" column="0">
|
||||
<widget class="QCheckBox" name="txFirstCheckBox">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Check to Tx in even periods, uncheck for odd periods</p></body></html></string>
|
||||
<string><html><head/><body><p>Check to Tx in even-numbered minutes or sequences, starting at 0; uncheck for odd sequences.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Tx even/1st</string>
|
||||
|
Loading…
Reference in New Issue
Block a user