阻抗弹窗
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
#define UI_EYETRAINWIDGET_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtQuickWidgets/QQuickWidget>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QFrame>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
@@ -20,9 +20,9 @@ QT_BEGIN_NAMESPACE
|
||||
class Ui_eyeTrainWidget
|
||||
{
|
||||
public:
|
||||
QFrame *frame;
|
||||
QPushButton *startButton;
|
||||
QPushButton *closeButton;
|
||||
QHBoxLayout *horizontalLayout_2;
|
||||
QHBoxLayout *horizontalLayout;
|
||||
QQuickWidget *quickWidget;
|
||||
|
||||
void setupUi(QWidget *eyeTrainWidget)
|
||||
{
|
||||
@@ -30,23 +30,21 @@ public:
|
||||
eyeTrainWidget->setObjectName(QString::fromUtf8("eyeTrainWidget"));
|
||||
eyeTrainWidget->resize(1920, 980);
|
||||
eyeTrainWidget->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 255, 255);"));
|
||||
frame = new QFrame(eyeTrainWidget);
|
||||
frame->setObjectName(QString::fromUtf8("frame"));
|
||||
frame->setGeometry(QRect(0, 0, 1920, 1080));
|
||||
frame->setFrameShape(QFrame::StyledPanel);
|
||||
frame->setFrameShadow(QFrame::Raised);
|
||||
startButton = new QPushButton(frame);
|
||||
startButton->setObjectName(QString::fromUtf8("startButton"));
|
||||
startButton->setGeometry(QRect(500, 683, 131, 61));
|
||||
startButton->setStyleSheet(QString::fromUtf8("background-color: rgb(85, 170, 255);\n"
|
||||
"font: 14pt \"Adobe Devanagari\";\n"
|
||||
"color: rgb(255, 255, 255);"));
|
||||
closeButton = new QPushButton(frame);
|
||||
closeButton->setObjectName(QString::fromUtf8("closeButton"));
|
||||
closeButton->setGeometry(QRect(810, 690, 131, 61));
|
||||
closeButton->setStyleSheet(QString::fromUtf8("background-color: rgb(85, 170, 255);\n"
|
||||
"font: 14pt \"Adobe Devanagari\";\n"
|
||||
"color: rgb(255, 255, 255);"));
|
||||
horizontalLayout_2 = new QHBoxLayout(eyeTrainWidget);
|
||||
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
|
||||
horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
|
||||
horizontalLayout = new QHBoxLayout();
|
||||
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
||||
quickWidget = new QQuickWidget(eyeTrainWidget);
|
||||
quickWidget->setObjectName(QString::fromUtf8("quickWidget"));
|
||||
quickWidget->setResizeMode(QQuickWidget::SizeRootObjectToView);
|
||||
quickWidget->setSource(QUrl(QString::fromUtf8("qrc:/DependFile/QML/Ssvep.qml")));
|
||||
|
||||
horizontalLayout->addWidget(quickWidget);
|
||||
|
||||
|
||||
horizontalLayout_2->addLayout(horizontalLayout);
|
||||
|
||||
|
||||
retranslateUi(eyeTrainWidget);
|
||||
|
||||
@@ -56,8 +54,6 @@ public:
|
||||
void retranslateUi(QWidget *eyeTrainWidget)
|
||||
{
|
||||
eyeTrainWidget->setWindowTitle(QCoreApplication::translate("eyeTrainWidget", "Form", nullptr));
|
||||
startButton->setText(QCoreApplication::translate("eyeTrainWidget", "\345\274\200\345\247\213", nullptr));
|
||||
closeButton->setText(QCoreApplication::translate("eyeTrainWidget", "\347\273\223\346\235\237", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user