mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 23:13:43 +00:00
new setting: chose pass/fail for limit checking of NaN/inf values
This commit is contained in:
parent
64a7ddc455
commit
69b2fac95f
4 changed files with 53 additions and 21 deletions
|
|
@ -274,6 +274,7 @@ void PreferencesDialog::setInitialGUIState()
|
|||
ui->GraphsColorTicksBackground->setColor(p->Graphs.Color.Ticks.Background.background);
|
||||
ui->GraphsDomainChangeBehavior->setCurrentIndex((int) p->Graphs.domainChangeBehavior);
|
||||
ui->GraphsLimitIndication->setCurrentIndex((int) p->Graphs.limitIndication);
|
||||
ui->GraphsLimitNaNpasses->setCurrentIndex(p->Graphs.limitNaNpasses ? 1 : 0);
|
||||
ui->GraphsLineWidth->setValue(p->Graphs.lineWidth);
|
||||
ui->GraphsFontSizeAxis->setValue(p->Graphs.fontSizeAxis);
|
||||
ui->GraphsFontSizeCursorOverlay->setValue(p->Graphs.fontSizeCursorOverlay);
|
||||
|
|
@ -388,6 +389,7 @@ void PreferencesDialog::updateFromGUI()
|
|||
p->Graphs.Color.Ticks.divisions = ui->GraphsColorTicksDivisions->getColor();
|
||||
p->Graphs.domainChangeBehavior = (GraphDomainChangeBehavior) ui->GraphsDomainChangeBehavior->currentIndex();
|
||||
p->Graphs.limitIndication = (GraphLimitIndication) ui->GraphsLimitIndication->currentIndex();
|
||||
p->Graphs.limitNaNpasses = ui->GraphsLimitNaNpasses->currentIndex() == 1;
|
||||
p->Graphs.lineWidth = ui->GraphsLineWidth->value();
|
||||
p->Graphs.fontSizeAxis = ui->GraphsFontSizeAxis->value();
|
||||
p->Graphs.fontSizeCursorOverlay = ui->GraphsFontSizeCursorOverlay->value();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue