You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
142 lines
5.5 KiB
C
142 lines
5.5 KiB
C
|
2 years ago
|
/********************************************************************************
|
||
|
|
** Form generated from reading UI file 'qdia2thsetting.ui'
|
||
|
|
**
|
||
|
|
** Created by: Qt User Interface Compiler version 5.9.4
|
||
|
|
**
|
||
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||
|
|
********************************************************************************/
|
||
|
|
|
||
|
|
#ifndef UI_QDIA2THSETTING_H
|
||
|
|
#define UI_QDIA2THSETTING_H
|
||
|
|
|
||
|
|
#include <QtCore/QVariant>
|
||
|
|
#include <QtWidgets/QAction>
|
||
|
|
#include <QtWidgets/QApplication>
|
||
|
|
#include <QtWidgets/QButtonGroup>
|
||
|
|
#include <QtWidgets/QDialog>
|
||
|
|
#include <QtWidgets/QDoubleSpinBox>
|
||
|
|
#include <QtWidgets/QGridLayout>
|
||
|
|
#include <QtWidgets/QHBoxLayout>
|
||
|
|
#include <QtWidgets/QHeaderView>
|
||
|
|
#include <QtWidgets/QLabel>
|
||
|
|
#include <QtWidgets/QPushButton>
|
||
|
|
#include <QtWidgets/QSpacerItem>
|
||
|
|
|
||
|
|
QT_BEGIN_NAMESPACE
|
||
|
|
|
||
|
|
class Ui_QDia2ThSetting
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
QGridLayout *gridLayout;
|
||
|
|
QLabel *label_3;
|
||
|
|
QHBoxLayout *horizontalLayout;
|
||
|
|
QPushButton *pushButton_OK;
|
||
|
|
QSpacerItem *horizontalSpacer;
|
||
|
|
QPushButton *pushButton_Close;
|
||
|
|
QDoubleSpinBox *doubleSpinBox_B;
|
||
|
|
QLabel *label;
|
||
|
|
QLabel *label_2;
|
||
|
|
QDoubleSpinBox *doubleSpinBox_K;
|
||
|
|
|
||
|
|
void setupUi(QDialog *QDia2ThSetting)
|
||
|
|
{
|
||
|
|
if (QDia2ThSetting->objectName().isEmpty())
|
||
|
|
QDia2ThSetting->setObjectName(QStringLiteral("QDia2ThSetting"));
|
||
|
|
QDia2ThSetting->resize(324, 160);
|
||
|
|
QDia2ThSetting->setStyleSheet(QStringLiteral("font: 12pt \"Consolas\";"));
|
||
|
|
gridLayout = new QGridLayout(QDia2ThSetting);
|
||
|
|
gridLayout->setSpacing(6);
|
||
|
|
gridLayout->setContentsMargins(11, 11, 11, 11);
|
||
|
|
gridLayout->setObjectName(QStringLiteral("gridLayout"));
|
||
|
|
label_3 = new QLabel(QDia2ThSetting);
|
||
|
|
label_3->setObjectName(QStringLiteral("label_3"));
|
||
|
|
|
||
|
|
gridLayout->addWidget(label_3, 0, 0, 1, 2);
|
||
|
|
|
||
|
|
horizontalLayout = new QHBoxLayout();
|
||
|
|
horizontalLayout->setSpacing(6);
|
||
|
|
horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
|
||
|
|
pushButton_OK = new QPushButton(QDia2ThSetting);
|
||
|
|
pushButton_OK->setObjectName(QStringLiteral("pushButton_OK"));
|
||
|
|
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
|
||
|
|
sizePolicy.setHorizontalStretch(0);
|
||
|
|
sizePolicy.setVerticalStretch(0);
|
||
|
|
sizePolicy.setHeightForWidth(pushButton_OK->sizePolicy().hasHeightForWidth());
|
||
|
|
pushButton_OK->setSizePolicy(sizePolicy);
|
||
|
|
|
||
|
|
horizontalLayout->addWidget(pushButton_OK);
|
||
|
|
|
||
|
|
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||
|
|
|
||
|
|
horizontalLayout->addItem(horizontalSpacer);
|
||
|
|
|
||
|
|
pushButton_Close = new QPushButton(QDia2ThSetting);
|
||
|
|
pushButton_Close->setObjectName(QStringLiteral("pushButton_Close"));
|
||
|
|
sizePolicy.setHeightForWidth(pushButton_Close->sizePolicy().hasHeightForWidth());
|
||
|
|
pushButton_Close->setSizePolicy(sizePolicy);
|
||
|
|
|
||
|
|
horizontalLayout->addWidget(pushButton_Close);
|
||
|
|
|
||
|
|
|
||
|
|
gridLayout->addLayout(horizontalLayout, 5, 0, 1, 2);
|
||
|
|
|
||
|
|
doubleSpinBox_B = new QDoubleSpinBox(QDia2ThSetting);
|
||
|
|
doubleSpinBox_B->setObjectName(QStringLiteral("doubleSpinBox_B"));
|
||
|
|
sizePolicy.setHeightForWidth(doubleSpinBox_B->sizePolicy().hasHeightForWidth());
|
||
|
|
doubleSpinBox_B->setSizePolicy(sizePolicy);
|
||
|
|
doubleSpinBox_B->setDecimals(10);
|
||
|
|
doubleSpinBox_B->setMinimum(-100);
|
||
|
|
doubleSpinBox_B->setSingleStep(0.001);
|
||
|
|
|
||
|
|
gridLayout->addWidget(doubleSpinBox_B, 3, 1, 1, 1);
|
||
|
|
|
||
|
|
label = new QLabel(QDia2ThSetting);
|
||
|
|
label->setObjectName(QStringLiteral("label"));
|
||
|
|
|
||
|
|
gridLayout->addWidget(label, 3, 0, 1, 1);
|
||
|
|
|
||
|
|
label_2 = new QLabel(QDia2ThSetting);
|
||
|
|
label_2->setObjectName(QStringLiteral("label_2"));
|
||
|
|
|
||
|
|
gridLayout->addWidget(label_2, 1, 0, 1, 1);
|
||
|
|
|
||
|
|
doubleSpinBox_K = new QDoubleSpinBox(QDia2ThSetting);
|
||
|
|
doubleSpinBox_K->setObjectName(QStringLiteral("doubleSpinBox_K"));
|
||
|
|
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Preferred);
|
||
|
|
sizePolicy1.setHorizontalStretch(0);
|
||
|
|
sizePolicy1.setVerticalStretch(0);
|
||
|
|
sizePolicy1.setHeightForWidth(doubleSpinBox_K->sizePolicy().hasHeightForWidth());
|
||
|
|
doubleSpinBox_K->setSizePolicy(sizePolicy1);
|
||
|
|
doubleSpinBox_K->setDecimals(10);
|
||
|
|
doubleSpinBox_K->setMinimum(-100);
|
||
|
|
doubleSpinBox_K->setMaximum(99.999);
|
||
|
|
doubleSpinBox_K->setSingleStep(0.001);
|
||
|
|
|
||
|
|
gridLayout->addWidget(doubleSpinBox_K, 1, 1, 1, 1);
|
||
|
|
|
||
|
|
|
||
|
|
retranslateUi(QDia2ThSetting);
|
||
|
|
|
||
|
|
QMetaObject::connectSlotsByName(QDia2ThSetting);
|
||
|
|
} // setupUi
|
||
|
|
|
||
|
|
void retranslateUi(QDialog *QDia2ThSetting)
|
||
|
|
{
|
||
|
|
QDia2ThSetting->setWindowTitle(QApplication::translate("QDia2ThSetting", "\347\233\264\345\276\204\346\240\207\345\256\232", Q_NULLPTR));
|
||
|
|
label_3->setText(QApplication::translate("QDia2ThSetting", "K:\350\241\250\347\244\272\346\226\234\347\216\207\357\274\214B\357\274\232\345\237\272\345\207\206\347\202\271\357\274\214\347\233\264\345\276\204=\351\253\230\345\272\246*K+B", Q_NULLPTR));
|
||
|
|
pushButton_OK->setText(QApplication::translate("QDia2ThSetting", "\347\241\256\350\256\244\344\277\256\346\224\271", Q_NULLPTR));
|
||
|
|
pushButton_Close->setText(QApplication::translate("QDia2ThSetting", "\351\200\200\345\207\272", Q_NULLPTR));
|
||
|
|
label->setText(QApplication::translate("QDia2ThSetting", "B\357\274\232", Q_NULLPTR));
|
||
|
|
label_2->setText(QApplication::translate("QDia2ThSetting", "K:", Q_NULLPTR));
|
||
|
|
} // retranslateUi
|
||
|
|
|
||
|
|
};
|
||
|
|
|
||
|
|
namespace Ui {
|
||
|
|
class QDia2ThSetting: public Ui_QDia2ThSetting {};
|
||
|
|
} // namespace Ui
|
||
|
|
|
||
|
|
QT_END_NAMESPACE
|
||
|
|
|
||
|
|
#endif // UI_QDIA2THSETTING_H
|