Minor cleanup of RoundRobin control.

This commit is contained in:
Joe Taylor 2020-07-03 14:17:13 -04:00
parent 4a0b7b3a1d
commit d4bf73df84
3 changed files with 12 additions and 1 deletions

View File

@ -5574,6 +5574,12 @@ void MainWindow::on_tx6_editingFinished() //tx6 edited
msgtype(t, ui->tx6);
}
void MainWindow::on_RoundRobin_currentTextChanged(QString text)
{
ui->sbTxPercent->setEnabled(text=="Random");
}
void MainWindow::on_dxCallEntry_textChanged (QString const& call)
{
m_hisCall = call;
@ -6465,7 +6471,8 @@ void MainWindow::WSPR_config(bool b)
ui->logQSOButton->setVisible(!b);
ui->DecodeButton->setEnabled(!b);
ui->band_hopping_group_box->setVisible(true);
ui->RoundRobin->setVisible(b and (m_mode=="FST240W"));
ui->RoundRobin->setVisible(m_mode=="FST240W");
ui->RoundRobin->lineEdit()->setAlignment(Qt::AlignCenter);
if(b and m_mode!="Echo" and m_mode!="FST240W") {
QString t="UTC dB DT Freq Drift Call Grid dBm ";
if(m_config.miles()) t += " mi";

View File

@ -316,6 +316,7 @@ private slots:
void not_GA_warning_message ();
void checkMSK144ContestType();
void on_pbBestSP_clicked();
void on_RoundRobin_currentTextChanged(QString text);
int setTxMsg(int n);
bool stdCall(QString const& w);
void remote_configure (QString const& mode, quint32 frequency_tolerance, QString const& submode

View File

@ -2633,6 +2633,9 @@ list. The list can be maintained in Settings (F2).</string>
</item>
<item>
<widget class="QComboBox" name="RoundRobin">
<property name="editable">
<bool>true</bool>
</property>
<property name="currentIndex">
<number>0</number>
</property>