mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +00:00
Waterfall display
This commit is contained in:
parent
a7fcaf7d97
commit
5897705f32
18 changed files with 1706 additions and 902 deletions
|
|
@ -39,6 +39,7 @@ void TileWidget::clear()
|
|||
{
|
||||
if(hasContent) {
|
||||
delete content;
|
||||
content = nullptr;
|
||||
hasContent = false;
|
||||
}
|
||||
if(isSplit) {
|
||||
|
|
@ -99,11 +100,13 @@ void TileWidget::fromJSON(nlohmann::json j)
|
|||
content = new TraceSmithChart(model);
|
||||
} else if (plotname == "XY-plot"){
|
||||
content = new TraceXYPlot(model);
|
||||
} else {
|
||||
} else if (plotname == "Waterfall"){
|
||||
content = new TraceWaterfall(model);
|
||||
}
|
||||
setContent(content);
|
||||
content->fromJSON(j["plotsettings"]);
|
||||
if(content) {
|
||||
setContent(content);
|
||||
content->fromJSON(j["plotsettings"]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue