SCPI commands for saving/loading calibration files

This commit is contained in:
Jan Käberich 2021-10-12 21:58:44 +02:00
parent e4106fe3a2
commit 09366d73cc
15 changed files with 110 additions and 36 deletions

View file

@ -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);