HITDAQ/hit2017v2/ui_dialogbeta.h

328 lines
12 KiB
C++

/********************************************************************************
** Form generated from reading UI file 'dialogbeta.ui'
**
** Created by: Qt User Interface Compiler version 5.7.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_DIALOGBETA_H
#define UI_DIALOGBETA_H
#include <QtCore/QVariant>
#include <QAction>
#include <QApplication>
#include <QButtonGroup>
#include <QCheckBox>
#include <QDialog>
#include <QDialogButtonBox>
#include <QGridLayout>
#include <QHBoxLayout>
#include <QHeaderView>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QSpacerItem>
#include <QSpinBox>
#include <QVBoxLayout>
#include <QWidget>
#include "qcustomplot.h"
QT_BEGIN_NAMESPACE
class Ui_DialogBeta
{
public:
QDialogButtonBox *buttonBox;
QWidget *horizontalLayoutWidget;
QHBoxLayout *horizontalLayout;
QVBoxLayout *verticalLayout;
QLabel *label;
QGridLayout *gridLayout_2;
QPushButton *pushLeft;
QPushButton *pushRight;
QHBoxLayout *horizontalLayout_3;
QLineEdit *lineStepperPosition;
QPushButton *pushResetCtr;
QSpacerItem *verticalSpacer_4;
QLabel *label_3;
QGridLayout *gridLayout;
QLabel *label_11;
QLabel *label_10;
QSpinBox *spinScanSpeed;
QSpinBox *spinStartPos;
QLabel *label_4;
QSpinBox *spinEndPos;
QSpacerItem *verticalSpacer_3;
QPushButton *pushRun;
QCheckBox *checkSaveRawData;
QSpacerItem *verticalSpacer_2;
QHBoxLayout *horizontalLayout_2;
QLabel *label_2;
QLineEdit *lineRunsDone;
QPushButton *pushClear;
QPushButton *pushSave;
QSpacerItem *verticalSpacer;
QVBoxLayout *verticalLayout_3;
QLabel *label_12;
QCustomPlot *plotResultsMean;
QLabel *label_13;
QCustomPlot *plotResultsStd;
void setupUi(QDialog *DialogBeta)
{
if (DialogBeta->objectName().isEmpty())
DialogBeta->setObjectName(QStringLiteral("DialogBeta"));
DialogBeta->resize(844, 632);
buttonBox = new QDialogButtonBox(DialogBeta);
buttonBox->setObjectName(QStringLiteral("buttonBox"));
buttonBox->setGeometry(QRect(490, 590, 341, 32));
buttonBox->setOrientation(Qt::Horizontal);
buttonBox->setStandardButtons(QDialogButtonBox::Close);
horizontalLayoutWidget = new QWidget(DialogBeta);
horizontalLayoutWidget->setObjectName(QStringLiteral("horizontalLayoutWidget"));
horizontalLayoutWidget->setGeometry(QRect(10, 10, 821, 571));
horizontalLayout = new QHBoxLayout(horizontalLayoutWidget);
horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
horizontalLayout->setContentsMargins(0, 0, 0, 0);
verticalLayout = new QVBoxLayout();
verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
label = new QLabel(horizontalLayoutWidget);
label->setObjectName(QStringLiteral("label"));
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_2 = new QGridLayout();
gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
gridLayout_2->setContentsMargins(0, 0, 0, 0);
pushLeft = new QPushButton(horizontalLayoutWidget);
pushLeft->setObjectName(QStringLiteral("pushLeft"));
gridLayout_2->addWidget(pushLeft, 0, 0, 1, 1);
pushRight = new QPushButton(horizontalLayoutWidget);
pushRight->setObjectName(QStringLiteral("pushRight"));
gridLayout_2->addWidget(pushRight, 0, 1, 1, 1);
verticalLayout->addLayout(gridLayout_2);
horizontalLayout_3 = new QHBoxLayout();
horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
horizontalLayout_3->setContentsMargins(0, 0, 0, 0);
lineStepperPosition = new QLineEdit(horizontalLayoutWidget);
lineStepperPosition->setObjectName(QStringLiteral("lineStepperPosition"));
QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(lineStepperPosition->sizePolicy().hasHeightForWidth());
lineStepperPosition->setSizePolicy(sizePolicy1);
horizontalLayout_3->addWidget(lineStepperPosition);
pushResetCtr = new QPushButton(horizontalLayoutWidget);
pushResetCtr->setObjectName(QStringLiteral("pushResetCtr"));
sizePolicy1.setHeightForWidth(pushResetCtr->sizePolicy().hasHeightForWidth());
pushResetCtr->setSizePolicy(sizePolicy1);
horizontalLayout_3->addWidget(pushResetCtr);
verticalLayout->addLayout(horizontalLayout_3);
verticalSpacer_4 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Fixed);
verticalLayout->addItem(verticalSpacer_4);
label_3 = new QLabel(horizontalLayoutWidget);
label_3->setObjectName(QStringLiteral("label_3"));
verticalLayout->addWidget(label_3);
gridLayout = new QGridLayout();
gridLayout->setObjectName(QStringLiteral("gridLayout"));
label_11 = new QLabel(horizontalLayoutWidget);
label_11->setObjectName(QStringLiteral("label_11"));
gridLayout->addWidget(label_11, 1, 0, 1, 1);
label_10 = new QLabel(horizontalLayoutWidget);
label_10->setObjectName(QStringLiteral("label_10"));
gridLayout->addWidget(label_10, 0, 0, 1, 1);
spinScanSpeed = new QSpinBox(horizontalLayoutWidget);
spinScanSpeed->setObjectName(QStringLiteral("spinScanSpeed"));
spinScanSpeed->setMinimum(1);
spinScanSpeed->setMaximum(2048);
spinScanSpeed->setSingleStep(100);
spinScanSpeed->setValue(1000);
gridLayout->addWidget(spinScanSpeed, 0, 1, 1, 1);
spinStartPos = new QSpinBox(horizontalLayoutWidget);
spinStartPos->setObjectName(QStringLiteral("spinStartPos"));
spinStartPos->setMinimum(0);
spinStartPos->setMaximum(1800000);
spinStartPos->setSingleStep(10000);
spinStartPos->setValue(0);
gridLayout->addWidget(spinStartPos, 1, 1, 1, 1);
label_4 = new QLabel(horizontalLayoutWidget);
label_4->setObjectName(QStringLiteral("label_4"));
gridLayout->addWidget(label_4, 2, 0, 1, 1);
spinEndPos = new QSpinBox(horizontalLayoutWidget);
spinEndPos->setObjectName(QStringLiteral("spinEndPos"));
spinEndPos->setMaximum(1800000);
spinEndPos->setSingleStep(10000);
spinEndPos->setValue(1800000);
gridLayout->addWidget(spinEndPos, 2, 1, 1, 1);
verticalLayout->addLayout(gridLayout);
verticalSpacer_3 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Fixed);
verticalLayout->addItem(verticalSpacer_3);
pushRun = new QPushButton(horizontalLayoutWidget);
pushRun->setObjectName(QStringLiteral("pushRun"));
verticalLayout->addWidget(pushRun);
checkSaveRawData = new QCheckBox(horizontalLayoutWidget);
checkSaveRawData->setObjectName(QStringLiteral("checkSaveRawData"));
verticalLayout->addWidget(checkSaveRawData);
verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Fixed);
verticalLayout->addItem(verticalSpacer_2);
horizontalLayout_2 = new QHBoxLayout();
horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
horizontalLayout_2->setContentsMargins(-1, -1, -1, 0);
label_2 = new QLabel(horizontalLayoutWidget);
label_2->setObjectName(QStringLiteral("label_2"));
horizontalLayout_2->addWidget(label_2);
lineRunsDone = new QLineEdit(horizontalLayoutWidget);
lineRunsDone->setObjectName(QStringLiteral("lineRunsDone"));
sizePolicy.setHeightForWidth(lineRunsDone->sizePolicy().hasHeightForWidth());
lineRunsDone->setSizePolicy(sizePolicy);
lineRunsDone->setAutoFillBackground(false);
lineRunsDone->setReadOnly(true);
horizontalLayout_2->addWidget(lineRunsDone);
verticalLayout->addLayout(horizontalLayout_2);
pushClear = new QPushButton(horizontalLayoutWidget);
pushClear->setObjectName(QStringLiteral("pushClear"));
verticalLayout->addWidget(pushClear);
pushSave = new QPushButton(horizontalLayoutWidget);
pushSave->setObjectName(QStringLiteral("pushSave"));
verticalLayout->addWidget(pushSave);
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
verticalLayout->addItem(verticalSpacer);
horizontalLayout->addLayout(verticalLayout);
verticalLayout_3 = new QVBoxLayout();
verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
label_12 = new QLabel(horizontalLayoutWidget);
label_12->setObjectName(QStringLiteral("label_12"));
QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Fixed);
sizePolicy2.setHorizontalStretch(0);
sizePolicy2.setVerticalStretch(0);
sizePolicy2.setHeightForWidth(label_12->sizePolicy().hasHeightForWidth());
label_12->setSizePolicy(sizePolicy2);
label_12->setAlignment(Qt::AlignCenter);
verticalLayout_3->addWidget(label_12);
plotResultsMean = new QCustomPlot(horizontalLayoutWidget);
plotResultsMean->setObjectName(QStringLiteral("plotResultsMean"));
QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Minimum);
sizePolicy3.setHorizontalStretch(0);
sizePolicy3.setVerticalStretch(0);
sizePolicy3.setHeightForWidth(plotResultsMean->sizePolicy().hasHeightForWidth());
plotResultsMean->setSizePolicy(sizePolicy3);
verticalLayout_3->addWidget(plotResultsMean);
label_13 = new QLabel(horizontalLayoutWidget);
label_13->setObjectName(QStringLiteral("label_13"));
sizePolicy2.setHeightForWidth(label_13->sizePolicy().hasHeightForWidth());
label_13->setSizePolicy(sizePolicy2);
label_13->setAlignment(Qt::AlignCenter);
verticalLayout_3->addWidget(label_13);
plotResultsStd = new QCustomPlot(horizontalLayoutWidget);
plotResultsStd->setObjectName(QStringLiteral("plotResultsStd"));
verticalLayout_3->addWidget(plotResultsStd);
horizontalLayout->addLayout(verticalLayout_3);
buttonBox->raise();
horizontalLayoutWidget->raise();
retranslateUi(DialogBeta);
QObject::connect(buttonBox, SIGNAL(accepted()), DialogBeta, SLOT(accept()));
QObject::connect(buttonBox, SIGNAL(rejected()), DialogBeta, SLOT(reject()));
QMetaObject::connectSlotsByName(DialogBeta);
} // setupUi
void retranslateUi(QDialog *DialogBeta)
{
DialogBeta->setWindowTitle(QApplication::translate("DialogBeta", "Beta Scanner", 0));
label->setText(QApplication::translate("DialogBeta", "Motor control", 0));
pushLeft->setText(QApplication::translate("DialogBeta", "Left!", 0));
pushRight->setText(QApplication::translate("DialogBeta", "Right!", 0));
pushResetCtr->setText(QApplication::translate("DialogBeta", "Reset", 0));
label_3->setText(QApplication::translate("DialogBeta", "Scan settings", 0));
label_11->setText(QApplication::translate("DialogBeta", "Start pos:", 0));
label_10->setText(QApplication::translate("DialogBeta", "Scanning speed", 0));
label_4->setText(QApplication::translate("DialogBeta", "End pos:", 0));
pushRun->setText(QApplication::translate("DialogBeta", "Run!", 0));
checkSaveRawData->setText(QApplication::translate("DialogBeta", "Save raw data", 0));
label_2->setText(QApplication::translate("DialogBeta", "Runs:", 0));
pushClear->setText(QApplication::translate("DialogBeta", "Clear", 0));
pushSave->setText(QApplication::translate("DialogBeta", "Save results...", 0));
label_12->setText(QApplication::translate("DialogBeta", "Signal mean", 0));
label_13->setText(QApplication::translate("DialogBeta", "Signal standard deviation", 0));
} // retranslateUi
};
namespace Ui {
class DialogBeta: public Ui_DialogBeta {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_DIALOGBETA_H