From 76c5488983f876a2d139455074951fd2f6f367d2 Mon Sep 17 00:00:00 2001 From: Elliott Liggett Date: Fri, 5 Nov 2021 17:12:19 -0700 Subject: [PATCH] Changed IF/TPBF commands to be "unique priority" inserts. Added "more" button for extended transceiver controls. --- wfmain.cpp | 11 ++++++++--- wfmain.h | 2 ++ wfmain.ui | 16 ++++++++++++++++ 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/wfmain.cpp b/wfmain.cpp index 6afc3fa..94bc45a 100644 --- a/wfmain.cpp +++ b/wfmain.cpp @@ -812,15 +812,15 @@ void wfmain::setupMainUI() ); connect(this->trxadj, &transceiverAdjustments::setIFShift, - [=](const unsigned char &newValue) { issueCmd(cmdSetIFShift, newValue);} + [=](const unsigned char &newValue) { issueCmdUniquePriority(cmdSetIFShift, newValue);} ); connect(this->trxadj, &transceiverAdjustments::setTPBFInner, - [=](const unsigned char &newValue) { issueCmd(cmdSetTPBFInner, newValue);} + [=](const unsigned char &newValue) { issueCmdUniquePriority(cmdSetTPBFInner, newValue);} ); 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 --- void wfmain::on_debugBtn_clicked() { diff --git a/wfmain.h b/wfmain.h index ac66e8e..356ae9a 100644 --- a/wfmain.h +++ b/wfmain.h @@ -495,6 +495,8 @@ private slots: void on_rigctldPortTxt_editingFinished(); + void on_moreControlsBtn_clicked(); + private: Ui::wfmain *ui; void closeEvent(QCloseEvent *event); diff --git a/wfmain.ui b/wfmain.ui index 0194a6a..e129aac 100644 --- a/wfmain.ui +++ b/wfmain.ui @@ -465,6 +465,16 @@ + + + + Show additional controls + + + Show More + + + @@ -852,6 +862,9 @@ 50 + + Transmit and Receive button + Transmit @@ -885,6 +898,9 @@ + + Show the repeater tone and offset window + Repeater