mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-10 17:03:41 +00:00
moved USB/packet log into LibreVNA driver, cleanup old device class
This commit is contained in:
parent
9e858feeba
commit
9b5bb1678c
26 changed files with 147 additions and 1955 deletions
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include "unit.h"
|
||||
#include "CustomWidgets/toggleswitch.h"
|
||||
#include "Device/deviceusblogview.h"
|
||||
#include "Traces/tracemodel.h"
|
||||
#include "Traces/tracewidget.h"
|
||||
#include "Traces/tracesmithchart.h"
|
||||
|
|
@ -232,13 +231,6 @@ void AppWindow::SetupMenu()
|
|||
modeHandler->getActiveMode()->saveSreenshot();
|
||||
});
|
||||
|
||||
// connect(ui->actionManual_Control, &QAction::triggered, this, &AppWindow::StartManualControl);
|
||||
connect(ui->actionDevice_log, &QAction::triggered, this, &AppWindow::ShowDeviceLog);
|
||||
// connect(ui->actionFirmware_Update, &QAction::triggered, this, &AppWindow::StartFirmwareUpdateDialog);
|
||||
// connect(ui->actionSource_Calibration, &QAction::triggered, this, &AppWindow::SourceCalibrationDialog);
|
||||
// connect(ui->actionReceiver_Calibration, &QAction::triggered, this, &AppWindow::ReceiverCalibrationDialog);
|
||||
// connect(ui->actionFrequency_Calibration, &QAction::triggered, this, &AppWindow::FrequencyCalibrationDialog);
|
||||
|
||||
connect(ui->actionPreset, &QAction::triggered, [=](){
|
||||
modeHandler->getActiveMode()->preset();
|
||||
});
|
||||
|
|
@ -1080,14 +1072,6 @@ void AppWindow::UpdateReference()
|
|||
device->setExtRef(toolbars.reference.type->currentText(), toolbars.reference.outFreq->currentText());
|
||||
}
|
||||
|
||||
void AppWindow::ShowDeviceLog()
|
||||
{
|
||||
auto d = new DeviceUSBLogView();
|
||||
if(AppWindow::showGUI()) {
|
||||
d->exec();
|
||||
}
|
||||
}
|
||||
|
||||
//void AppWindow::DeviceNeedsUpdate(int reported, int expected)
|
||||
//{
|
||||
// auto ret = InformationBox::AskQuestion("Warning",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue