Added transceiver adjustment window show code, for the debug button only

currently.
merge-requests/5/head
Elliott Liggett 2021-07-05 23:56:24 -07:00
rodzic ea26eaf53b
commit e4fdf6058c
2 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -26,6 +26,7 @@ wfmain::wfmain(const QString serialPortCL, const QString hostCL, const QString s
cal = new calibrationWindow(); cal = new calibrationWindow();
rpt = new repeaterSetup(); rpt = new repeaterSetup();
sat = new satelliteSetup(); sat = new satelliteSetup();
trxadj = new transceiverAdjustments();
srv = new udpServerSetup(); srv = new udpServerSetup();
connect(this, SIGNAL(sendServerConfig(SERVERCONFIG)), srv, SLOT(receiveServerConfig(SERVERCONFIG))); connect(this, SIGNAL(sendServerConfig(SERVERCONFIG)), srv, SLOT(receiveServerConfig(SERVERCONFIG)));
@ -4993,8 +4994,6 @@ void wfmain::on_pollingBtn_clicked()
void wfmain::on_debugBtn_clicked() void wfmain::on_debugBtn_clicked()
{ {
qInfo(logSystem()) << "Debug button pressed."; qInfo(logSystem()) << "Debug button pressed.";
freqt f; trxadj->show();
f.Hz = 14290000;
issueCmd(cmdSetFreq, f);
} }

Wyświetl plik

@ -21,6 +21,7 @@
#include "calibrationwindow.h" #include "calibrationwindow.h"
#include "repeatersetup.h" #include "repeatersetup.h"
#include "satellitesetup.h" #include "satellitesetup.h"
#include "transceiveradjustments.h"
#include "udpserversetup.h" #include "udpserversetup.h"
#include "udpserver.h" #include "udpserver.h"
#include "qledlabel.h" #include "qledlabel.h"
@ -741,8 +742,10 @@ private:
calibrationWindow *cal; calibrationWindow *cal;
repeaterSetup *rpt; repeaterSetup *rpt;
satelliteSetup *sat; satelliteSetup *sat;
transceiverAdjustments *trxadj;
udpServerSetup *srv; udpServerSetup *srv;
udpServer* udp = Q_NULLPTR; udpServer* udp = Q_NULLPTR;
rigCtlD* rigCtl = Q_NULLPTR; rigCtlD* rigCtl = Q_NULLPTR;
QThread* serverThread = Q_NULLPTR; QThread* serverThread = Q_NULLPTR;