mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 23:13:43 +00:00
Contant lines/limits on XY-Plot
This commit is contained in:
parent
cacea26e3f
commit
27490e1a33
14 changed files with 201 additions and 33 deletions
|
|
@ -110,6 +110,18 @@ void TileWidget::fromJSON(nlohmann::json j)
|
|||
}
|
||||
}
|
||||
|
||||
bool TileWidget::allLimitsPassing()
|
||||
{
|
||||
if(isSplit) {
|
||||
return child1->allLimitsPassing() && child2->allLimitsPassing();
|
||||
} else if(hasContent) {
|
||||
return content->getLimitPassing();
|
||||
} else {
|
||||
// empty tile always passes
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
void TileWidget::splitVertically()
|
||||
{
|
||||
if(isSplit) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue