169 lines
7.4 KiB
C
169 lines
7.4 KiB
C
|
/********************************************************************************
|
||
|
** Form generated from reading UI file 'usermanager.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_USERMANAGER_H
|
||
|
#define UI_USERMANAGER_H
|
||
|
|
||
|
#include <QtCore/QVariant>
|
||
|
#include <QtWidgets/QApplication>
|
||
|
#include <QtWidgets/QGroupBox>
|
||
|
#include <QtWidgets/QHeaderView>
|
||
|
#include <QtWidgets/QLabel>
|
||
|
#include <QtWidgets/QLineEdit>
|
||
|
#include <QtWidgets/QPushButton>
|
||
|
#include <QtWidgets/QTableWidget>
|
||
|
#include <QtWidgets/QWidget>
|
||
|
#include "trainrecord.h"
|
||
|
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
|
||
|
class Ui_UserManager
|
||
|
{
|
||
|
public:
|
||
|
QGroupBox *groupBox;
|
||
|
QPushButton *searchUser_Btn;
|
||
|
QTableWidget *user_TableWidget;
|
||
|
QGroupBox *groupBox_2;
|
||
|
QLabel *label;
|
||
|
QLabel *label_2;
|
||
|
QLabel *label_3;
|
||
|
QGroupBox *groupBox_3;
|
||
|
QLineEdit *searchUser_LineEdit;
|
||
|
QPushButton *selectUser_Btn;
|
||
|
QPushButton *EditUser_Btn;
|
||
|
QPushButton *deleteUser_Btn;
|
||
|
QPushButton *newUser_Btn;
|
||
|
TrainRecord *trainRecord_Widget;
|
||
|
|
||
|
void setupUi(QWidget *UserManager)
|
||
|
{
|
||
|
if (UserManager->objectName().isEmpty())
|
||
|
UserManager->setObjectName(QString::fromUtf8("UserManager"));
|
||
|
UserManager->resize(1920, 980);
|
||
|
groupBox = new QGroupBox(UserManager);
|
||
|
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
||
|
groupBox->setGeometry(QRect(0, 0, 604, 861));
|
||
|
groupBox->setStyleSheet(QString::fromUtf8(""));
|
||
|
searchUser_Btn = new QPushButton(groupBox);
|
||
|
searchUser_Btn->setObjectName(QString::fromUtf8("searchUser_Btn"));
|
||
|
searchUser_Btn->setGeometry(QRect(425, 28, 122, 54));
|
||
|
QFont font;
|
||
|
font.setFamily(QString::fromUtf8("\351\273\221\344\275\223"));
|
||
|
font.setPointSize(15);
|
||
|
searchUser_Btn->setFont(font);
|
||
|
searchUser_Btn->setStyleSheet(QString::fromUtf8("background: #05A6EC;\n"
|
||
|
"border-radius: 4px;\n"
|
||
|
"color:white;"));
|
||
|
user_TableWidget = new QTableWidget(groupBox);
|
||
|
user_TableWidget->setObjectName(QString::fromUtf8("user_TableWidget"));
|
||
|
user_TableWidget->setGeometry(QRect(50, 170, 497, 681));
|
||
|
user_TableWidget->setStyleSheet(QString::fromUtf8(""));
|
||
|
groupBox_2 = new QGroupBox(groupBox);
|
||
|
groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
|
||
|
groupBox_2->setGeometry(QRect(50, 104, 497, 48));
|
||
|
groupBox_2->setStyleSheet(QString::fromUtf8("#groupBox_2{background: #E5F2F9;\n"
|
||
|
"border-radius: 2px;}"));
|
||
|
label = new QLabel(groupBox_2);
|
||
|
label->setObjectName(QString::fromUtf8("label"));
|
||
|
label->setGeometry(QRect(38, 4, 71, 40));
|
||
|
label->setFont(font);
|
||
|
label->setAlignment(Qt::AlignCenter);
|
||
|
label_2 = new QLabel(groupBox_2);
|
||
|
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||
|
label_2->setGeometry(QRect(150, 5, 91, 40));
|
||
|
label_2->setFont(font);
|
||
|
label_2->setAlignment(Qt::AlignCenter);
|
||
|
label_3 = new QLabel(groupBox_2);
|
||
|
label_3->setObjectName(QString::fromUtf8("label_3"));
|
||
|
label_3->setGeometry(QRect(314, 3, 69, 40));
|
||
|
label_3->setFont(font);
|
||
|
label_3->setAlignment(Qt::AlignCenter);
|
||
|
groupBox_3 = new QGroupBox(groupBox);
|
||
|
groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
|
||
|
groupBox_3->setGeometry(QRect(50, 30, 345, 54));
|
||
|
groupBox_3->setStyleSheet(QString::fromUtf8("#groupBox_3{background: #FFFFFF;\n"
|
||
|
"border-radius: 4px;\n"
|
||
|
"border: 1px solid #454545;}"));
|
||
|
searchUser_LineEdit = new QLineEdit(groupBox_3);
|
||
|
searchUser_LineEdit->setObjectName(QString::fromUtf8("searchUser_LineEdit"));
|
||
|
searchUser_LineEdit->setGeometry(QRect(21, 2, 301, 50));
|
||
|
QFont font1;
|
||
|
font1.setFamily(QString::fromUtf8("\351\273\221\344\275\223"));
|
||
|
font1.setPointSize(12);
|
||
|
searchUser_LineEdit->setFont(font1);
|
||
|
searchUser_LineEdit->setStyleSheet(QString::fromUtf8("border:none;"));
|
||
|
searchUser_LineEdit->setMaxLength(10);
|
||
|
groupBox_3->raise();
|
||
|
searchUser_Btn->raise();
|
||
|
user_TableWidget->raise();
|
||
|
groupBox_2->raise();
|
||
|
selectUser_Btn = new QPushButton(UserManager);
|
||
|
selectUser_Btn->setObjectName(QString::fromUtf8("selectUser_Btn"));
|
||
|
selectUser_Btn->setGeometry(QRect(50, 880, 110, 45));
|
||
|
selectUser_Btn->setFont(font1);
|
||
|
selectUser_Btn->setStyleSheet(QString::fromUtf8("border-radius: 4px;\n"
|
||
|
"border: 1px solid #0D9DDB;\n"
|
||
|
"color:#0D9DDB ;"));
|
||
|
EditUser_Btn = new QPushButton(UserManager);
|
||
|
EditUser_Btn->setObjectName(QString::fromUtf8("EditUser_Btn"));
|
||
|
EditUser_Btn->setGeometry(QRect(179, 880, 110, 45));
|
||
|
EditUser_Btn->setFont(font1);
|
||
|
EditUser_Btn->setStyleSheet(QString::fromUtf8("border-radius: 4px;\n"
|
||
|
"border: 1px solid #0D9DDB;\n"
|
||
|
"color:#0D9DDB ;"));
|
||
|
deleteUser_Btn = new QPushButton(UserManager);
|
||
|
deleteUser_Btn->setObjectName(QString::fromUtf8("deleteUser_Btn"));
|
||
|
deleteUser_Btn->setGeometry(QRect(308, 880, 110, 45));
|
||
|
deleteUser_Btn->setFont(font1);
|
||
|
deleteUser_Btn->setStyleSheet(QString::fromUtf8("border-radius: 4px;\n"
|
||
|
"border: 1px solid #0D9DDB;\n"
|
||
|
"color:#0D9DDB ;"));
|
||
|
newUser_Btn = new QPushButton(UserManager);
|
||
|
newUser_Btn->setObjectName(QString::fromUtf8("newUser_Btn"));
|
||
|
newUser_Btn->setGeometry(QRect(437, 880, 110, 45));
|
||
|
newUser_Btn->setFont(font1);
|
||
|
newUser_Btn->setStyleSheet(QString::fromUtf8("border-radius: 4px;\n"
|
||
|
"border: 1px solid #0D9DDB;\n"
|
||
|
"color:#0D9DDB ;"));
|
||
|
trainRecord_Widget = new TrainRecord(UserManager);
|
||
|
trainRecord_Widget->setObjectName(QString::fromUtf8("trainRecord_Widget"));
|
||
|
trainRecord_Widget->setGeometry(QRect(604, 0, 1316, 961));
|
||
|
trainRecord_Widget->setStyleSheet(QString::fromUtf8(""));
|
||
|
|
||
|
retranslateUi(UserManager);
|
||
|
|
||
|
QMetaObject::connectSlotsByName(UserManager);
|
||
|
} // setupUi
|
||
|
|
||
|
void retranslateUi(QWidget *UserManager)
|
||
|
{
|
||
|
UserManager->setWindowTitle(QCoreApplication::translate("UserManager", "Form", nullptr));
|
||
|
groupBox->setTitle(QString());
|
||
|
searchUser_Btn->setText(QCoreApplication::translate("UserManager", "\346\220\234\347\264\242", nullptr));
|
||
|
groupBox_2->setTitle(QString());
|
||
|
label->setText(QCoreApplication::translate("UserManager", "\345\247\223\345\220\215", nullptr));
|
||
|
label_2->setText(QCoreApplication::translate("UserManager", "\346\200\247\345\210\253", nullptr));
|
||
|
label_3->setText(QCoreApplication::translate("UserManager", "ID", nullptr));
|
||
|
groupBox_3->setTitle(QString());
|
||
|
searchUser_LineEdit->setPlaceholderText(QCoreApplication::translate("UserManager", "\350\257\267\350\276\223\345\205\245\345\247\223\345\220\215\346\210\226\350\200\205ID", nullptr));
|
||
|
selectUser_Btn->setText(QCoreApplication::translate("UserManager", "\351\200\211\346\213\251", nullptr));
|
||
|
EditUser_Btn->setText(QCoreApplication::translate("UserManager", "\347\274\226\350\276\221", nullptr));
|
||
|
deleteUser_Btn->setText(QCoreApplication::translate("UserManager", "\345\210\240\351\231\244", nullptr));
|
||
|
newUser_Btn->setText(QCoreApplication::translate("UserManager", "\346\226\260\345\273\272", nullptr));
|
||
|
} // retranslateUi
|
||
|
|
||
|
};
|
||
|
|
||
|
namespace Ui {
|
||
|
class UserManager: public Ui_UserManager {};
|
||
|
} // namespace Ui
|
||
|
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
#endif // UI_USERMANAGER_H
|