2023-09-06 17:28:35 +02:00
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'dialoglinearity.ui'
|
|
|
|
**
|
2023-09-07 09:58:05 +02:00
|
|
|
** Created by: Qt User Interface Compiler version 6.5.2
|
2023-09-06 17:28:35 +02:00
|
|
|
**
|
|
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef UI_DIALOGLINEARITY_H
|
|
|
|
#define UI_DIALOGLINEARITY_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2023-09-07 09:58:05 +02:00
|
|
|
#include <QtWidgets/QAbstractButton>
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QDialog>
|
|
|
|
#include <QtWidgets/QDialogButtonBox>
|
|
|
|
#include <QtWidgets/QDoubleSpinBox>
|
|
|
|
#include <QtWidgets/QGridLayout>
|
|
|
|
#include <QtWidgets/QHBoxLayout>
|
|
|
|
#include <QtWidgets/QLabel>
|
|
|
|
#include <QtWidgets/QPushButton>
|
|
|
|
#include <QtWidgets/QSpacerItem>
|
|
|
|
#include <QtWidgets/QSpinBox>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
|
|
|
#include <QtWidgets/QWidget>
|
2023-09-06 17:28:35 +02:00
|
|
|
#include "qcustomplot.h"
|
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_DialogLinearity
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QDialogButtonBox *buttonBox;
|
|
|
|
QWidget *horizontalLayoutWidget;
|
|
|
|
QHBoxLayout *horizontalLayout;
|
|
|
|
QVBoxLayout *verticalLayout;
|
|
|
|
QLabel *label;
|
|
|
|
QGridLayout *gridLayout;
|
|
|
|
QSpacerItem *verticalSpacer_2;
|
|
|
|
QLabel *label_5;
|
|
|
|
QLabel *label_8;
|
|
|
|
QSpinBox *spinDelay;
|
|
|
|
QLabel *label_9;
|
|
|
|
QLabel *label_7;
|
|
|
|
QLabel *label_6;
|
|
|
|
QLabel *label_10;
|
|
|
|
QSpinBox *spinAcquisitions;
|
|
|
|
QLabel *label_3;
|
|
|
|
QDoubleSpinBox *doubleSpinVend;
|
|
|
|
QDoubleSpinBox *doubleSpinVstart;
|
|
|
|
QLabel *label_2;
|
|
|
|
QLabel *label_4;
|
|
|
|
QDoubleSpinBox *doubleSpinVinc;
|
|
|
|
QLabel *label_11;
|
|
|
|
QSpinBox *spinPLotDecimation;
|
|
|
|
QSpacerItem *verticalSpacer_3;
|
|
|
|
QPushButton *pushRun;
|
|
|
|
QPushButton *pushSave;
|
|
|
|
QSpacerItem *verticalSpacer;
|
|
|
|
QVBoxLayout *verticalLayout_3;
|
|
|
|
QLabel *label_12;
|
|
|
|
QCustomPlot *plotResultsMean;
|
|
|
|
QLabel *label_13;
|
|
|
|
QCustomPlot *plotResultsStd;
|
|
|
|
|
|
|
|
void setupUi(QDialog *DialogLinearity)
|
|
|
|
{
|
|
|
|
if (DialogLinearity->objectName().isEmpty())
|
2023-09-07 09:58:05 +02:00
|
|
|
DialogLinearity->setObjectName("DialogLinearity");
|
2023-09-06 17:28:35 +02:00
|
|
|
DialogLinearity->resize(844, 632);
|
|
|
|
buttonBox = new QDialogButtonBox(DialogLinearity);
|
2023-09-07 09:58:05 +02:00
|
|
|
buttonBox->setObjectName("buttonBox");
|
2023-09-06 17:28:35 +02:00
|
|
|
buttonBox->setGeometry(QRect(490, 590, 341, 32));
|
|
|
|
buttonBox->setOrientation(Qt::Horizontal);
|
|
|
|
buttonBox->setStandardButtons(QDialogButtonBox::Close);
|
|
|
|
horizontalLayoutWidget = new QWidget(DialogLinearity);
|
2023-09-07 09:58:05 +02:00
|
|
|
horizontalLayoutWidget->setObjectName("horizontalLayoutWidget");
|
2023-09-06 17:28:35 +02:00
|
|
|
horizontalLayoutWidget->setGeometry(QRect(10, 10, 821, 571));
|
|
|
|
horizontalLayout = new QHBoxLayout(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
horizontalLayout->setObjectName("horizontalLayout");
|
2023-09-06 17:28:35 +02:00
|
|
|
horizontalLayout->setContentsMargins(0, 0, 0, 0);
|
|
|
|
verticalLayout = new QVBoxLayout();
|
2023-09-07 09:58:05 +02:00
|
|
|
verticalLayout->setObjectName("verticalLayout");
|
2023-09-06 17:28:35 +02:00
|
|
|
label = new QLabel(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
label->setObjectName("label");
|
2023-09-06 17:28:35 +02:00
|
|
|
QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
|
|
|
sizePolicy.setHorizontalStretch(0);
|
|
|
|
sizePolicy.setVerticalStretch(0);
|
|
|
|
sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
|
|
|
|
label->setSizePolicy(sizePolicy);
|
|
|
|
label->setAlignment(Qt::AlignCenter);
|
|
|
|
|
|
|
|
verticalLayout->addWidget(label);
|
|
|
|
|
|
|
|
gridLayout = new QGridLayout();
|
2023-09-07 09:58:05 +02:00
|
|
|
gridLayout->setObjectName("gridLayout");
|
2023-09-06 17:28:35 +02:00
|
|
|
verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Fixed);
|
|
|
|
|
|
|
|
gridLayout->addItem(verticalSpacer_2, 3, 0, 1, 1);
|
|
|
|
|
|
|
|
label_5 = new QLabel(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
label_5->setObjectName("label_5");
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
gridLayout->addWidget(label_5, 0, 2, 1, 1);
|
|
|
|
|
|
|
|
label_8 = new QLabel(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
label_8->setObjectName("label_8");
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
gridLayout->addWidget(label_8, 4, 0, 1, 1);
|
|
|
|
|
|
|
|
spinDelay = new QSpinBox(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
spinDelay->setObjectName("spinDelay");
|
2023-09-06 17:28:35 +02:00
|
|
|
spinDelay->setMinimum(100);
|
|
|
|
spinDelay->setMaximum(10000);
|
|
|
|
spinDelay->setSingleStep(100);
|
|
|
|
spinDelay->setValue(1500);
|
|
|
|
|
|
|
|
gridLayout->addWidget(spinDelay, 4, 1, 1, 1);
|
|
|
|
|
|
|
|
label_9 = new QLabel(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
label_9->setObjectName("label_9");
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
gridLayout->addWidget(label_9, 4, 2, 1, 1);
|
|
|
|
|
|
|
|
label_7 = new QLabel(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
label_7->setObjectName("label_7");
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
gridLayout->addWidget(label_7, 2, 2, 1, 1);
|
|
|
|
|
|
|
|
label_6 = new QLabel(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
label_6->setObjectName("label_6");
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
gridLayout->addWidget(label_6, 1, 2, 1, 1);
|
|
|
|
|
|
|
|
label_10 = new QLabel(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
label_10->setObjectName("label_10");
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
gridLayout->addWidget(label_10, 5, 0, 1, 1);
|
|
|
|
|
|
|
|
spinAcquisitions = new QSpinBox(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
spinAcquisitions->setObjectName("spinAcquisitions");
|
2023-09-06 17:28:35 +02:00
|
|
|
spinAcquisitions->setMinimum(1);
|
|
|
|
spinAcquisitions->setMaximum(1000000);
|
|
|
|
spinAcquisitions->setSingleStep(1000);
|
|
|
|
spinAcquisitions->setValue(10000);
|
|
|
|
|
|
|
|
gridLayout->addWidget(spinAcquisitions, 5, 1, 1, 1);
|
|
|
|
|
|
|
|
label_3 = new QLabel(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
label_3->setObjectName("label_3");
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
gridLayout->addWidget(label_3, 1, 0, 1, 1);
|
|
|
|
|
|
|
|
doubleSpinVend = new QDoubleSpinBox(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
doubleSpinVend->setObjectName("doubleSpinVend");
|
|
|
|
doubleSpinVend->setMaximum(10.000000000000000);
|
|
|
|
doubleSpinVend->setSingleStep(0.100000000000000);
|
|
|
|
doubleSpinVend->setValue(6.000000000000000);
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
gridLayout->addWidget(doubleSpinVend, 1, 1, 1, 1);
|
|
|
|
|
|
|
|
doubleSpinVstart = new QDoubleSpinBox(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
doubleSpinVstart->setObjectName("doubleSpinVstart");
|
2023-09-06 17:28:35 +02:00
|
|
|
QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
|
|
|
|
sizePolicy1.setHorizontalStretch(0);
|
|
|
|
sizePolicy1.setVerticalStretch(0);
|
|
|
|
sizePolicy1.setHeightForWidth(doubleSpinVstart->sizePolicy().hasHeightForWidth());
|
|
|
|
doubleSpinVstart->setSizePolicy(sizePolicy1);
|
2023-09-07 09:58:05 +02:00
|
|
|
doubleSpinVstart->setMaximum(10.000000000000000);
|
|
|
|
doubleSpinVstart->setSingleStep(0.100000000000000);
|
|
|
|
doubleSpinVstart->setValue(2.000000000000000);
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
gridLayout->addWidget(doubleSpinVstart, 0, 1, 1, 1);
|
|
|
|
|
|
|
|
label_2 = new QLabel(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
label_2->setObjectName("label_2");
|
2023-09-06 17:28:35 +02:00
|
|
|
QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Preferred);
|
|
|
|
sizePolicy2.setHorizontalStretch(0);
|
|
|
|
sizePolicy2.setVerticalStretch(0);
|
|
|
|
sizePolicy2.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
|
|
|
|
label_2->setSizePolicy(sizePolicy2);
|
|
|
|
|
|
|
|
gridLayout->addWidget(label_2, 0, 0, 1, 1);
|
|
|
|
|
|
|
|
label_4 = new QLabel(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
label_4->setObjectName("label_4");
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
gridLayout->addWidget(label_4, 2, 0, 1, 1);
|
|
|
|
|
|
|
|
doubleSpinVinc = new QDoubleSpinBox(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
doubleSpinVinc->setObjectName("doubleSpinVinc");
|
|
|
|
doubleSpinVinc->setMaximum(10.000000000000000);
|
|
|
|
doubleSpinVinc->setSingleStep(0.010000000000000);
|
|
|
|
doubleSpinVinc->setValue(0.100000000000000);
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
gridLayout->addWidget(doubleSpinVinc, 2, 1, 1, 1);
|
|
|
|
|
|
|
|
label_11 = new QLabel(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
label_11->setObjectName("label_11");
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
gridLayout->addWidget(label_11, 6, 0, 1, 1);
|
|
|
|
|
|
|
|
spinPLotDecimation = new QSpinBox(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
spinPLotDecimation->setObjectName("spinPLotDecimation");
|
2023-09-06 17:28:35 +02:00
|
|
|
spinPLotDecimation->setMinimum(1);
|
|
|
|
spinPLotDecimation->setMaximum(128);
|
|
|
|
spinPLotDecimation->setValue(16);
|
|
|
|
|
|
|
|
gridLayout->addWidget(spinPLotDecimation, 6, 1, 1, 1);
|
|
|
|
|
|
|
|
|
|
|
|
verticalLayout->addLayout(gridLayout);
|
|
|
|
|
|
|
|
verticalSpacer_3 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Fixed);
|
|
|
|
|
|
|
|
verticalLayout->addItem(verticalSpacer_3);
|
|
|
|
|
|
|
|
pushRun = new QPushButton(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
pushRun->setObjectName("pushRun");
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
verticalLayout->addWidget(pushRun);
|
|
|
|
|
|
|
|
pushSave = new QPushButton(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
pushSave->setObjectName("pushSave");
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
verticalLayout->addWidget(pushSave);
|
|
|
|
|
|
|
|
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
|
|
|
|
verticalLayout->addItem(verticalSpacer);
|
|
|
|
|
|
|
|
|
|
|
|
horizontalLayout->addLayout(verticalLayout);
|
|
|
|
|
|
|
|
verticalLayout_3 = new QVBoxLayout();
|
2023-09-07 09:58:05 +02:00
|
|
|
verticalLayout_3->setObjectName("verticalLayout_3");
|
2023-09-06 17:28:35 +02:00
|
|
|
label_12 = new QLabel(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
label_12->setObjectName("label_12");
|
2023-09-06 17:28:35 +02:00
|
|
|
QSizePolicy sizePolicy3(QSizePolicy::Preferred, QSizePolicy::Fixed);
|
|
|
|
sizePolicy3.setHorizontalStretch(0);
|
|
|
|
sizePolicy3.setVerticalStretch(0);
|
|
|
|
sizePolicy3.setHeightForWidth(label_12->sizePolicy().hasHeightForWidth());
|
|
|
|
label_12->setSizePolicy(sizePolicy3);
|
|
|
|
label_12->setAlignment(Qt::AlignCenter);
|
|
|
|
|
|
|
|
verticalLayout_3->addWidget(label_12);
|
|
|
|
|
|
|
|
plotResultsMean = new QCustomPlot(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
plotResultsMean->setObjectName("plotResultsMean");
|
2023-09-06 17:28:35 +02:00
|
|
|
QSizePolicy sizePolicy4(QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
sizePolicy4.setHorizontalStretch(0);
|
|
|
|
sizePolicy4.setVerticalStretch(0);
|
|
|
|
sizePolicy4.setHeightForWidth(plotResultsMean->sizePolicy().hasHeightForWidth());
|
|
|
|
plotResultsMean->setSizePolicy(sizePolicy4);
|
|
|
|
|
|
|
|
verticalLayout_3->addWidget(plotResultsMean);
|
|
|
|
|
|
|
|
label_13 = new QLabel(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
label_13->setObjectName("label_13");
|
2023-09-06 17:28:35 +02:00
|
|
|
sizePolicy3.setHeightForWidth(label_13->sizePolicy().hasHeightForWidth());
|
|
|
|
label_13->setSizePolicy(sizePolicy3);
|
|
|
|
label_13->setAlignment(Qt::AlignCenter);
|
|
|
|
|
|
|
|
verticalLayout_3->addWidget(label_13);
|
|
|
|
|
|
|
|
plotResultsStd = new QCustomPlot(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
plotResultsStd->setObjectName("plotResultsStd");
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
verticalLayout_3->addWidget(plotResultsStd);
|
|
|
|
|
|
|
|
|
|
|
|
horizontalLayout->addLayout(verticalLayout_3);
|
|
|
|
|
|
|
|
|
|
|
|
retranslateUi(DialogLinearity);
|
2023-09-07 09:58:05 +02:00
|
|
|
QObject::connect(buttonBox, &QDialogButtonBox::accepted, DialogLinearity, qOverload<>(&QDialog::accept));
|
|
|
|
QObject::connect(buttonBox, &QDialogButtonBox::rejected, DialogLinearity, qOverload<>(&QDialog::reject));
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(DialogLinearity);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QDialog *DialogLinearity)
|
|
|
|
{
|
2023-09-07 09:58:05 +02:00
|
|
|
DialogLinearity->setWindowTitle(QCoreApplication::translate("DialogLinearity", "Linearity Test", nullptr));
|
|
|
|
label->setText(QCoreApplication::translate("DialogLinearity", "Scan settings", nullptr));
|
|
|
|
label_5->setText(QCoreApplication::translate("DialogLinearity", "V", nullptr));
|
|
|
|
label_8->setText(QCoreApplication::translate("DialogLinearity", "Measurement delay:", nullptr));
|
|
|
|
label_9->setText(QCoreApplication::translate("DialogLinearity", "ms", nullptr));
|
|
|
|
label_7->setText(QCoreApplication::translate("DialogLinearity", "V", nullptr));
|
|
|
|
label_6->setText(QCoreApplication::translate("DialogLinearity", "V", nullptr));
|
|
|
|
label_10->setText(QCoreApplication::translate("DialogLinearity", "Acqs/point:", nullptr));
|
|
|
|
label_3->setText(QCoreApplication::translate("DialogLinearity", "End LED voltage:", nullptr));
|
|
|
|
label_2->setText(QCoreApplication::translate("DialogLinearity", "Start LED voltage:", nullptr));
|
|
|
|
label_4->setText(QCoreApplication::translate("DialogLinearity", "Voltage increment:", nullptr));
|
|
|
|
label_11->setText(QCoreApplication::translate("DialogLinearity", "Plot decimation:", nullptr));
|
|
|
|
pushRun->setText(QCoreApplication::translate("DialogLinearity", "Run!", nullptr));
|
|
|
|
pushSave->setText(QCoreApplication::translate("DialogLinearity", "Save results...", nullptr));
|
|
|
|
label_12->setText(QCoreApplication::translate("DialogLinearity", "Signal mean", nullptr));
|
|
|
|
label_13->setText(QCoreApplication::translate("DialogLinearity", "Signal standard deviation", nullptr));
|
2023-09-06 17:28:35 +02:00
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class DialogLinearity: public Ui_DialogLinearity {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // UI_DIALOGLINEARITY_H
|