阻抗弹窗
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
|
||||
|
||||
};
|
||||
|
||||
@@ -32,6 +32,7 @@ public:
|
||||
QLabel *state_label;
|
||||
QLabel *wifiSignal2_Label;
|
||||
QPushButton *sound_Button;
|
||||
QLabel *brainSignal_Labe;
|
||||
|
||||
void setupUi(QWidget *TitleWidget)
|
||||
{
|
||||
@@ -100,6 +101,10 @@ public:
|
||||
sound_Button->setObjectName(QString::fromUtf8("sound_Button"));
|
||||
sound_Button->setGeometry(QRect(1550, 30, 40, 40));
|
||||
sound_Button->setStyleSheet(QString::fromUtf8("border-image: url(:/DependFile/Source/channel/sound.png);"));
|
||||
brainSignal_Labe = new QLabel(groupBox);
|
||||
brainSignal_Labe->setObjectName(QString::fromUtf8("brainSignal_Labe"));
|
||||
brainSignal_Labe->setGeometry(QRect(1440, 30, 40, 40));
|
||||
brainSignal_Labe->setStyleSheet(QString::fromUtf8("border-image: url(:/DependFile/Source/signal/icon_brain_on.png);"));
|
||||
groupBox->raise();
|
||||
title_Label->raise();
|
||||
signal_Label->raise();
|
||||
@@ -125,6 +130,7 @@ public:
|
||||
state_label->setText(QString());
|
||||
wifiSignal2_Label->setText(QString());
|
||||
sound_Button->setText(QString());
|
||||
brainSignal_Labe->setText(QString());
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'visiontrain.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.13.0
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_VISIONTRAIN_H
|
||||
#define UI_VISIONTRAIN_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_visionTrain
|
||||
{
|
||||
public:
|
||||
|
||||
void setupUi(QWidget *visionTrain)
|
||||
{
|
||||
if (visionTrain->objectName().isEmpty())
|
||||
visionTrain->setObjectName(QString::fromUtf8("visionTrain"));
|
||||
visionTrain->resize(1920, 980);
|
||||
visionTrain->setStyleSheet(QString::fromUtf8("#visionTrain{background-color: rgb(255, 255, 255);}\n"
|
||||
""));
|
||||
|
||||
retranslateUi(visionTrain);
|
||||
|
||||
QMetaObject::connectSlotsByName(visionTrain);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QWidget *visionTrain)
|
||||
{
|
||||
visionTrain->setWindowTitle(QCoreApplication::translate("visionTrain", "Form", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class visionTrain: public Ui_visionTrain {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_VISIONTRAIN_H
|
||||
Reference in New Issue
Block a user