mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-07 23:43:42 +00:00
SCPI commands for saving/loading calibration files
This commit is contained in:
parent
e4106fe3a2
commit
09366d73cc
15 changed files with 110 additions and 36 deletions
|
|
@ -2,7 +2,7 @@
|
|||
#include "ui_medianfilterdialog.h"
|
||||
#include "ui_medianexplanationwidget.h"
|
||||
|
||||
#include <QMessageBox>
|
||||
#include "CustomWidgets/informationbox.h"
|
||||
|
||||
using namespace Math;
|
||||
using namespace std;
|
||||
|
|
@ -34,7 +34,7 @@ void MedianFilter::edit()
|
|||
|
||||
connect(ui->kernelSize, qOverload<int>(&QSpinBox::valueChanged), [=](int newval) {
|
||||
if((newval & 0x01) == 0) {
|
||||
QMessageBox::information(d, "Median filter", "Only odd values are allowed for the kernel size");
|
||||
InformationBox::ShowMessageBlocking("Median filter", "Only odd values are allowed for the kernel size");
|
||||
newval++;
|
||||
}
|
||||
ui->kernelSize->setValue(newval);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue