mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 21:58:38 -05:00
Bright red label to flag Fox, Hound, or use of new 77-bit message styles.
This commit is contained in:
parent
340e0f9290
commit
b252c11815
@ -1960,6 +1960,7 @@ void Configuration::impl::accept ()
|
||||
twoPass_ = ui_->cbTwoPass->isChecked ();
|
||||
bFox_ = ui_->cbFox->isChecked ();
|
||||
bHound_ = ui_->cbHound->isChecked ();
|
||||
if(bFox_ or bHound_) ui_->rbNone->setChecked(true); //###
|
||||
bGenerate77_ = ui_->cbGenerate77->isChecked();
|
||||
bDecode77_ = ui_->cbDecode77->isChecked();
|
||||
bNoSpecial_ = ui_->rbNone->isChecked ();
|
||||
@ -2453,12 +2454,18 @@ void Configuration::impl::on_calibration_slope_ppm_spin_box_valueChanged (double
|
||||
|
||||
void Configuration::impl::on_cbFox_clicked (bool checked)
|
||||
{
|
||||
if (checked) ui_->cbHound->setChecked (false);
|
||||
if(checked) {
|
||||
ui_->cbHound->setChecked (false);
|
||||
ui_->rbNone->setChecked(true);
|
||||
}
|
||||
}
|
||||
|
||||
void Configuration::impl::on_cbHound_clicked (bool checked)
|
||||
{
|
||||
if (checked) ui_->cbFox->setChecked (false);
|
||||
if(checked) {
|
||||
ui_->cbFox->setChecked (false);
|
||||
ui_->rbNone->setChecked(true);
|
||||
}
|
||||
}
|
||||
|
||||
void Configuration::impl::on_cbx2ToneSpacing_clicked(bool b)
|
||||
|
@ -718,6 +718,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
||||
m_msg[0][0]=0;
|
||||
m_bQRAsyncWarned=false;
|
||||
ui->labDXped->setVisible(false);
|
||||
ui->labDXped->setStyleSheet("QLabel {background-color: red; color: white;}");
|
||||
|
||||
for(int i=0; i<28; i++) { //Initialize dBm values
|
||||
float dbm=(10.0*i)/3.0 - 30.0;
|
||||
@ -5181,17 +5182,19 @@ void MainWindow::on_actionFT8_triggered()
|
||||
ui->txb6->setEnabled(false);
|
||||
}
|
||||
|
||||
QString t0="";
|
||||
if(m_config.bEU_VHF_Contest()) t0="EU VHF";
|
||||
if(m_config.bNA_VHF_Contest()) t0="NA VHF";
|
||||
if(m_config.bFieldDay()) t0="FD";
|
||||
if(m_config.bRTTYroundup()) t0=="RTTY";
|
||||
if(m_config.bGenerate77()) t0+=" 2";
|
||||
if(t0=="") {
|
||||
ui->labDXped->setVisible(false);
|
||||
} else {
|
||||
ui->labDXped->setVisible(true);
|
||||
ui->labDXped->setText("*** " + t0 + " ***");
|
||||
if(!m_config.bFox() and !m_config.bHound()) {
|
||||
QString t0="";
|
||||
if(m_config.bEU_VHF_Contest()) t0="EU VHF";
|
||||
if(m_config.bNA_VHF_Contest()) t0="NA VHF";
|
||||
if(m_config.bFieldDay()) t0="FD";
|
||||
if(m_config.bRTTYroundup()) t0=="RTTY";
|
||||
if(m_config.bGenerate77()) t0+=" 2";
|
||||
if(t0=="") {
|
||||
ui->labDXped->setVisible(false);
|
||||
} else {
|
||||
ui->labDXped->setVisible(true);
|
||||
ui->labDXped->setText(t0);
|
||||
}
|
||||
}
|
||||
|
||||
if((m_config.bFox() or m_config.bHound()) and !m_config.split_mode() and !m_bWarnedSplit) {
|
||||
|
@ -872,9 +872,24 @@ QLabel[oob="true"] {
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_15">
|
||||
<item>
|
||||
<widget class="QLabel" name="labDXped">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Fox</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
Loading…
Reference in New Issue
Block a user