mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 06:25:16 +00:00
proof-of-concept spectrum analyzer mode
This commit is contained in:
parent
76875c2316
commit
38e73365df
33 changed files with 942 additions and 82 deletions
|
|
@ -85,9 +85,6 @@ VNA::VNA(AppWindow *window)
|
|||
central->Child2()->Child1()->setPlot(tracebode2);
|
||||
central->Child2()->Child2()->setPlot(tracesmith2);
|
||||
|
||||
// central widget is constructed, mode can be finalized
|
||||
finalize(central);
|
||||
|
||||
// Create menu entries and connections
|
||||
auto calMenu = new QMenu("Calibration");
|
||||
window->menuBar()->insertMenu(window->getUi()->menuWindow->menuAction(), calMenu);
|
||||
|
|
@ -437,6 +434,16 @@ VNA::VNA(AppWindow *window)
|
|||
SetIFBandwidth(pref.Startup.DefaultSweep.bandwidth);
|
||||
SetPoints(pref.Startup.DefaultSweep.points);
|
||||
}
|
||||
|
||||
// Set ObjectName for toolbars and docks
|
||||
for(auto d : findChildren<QDockWidget*>()) {
|
||||
d->setObjectName(d->windowTitle());
|
||||
}
|
||||
for(auto t : findChildren<QToolBar*>()) {
|
||||
t->setObjectName(t->windowTitle());
|
||||
}
|
||||
|
||||
finalize(central);
|
||||
}
|
||||
|
||||
void VNA::deactivate()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue