添加OpenCv
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QScrollArea>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
@@ -19,19 +21,142 @@ QT_BEGIN_NAMESPACE
|
||||
class Ui_P10_IntelligentPage
|
||||
{
|
||||
public:
|
||||
QLabel *label;
|
||||
QScrollArea *scrollArea;
|
||||
QWidget *scrollAreaWidgetContents;
|
||||
QLabel *videoLabel;
|
||||
QPushButton *But_Atlas_1;
|
||||
QPushButton *But_Magnify;
|
||||
QPushButton *But_Atlas_2;
|
||||
QPushButton *But_Reduce;
|
||||
QLabel *Label_Zoom;
|
||||
QPushButton *But_Atlas_3;
|
||||
|
||||
void setupUi(QWidget *P10_IntelligentPage)
|
||||
{
|
||||
if (P10_IntelligentPage->objectName().isEmpty())
|
||||
P10_IntelligentPage->setObjectName(QString::fromUtf8("P10_IntelligentPage"));
|
||||
P10_IntelligentPage->resize(1024, 576);
|
||||
label = new QLabel(P10_IntelligentPage);
|
||||
label->setObjectName(QString::fromUtf8("label"));
|
||||
label->setGeometry(QRect(0, 0, 1024, 90));
|
||||
label->setStyleSheet(QString::fromUtf8("font: 87 48pt \"\346\200\235\346\272\220\351\273\221\344\275\223 Heavy\";\n"
|
||||
"color: rgb(0, 255, 0);"));
|
||||
label->setAlignment(Qt::AlignCenter);
|
||||
P10_IntelligentPage->setMinimumSize(QSize(1024, 576));
|
||||
scrollArea = new QScrollArea(P10_IntelligentPage);
|
||||
scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
|
||||
scrollArea->setGeometry(QRect(0, 0, 900, 576));
|
||||
scrollArea->setStyleSheet(QString::fromUtf8("border-image: url(:/Frames/Frames/Main.png);"));
|
||||
scrollArea->setWidgetResizable(true);
|
||||
scrollAreaWidgetContents = new QWidget();
|
||||
scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
|
||||
scrollAreaWidgetContents->setGeometry(QRect(0, 0, 900, 576));
|
||||
videoLabel = new QLabel(scrollAreaWidgetContents);
|
||||
videoLabel->setObjectName(QString::fromUtf8("videoLabel"));
|
||||
videoLabel->setGeometry(QRect(0, 0, 891, 561));
|
||||
videoLabel->setMinimumSize(QSize(788, 500));
|
||||
videoLabel->setStyleSheet(QString::fromUtf8("font: 87 38pt \"\346\200\235\346\272\220\351\273\221\344\275\223 Heavy\";\n"
|
||||
"color: rgb(0, 255, 255);"));
|
||||
videoLabel->setAlignment(Qt::AlignCenter);
|
||||
scrollArea->setWidget(scrollAreaWidgetContents);
|
||||
But_Atlas_1 = new QPushButton(P10_IntelligentPage);
|
||||
But_Atlas_1->setObjectName(QString::fromUtf8("But_Atlas_1"));
|
||||
But_Atlas_1->setGeometry(QRect(910, 30, 101, 40));
|
||||
But_Atlas_1->setStyleSheet(QString::fromUtf8("\n"
|
||||
"QPushButton{\n"
|
||||
"/*\345\270\270\346\200\201\347\212\266\346\200\201\344\270\213\347\232\204\346\214\211\351\222\256\346\240\267\345\274\217*/\n"
|
||||
" border-image: url(:/Button/Button/button_Blue.png);\n"
|
||||
" font: 87 14pt \"\346\200\235\346\272\220\351\273\221\344\275\223 Heavy\";\n"
|
||||
" color: rgb(0, 255, 255);\n"
|
||||
"}\n"
|
||||
"QPushButton:hover {\n"
|
||||
"/*\351\274\240\346\240\207\346\202\254\346\265\256\345\234\250\346\214\211\351\222\256\344\270\212\346\227\266\357\274\214\350\256\276\347\275\256\346\240\267\345\274\217*/\n"
|
||||
" border-image: url(:/Button/Button/button_Green.png);\n"
|
||||
"}\n"
|
||||
"/*\347\202\271\345\207\273\346\214\211\351\222\256\346\227\266\357\274\214\350\256\276\347\275\256\346\240\267\345\274\217*/\n"
|
||||
"QPushButton:pressed {\n"
|
||||
" /*\350\256\276\347\275\256\347\202\271\345\207\273\346\214\211\351\222\256\346\227\266\346\214\211\351\222\256\347\232\204\346\240\267\345\274\217*/\n"
|
||||
" border-image: url(:/Button/Button/button_qing.png);\n"
|
||||
"}\n"
|
||||
""));
|
||||
But_Magnify = new QPushButton(P10_IntelligentPage);
|
||||
But_Magnify->setObjectName(QString::fromUtf8("But_Magnify"));
|
||||
But_Magnify->setGeometry(QRect(940, 160, 41, 40));
|
||||
But_Magnify->setStyleSheet(QString::fromUtf8("\n"
|
||||
"QPushButton{\n"
|
||||
"/*\345\270\270\346\200\201\347\212\266\346\200\201\344\270\213\347\232\204\346\214\211\351\222\256\346\240\267\345\274\217*/\n"
|
||||
" border-image: url(:/Icos/Icos/icon_magnify1.png);\n"
|
||||
" font: 87 14pt \"\346\200\235\346\272\220\351\273\221\344\275\223 Heavy\";\n"
|
||||
" color: rgb(0, 255, 255);\n"
|
||||
"}\n"
|
||||
"QPushButton:hover {\n"
|
||||
"/*\351\274\240\346\240\207\346\202\254\346\265\256\345\234\250\346\214\211\351\222\256\344\270\212\346\227\266\357\274\214\350\256\276\347\275\256\346\240\267\345\274\217*/\n"
|
||||
" border-image: url(:/Icos/Icos/icon_magnify2.png);\n"
|
||||
"}\n"
|
||||
"/*\347\202\271\345\207\273\346\214\211\351\222\256\346\227\266\357\274\214\350\256\276\347\275\256\346\240\267\345\274\217*/\n"
|
||||
"QPushButton:pressed {\n"
|
||||
" /*\350\256\276\347\275\256\347\202\271\345\207\273\346\214\211\351\222\256\346\227\266\346\214\211\351\222\256\347\232\204\346\240\267\345\274\217*/\n"
|
||||
" border-image: url(:/Icos/Icos/icon_magnify2.png);\n"
|
||||
"}"));
|
||||
But_Atlas_2 = new QPushButton(P10_IntelligentPage);
|
||||
But_Atlas_2->setObjectName(QString::fromUtf8("But_Atlas_2"));
|
||||
But_Atlas_2->setGeometry(QRect(910, 80, 101, 40));
|
||||
But_Atlas_2->setStyleSheet(QString::fromUtf8("\n"
|
||||
"QPushButton{\n"
|
||||
"/*\345\270\270\346\200\201\347\212\266\346\200\201\344\270\213\347\232\204\346\214\211\351\222\256\346\240\267\345\274\217*/\n"
|
||||
" border-image: url(:/Button/Button/button_Blue.png);\n"
|
||||
" font: 87 14pt \"\346\200\235\346\272\220\351\273\221\344\275\223 Heavy\";\n"
|
||||
" color: rgb(0, 255, 255);\n"
|
||||
"}\n"
|
||||
"QPushButton:hover {\n"
|
||||
"/*\351\274\240\346\240\207\346\202\254\346\265\256\345\234\250\346\214\211\351\222\256\344\270\212\346\227\266\357\274\214\350\256\276\347\275\256\346\240\267\345\274\217*/\n"
|
||||
" border-image: url(:/Button/Button/button_Green.png);\n"
|
||||
"}\n"
|
||||
"/*\347\202\271\345\207\273\346\214\211\351\222\256\346\227\266\357\274\214\350\256\276\347\275\256\346\240\267\345\274\217*/\n"
|
||||
"QPushButton:pressed {\n"
|
||||
" /*\350\256\276\347\275\256\347\202\271\345\207\273\346\214\211\351\222\256\346\227\266\346\214\211\351\222\256\347\232\204\346\240\267\345\274\217*/\n"
|
||||
" border-image: url(:/Button/Button/button_qing.png);\n"
|
||||
"}\n"
|
||||
""));
|
||||
But_Reduce = new QPushButton(P10_IntelligentPage);
|
||||
But_Reduce->setObjectName(QString::fromUtf8("But_Reduce"));
|
||||
But_Reduce->setGeometry(QRect(940, 290, 41, 40));
|
||||
But_Reduce->setStyleSheet(QString::fromUtf8("\n"
|
||||
"QPushButton{\n"
|
||||
"/*\345\270\270\346\200\201\347\212\266\346\200\201\344\270\213\347\232\204\346\214\211\351\222\256\346\240\267\345\274\217*/\n"
|
||||
" border-image: url(:/Icos/Icos/icon_reduce1.png);\n"
|
||||
" font: 87 14pt \"\346\200\235\346\272\220\351\273\221\344\275\223 Heavy\";\n"
|
||||
" color: rgb(0, 255, 255);\n"
|
||||
"}\n"
|
||||
"QPushButton:hover {\n"
|
||||
"/*\351\274\240\346\240\207\346\202\254\346\265\256\345\234\250\346\214\211\351\222\256\344\270\212\346\227\266\357\274\214\350\256\276\347\275\256\346\240\267\345\274\217*/\n"
|
||||
" border-image: url(:/Icos/Icos/icon_reduce2.png);\n"
|
||||
"}\n"
|
||||
"/*\347\202\271\345\207\273\346\214\211\351\222\256\346\227\266\357\274\214\350\256\276\347\275\256\346\240\267\345\274\217*/\n"
|
||||
"QPushButton:pressed {\n"
|
||||
" /*\350\256\276\347\275\256\347\202\271\345\207\273\346\214\211\351\222\256\346\227\266\346\214\211\351\222\256\347\232\204\346\240\267\345\274\217*/\n"
|
||||
" border-image: url(:/Icos/Icos/icon_reduce2.png);\n"
|
||||
"}"));
|
||||
Label_Zoom = new QLabel(P10_IntelligentPage);
|
||||
Label_Zoom->setObjectName(QString::fromUtf8("Label_Zoom"));
|
||||
Label_Zoom->setGeometry(QRect(900, 220, 120, 40));
|
||||
Label_Zoom->setStyleSheet(QString::fromUtf8("color: rgb(0, 255, 255);\n"
|
||||
"font: 87 22pt \"\346\200\235\346\272\220\351\273\221\344\275\223 Heavy\";"));
|
||||
Label_Zoom->setAlignment(Qt::AlignCenter);
|
||||
But_Atlas_3 = new QPushButton(P10_IntelligentPage);
|
||||
But_Atlas_3->setObjectName(QString::fromUtf8("But_Atlas_3"));
|
||||
But_Atlas_3->setGeometry(QRect(910, 360, 101, 40));
|
||||
But_Atlas_3->setStyleSheet(QString::fromUtf8("\n"
|
||||
"QPushButton{\n"
|
||||
"/*\345\270\270\346\200\201\347\212\266\346\200\201\344\270\213\347\232\204\346\214\211\351\222\256\346\240\267\345\274\217*/\n"
|
||||
" border-image: url(:/Button/Button/button_Blue.png);\n"
|
||||
" font: 87 14pt \"\346\200\235\346\272\220\351\273\221\344\275\223 Heavy\";\n"
|
||||
" color: rgb(0, 255, 255);\n"
|
||||
"}\n"
|
||||
"QPushButton:hover {\n"
|
||||
"/*\351\274\240\346\240\207\346\202\254\346\265\256\345\234\250\346\214\211\351\222\256\344\270\212\346\227\266\357\274\214\350\256\276\347\275\256\346\240\267\345\274\217*/\n"
|
||||
" border-image: url(:/Button/Button/button_Green.png);\n"
|
||||
"}\n"
|
||||
"/*\347\202\271\345\207\273\346\214\211\351\222\256\346\227\266\357\274\214\350\256\276\347\275\256\346\240\267\345\274\217*/\n"
|
||||
"QPushButton:pressed {\n"
|
||||
" /*\350\256\276\347\275\256\347\202\271\345\207\273\346\214\211\351\222\256\346\227\266\346\214\211\351\222\256\347\232\204\346\240\267\345\274\217*/\n"
|
||||
" border-image: url(:/Button/Button/button_qing.png);\n"
|
||||
"}\n"
|
||||
""));
|
||||
|
||||
retranslateUi(P10_IntelligentPage);
|
||||
|
||||
@@ -41,7 +166,13 @@ public:
|
||||
void retranslateUi(QWidget *P10_IntelligentPage)
|
||||
{
|
||||
P10_IntelligentPage->setWindowTitle(QCoreApplication::translate("P10_IntelligentPage", "Form", nullptr));
|
||||
label->setText(QCoreApplication::translate("P10_IntelligentPage", "\346\210\221\346\230\257\347\254\254 10 \351\241\265", nullptr));
|
||||
videoLabel->setText(QString());
|
||||
But_Atlas_1->setText(QCoreApplication::translate("P10_IntelligentPage", "\345\256\236\347\211\251\345\233\276", nullptr));
|
||||
But_Magnify->setText(QString());
|
||||
But_Atlas_2->setText(QCoreApplication::translate("P10_IntelligentPage", "\347\203\255\351\207\217\345\233\276", nullptr));
|
||||
But_Reduce->setText(QString());
|
||||
Label_Zoom->setText(QCoreApplication::translate("P10_IntelligentPage", "100 %", nullptr));
|
||||
But_Atlas_3->setText(QCoreApplication::translate("P10_IntelligentPage", "\346\232\202\345\201\234", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user