2023-09-06 17:28:35 +02:00
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'dialogtiscan.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_DIALOGTISCAN_H
|
|
|
|
#define UI_DIALOGTISCAN_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2023-09-07 09:58:05 +02:00
|
|
|
#include <QtWidgets/QAbstractButton>
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QCheckBox>
|
|
|
|
#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_DialogTiScan
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QDialogButtonBox *buttonBox;
|
|
|
|
QWidget *horizontalLayoutWidget;
|
|
|
|
QHBoxLayout *horizontalLayout;
|
|
|
|
QVBoxLayout *verticalLayout;
|
|
|
|
QLabel *label;
|
|
|
|
QGridLayout *gridLayout;
|
|
|
|
QLabel *label_4;
|
|
|
|
QLabel *label_2;
|
|
|
|
QLabel *label_11;
|
|
|
|
QSpinBox *spinPLotDecimation;
|
|
|
|
QSpacerItem *verticalSpacer_2;
|
|
|
|
QLabel *label_3;
|
|
|
|
QLabel *label_6;
|
|
|
|
QSpinBox *spinAcquisitions;
|
|
|
|
QLabel *label_10;
|
|
|
|
QDoubleSpinBox *doubleSpinLEDV;
|
|
|
|
QLabel *label_13;
|
|
|
|
QLabel *label_12;
|
|
|
|
QSpinBox *spinTEnd;
|
|
|
|
QSpinBox *spinTIncrement;
|
|
|
|
QSpacerItem *verticalSpacer_4;
|
|
|
|
QCheckBox *checkUseLED;
|
|
|
|
QSpinBox *spintStart;
|
|
|
|
QSpacerItem *verticalSpacer_3;
|
|
|
|
QPushButton *pushRun;
|
|
|
|
QPushButton *pushSave;
|
|
|
|
QSpacerItem *verticalSpacer;
|
|
|
|
QVBoxLayout *verticalLayout_2;
|
|
|
|
QLabel *label_5;
|
|
|
|
QCustomPlot *plotResultsMean;
|
|
|
|
QLabel *label_7;
|
|
|
|
QCustomPlot *plotResultsStd;
|
|
|
|
|
|
|
|
void setupUi(QDialog *DialogTiScan)
|
|
|
|
{
|
|
|
|
if (DialogTiScan->objectName().isEmpty())
|
2023-09-07 09:58:05 +02:00
|
|
|
DialogTiScan->setObjectName("DialogTiScan");
|
2023-09-06 17:28:35 +02:00
|
|
|
DialogTiScan->resize(844, 632);
|
|
|
|
buttonBox = new QDialogButtonBox(DialogTiScan);
|
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(DialogTiScan);
|
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
|
|
|
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, 5, 0, 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 sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Preferred);
|
|
|
|
sizePolicy1.setHorizontalStretch(0);
|
|
|
|
sizePolicy1.setVerticalStretch(0);
|
|
|
|
sizePolicy1.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
|
|
|
|
label_2->setSizePolicy(sizePolicy1);
|
|
|
|
|
|
|
|
gridLayout->addWidget(label_2, 0, 0, 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, 8, 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, 8, 1, 1, 1);
|
|
|
|
|
|
|
|
verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Fixed);
|
|
|
|
|
|
|
|
gridLayout->addItem(verticalSpacer_2, 6, 0, 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);
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
|
|
|
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, 7, 1, 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, 7, 0, 1, 1);
|
|
|
|
|
|
|
|
doubleSpinLEDV = new QDoubleSpinBox(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
doubleSpinLEDV->setObjectName("doubleSpinLEDV");
|
|
|
|
doubleSpinLEDV->setMaximum(10.000000000000000);
|
|
|
|
doubleSpinLEDV->setSingleStep(0.100000000000000);
|
|
|
|
doubleSpinLEDV->setValue(6.000000000000000);
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
gridLayout->addWidget(doubleSpinLEDV, 1, 1, 1, 1);
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
gridLayout->addWidget(label_13, 3, 0, 1, 1);
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
gridLayout->addWidget(label_12, 4, 0, 1, 1);
|
|
|
|
|
|
|
|
spinTEnd = new QSpinBox(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
spinTEnd->setObjectName("spinTEnd");
|
2023-09-06 17:28:35 +02:00
|
|
|
spinTEnd->setMinimum(10);
|
|
|
|
spinTEnd->setMaximum(100000);
|
|
|
|
spinTEnd->setValue(8549);
|
|
|
|
|
|
|
|
gridLayout->addWidget(spinTEnd, 4, 1, 1, 1);
|
|
|
|
|
|
|
|
spinTIncrement = new QSpinBox(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
spinTIncrement->setObjectName("spinTIncrement");
|
2023-09-06 17:28:35 +02:00
|
|
|
spinTIncrement->setMinimum(1);
|
|
|
|
spinTIncrement->setMaximum(100000);
|
|
|
|
spinTIncrement->setValue(100);
|
|
|
|
|
|
|
|
gridLayout->addWidget(spinTIncrement, 5, 1, 1, 1);
|
|
|
|
|
|
|
|
verticalSpacer_4 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
|
|
|
|
gridLayout->addItem(verticalSpacer_4, 2, 0, 1, 1);
|
|
|
|
|
|
|
|
checkUseLED = new QCheckBox(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
checkUseLED->setObjectName("checkUseLED");
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
gridLayout->addWidget(checkUseLED, 0, 1, 1, 1);
|
|
|
|
|
|
|
|
spintStart = new QSpinBox(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
spintStart->setObjectName("spintStart");
|
2023-09-06 17:28:35 +02:00
|
|
|
spintStart->setMinimum(10);
|
|
|
|
spintStart->setMaximum(100000);
|
|
|
|
spintStart->setValue(100);
|
|
|
|
|
|
|
|
gridLayout->addWidget(spintStart, 3, 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_2 = new QVBoxLayout();
|
2023-09-07 09:58:05 +02:00
|
|
|
verticalLayout_2->setObjectName("verticalLayout_2");
|
2023-09-06 17:28:35 +02:00
|
|
|
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
|
|
|
QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Fixed);
|
|
|
|
sizePolicy2.setHorizontalStretch(0);
|
|
|
|
sizePolicy2.setVerticalStretch(0);
|
|
|
|
sizePolicy2.setHeightForWidth(label_5->sizePolicy().hasHeightForWidth());
|
|
|
|
label_5->setSizePolicy(sizePolicy2);
|
|
|
|
label_5->setAlignment(Qt::AlignCenter);
|
|
|
|
|
|
|
|
verticalLayout_2->addWidget(label_5);
|
|
|
|
|
|
|
|
plotResultsMean = new QCustomPlot(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
plotResultsMean->setObjectName("plotResultsMean");
|
2023-09-06 17:28:35 +02:00
|
|
|
QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
sizePolicy3.setHorizontalStretch(0);
|
|
|
|
sizePolicy3.setVerticalStretch(0);
|
|
|
|
sizePolicy3.setHeightForWidth(plotResultsMean->sizePolicy().hasHeightForWidth());
|
|
|
|
plotResultsMean->setSizePolicy(sizePolicy3);
|
|
|
|
|
|
|
|
verticalLayout_2->addWidget(plotResultsMean);
|
|
|
|
|
|
|
|
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
|
|
|
sizePolicy2.setHeightForWidth(label_7->sizePolicy().hasHeightForWidth());
|
|
|
|
label_7->setSizePolicy(sizePolicy2);
|
|
|
|
label_7->setAlignment(Qt::AlignCenter);
|
|
|
|
|
|
|
|
verticalLayout_2->addWidget(label_7);
|
|
|
|
|
|
|
|
plotResultsStd = new QCustomPlot(horizontalLayoutWidget);
|
2023-09-07 09:58:05 +02:00
|
|
|
plotResultsStd->setObjectName("plotResultsStd");
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
verticalLayout_2->addWidget(plotResultsStd);
|
|
|
|
|
|
|
|
|
|
|
|
horizontalLayout->addLayout(verticalLayout_2);
|
|
|
|
|
|
|
|
|
|
|
|
retranslateUi(DialogTiScan);
|
2023-09-07 09:58:05 +02:00
|
|
|
QObject::connect(buttonBox, &QDialogButtonBox::accepted, DialogTiScan, qOverload<>(&QDialog::accept));
|
|
|
|
QObject::connect(buttonBox, &QDialogButtonBox::rejected, DialogTiScan, qOverload<>(&QDialog::reject));
|
2023-09-06 17:28:35 +02:00
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(DialogTiScan);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QDialog *DialogTiScan)
|
|
|
|
{
|
2023-09-07 09:58:05 +02:00
|
|
|
DialogTiScan->setWindowTitle(QCoreApplication::translate("DialogTiScan", "Integration Time Scan", nullptr));
|
|
|
|
label->setText(QCoreApplication::translate("DialogTiScan", "Scan settings", nullptr));
|
|
|
|
label_4->setText(QCoreApplication::translate("DialogTiScan", "Time increment:", nullptr));
|
|
|
|
label_2->setText(QCoreApplication::translate("DialogTiScan", "Use LED:", nullptr));
|
|
|
|
label_11->setText(QCoreApplication::translate("DialogTiScan", "Plot decimation:", nullptr));
|
|
|
|
label_3->setText(QCoreApplication::translate("DialogTiScan", "LED voltage:", nullptr));
|
|
|
|
label_6->setText(QCoreApplication::translate("DialogTiScan", "V", nullptr));
|
|
|
|
label_10->setText(QCoreApplication::translate("DialogTiScan", "Acqs/point:", nullptr));
|
|
|
|
label_13->setText(QCoreApplication::translate("DialogTiScan", "Start integration time:", nullptr));
|
|
|
|
label_12->setText(QCoreApplication::translate("DialogTiScan", "End integration time:", nullptr));
|
|
|
|
checkUseLED->setText(QCoreApplication::translate("DialogTiScan", "CheckBox", nullptr));
|
|
|
|
pushRun->setText(QCoreApplication::translate("DialogTiScan", "Run!", nullptr));
|
|
|
|
pushSave->setText(QCoreApplication::translate("DialogTiScan", "Save results...", nullptr));
|
|
|
|
label_5->setText(QCoreApplication::translate("DialogTiScan", "Signal mean", nullptr));
|
|
|
|
label_7->setText(QCoreApplication::translate("DialogTiScan", "Signal standard deviation", nullptr));
|
2023-09-06 17:28:35 +02:00
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class DialogTiScan: public Ui_DialogTiScan {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // UI_DIALOGTISCAN_H
|