Changed IF/TPBF commands to be "unique priority" inserts. Added "more"

button for extended transceiver controls.
merge-requests/7/head
Elliott Liggett 2021-11-05 17:12:19 -07:00
rodzic a9fb81d8f6
commit 76c5488983
3 zmienionych plików z 26 dodań i 3 usunięć

Wyświetl plik

@ -812,15 +812,15 @@ void wfmain::setupMainUI()
); );
connect(this->trxadj, &transceiverAdjustments::setIFShift, connect(this->trxadj, &transceiverAdjustments::setIFShift,
[=](const unsigned char &newValue) { issueCmd(cmdSetIFShift, newValue);} [=](const unsigned char &newValue) { issueCmdUniquePriority(cmdSetIFShift, newValue);}
); );
connect(this->trxadj, &transceiverAdjustments::setTPBFInner, connect(this->trxadj, &transceiverAdjustments::setTPBFInner,
[=](const unsigned char &newValue) { issueCmd(cmdSetTPBFInner, newValue);} [=](const unsigned char &newValue) { issueCmdUniquePriority(cmdSetTPBFInner, newValue);}
); );
connect(this->trxadj, &transceiverAdjustments::setTPBFOuter, connect(this->trxadj, &transceiverAdjustments::setTPBFOuter,
[=](const unsigned char &newValue) { issueCmd(cmdSetTPBFOuter, newValue);} [=](const unsigned char &newValue) { issueCmdUniquePriority(cmdSetTPBFOuter, newValue);}
); );
@ -5428,6 +5428,11 @@ void wfmain::on_rigctldPortTxt_editingFinished()
} }
} }
void wfmain::on_moreControlsBtn_clicked()
{
trxadj->show();
}
// --- DEBUG FUNCTION --- // --- DEBUG FUNCTION ---
void wfmain::on_debugBtn_clicked() void wfmain::on_debugBtn_clicked()
{ {

Wyświetl plik

@ -495,6 +495,8 @@ private slots:
void on_rigctldPortTxt_editingFinished(); void on_rigctldPortTxt_editingFinished();
void on_moreControlsBtn_clicked();
private: private:
Ui::wfmain *ui; Ui::wfmain *ui;
void closeEvent(QCloseEvent *event); void closeEvent(QCloseEvent *event);

Wyświetl plik

@ -465,6 +465,16 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QPushButton" name="moreControlsBtn">
<property name="toolTip">
<string>Show additional controls</string>
</property>
<property name="text">
<string>Show More</string>
</property>
</widget>
</item>
</layout> </layout>
</item> </item>
<item> <item>
@ -852,6 +862,9 @@
<height>50</height> <height>50</height>
</size> </size>
</property> </property>
<property name="toolTip">
<string>Transmit and Receive button</string>
</property>
<property name="text"> <property name="text">
<string>Transmit</string> <string>Transmit</string>
</property> </property>
@ -885,6 +898,9 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="rptSetupBtn"> <widget class="QPushButton" name="rptSetupBtn">
<property name="toolTip">
<string>Show the repeater tone and offset window</string>
</property>
<property name="text"> <property name="text">
<string>Repeater</string> <string>Repeater</string>
</property> </property>