|
|
|
|
@ -39,9 +39,8 @@ public:
|
|
|
|
|
QGroupBox *groupBox_2;
|
|
|
|
|
QVBoxLayout *verticalLayout_2;
|
|
|
|
|
QHBoxLayout *horizontalLayout_2;
|
|
|
|
|
QLineEdit *lineEdit_3;
|
|
|
|
|
QPushButton *pushButton_8;
|
|
|
|
|
QSpacerItem *horizontalSpacer_6;
|
|
|
|
|
QLineEdit *lineEdit_3;
|
|
|
|
|
QPushButton *pushButton_7;
|
|
|
|
|
QSpacerItem *verticalSpacer;
|
|
|
|
|
QPushButton *pushButton_5;
|
|
|
|
|
@ -49,32 +48,6 @@ public:
|
|
|
|
|
QVBoxLayout *verticalLayout;
|
|
|
|
|
QLabel *label_pixel_info;
|
|
|
|
|
QGraphicsView *graphicsView;
|
|
|
|
|
QGroupBox *groupBox_3;
|
|
|
|
|
QHBoxLayout *horizontalLayout;
|
|
|
|
|
QGridLayout *gridLayout_2;
|
|
|
|
|
QLabel *label_4;
|
|
|
|
|
QLineEdit *lineEdit_4;
|
|
|
|
|
QLabel *label_7;
|
|
|
|
|
QLineEdit *lineEdit_6;
|
|
|
|
|
QLabel *label_5;
|
|
|
|
|
QLineEdit *lineEdit_5;
|
|
|
|
|
QLabel *label_6;
|
|
|
|
|
QLineEdit *lineEdit_7;
|
|
|
|
|
QVBoxLayout *verticalLayout_5;
|
|
|
|
|
QPushButton *pushButton_16;
|
|
|
|
|
QPushButton *pushButton_17;
|
|
|
|
|
QGridLayout *gridLayout;
|
|
|
|
|
QSpacerItem *horizontalSpacer;
|
|
|
|
|
QPushButton *pushButton_11;
|
|
|
|
|
QSpacerItem *horizontalSpacer_2;
|
|
|
|
|
QPushButton *pushButton_10;
|
|
|
|
|
QPushButton *pushButton_9;
|
|
|
|
|
QPushButton *pushButton_12;
|
|
|
|
|
QSpacerItem *horizontalSpacer_3;
|
|
|
|
|
QPushButton *pushButton_13;
|
|
|
|
|
QSpacerItem *horizontalSpacer_4;
|
|
|
|
|
QPushButton *pushButton_14;
|
|
|
|
|
QPushButton *pushButton_15;
|
|
|
|
|
|
|
|
|
|
void setupUi(QDialog *RoiDlg)
|
|
|
|
|
{
|
|
|
|
|
@ -118,9 +91,15 @@ public:
|
|
|
|
|
verticalLayout_2->setContentsMargins(2, 2, 2, 2);
|
|
|
|
|
horizontalLayout_2 = new QHBoxLayout();
|
|
|
|
|
horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
|
|
|
|
|
pushButton_8 = new QPushButton(groupBox_2);
|
|
|
|
|
pushButton_8->setObjectName(QStringLiteral("pushButton_8"));
|
|
|
|
|
pushButton_8->setMaximumSize(QSize(80, 16777215));
|
|
|
|
|
|
|
|
|
|
horizontalLayout_2->addWidget(pushButton_8);
|
|
|
|
|
|
|
|
|
|
lineEdit_3 = new QLineEdit(groupBox_2);
|
|
|
|
|
lineEdit_3->setObjectName(QStringLiteral("lineEdit_3"));
|
|
|
|
|
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
|
|
|
|
|
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
|
|
|
|
|
sizePolicy.setHorizontalStretch(0);
|
|
|
|
|
sizePolicy.setVerticalStretch(0);
|
|
|
|
|
sizePolicy.setHeightForWidth(lineEdit_3->sizePolicy().hasHeightForWidth());
|
|
|
|
|
@ -129,16 +108,6 @@ public:
|
|
|
|
|
|
|
|
|
|
horizontalLayout_2->addWidget(lineEdit_3);
|
|
|
|
|
|
|
|
|
|
pushButton_8 = new QPushButton(groupBox_2);
|
|
|
|
|
pushButton_8->setObjectName(QStringLiteral("pushButton_8"));
|
|
|
|
|
pushButton_8->setMaximumSize(QSize(80, 16777215));
|
|
|
|
|
|
|
|
|
|
horizontalLayout_2->addWidget(pushButton_8);
|
|
|
|
|
|
|
|
|
|
horizontalSpacer_6 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
|
|
|
|
|
|
horizontalLayout_2->addItem(horizontalSpacer_6);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
verticalLayout_2->addLayout(horizontalLayout_2);
|
|
|
|
|
|
|
|
|
|
@ -185,134 +154,6 @@ public:
|
|
|
|
|
|
|
|
|
|
verticalLayout->addWidget(graphicsView);
|
|
|
|
|
|
|
|
|
|
groupBox_3 = new QGroupBox(groupBox);
|
|
|
|
|
groupBox_3->setObjectName(QStringLiteral("groupBox_3"));
|
|
|
|
|
horizontalLayout = new QHBoxLayout(groupBox_3);
|
|
|
|
|
horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
|
|
|
|
|
horizontalLayout->setContentsMargins(2, 2, 2, 2);
|
|
|
|
|
gridLayout_2 = new QGridLayout();
|
|
|
|
|
gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
|
|
|
|
|
label_4 = new QLabel(groupBox_3);
|
|
|
|
|
label_4->setObjectName(QStringLiteral("label_4"));
|
|
|
|
|
|
|
|
|
|
gridLayout_2->addWidget(label_4, 0, 0, 1, 1);
|
|
|
|
|
|
|
|
|
|
lineEdit_4 = new QLineEdit(groupBox_3);
|
|
|
|
|
lineEdit_4->setObjectName(QStringLiteral("lineEdit_4"));
|
|
|
|
|
|
|
|
|
|
gridLayout_2->addWidget(lineEdit_4, 0, 1, 1, 1);
|
|
|
|
|
|
|
|
|
|
label_7 = new QLabel(groupBox_3);
|
|
|
|
|
label_7->setObjectName(QStringLiteral("label_7"));
|
|
|
|
|
|
|
|
|
|
gridLayout_2->addWidget(label_7, 0, 2, 1, 1);
|
|
|
|
|
|
|
|
|
|
lineEdit_6 = new QLineEdit(groupBox_3);
|
|
|
|
|
lineEdit_6->setObjectName(QStringLiteral("lineEdit_6"));
|
|
|
|
|
|
|
|
|
|
gridLayout_2->addWidget(lineEdit_6, 0, 3, 1, 1);
|
|
|
|
|
|
|
|
|
|
label_5 = new QLabel(groupBox_3);
|
|
|
|
|
label_5->setObjectName(QStringLiteral("label_5"));
|
|
|
|
|
|
|
|
|
|
gridLayout_2->addWidget(label_5, 1, 0, 1, 1);
|
|
|
|
|
|
|
|
|
|
lineEdit_5 = new QLineEdit(groupBox_3);
|
|
|
|
|
lineEdit_5->setObjectName(QStringLiteral("lineEdit_5"));
|
|
|
|
|
|
|
|
|
|
gridLayout_2->addWidget(lineEdit_5, 1, 1, 1, 1);
|
|
|
|
|
|
|
|
|
|
label_6 = new QLabel(groupBox_3);
|
|
|
|
|
label_6->setObjectName(QStringLiteral("label_6"));
|
|
|
|
|
|
|
|
|
|
gridLayout_2->addWidget(label_6, 1, 2, 1, 1);
|
|
|
|
|
|
|
|
|
|
lineEdit_7 = new QLineEdit(groupBox_3);
|
|
|
|
|
lineEdit_7->setObjectName(QStringLiteral("lineEdit_7"));
|
|
|
|
|
|
|
|
|
|
gridLayout_2->addWidget(lineEdit_7, 1, 3, 1, 1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
horizontalLayout->addLayout(gridLayout_2);
|
|
|
|
|
|
|
|
|
|
verticalLayout_5 = new QVBoxLayout();
|
|
|
|
|
verticalLayout_5->setObjectName(QStringLiteral("verticalLayout_5"));
|
|
|
|
|
pushButton_16 = new QPushButton(groupBox_3);
|
|
|
|
|
pushButton_16->setObjectName(QStringLiteral("pushButton_16"));
|
|
|
|
|
|
|
|
|
|
verticalLayout_5->addWidget(pushButton_16);
|
|
|
|
|
|
|
|
|
|
pushButton_17 = new QPushButton(groupBox_3);
|
|
|
|
|
pushButton_17->setObjectName(QStringLiteral("pushButton_17"));
|
|
|
|
|
|
|
|
|
|
verticalLayout_5->addWidget(pushButton_17);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
horizontalLayout->addLayout(verticalLayout_5);
|
|
|
|
|
|
|
|
|
|
gridLayout = new QGridLayout();
|
|
|
|
|
gridLayout->setSpacing(1);
|
|
|
|
|
gridLayout->setObjectName(QStringLiteral("gridLayout"));
|
|
|
|
|
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
|
|
|
|
|
|
gridLayout->addItem(horizontalSpacer, 0, 0, 1, 1);
|
|
|
|
|
|
|
|
|
|
pushButton_11 = new QPushButton(groupBox_3);
|
|
|
|
|
pushButton_11->setObjectName(QStringLiteral("pushButton_11"));
|
|
|
|
|
pushButton_11->setMinimumSize(QSize(0, 25));
|
|
|
|
|
|
|
|
|
|
gridLayout->addWidget(pushButton_11, 0, 1, 1, 1);
|
|
|
|
|
|
|
|
|
|
horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
|
|
|
|
|
|
gridLayout->addItem(horizontalSpacer_2, 0, 2, 1, 1);
|
|
|
|
|
|
|
|
|
|
pushButton_10 = new QPushButton(groupBox_3);
|
|
|
|
|
pushButton_10->setObjectName(QStringLiteral("pushButton_10"));
|
|
|
|
|
|
|
|
|
|
gridLayout->addWidget(pushButton_10, 1, 0, 1, 1);
|
|
|
|
|
|
|
|
|
|
pushButton_9 = new QPushButton(groupBox_3);
|
|
|
|
|
pushButton_9->setObjectName(QStringLiteral("pushButton_9"));
|
|
|
|
|
|
|
|
|
|
gridLayout->addWidget(pushButton_9, 1, 1, 1, 1);
|
|
|
|
|
|
|
|
|
|
pushButton_12 = new QPushButton(groupBox_3);
|
|
|
|
|
pushButton_12->setObjectName(QStringLiteral("pushButton_12"));
|
|
|
|
|
|
|
|
|
|
gridLayout->addWidget(pushButton_12, 1, 2, 1, 1);
|
|
|
|
|
|
|
|
|
|
horizontalSpacer_3 = new QSpacerItem(58, 13, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
|
|
|
|
|
|
gridLayout->addItem(horizontalSpacer_3, 2, 0, 1, 1);
|
|
|
|
|
|
|
|
|
|
pushButton_13 = new QPushButton(groupBox_3);
|
|
|
|
|
pushButton_13->setObjectName(QStringLiteral("pushButton_13"));
|
|
|
|
|
|
|
|
|
|
gridLayout->addWidget(pushButton_13, 2, 1, 1, 1);
|
|
|
|
|
|
|
|
|
|
horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
|
|
|
|
|
|
gridLayout->addItem(horizontalSpacer_4, 2, 2, 1, 1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
horizontalLayout->addLayout(gridLayout);
|
|
|
|
|
|
|
|
|
|
pushButton_14 = new QPushButton(groupBox_3);
|
|
|
|
|
pushButton_14->setObjectName(QStringLiteral("pushButton_14"));
|
|
|
|
|
pushButton_14->setMinimumSize(QSize(0, 30));
|
|
|
|
|
|
|
|
|
|
horizontalLayout->addWidget(pushButton_14);
|
|
|
|
|
|
|
|
|
|
pushButton_15 = new QPushButton(groupBox_3);
|
|
|
|
|
pushButton_15->setObjectName(QStringLiteral("pushButton_15"));
|
|
|
|
|
pushButton_15->setMinimumSize(QSize(0, 30));
|
|
|
|
|
|
|
|
|
|
horizontalLayout->addWidget(pushButton_15);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
verticalLayout->addWidget(groupBox_3);
|
|
|
|
|
|
|
|
|
|
splitter->addWidget(groupBox);
|
|
|
|
|
|
|
|
|
|
gridLayout_3->addWidget(splitter, 0, 0, 1, 3);
|
|
|
|
|
@ -334,20 +175,6 @@ public:
|
|
|
|
|
pushButton_5->setText(QApplication::translate("RoiDlg", "\345\215\201\345\255\227\346\240\207\345\256\232\347\272\277", Q_NULLPTR));
|
|
|
|
|
groupBox->setTitle(QApplication::translate("RoiDlg", "\347\273\230\345\233\276\345\214\272\345\237\237\357\274\232", Q_NULLPTR));
|
|
|
|
|
label_pixel_info->setText(QApplication::translate("RoiDlg", "Pixel info: ", Q_NULLPTR));
|
|
|
|
|
groupBox_3->setTitle(QApplication::translate("RoiDlg", "\346\216\247\345\210\266\345\217\260\357\274\232", Q_NULLPTR));
|
|
|
|
|
label_4->setText(QApplication::translate("RoiDlg", "X:", Q_NULLPTR));
|
|
|
|
|
label_7->setText(QApplication::translate("RoiDlg", "\345\256\275:", Q_NULLPTR));
|
|
|
|
|
label_5->setText(QApplication::translate("RoiDlg", "Y:", Q_NULLPTR));
|
|
|
|
|
label_6->setText(QApplication::translate("RoiDlg", "\351\253\230", Q_NULLPTR));
|
|
|
|
|
pushButton_16->setText(QApplication::translate("RoiDlg", "+", Q_NULLPTR));
|
|
|
|
|
pushButton_17->setText(QApplication::translate("RoiDlg", "-", Q_NULLPTR));
|
|
|
|
|
pushButton_11->setText(QApplication::translate("RoiDlg", "\344\270\212", Q_NULLPTR));
|
|
|
|
|
pushButton_10->setText(QApplication::translate("RoiDlg", "\345\267\246", Q_NULLPTR));
|
|
|
|
|
pushButton_9->setText(QApplication::translate("RoiDlg", "\347\241\256\350\256\244", Q_NULLPTR));
|
|
|
|
|
pushButton_12->setText(QApplication::translate("RoiDlg", "\345\217\263", Q_NULLPTR));
|
|
|
|
|
pushButton_13->setText(QApplication::translate("RoiDlg", "\344\270\213", Q_NULLPTR));
|
|
|
|
|
pushButton_14->setText(QApplication::translate("RoiDlg", "\350\256\276\347\275\256\345\233\276\347\211\207", Q_NULLPTR));
|
|
|
|
|
pushButton_15->setText(QApplication::translate("RoiDlg", "\344\273\216\347\233\270\346\234\272\350\216\267\345\217\226\345\233\276\347\211\207", Q_NULLPTR));
|
|
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|