mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +00:00
Shortcuts for adding/removing plots
This commit is contained in:
parent
59f3057dd9
commit
ccb71f9650
16 changed files with 397 additions and 71 deletions
|
|
@ -214,6 +214,14 @@ void TileWidget::setPlot(TracePlot *plot)
|
|||
}
|
||||
}
|
||||
|
||||
void TileWidget::removePlot()
|
||||
{
|
||||
if(hasContent) {
|
||||
content->setParentTile(nullptr);
|
||||
removeContent();
|
||||
}
|
||||
}
|
||||
|
||||
TileWidget::TileWidget(TraceModel &model, TileWidget &parent)
|
||||
: TileWidget(model)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue