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.
189 lines
8.3 KiB
C
189 lines
8.3 KiB
C
2 years ago
|
/********************************************************************************
|
||
|
** Form generated from reading UI file 'dialog_sg.ui'
|
||
|
**
|
||
|
** Created by: Qt User Interface Compiler version 4.8.6
|
||
|
**
|
||
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||
|
********************************************************************************/
|
||
|
|
||
|
#ifndef UI_DIALOG_SG_H
|
||
|
#define UI_DIALOG_SG_H
|
||
|
|
||
|
#include <QtCore/QVariant>
|
||
|
#include <QtGui/QAction>
|
||
|
#include <QtGui/QApplication>
|
||
|
#include <QtGui/QButtonGroup>
|
||
|
#include <QtGui/QComboBox>
|
||
|
#include <QtGui/QDialog>
|
||
|
#include <QtGui/QGroupBox>
|
||
|
#include <QtGui/QHBoxLayout>
|
||
|
#include <QtGui/QHeaderView>
|
||
|
#include <QtGui/QLabel>
|
||
|
#include <QtGui/QLineEdit>
|
||
|
#include <QtGui/QPushButton>
|
||
|
#include <QtGui/QTableView>
|
||
|
#include <QtGui/QWidget>
|
||
|
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
|
||
|
class Ui_dialog_sg
|
||
|
{
|
||
|
public:
|
||
|
QGroupBox *groupBox;
|
||
|
QLabel *label;
|
||
|
QLineEdit *lE_SGNum;
|
||
|
QLabel *label_2;
|
||
|
QLineEdit *lE_ACTSGNo;
|
||
|
QLabel *label_3;
|
||
|
QLineEdit *lE_EDITSGNo;
|
||
|
QPushButton *pB_ReadSGBlock;
|
||
|
QGroupBox *groupBox_2;
|
||
|
QTableView *tV_SG;
|
||
|
QWidget *layoutWidget;
|
||
|
QHBoxLayout *horizontalLayout;
|
||
|
QLabel *label_4;
|
||
|
QComboBox *cB_OPSGNo;
|
||
|
QPushButton *pB_CHGACTSGNo;
|
||
|
QPushButton *pB_CHGEDITSGNo;
|
||
|
QPushButton *pB_ReadSG;
|
||
|
QPushButton *pB_WriteSG;
|
||
|
|
||
|
void setupUi(QDialog *dialog_sg)
|
||
|
{
|
||
|
if (dialog_sg->objectName().isEmpty())
|
||
|
dialog_sg->setObjectName(QString::fromUtf8("dialog_sg"));
|
||
|
dialog_sg->resize(620, 380);
|
||
|
groupBox = new QGroupBox(dialog_sg);
|
||
|
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
||
|
groupBox->setGeometry(QRect(20, 0, 580, 60));
|
||
|
QFont font;
|
||
|
font.setPointSize(12);
|
||
|
groupBox->setFont(font);
|
||
|
label = new QLabel(groupBox);
|
||
|
label->setObjectName(QString::fromUtf8("label"));
|
||
|
label->setGeometry(QRect(10, 22, 80, 19));
|
||
|
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
|
||
|
sizePolicy.setHorizontalStretch(0);
|
||
|
sizePolicy.setVerticalStretch(0);
|
||
|
sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
|
||
|
label->setSizePolicy(sizePolicy);
|
||
|
QFont font1;
|
||
|
font1.setPointSize(12);
|
||
|
font1.setKerning(false);
|
||
|
label->setFont(font1);
|
||
|
lE_SGNum = new QLineEdit(groupBox);
|
||
|
lE_SGNum->setObjectName(QString::fromUtf8("lE_SGNum"));
|
||
|
lE_SGNum->setGeometry(QRect(86, 20, 60, 26));
|
||
|
QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||
|
sizePolicy1.setHorizontalStretch(0);
|
||
|
sizePolicy1.setVerticalStretch(0);
|
||
|
sizePolicy1.setHeightForWidth(lE_SGNum->sizePolicy().hasHeightForWidth());
|
||
|
lE_SGNum->setSizePolicy(sizePolicy1);
|
||
|
label_2 = new QLabel(groupBox);
|
||
|
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||
|
label_2->setGeometry(QRect(160, 22, 80, 19));
|
||
|
sizePolicy.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
|
||
|
label_2->setSizePolicy(sizePolicy);
|
||
|
label_2->setFont(font1);
|
||
|
lE_ACTSGNo = new QLineEdit(groupBox);
|
||
|
lE_ACTSGNo->setObjectName(QString::fromUtf8("lE_ACTSGNo"));
|
||
|
lE_ACTSGNo->setGeometry(QRect(240, 20, 60, 26));
|
||
|
sizePolicy1.setHeightForWidth(lE_ACTSGNo->sizePolicy().hasHeightForWidth());
|
||
|
lE_ACTSGNo->setSizePolicy(sizePolicy1);
|
||
|
label_3 = new QLabel(groupBox);
|
||
|
label_3->setObjectName(QString::fromUtf8("label_3"));
|
||
|
label_3->setGeometry(QRect(316, 22, 80, 19));
|
||
|
sizePolicy.setHeightForWidth(label_3->sizePolicy().hasHeightForWidth());
|
||
|
label_3->setSizePolicy(sizePolicy);
|
||
|
label_3->setFont(font1);
|
||
|
lE_EDITSGNo = new QLineEdit(groupBox);
|
||
|
lE_EDITSGNo->setObjectName(QString::fromUtf8("lE_EDITSGNo"));
|
||
|
lE_EDITSGNo->setGeometry(QRect(396, 20, 60, 26));
|
||
|
sizePolicy1.setHeightForWidth(lE_EDITSGNo->sizePolicy().hasHeightForWidth());
|
||
|
lE_EDITSGNo->setSizePolicy(sizePolicy1);
|
||
|
pB_ReadSGBlock = new QPushButton(groupBox);
|
||
|
pB_ReadSGBlock->setObjectName(QString::fromUtf8("pB_ReadSGBlock"));
|
||
|
pB_ReadSGBlock->setGeometry(QRect(470, 20, 100, 29));
|
||
|
groupBox_2 = new QGroupBox(dialog_sg);
|
||
|
groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
|
||
|
groupBox_2->setGeometry(QRect(20, 70, 580, 300));
|
||
|
groupBox_2->setFont(font);
|
||
|
tV_SG = new QTableView(groupBox_2);
|
||
|
tV_SG->setObjectName(QString::fromUtf8("tV_SG"));
|
||
|
tV_SG->setGeometry(QRect(10, 62, 560, 222));
|
||
|
layoutWidget = new QWidget(groupBox_2);
|
||
|
layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
|
||
|
layoutWidget->setGeometry(QRect(10, 20, 563, 34));
|
||
|
horizontalLayout = new QHBoxLayout(layoutWidget);
|
||
|
horizontalLayout->setSpacing(11);
|
||
|
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
||
|
horizontalLayout->setContentsMargins(0, 0, 0, 0);
|
||
|
label_4 = new QLabel(layoutWidget);
|
||
|
label_4->setObjectName(QString::fromUtf8("label_4"));
|
||
|
sizePolicy.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth());
|
||
|
label_4->setSizePolicy(sizePolicy);
|
||
|
label_4->setFont(font1);
|
||
|
|
||
|
horizontalLayout->addWidget(label_4);
|
||
|
|
||
|
cB_OPSGNo = new QComboBox(layoutWidget);
|
||
|
cB_OPSGNo->setObjectName(QString::fromUtf8("cB_OPSGNo"));
|
||
|
|
||
|
horizontalLayout->addWidget(cB_OPSGNo);
|
||
|
|
||
|
pB_CHGACTSGNo = new QPushButton(layoutWidget);
|
||
|
pB_CHGACTSGNo->setObjectName(QString::fromUtf8("pB_CHGACTSGNo"));
|
||
|
|
||
|
horizontalLayout->addWidget(pB_CHGACTSGNo);
|
||
|
|
||
|
pB_CHGEDITSGNo = new QPushButton(layoutWidget);
|
||
|
pB_CHGEDITSGNo->setObjectName(QString::fromUtf8("pB_CHGEDITSGNo"));
|
||
|
|
||
|
horizontalLayout->addWidget(pB_CHGEDITSGNo);
|
||
|
|
||
|
pB_ReadSG = new QPushButton(layoutWidget);
|
||
|
pB_ReadSG->setObjectName(QString::fromUtf8("pB_ReadSG"));
|
||
|
QFont font2;
|
||
|
font2.setBold(false);
|
||
|
font2.setWeight(50);
|
||
|
pB_ReadSG->setFont(font2);
|
||
|
|
||
|
horizontalLayout->addWidget(pB_ReadSG);
|
||
|
|
||
|
pB_WriteSG = new QPushButton(layoutWidget);
|
||
|
pB_WriteSG->setObjectName(QString::fromUtf8("pB_WriteSG"));
|
||
|
|
||
|
horizontalLayout->addWidget(pB_WriteSG);
|
||
|
|
||
|
|
||
|
retranslateUi(dialog_sg);
|
||
|
|
||
|
QMetaObject::connectSlotsByName(dialog_sg);
|
||
|
} // setupUi
|
||
|
|
||
|
void retranslateUi(QDialog *dialog_sg)
|
||
|
{
|
||
|
dialog_sg->setWindowTitle(QApplication::translate("dialog_sg", "\345\256\232\345\200\274\346\234\215\345\212\241", 0, QApplication::UnicodeUTF8));
|
||
|
groupBox->setTitle(QApplication::translate("dialog_sg", "\345\256\232\345\200\274\346\216\247\345\210\266\345\235\227", 0, QApplication::UnicodeUTF8));
|
||
|
label->setText(QApplication::translate("dialog_sg", "\345\256\232\345\200\274\347\273\204\346\225\260\347\233\256", 0, QApplication::UnicodeUTF8));
|
||
|
label_2->setText(QApplication::translate("dialog_sg", "\346\277\200\346\264\273\345\256\232\345\200\274\347\273\204", 0, QApplication::UnicodeUTF8));
|
||
|
label_3->setText(QApplication::translate("dialog_sg", "\347\274\226\350\276\221\345\256\232\345\200\274\347\273\204", 0, QApplication::UnicodeUTF8));
|
||
|
pB_ReadSGBlock->setText(QApplication::translate("dialog_sg", "\350\257\273\345\256\232\345\200\274\346\216\247\345\210\266\345\235\227", 0, QApplication::UnicodeUTF8));
|
||
|
groupBox_2->setTitle(QApplication::translate("dialog_sg", "\345\256\232\345\200\274\346\223\215\344\275\234", 0, QApplication::UnicodeUTF8));
|
||
|
label_4->setText(QApplication::translate("dialog_sg", "\346\223\215\344\275\234\345\256\232\345\200\274\347\273\204", 0, QApplication::UnicodeUTF8));
|
||
|
pB_CHGACTSGNo->setText(QApplication::translate("dialog_sg", "\345\210\207\346\215\242\346\277\200\346\264\273\345\214\272", 0, QApplication::UnicodeUTF8));
|
||
|
pB_CHGEDITSGNo->setText(QApplication::translate("dialog_sg", "\345\210\207\346\215\242\347\274\226\350\276\221\345\214\272", 0, QApplication::UnicodeUTF8));
|
||
|
pB_ReadSG->setText(QApplication::translate("dialog_sg", "\350\257\273\345\256\232\345\200\274", 0, QApplication::UnicodeUTF8));
|
||
|
pB_WriteSG->setText(QApplication::translate("dialog_sg", "\345\206\231\345\256\232\345\200\274", 0, QApplication::UnicodeUTF8));
|
||
|
} // retranslateUi
|
||
|
|
||
|
};
|
||
|
|
||
|
namespace Ui {
|
||
|
class dialog_sg: public Ui_dialog_sg {};
|
||
|
} // namespace Ui
|
||
|
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
#endif // UI_DIALOG_SG_H
|