kopia lustrzana https://github.com/PianetaRadio/CatRadio
rodzic
fa5a12f0f3
commit
7539f8d9c6
|
@ -8,8 +8,9 @@ CatRadio
|
|||
+ Repeater shift offset
|
||||
+ DCS code and squelch
|
||||
+ COM port list in the communication config dialog
|
||||
* Bug fix: address the proper VFO red during Tx
|
||||
* Bug correction: IF shift slider now correctly updated
|
||||
* Bug correction: CW/FM tab autofocus freeze
|
||||
* Bug fix: CW/FM tab autofocus freeze
|
||||
|
||||
1.1.1 - 2022-03-19
|
||||
* VFO operations: check rig caps before perform VFO operations
|
||||
|
|
|
@ -421,16 +421,20 @@ void MainWindow::guiUpdate()
|
|||
if (rigGet.ptt == RIG_PTT_ON)
|
||||
{
|
||||
ui->pushButton_PTT->setChecked(true);
|
||||
ui->label_vfoMain->setStyleSheet("QLabel {background-color: red}");
|
||||
|
||||
if (rigGet.vfoTx == rigGet.vfoSub) ui->label_vfoSub->setStyleSheet("QLabel {background-color: red}");
|
||||
else ui->label_vfoMain->setStyleSheet("QLabel {background-color: red}");
|
||||
|
||||
ui->progressBar_Smeter->setTx(true);
|
||||
ui->progressBar_Smeter->setValue(rigGet.powerMeter.f*100);
|
||||
ui->progressBar_subMeter->setValue(rigGet.subMeter.f);
|
||||
}
|
||||
else
|
||||
else //RIG_PTT_OFF
|
||||
{
|
||||
ui->pushButton_PTT->setChecked(false);
|
||||
ui->label_vfoMain->setStyleSheet("QLabel {}");
|
||||
|
||||
if (rigGet.vfoTx == rigGet.vfoSub) ui->label_vfoSub->setStyleSheet("QLabel {}");
|
||||
else ui->label_vfoMain->setStyleSheet("QLabel {}");
|
||||
|
||||
ui->progressBar_Smeter->setTx(false);
|
||||
ui->progressBar_Smeter->setValue(rigGet.sMeter.i);
|
||||
|
|
Ładowanie…
Reference in New Issue