diff --git a/transceiveradjustments.cpp b/transceiveradjustments.cpp new file mode 100644 index 0000000..30eb68f --- /dev/null +++ b/transceiveradjustments.cpp @@ -0,0 +1,14 @@ +#include "transceiveradjustments.h" +#include "ui_transceiveradjustments.h" + +transceiverAdjustments::transceiverAdjustments(QWidget *parent) : + QWidget(parent), + ui(new Ui::transceiverAdjustments) +{ + ui->setupUi(this); +} + +transceiverAdjustments::~transceiverAdjustments() +{ + delete ui; +} diff --git a/transceiveradjustments.h b/transceiveradjustments.h new file mode 100644 index 0000000..2eee158 --- /dev/null +++ b/transceiveradjustments.h @@ -0,0 +1,22 @@ +#ifndef TRANSCEIVERADJUSTMENTS_H +#define TRANSCEIVERADJUSTMENTS_H + +#include + +namespace Ui { +class transceiverAdjustments; +} + +class transceiverAdjustments : public QWidget +{ + Q_OBJECT + +public: + explicit transceiverAdjustments(QWidget *parent = 0); + ~transceiverAdjustments(); + +private: + Ui::transceiverAdjustments *ui; +}; + +#endif // TRANSCEIVERADJUSTMENTS_H diff --git a/transceiveradjustments.ui b/transceiveradjustments.ui new file mode 100644 index 0000000..9e8bb32 --- /dev/null +++ b/transceiveradjustments.ui @@ -0,0 +1,329 @@ + + + transceiverAdjustments + + + + 0 + 0 + 680 + 339 + + + + Form + + + + + + 10 + + + 10 + + + 10 + + + 10 + + + + + Transmitter + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Qt::Vertical + + + + + + + Comp + + + + + + + + + + + Qt::Vertical + + + + + + + + 0 + 23 + + + + Bass + + + + + + + + + + + Qt::Vertical + + + + + + + + 0 + 23 + + + + Trebble + + + + + + + + + + + Qt::Vertical + + + + + + + + 0 + 23 + + + + TBD + + + + + + + + + + + + Receiver + + + + + + + + Qt::Vertical + + + + + + + + 0 + 23 + + + + Bass + + + + + + + + + + + Qt::Vertical + + + + + + + + 0 + 23 + + + + Trebble + + + + + + + + + + + Qt::Vertical + + + + + + + IF Shift + + + + + + + + + + + Qt::Vertical + + + + + + + NR + + + + + + + + + + + Qt::Vertical + + + + + + + NB + + + + + + + + + + + Qt::Vertical + + + + + + + Notch + + + + + + + + + Bandwidth + + + + + + Low + + + + + + + + + + High + + + + + + + + + + Filter + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + + + + + + diff --git a/wfmain.cpp b/wfmain.cpp index a334f8f..d39be0d 100644 --- a/wfmain.cpp +++ b/wfmain.cpp @@ -2714,6 +2714,7 @@ void wfmain::receiveRigID(rigCapabilities rigCaps) this->rigCaps = rigCaps; rigName->setText(rigCaps.modelName); + setWindowTitle(rigCaps.modelName); this->spectWidth = rigCaps.spectLenMax; // used once haveRigCaps is true. haveRigCaps = true; // Added so that server receives rig capabilities. diff --git a/wfview.pro b/wfview.pro index 1e0aed9..912be3f 100644 --- a/wfview.pro +++ b/wfview.pro @@ -128,7 +128,8 @@ SOURCES += main.cpp\ resampler/resample.c \ repeatersetup.cpp \ rigctld.cpp \ - ring/ring.cpp + ring/ring.cpp \ + transceiveradjustments.cpp HEADERS += wfmain.h \ commhandler.h \ @@ -153,14 +154,16 @@ HEADERS += wfmain.h \ repeaterattributes.h \ rigctld.h \ ulaw.h \ - ring/ring.h + ring/ring.h \ + transceiveradjustments.h FORMS += wfmain.ui \ calibrationwindow.ui \ satellitesetup.ui \ udpserversetup.ui \ - repeatersetup.ui + repeatersetup.ui \ + transceiveradjustments.ui