kopia lustrzana https://gitlab.com/eliggett/wfview
Added "only available in FM" repeater setup warning.
rodzic
4411c1480e
commit
bbcc0e4842
|
@ -8,7 +8,7 @@ repeaterSetup::repeaterSetup(QWidget *parent) :
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|
||||||
ui->autoTrackLiveBtn->setEnabled(false); // until we set split enabled.
|
ui->autoTrackLiveBtn->setEnabled(false); // until we set split enabled.
|
||||||
|
ui->warningFMLabel->setVisible(false);
|
||||||
// populate the CTCSS combo box:
|
// populate the CTCSS combo box:
|
||||||
populateTones();
|
populateTones();
|
||||||
|
|
||||||
|
@ -414,6 +414,10 @@ void repeaterSetup::handleUpdateCurrentMainMode(mode_info m)
|
||||||
this->currentModeMain = m;
|
this->currentModeMain = m;
|
||||||
this->modeTransmitVFO = m;
|
this->modeTransmitVFO = m;
|
||||||
this->modeTransmitVFO.VFO = inactiveVFO;
|
this->modeTransmitVFO.VFO = inactiveVFO;
|
||||||
|
if(m.mk == modeFM)
|
||||||
|
ui->warningFMLabel->setVisible(false);
|
||||||
|
else
|
||||||
|
ui->warningFMLabel->setVisible(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -395,6 +395,13 @@
|
||||||
<string>Repeater Tone Type</string>
|
<string>Repeater Tone Type</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="warningFMLabel">
|
||||||
|
<property name="text">
|
||||||
|
<string>Only available in FM</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QRadioButton" name="toneNone">
|
<widget class="QRadioButton" name="toneNone">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
|
Ładowanie…
Reference in New Issue