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

Wyświetl plik

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