mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
PSQL 01.11.2024
This commit is contained in:
@@ -0,0 +1,116 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'dialogauthorizationinstructor.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.14.2
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_DIALOGAUTHORIZATIONINSTRUCTOR_H
|
||||
#define UI_DIALOGAUTHORIZATIONINSTRUCTOR_H
|
||||
|
||||
#include <QtCore/QLocale>
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QDialogButtonBox>
|
||||
#include <QtWidgets/QGridLayout>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_DialogAuthorizationInstructor
|
||||
{
|
||||
public:
|
||||
QGridLayout *gridLayout;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QHBoxLayout *horizontalLayout;
|
||||
QLabel *label;
|
||||
QLineEdit *editLogin;
|
||||
QHBoxLayout *horizontalLayout_2;
|
||||
QLabel *label_2;
|
||||
QLineEdit *editPassword;
|
||||
QDialogButtonBox *buttonBox;
|
||||
|
||||
void setupUi(QDialog *DialogAuthorizationInstructor)
|
||||
{
|
||||
if (DialogAuthorizationInstructor->objectName().isEmpty())
|
||||
DialogAuthorizationInstructor->setObjectName(QString::fromUtf8("DialogAuthorizationInstructor"));
|
||||
DialogAuthorizationInstructor->resize(300, 140);
|
||||
QFont font;
|
||||
font.setFamily(QString::fromUtf8("Tahoma"));
|
||||
DialogAuthorizationInstructor->setFont(font);
|
||||
gridLayout = new QGridLayout(DialogAuthorizationInstructor);
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
verticalLayout = new QVBoxLayout();
|
||||
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||||
horizontalLayout = new QHBoxLayout();
|
||||
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
||||
label = new QLabel(DialogAuthorizationInstructor);
|
||||
label->setObjectName(QString::fromUtf8("label"));
|
||||
|
||||
horizontalLayout->addWidget(label);
|
||||
|
||||
editLogin = new QLineEdit(DialogAuthorizationInstructor);
|
||||
editLogin->setObjectName(QString::fromUtf8("editLogin"));
|
||||
|
||||
horizontalLayout->addWidget(editLogin);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout);
|
||||
|
||||
horizontalLayout_2 = new QHBoxLayout();
|
||||
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
|
||||
label_2 = new QLabel(DialogAuthorizationInstructor);
|
||||
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||||
|
||||
horizontalLayout_2->addWidget(label_2);
|
||||
|
||||
editPassword = new QLineEdit(DialogAuthorizationInstructor);
|
||||
editPassword->setObjectName(QString::fromUtf8("editPassword"));
|
||||
|
||||
horizontalLayout_2->addWidget(editPassword);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_2);
|
||||
|
||||
buttonBox = new QDialogButtonBox(DialogAuthorizationInstructor);
|
||||
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
|
||||
buttonBox->setLocale(QLocale(QLocale::English, QLocale::UnitedStates));
|
||||
buttonBox->setOrientation(Qt::Horizontal);
|
||||
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
||||
|
||||
verticalLayout->addWidget(buttonBox);
|
||||
|
||||
|
||||
gridLayout->addLayout(verticalLayout, 0, 0, 1, 1);
|
||||
|
||||
|
||||
retranslateUi(DialogAuthorizationInstructor);
|
||||
QObject::connect(buttonBox, SIGNAL(accepted()), DialogAuthorizationInstructor, SLOT(accept()));
|
||||
QObject::connect(buttonBox, SIGNAL(rejected()), DialogAuthorizationInstructor, SLOT(reject()));
|
||||
|
||||
QMetaObject::connectSlotsByName(DialogAuthorizationInstructor);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QDialog *DialogAuthorizationInstructor)
|
||||
{
|
||||
DialogAuthorizationInstructor->setWindowTitle(QCoreApplication::translate("DialogAuthorizationInstructor", "Instructor authorization", nullptr));
|
||||
label->setText(QCoreApplication::translate("DialogAuthorizationInstructor", "Login", nullptr));
|
||||
editLogin->setText(QCoreApplication::translate("DialogAuthorizationInstructor", "admin", nullptr));
|
||||
label_2->setText(QCoreApplication::translate("DialogAuthorizationInstructor", "Password", nullptr));
|
||||
editPassword->setText(QCoreApplication::translate("DialogAuthorizationInstructor", "admin", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DialogAuthorizationInstructor: public Ui_DialogAuthorizationInstructor {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_DIALOGAUTHORIZATIONINSTRUCTOR_H
|
||||
@@ -0,0 +1,98 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'dialogeditgroup.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.14.2
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_DIALOGEDITGROUP_H
|
||||
#define UI_DIALOGEDITGROUP_H
|
||||
|
||||
#include <QtCore/QLocale>
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QDialogButtonBox>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_DialogEditGroup
|
||||
{
|
||||
public:
|
||||
QVBoxLayout *verticalLayout_2;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QHBoxLayout *horizontalLayout;
|
||||
QLabel *label_2;
|
||||
QLineEdit *editName;
|
||||
QDialogButtonBox *buttonBox;
|
||||
|
||||
void setupUi(QDialog *DialogEditGroup)
|
||||
{
|
||||
if (DialogEditGroup->objectName().isEmpty())
|
||||
DialogEditGroup->setObjectName(QString::fromUtf8("DialogEditGroup"));
|
||||
DialogEditGroup->resize(300, 96);
|
||||
QFont font;
|
||||
font.setFamily(QString::fromUtf8("Tahoma"));
|
||||
DialogEditGroup->setFont(font);
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/icons/group.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
DialogEditGroup->setWindowIcon(icon);
|
||||
verticalLayout_2 = new QVBoxLayout(DialogEditGroup);
|
||||
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
|
||||
verticalLayout = new QVBoxLayout();
|
||||
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||||
horizontalLayout = new QHBoxLayout();
|
||||
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
||||
label_2 = new QLabel(DialogEditGroup);
|
||||
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||||
|
||||
horizontalLayout->addWidget(label_2);
|
||||
|
||||
editName = new QLineEdit(DialogEditGroup);
|
||||
editName->setObjectName(QString::fromUtf8("editName"));
|
||||
|
||||
horizontalLayout->addWidget(editName);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout);
|
||||
|
||||
|
||||
verticalLayout_2->addLayout(verticalLayout);
|
||||
|
||||
buttonBox = new QDialogButtonBox(DialogEditGroup);
|
||||
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
|
||||
buttonBox->setLocale(QLocale(QLocale::English, QLocale::UnitedStates));
|
||||
buttonBox->setOrientation(Qt::Horizontal);
|
||||
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
||||
|
||||
verticalLayout_2->addWidget(buttonBox);
|
||||
|
||||
|
||||
retranslateUi(DialogEditGroup);
|
||||
QObject::connect(buttonBox, SIGNAL(accepted()), DialogEditGroup, SLOT(accept()));
|
||||
QObject::connect(buttonBox, SIGNAL(rejected()), DialogEditGroup, SLOT(reject()));
|
||||
|
||||
QMetaObject::connectSlotsByName(DialogEditGroup);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QDialog *DialogEditGroup)
|
||||
{
|
||||
DialogEditGroup->setWindowTitle(QCoreApplication::translate("DialogEditGroup", "Group", nullptr));
|
||||
label_2->setText(QCoreApplication::translate("DialogEditGroup", "Name", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DialogEditGroup: public Ui_DialogEditGroup {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_DIALOGEDITGROUP_H
|
||||
@@ -0,0 +1,193 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'dialogeditinstructor.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.14.2
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_DIALOGEDITINSTRUCTOR_H
|
||||
#define UI_DIALOGEDITINSTRUCTOR_H
|
||||
|
||||
#include <QtCore/QLocale>
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QCheckBox>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QDialogButtonBox>
|
||||
#include <QtWidgets/QGridLayout>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_DialogEditInstructor
|
||||
{
|
||||
public:
|
||||
QGridLayout *gridLayout;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QHBoxLayout *horizontalLayout;
|
||||
QLabel *label_2;
|
||||
QLineEdit *editName;
|
||||
QHBoxLayout *horizontalLayout_2;
|
||||
QLabel *label_3;
|
||||
QLineEdit *editLogin;
|
||||
QHBoxLayout *horizontalLayout_3;
|
||||
QLabel *label_4;
|
||||
QLineEdit *editPassword;
|
||||
QHBoxLayout *horizontalLayout_5;
|
||||
QCheckBox *checkIsAdmin;
|
||||
QHBoxLayout *horizontalLayout_4;
|
||||
QCheckBox *checkArchived;
|
||||
QHBoxLayout *horizontalLayout_7;
|
||||
QCheckBox *checkLoggedIn;
|
||||
QDialogButtonBox *buttonBox;
|
||||
|
||||
void setupUi(QDialog *DialogEditInstructor)
|
||||
{
|
||||
if (DialogEditInstructor->objectName().isEmpty())
|
||||
DialogEditInstructor->setObjectName(QString::fromUtf8("DialogEditInstructor"));
|
||||
DialogEditInstructor->resize(300, 286);
|
||||
QFont font;
|
||||
font.setFamily(QString::fromUtf8("Tahoma"));
|
||||
DialogEditInstructor->setFont(font);
|
||||
gridLayout = new QGridLayout(DialogEditInstructor);
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
verticalLayout = new QVBoxLayout();
|
||||
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||||
horizontalLayout = new QHBoxLayout();
|
||||
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
||||
label_2 = new QLabel(DialogEditInstructor);
|
||||
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||||
|
||||
horizontalLayout->addWidget(label_2);
|
||||
|
||||
editName = new QLineEdit(DialogEditInstructor);
|
||||
editName->setObjectName(QString::fromUtf8("editName"));
|
||||
editName->setEnabled(true);
|
||||
|
||||
horizontalLayout->addWidget(editName);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout);
|
||||
|
||||
horizontalLayout_2 = new QHBoxLayout();
|
||||
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
|
||||
label_3 = new QLabel(DialogEditInstructor);
|
||||
label_3->setObjectName(QString::fromUtf8("label_3"));
|
||||
|
||||
horizontalLayout_2->addWidget(label_3);
|
||||
|
||||
editLogin = new QLineEdit(DialogEditInstructor);
|
||||
editLogin->setObjectName(QString::fromUtf8("editLogin"));
|
||||
|
||||
horizontalLayout_2->addWidget(editLogin);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_2);
|
||||
|
||||
horizontalLayout_3 = new QHBoxLayout();
|
||||
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
|
||||
label_4 = new QLabel(DialogEditInstructor);
|
||||
label_4->setObjectName(QString::fromUtf8("label_4"));
|
||||
|
||||
horizontalLayout_3->addWidget(label_4);
|
||||
|
||||
editPassword = new QLineEdit(DialogEditInstructor);
|
||||
editPassword->setObjectName(QString::fromUtf8("editPassword"));
|
||||
|
||||
horizontalLayout_3->addWidget(editPassword);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_3);
|
||||
|
||||
horizontalLayout_5 = new QHBoxLayout();
|
||||
horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
|
||||
checkIsAdmin = new QCheckBox(DialogEditInstructor);
|
||||
checkIsAdmin->setObjectName(QString::fromUtf8("checkIsAdmin"));
|
||||
checkIsAdmin->setEnabled(false);
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/icons/admin.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
icon.addFile(QString::fromUtf8(":/icons/admin.png"), QSize(), QIcon::Disabled, QIcon::Off);
|
||||
checkIsAdmin->setIcon(icon);
|
||||
checkIsAdmin->setCheckable(true);
|
||||
|
||||
horizontalLayout_5->addWidget(checkIsAdmin);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_5);
|
||||
|
||||
horizontalLayout_4 = new QHBoxLayout();
|
||||
horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
|
||||
checkArchived = new QCheckBox(DialogEditInstructor);
|
||||
checkArchived->setObjectName(QString::fromUtf8("checkArchived"));
|
||||
checkArchived->setEnabled(false);
|
||||
QIcon icon1;
|
||||
icon1.addFile(QString::fromUtf8(":/icons/archive.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
icon1.addFile(QString::fromUtf8(":/icons/archive.png"), QSize(), QIcon::Disabled, QIcon::Off);
|
||||
checkArchived->setIcon(icon1);
|
||||
checkArchived->setCheckable(true);
|
||||
|
||||
horizontalLayout_4->addWidget(checkArchived);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_4);
|
||||
|
||||
horizontalLayout_7 = new QHBoxLayout();
|
||||
horizontalLayout_7->setObjectName(QString::fromUtf8("horizontalLayout_7"));
|
||||
checkLoggedIn = new QCheckBox(DialogEditInstructor);
|
||||
checkLoggedIn->setObjectName(QString::fromUtf8("checkLoggedIn"));
|
||||
checkLoggedIn->setEnabled(false);
|
||||
QIcon icon2;
|
||||
icon2.addFile(QString::fromUtf8(":/icons/circleGreen.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
icon2.addFile(QString::fromUtf8(":/icons/circleGreen.png"), QSize(), QIcon::Disabled, QIcon::Off);
|
||||
checkLoggedIn->setIcon(icon2);
|
||||
checkLoggedIn->setCheckable(true);
|
||||
|
||||
horizontalLayout_7->addWidget(checkLoggedIn);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_7);
|
||||
|
||||
|
||||
gridLayout->addLayout(verticalLayout, 0, 0, 1, 1);
|
||||
|
||||
buttonBox = new QDialogButtonBox(DialogEditInstructor);
|
||||
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
|
||||
buttonBox->setLocale(QLocale(QLocale::English, QLocale::UnitedStates));
|
||||
buttonBox->setOrientation(Qt::Horizontal);
|
||||
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
||||
|
||||
gridLayout->addWidget(buttonBox, 1, 0, 1, 1);
|
||||
|
||||
|
||||
retranslateUi(DialogEditInstructor);
|
||||
QObject::connect(buttonBox, SIGNAL(accepted()), DialogEditInstructor, SLOT(accept()));
|
||||
QObject::connect(buttonBox, SIGNAL(rejected()), DialogEditInstructor, SLOT(reject()));
|
||||
|
||||
QMetaObject::connectSlotsByName(DialogEditInstructor);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QDialog *DialogEditInstructor)
|
||||
{
|
||||
DialogEditInstructor->setWindowTitle(QCoreApplication::translate("DialogEditInstructor", "Instructor", nullptr));
|
||||
label_2->setText(QCoreApplication::translate("DialogEditInstructor", "Name", nullptr));
|
||||
label_3->setText(QCoreApplication::translate("DialogEditInstructor", "Login", nullptr));
|
||||
label_4->setText(QCoreApplication::translate("DialogEditInstructor", "Password", nullptr));
|
||||
checkIsAdmin->setText(QCoreApplication::translate("DialogEditInstructor", "Administrator", nullptr));
|
||||
checkArchived->setText(QCoreApplication::translate("DialogEditInstructor", "Archived", nullptr));
|
||||
checkLoggedIn->setText(QCoreApplication::translate("DialogEditInstructor", "Logged", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DialogEditInstructor: public Ui_DialogEditInstructor {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_DIALOGEDITINSTRUCTOR_H
|
||||
@@ -0,0 +1,175 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'dialogedittrainee.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.14.2
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_DIALOGEDITTRAINEE_H
|
||||
#define UI_DIALOGEDITTRAINEE_H
|
||||
|
||||
#include <QtCore/QLocale>
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QCheckBox>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QDialogButtonBox>
|
||||
#include <QtWidgets/QGridLayout>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_DialogEditTrainee
|
||||
{
|
||||
public:
|
||||
QGridLayout *gridLayout;
|
||||
QDialogButtonBox *buttonBox;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QHBoxLayout *horizontalLayout;
|
||||
QLabel *label_2;
|
||||
QLineEdit *editName;
|
||||
QHBoxLayout *horizontalLayout_2;
|
||||
QLabel *label_3;
|
||||
QLineEdit *editLogin;
|
||||
QHBoxLayout *horizontalLayout_3;
|
||||
QLabel *label_4;
|
||||
QLineEdit *editPassword;
|
||||
QHBoxLayout *horizontalLayout_4;
|
||||
QCheckBox *checkArchived;
|
||||
QHBoxLayout *horizontalLayout_7;
|
||||
QCheckBox *checkLoggedIn;
|
||||
|
||||
void setupUi(QDialog *DialogEditTrainee)
|
||||
{
|
||||
if (DialogEditTrainee->objectName().isEmpty())
|
||||
DialogEditTrainee->setObjectName(QString::fromUtf8("DialogEditTrainee"));
|
||||
DialogEditTrainee->resize(300, 252);
|
||||
QFont font;
|
||||
font.setFamily(QString::fromUtf8("Tahoma"));
|
||||
DialogEditTrainee->setFont(font);
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/icons/trainee.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
DialogEditTrainee->setWindowIcon(icon);
|
||||
gridLayout = new QGridLayout(DialogEditTrainee);
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
buttonBox = new QDialogButtonBox(DialogEditTrainee);
|
||||
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
|
||||
buttonBox->setLocale(QLocale(QLocale::English, QLocale::UnitedStates));
|
||||
buttonBox->setOrientation(Qt::Horizontal);
|
||||
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
||||
|
||||
gridLayout->addWidget(buttonBox, 1, 0, 1, 1);
|
||||
|
||||
verticalLayout = new QVBoxLayout();
|
||||
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||||
horizontalLayout = new QHBoxLayout();
|
||||
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
||||
label_2 = new QLabel(DialogEditTrainee);
|
||||
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||||
|
||||
horizontalLayout->addWidget(label_2);
|
||||
|
||||
editName = new QLineEdit(DialogEditTrainee);
|
||||
editName->setObjectName(QString::fromUtf8("editName"));
|
||||
|
||||
horizontalLayout->addWidget(editName);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout);
|
||||
|
||||
horizontalLayout_2 = new QHBoxLayout();
|
||||
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
|
||||
label_3 = new QLabel(DialogEditTrainee);
|
||||
label_3->setObjectName(QString::fromUtf8("label_3"));
|
||||
|
||||
horizontalLayout_2->addWidget(label_3);
|
||||
|
||||
editLogin = new QLineEdit(DialogEditTrainee);
|
||||
editLogin->setObjectName(QString::fromUtf8("editLogin"));
|
||||
|
||||
horizontalLayout_2->addWidget(editLogin);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_2);
|
||||
|
||||
horizontalLayout_3 = new QHBoxLayout();
|
||||
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
|
||||
label_4 = new QLabel(DialogEditTrainee);
|
||||
label_4->setObjectName(QString::fromUtf8("label_4"));
|
||||
|
||||
horizontalLayout_3->addWidget(label_4);
|
||||
|
||||
editPassword = new QLineEdit(DialogEditTrainee);
|
||||
editPassword->setObjectName(QString::fromUtf8("editPassword"));
|
||||
|
||||
horizontalLayout_3->addWidget(editPassword);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_3);
|
||||
|
||||
horizontalLayout_4 = new QHBoxLayout();
|
||||
horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
|
||||
checkArchived = new QCheckBox(DialogEditTrainee);
|
||||
checkArchived->setObjectName(QString::fromUtf8("checkArchived"));
|
||||
checkArchived->setEnabled(false);
|
||||
QIcon icon1;
|
||||
icon1.addFile(QString::fromUtf8(":/icons/archive.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
icon1.addFile(QString::fromUtf8(":/icons/archive.png"), QSize(), QIcon::Disabled, QIcon::Off);
|
||||
checkArchived->setIcon(icon1);
|
||||
checkArchived->setCheckable(true);
|
||||
|
||||
horizontalLayout_4->addWidget(checkArchived);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_4);
|
||||
|
||||
horizontalLayout_7 = new QHBoxLayout();
|
||||
horizontalLayout_7->setObjectName(QString::fromUtf8("horizontalLayout_7"));
|
||||
checkLoggedIn = new QCheckBox(DialogEditTrainee);
|
||||
checkLoggedIn->setObjectName(QString::fromUtf8("checkLoggedIn"));
|
||||
checkLoggedIn->setEnabled(false);
|
||||
QIcon icon2;
|
||||
icon2.addFile(QString::fromUtf8(":/icons/circleGreen.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
icon2.addFile(QString::fromUtf8(":/icons/circleGreen.png"), QSize(), QIcon::Disabled, QIcon::Off);
|
||||
checkLoggedIn->setIcon(icon2);
|
||||
|
||||
horizontalLayout_7->addWidget(checkLoggedIn);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_7);
|
||||
|
||||
|
||||
gridLayout->addLayout(verticalLayout, 0, 0, 1, 1);
|
||||
|
||||
|
||||
retranslateUi(DialogEditTrainee);
|
||||
QObject::connect(buttonBox, SIGNAL(accepted()), DialogEditTrainee, SLOT(accept()));
|
||||
QObject::connect(buttonBox, SIGNAL(rejected()), DialogEditTrainee, SLOT(reject()));
|
||||
|
||||
QMetaObject::connectSlotsByName(DialogEditTrainee);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QDialog *DialogEditTrainee)
|
||||
{
|
||||
DialogEditTrainee->setWindowTitle(QCoreApplication::translate("DialogEditTrainee", "Trainee", nullptr));
|
||||
label_2->setText(QCoreApplication::translate("DialogEditTrainee", "Name", nullptr));
|
||||
label_3->setText(QCoreApplication::translate("DialogEditTrainee", "Login", nullptr));
|
||||
label_4->setText(QCoreApplication::translate("DialogEditTrainee", "Password", nullptr));
|
||||
checkArchived->setText(QCoreApplication::translate("DialogEditTrainee", "Archived", nullptr));
|
||||
checkLoggedIn->setText(QCoreApplication::translate("DialogEditTrainee", "Logged", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class DialogEditTrainee: public Ui_DialogEditTrainee {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_DIALOGEDITTRAINEE_H
|
||||
@@ -0,0 +1,210 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'editorinstructors.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.14.2
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_EDITORINSTRUCTORS_H
|
||||
#define UI_EDITORINSTRUCTORS_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QGridLayout>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QHeaderView>
|
||||
#include <QtWidgets/QSpacerItem>
|
||||
#include <QtWidgets/QToolButton>
|
||||
#include <QtWidgets/QTreeWidget>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_EditorInstructors
|
||||
{
|
||||
public:
|
||||
QGridLayout *gridLayout_2;
|
||||
QWidget *widget;
|
||||
QGridLayout *gridLayout;
|
||||
QHBoxLayout *horizontalLayout_1;
|
||||
QVBoxLayout *verticalLayout_1;
|
||||
QTreeWidget *treeWidget;
|
||||
QWidget *widget_2;
|
||||
QGridLayout *gridLayout_3;
|
||||
QVBoxLayout *verticalLayout_2;
|
||||
QToolButton *btnNewInstructor;
|
||||
QToolButton *btnDeleteInstructor;
|
||||
QToolButton *btnToOrFromArchive;
|
||||
QToolButton *btnEdit;
|
||||
QSpacerItem *verticalSpacer;
|
||||
QToolButton *btnArchive;
|
||||
|
||||
void setupUi(QDialog *EditorInstructors)
|
||||
{
|
||||
if (EditorInstructors->objectName().isEmpty())
|
||||
EditorInstructors->setObjectName(QString::fromUtf8("EditorInstructors"));
|
||||
EditorInstructors->resize(1300, 800);
|
||||
gridLayout_2 = new QGridLayout(EditorInstructors);
|
||||
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
|
||||
widget = new QWidget(EditorInstructors);
|
||||
widget->setObjectName(QString::fromUtf8("widget"));
|
||||
QFont font;
|
||||
font.setPointSize(12);
|
||||
widget->setFont(font);
|
||||
widget->setStyleSheet(QString::fromUtf8("background-color: rgb(240, 240, 240);"));
|
||||
gridLayout = new QGridLayout(widget);
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
horizontalLayout_1 = new QHBoxLayout();
|
||||
horizontalLayout_1->setObjectName(QString::fromUtf8("horizontalLayout_1"));
|
||||
verticalLayout_1 = new QVBoxLayout();
|
||||
verticalLayout_1->setObjectName(QString::fromUtf8("verticalLayout_1"));
|
||||
treeWidget = new QTreeWidget(widget);
|
||||
QTreeWidgetItem *__qtreewidgetitem = new QTreeWidgetItem();
|
||||
__qtreewidgetitem->setText(0, QString::fromUtf8("1"));
|
||||
treeWidget->setHeaderItem(__qtreewidgetitem);
|
||||
treeWidget->setObjectName(QString::fromUtf8("treeWidget"));
|
||||
QFont font1;
|
||||
font1.setFamily(QString::fromUtf8("Tahoma"));
|
||||
font1.setPointSize(10);
|
||||
treeWidget->setFont(font1);
|
||||
treeWidget->setIconSize(QSize(20, 20));
|
||||
treeWidget->setColumnCount(1);
|
||||
|
||||
verticalLayout_1->addWidget(treeWidget);
|
||||
|
||||
|
||||
horizontalLayout_1->addLayout(verticalLayout_1);
|
||||
|
||||
widget_2 = new QWidget(widget);
|
||||
widget_2->setObjectName(QString::fromUtf8("widget_2"));
|
||||
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
sizePolicy.setHeightForWidth(widget_2->sizePolicy().hasHeightForWidth());
|
||||
widget_2->setSizePolicy(sizePolicy);
|
||||
widget_2->setMinimumSize(QSize(127, 0));
|
||||
QFont font2;
|
||||
font2.setFamily(QString::fromUtf8("Tahoma"));
|
||||
widget_2->setFont(font2);
|
||||
widget_2->setStyleSheet(QString::fromUtf8("background-color: rgb(180, 180, 180);"));
|
||||
gridLayout_3 = new QGridLayout(widget_2);
|
||||
gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
|
||||
verticalLayout_2 = new QVBoxLayout();
|
||||
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
|
||||
btnNewInstructor = new QToolButton(widget_2);
|
||||
btnNewInstructor->setObjectName(QString::fromUtf8("btnNewInstructor"));
|
||||
QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||||
sizePolicy1.setHorizontalStretch(0);
|
||||
sizePolicy1.setVerticalStretch(0);
|
||||
sizePolicy1.setHeightForWidth(btnNewInstructor->sizePolicy().hasHeightForWidth());
|
||||
btnNewInstructor->setSizePolicy(sizePolicy1);
|
||||
btnNewInstructor->setMinimumSize(QSize(160, 55));
|
||||
btnNewInstructor->setFont(font1);
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/icons/addInstructor.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnNewInstructor->setIcon(icon);
|
||||
btnNewInstructor->setIconSize(QSize(32, 32));
|
||||
btnNewInstructor->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
|
||||
verticalLayout_2->addWidget(btnNewInstructor);
|
||||
|
||||
btnDeleteInstructor = new QToolButton(widget_2);
|
||||
btnDeleteInstructor->setObjectName(QString::fromUtf8("btnDeleteInstructor"));
|
||||
sizePolicy1.setHeightForWidth(btnDeleteInstructor->sizePolicy().hasHeightForWidth());
|
||||
btnDeleteInstructor->setSizePolicy(sizePolicy1);
|
||||
btnDeleteInstructor->setMinimumSize(QSize(160, 55));
|
||||
btnDeleteInstructor->setFont(font1);
|
||||
QIcon icon1;
|
||||
icon1.addFile(QString::fromUtf8(":/icons/deleteInstructor.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnDeleteInstructor->setIcon(icon1);
|
||||
btnDeleteInstructor->setIconSize(QSize(32, 32));
|
||||
btnDeleteInstructor->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
|
||||
verticalLayout_2->addWidget(btnDeleteInstructor);
|
||||
|
||||
btnToOrFromArchive = new QToolButton(widget_2);
|
||||
btnToOrFromArchive->setObjectName(QString::fromUtf8("btnToOrFromArchive"));
|
||||
btnToOrFromArchive->setMinimumSize(QSize(160, 55));
|
||||
btnToOrFromArchive->setFont(font1);
|
||||
QIcon icon2;
|
||||
icon2.addFile(QString::fromUtf8(":/icons/instructorArchive.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnToOrFromArchive->setIcon(icon2);
|
||||
btnToOrFromArchive->setIconSize(QSize(32, 32));
|
||||
btnToOrFromArchive->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
|
||||
verticalLayout_2->addWidget(btnToOrFromArchive);
|
||||
|
||||
btnEdit = new QToolButton(widget_2);
|
||||
btnEdit->setObjectName(QString::fromUtf8("btnEdit"));
|
||||
sizePolicy1.setHeightForWidth(btnEdit->sizePolicy().hasHeightForWidth());
|
||||
btnEdit->setSizePolicy(sizePolicy1);
|
||||
btnEdit->setMinimumSize(QSize(160, 55));
|
||||
btnEdit->setFont(font1);
|
||||
QIcon icon3;
|
||||
icon3.addFile(QString::fromUtf8(":/icons/edit.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnEdit->setIcon(icon3);
|
||||
btnEdit->setIconSize(QSize(32, 32));
|
||||
btnEdit->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
|
||||
verticalLayout_2->addWidget(btnEdit);
|
||||
|
||||
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
||||
|
||||
verticalLayout_2->addItem(verticalSpacer);
|
||||
|
||||
btnArchive = new QToolButton(widget_2);
|
||||
btnArchive->setObjectName(QString::fromUtf8("btnArchive"));
|
||||
sizePolicy1.setHeightForWidth(btnArchive->sizePolicy().hasHeightForWidth());
|
||||
btnArchive->setSizePolicy(sizePolicy1);
|
||||
btnArchive->setMinimumSize(QSize(160, 55));
|
||||
btnArchive->setFont(font1);
|
||||
QIcon icon4;
|
||||
icon4.addFile(QString::fromUtf8(":/icons/archive.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnArchive->setIcon(icon4);
|
||||
btnArchive->setIconSize(QSize(32, 32));
|
||||
btnArchive->setCheckable(true);
|
||||
btnArchive->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
|
||||
verticalLayout_2->addWidget(btnArchive);
|
||||
|
||||
|
||||
gridLayout_3->addLayout(verticalLayout_2, 0, 0, 1, 1);
|
||||
|
||||
|
||||
horizontalLayout_1->addWidget(widget_2);
|
||||
|
||||
|
||||
gridLayout->addLayout(horizontalLayout_1, 0, 0, 1, 1);
|
||||
|
||||
|
||||
gridLayout_2->addWidget(widget, 0, 0, 1, 1);
|
||||
|
||||
|
||||
retranslateUi(EditorInstructors);
|
||||
|
||||
QMetaObject::connectSlotsByName(EditorInstructors);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QDialog *EditorInstructors)
|
||||
{
|
||||
EditorInstructors->setWindowTitle(QCoreApplication::translate("EditorInstructors", "List instructors", nullptr));
|
||||
btnNewInstructor->setText(QCoreApplication::translate("EditorInstructors", "New instructor", nullptr));
|
||||
btnDeleteInstructor->setText(QCoreApplication::translate("EditorInstructors", "Delete instructor", nullptr));
|
||||
btnToOrFromArchive->setText(QCoreApplication::translate("EditorInstructors", "To archive", nullptr));
|
||||
btnEdit->setText(QCoreApplication::translate("EditorInstructors", "Edit", nullptr));
|
||||
btnArchive->setText(QCoreApplication::translate("EditorInstructors", "Show archive", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class EditorInstructors: public Ui_EditorInstructors {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_EDITORINSTRUCTORS_H
|
||||
@@ -0,0 +1,246 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'editortrainees.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.14.2
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_EDITORTRAINEES_H
|
||||
#define UI_EDITORTRAINEES_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QGridLayout>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QHeaderView>
|
||||
#include <QtWidgets/QSpacerItem>
|
||||
#include <QtWidgets/QToolButton>
|
||||
#include <QtWidgets/QTreeWidget>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_EditorTrainees
|
||||
{
|
||||
public:
|
||||
QGridLayout *gridLayout_2;
|
||||
QWidget *widget;
|
||||
QGridLayout *gridLayout;
|
||||
QHBoxLayout *horizontalLayout_1;
|
||||
QVBoxLayout *verticalLayout_1;
|
||||
QTreeWidget *treeWidget;
|
||||
QWidget *widget_2;
|
||||
QGridLayout *gridLayout_3;
|
||||
QVBoxLayout *verticalLayout_2;
|
||||
QToolButton *btnNewGroup;
|
||||
QToolButton *btnDeleteGroup;
|
||||
QToolButton *btnNewTrainee;
|
||||
QToolButton *btnDeleteTrainee;
|
||||
QToolButton *btnToOrFromArchiveTrainee;
|
||||
QToolButton *btnEdit;
|
||||
QSpacerItem *verticalSpacer;
|
||||
QToolButton *btnArchive;
|
||||
|
||||
void setupUi(QDialog *EditorTrainees)
|
||||
{
|
||||
if (EditorTrainees->objectName().isEmpty())
|
||||
EditorTrainees->setObjectName(QString::fromUtf8("EditorTrainees"));
|
||||
EditorTrainees->resize(1300, 800);
|
||||
QFont font;
|
||||
font.setFamily(QString::fromUtf8("Tahoma"));
|
||||
font.setPointSize(10);
|
||||
EditorTrainees->setFont(font);
|
||||
gridLayout_2 = new QGridLayout(EditorTrainees);
|
||||
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
|
||||
widget = new QWidget(EditorTrainees);
|
||||
widget->setObjectName(QString::fromUtf8("widget"));
|
||||
QFont font1;
|
||||
font1.setPointSize(12);
|
||||
widget->setFont(font1);
|
||||
widget->setStyleSheet(QString::fromUtf8("background-color: rgb(240, 240, 240);"));
|
||||
gridLayout = new QGridLayout(widget);
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
horizontalLayout_1 = new QHBoxLayout();
|
||||
horizontalLayout_1->setObjectName(QString::fromUtf8("horizontalLayout_1"));
|
||||
verticalLayout_1 = new QVBoxLayout();
|
||||
verticalLayout_1->setObjectName(QString::fromUtf8("verticalLayout_1"));
|
||||
treeWidget = new QTreeWidget(widget);
|
||||
QTreeWidgetItem *__qtreewidgetitem = new QTreeWidgetItem();
|
||||
__qtreewidgetitem->setText(0, QString::fromUtf8("1"));
|
||||
treeWidget->setHeaderItem(__qtreewidgetitem);
|
||||
treeWidget->setObjectName(QString::fromUtf8("treeWidget"));
|
||||
treeWidget->setFont(font);
|
||||
treeWidget->setIconSize(QSize(20, 20));
|
||||
treeWidget->setColumnCount(1);
|
||||
|
||||
verticalLayout_1->addWidget(treeWidget);
|
||||
|
||||
|
||||
horizontalLayout_1->addLayout(verticalLayout_1);
|
||||
|
||||
widget_2 = new QWidget(widget);
|
||||
widget_2->setObjectName(QString::fromUtf8("widget_2"));
|
||||
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
sizePolicy.setHeightForWidth(widget_2->sizePolicy().hasHeightForWidth());
|
||||
widget_2->setSizePolicy(sizePolicy);
|
||||
widget_2->setMinimumSize(QSize(130, 0));
|
||||
QFont font2;
|
||||
font2.setFamily(QString::fromUtf8("Tahoma"));
|
||||
widget_2->setFont(font2);
|
||||
widget_2->setStyleSheet(QString::fromUtf8("background-color: rgb(180, 180, 180);"));
|
||||
gridLayout_3 = new QGridLayout(widget_2);
|
||||
gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
|
||||
verticalLayout_2 = new QVBoxLayout();
|
||||
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
|
||||
btnNewGroup = new QToolButton(widget_2);
|
||||
btnNewGroup->setObjectName(QString::fromUtf8("btnNewGroup"));
|
||||
QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
|
||||
sizePolicy1.setHorizontalStretch(0);
|
||||
sizePolicy1.setVerticalStretch(0);
|
||||
sizePolicy1.setHeightForWidth(btnNewGroup->sizePolicy().hasHeightForWidth());
|
||||
btnNewGroup->setSizePolicy(sizePolicy1);
|
||||
btnNewGroup->setMinimumSize(QSize(170, 55));
|
||||
btnNewGroup->setFont(font);
|
||||
btnNewGroup->setStyleSheet(QString::fromUtf8(""));
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/icons/newGroup.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnNewGroup->setIcon(icon);
|
||||
btnNewGroup->setIconSize(QSize(32, 32));
|
||||
btnNewGroup->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
|
||||
verticalLayout_2->addWidget(btnNewGroup);
|
||||
|
||||
btnDeleteGroup = new QToolButton(widget_2);
|
||||
btnDeleteGroup->setObjectName(QString::fromUtf8("btnDeleteGroup"));
|
||||
sizePolicy1.setHeightForWidth(btnDeleteGroup->sizePolicy().hasHeightForWidth());
|
||||
btnDeleteGroup->setSizePolicy(sizePolicy1);
|
||||
btnDeleteGroup->setMinimumSize(QSize(170, 55));
|
||||
btnDeleteGroup->setFont(font);
|
||||
QIcon icon1;
|
||||
icon1.addFile(QString::fromUtf8(":/icons/deleteGroup.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnDeleteGroup->setIcon(icon1);
|
||||
btnDeleteGroup->setIconSize(QSize(32, 32));
|
||||
btnDeleteGroup->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
|
||||
verticalLayout_2->addWidget(btnDeleteGroup);
|
||||
|
||||
btnNewTrainee = new QToolButton(widget_2);
|
||||
btnNewTrainee->setObjectName(QString::fromUtf8("btnNewTrainee"));
|
||||
sizePolicy1.setHeightForWidth(btnNewTrainee->sizePolicy().hasHeightForWidth());
|
||||
btnNewTrainee->setSizePolicy(sizePolicy1);
|
||||
btnNewTrainee->setMinimumSize(QSize(170, 55));
|
||||
btnNewTrainee->setFont(font);
|
||||
QIcon icon2;
|
||||
icon2.addFile(QString::fromUtf8(":/icons/addTrainee.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnNewTrainee->setIcon(icon2);
|
||||
btnNewTrainee->setIconSize(QSize(32, 32));
|
||||
btnNewTrainee->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
|
||||
verticalLayout_2->addWidget(btnNewTrainee);
|
||||
|
||||
btnDeleteTrainee = new QToolButton(widget_2);
|
||||
btnDeleteTrainee->setObjectName(QString::fromUtf8("btnDeleteTrainee"));
|
||||
sizePolicy1.setHeightForWidth(btnDeleteTrainee->sizePolicy().hasHeightForWidth());
|
||||
btnDeleteTrainee->setSizePolicy(sizePolicy1);
|
||||
btnDeleteTrainee->setMinimumSize(QSize(170, 55));
|
||||
btnDeleteTrainee->setFont(font);
|
||||
QIcon icon3;
|
||||
icon3.addFile(QString::fromUtf8(":/icons/deleteTrainee.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnDeleteTrainee->setIcon(icon3);
|
||||
btnDeleteTrainee->setIconSize(QSize(32, 32));
|
||||
btnDeleteTrainee->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
|
||||
verticalLayout_2->addWidget(btnDeleteTrainee);
|
||||
|
||||
btnToOrFromArchiveTrainee = new QToolButton(widget_2);
|
||||
btnToOrFromArchiveTrainee->setObjectName(QString::fromUtf8("btnToOrFromArchiveTrainee"));
|
||||
sizePolicy1.setHeightForWidth(btnToOrFromArchiveTrainee->sizePolicy().hasHeightForWidth());
|
||||
btnToOrFromArchiveTrainee->setSizePolicy(sizePolicy1);
|
||||
btnToOrFromArchiveTrainee->setMinimumSize(QSize(170, 55));
|
||||
btnToOrFromArchiveTrainee->setFont(font);
|
||||
QIcon icon4;
|
||||
icon4.addFile(QString::fromUtf8(":/icons/traineeArchive.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnToOrFromArchiveTrainee->setIcon(icon4);
|
||||
btnToOrFromArchiveTrainee->setIconSize(QSize(32, 32));
|
||||
btnToOrFromArchiveTrainee->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
|
||||
verticalLayout_2->addWidget(btnToOrFromArchiveTrainee);
|
||||
|
||||
btnEdit = new QToolButton(widget_2);
|
||||
btnEdit->setObjectName(QString::fromUtf8("btnEdit"));
|
||||
sizePolicy1.setHeightForWidth(btnEdit->sizePolicy().hasHeightForWidth());
|
||||
btnEdit->setSizePolicy(sizePolicy1);
|
||||
btnEdit->setMinimumSize(QSize(170, 55));
|
||||
btnEdit->setFont(font);
|
||||
QIcon icon5;
|
||||
icon5.addFile(QString::fromUtf8(":/icons/edit.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnEdit->setIcon(icon5);
|
||||
btnEdit->setIconSize(QSize(32, 32));
|
||||
btnEdit->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
|
||||
verticalLayout_2->addWidget(btnEdit);
|
||||
|
||||
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
||||
|
||||
verticalLayout_2->addItem(verticalSpacer);
|
||||
|
||||
btnArchive = new QToolButton(widget_2);
|
||||
btnArchive->setObjectName(QString::fromUtf8("btnArchive"));
|
||||
sizePolicy1.setHeightForWidth(btnArchive->sizePolicy().hasHeightForWidth());
|
||||
btnArchive->setSizePolicy(sizePolicy1);
|
||||
btnArchive->setMinimumSize(QSize(170, 55));
|
||||
btnArchive->setFont(font);
|
||||
QIcon icon6;
|
||||
icon6.addFile(QString::fromUtf8(":/icons/archive.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnArchive->setIcon(icon6);
|
||||
btnArchive->setIconSize(QSize(32, 32));
|
||||
btnArchive->setCheckable(true);
|
||||
btnArchive->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
|
||||
verticalLayout_2->addWidget(btnArchive);
|
||||
|
||||
|
||||
gridLayout_3->addLayout(verticalLayout_2, 0, 0, 1, 1);
|
||||
|
||||
|
||||
horizontalLayout_1->addWidget(widget_2);
|
||||
|
||||
|
||||
gridLayout->addLayout(horizontalLayout_1, 0, 0, 1, 1);
|
||||
|
||||
|
||||
gridLayout_2->addWidget(widget, 0, 0, 1, 1);
|
||||
|
||||
|
||||
retranslateUi(EditorTrainees);
|
||||
|
||||
QMetaObject::connectSlotsByName(EditorTrainees);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QDialog *EditorTrainees)
|
||||
{
|
||||
EditorTrainees->setWindowTitle(QCoreApplication::translate("EditorTrainees", "List trainees", nullptr));
|
||||
btnNewGroup->setText(QCoreApplication::translate("EditorTrainees", "New group", nullptr));
|
||||
btnDeleteGroup->setText(QCoreApplication::translate("EditorTrainees", "Delete group", nullptr));
|
||||
btnNewTrainee->setText(QCoreApplication::translate("EditorTrainees", "New trainee", nullptr));
|
||||
btnDeleteTrainee->setText(QCoreApplication::translate("EditorTrainees", "Delete trainee", nullptr));
|
||||
btnToOrFromArchiveTrainee->setText(QCoreApplication::translate("EditorTrainees", "To archive", nullptr));
|
||||
btnEdit->setText(QCoreApplication::translate("EditorTrainees", "Edit", nullptr));
|
||||
btnArchive->setText(QCoreApplication::translate("EditorTrainees", "Show archive", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class EditorTrainees: public Ui_EditorTrainees {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_EDITORTRAINEES_H
|
||||
@@ -0,0 +1,75 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'instructorsandtraineeswidget.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.14.2
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_INSTRUCTORSANDTRAINEESWIDGET_H
|
||||
#define UI_INSTRUCTORSANDTRAINEESWIDGET_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QGridLayout>
|
||||
#include <QtWidgets/QGroupBox>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_InstructorsAndTraineesWidget
|
||||
{
|
||||
public:
|
||||
QGridLayout *gridLayout;
|
||||
QHBoxLayout *horizontalLayout;
|
||||
QGroupBox *groupBox;
|
||||
QGridLayout *gridLayout_2;
|
||||
QVBoxLayout *verticalLayout;
|
||||
|
||||
void setupUi(QWidget *InstructorsAndTraineesWidget)
|
||||
{
|
||||
if (InstructorsAndTraineesWidget->objectName().isEmpty())
|
||||
InstructorsAndTraineesWidget->setObjectName(QString::fromUtf8("InstructorsAndTraineesWidget"));
|
||||
InstructorsAndTraineesWidget->resize(400, 300);
|
||||
gridLayout = new QGridLayout(InstructorsAndTraineesWidget);
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
horizontalLayout = new QHBoxLayout();
|
||||
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
||||
groupBox = new QGroupBox(InstructorsAndTraineesWidget);
|
||||
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
||||
gridLayout_2 = new QGridLayout(groupBox);
|
||||
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
|
||||
verticalLayout = new QVBoxLayout();
|
||||
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||||
|
||||
gridLayout_2->addLayout(verticalLayout, 0, 0, 1, 1);
|
||||
|
||||
|
||||
horizontalLayout->addWidget(groupBox);
|
||||
|
||||
|
||||
gridLayout->addLayout(horizontalLayout, 0, 0, 1, 1);
|
||||
|
||||
|
||||
retranslateUi(InstructorsAndTraineesWidget);
|
||||
|
||||
QMetaObject::connectSlotsByName(InstructorsAndTraineesWidget);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QWidget *InstructorsAndTraineesWidget)
|
||||
{
|
||||
InstructorsAndTraineesWidget->setWindowTitle(QCoreApplication::translate("InstructorsAndTraineesWidget", "Form", nullptr));
|
||||
groupBox->setTitle(QCoreApplication::translate("InstructorsAndTraineesWidget", "Database LMS", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class InstructorsAndTraineesWidget: public Ui_InstructorsAndTraineesWidget {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_INSTRUCTORSANDTRAINEESWIDGET_H
|
||||
@@ -0,0 +1,81 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'taskswidget.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.14.2
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_TASKSWIDGET_H
|
||||
#define UI_TASKSWIDGET_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QGridLayout>
|
||||
#include <QtWidgets/QGroupBox>
|
||||
#include <QtWidgets/QListWidget>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_TasksWidget
|
||||
{
|
||||
public:
|
||||
QGridLayout *gridLayout_2;
|
||||
QGridLayout *gridLayout;
|
||||
QGroupBox *groupBox;
|
||||
QGridLayout *gridLayout_3;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QListWidget *listWidgetTasks;
|
||||
|
||||
void setupUi(QWidget *TasksWidget)
|
||||
{
|
||||
if (TasksWidget->objectName().isEmpty())
|
||||
TasksWidget->setObjectName(QString::fromUtf8("TasksWidget"));
|
||||
TasksWidget->resize(400, 300);
|
||||
gridLayout_2 = new QGridLayout(TasksWidget);
|
||||
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
|
||||
gridLayout = new QGridLayout();
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
groupBox = new QGroupBox(TasksWidget);
|
||||
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
||||
gridLayout_3 = new QGridLayout(groupBox);
|
||||
gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
|
||||
verticalLayout = new QVBoxLayout();
|
||||
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||||
listWidgetTasks = new QListWidget(groupBox);
|
||||
listWidgetTasks->setObjectName(QString::fromUtf8("listWidgetTasks"));
|
||||
|
||||
verticalLayout->addWidget(listWidgetTasks);
|
||||
|
||||
|
||||
gridLayout_3->addLayout(verticalLayout, 0, 0, 1, 1);
|
||||
|
||||
|
||||
gridLayout->addWidget(groupBox, 0, 0, 1, 1);
|
||||
|
||||
|
||||
gridLayout_2->addLayout(gridLayout, 0, 0, 1, 1);
|
||||
|
||||
|
||||
retranslateUi(TasksWidget);
|
||||
|
||||
QMetaObject::connectSlotsByName(TasksWidget);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QWidget *TasksWidget)
|
||||
{
|
||||
TasksWidget->setWindowTitle(QCoreApplication::translate("TasksWidget", "Task manager", nullptr));
|
||||
groupBox->setTitle(QCoreApplication::translate("TasksWidget", "Task manager", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class TasksWidget: public Ui_TasksWidget {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_TASKSWIDGET_H
|
||||
@@ -0,0 +1,121 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'viewerinstructors.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.14.2
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_VIEWERINSTRUCTORS_H
|
||||
#define UI_VIEWERINSTRUCTORS_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QGridLayout>
|
||||
#include <QtWidgets/QGroupBox>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QHeaderView>
|
||||
#include <QtWidgets/QSpacerItem>
|
||||
#include <QtWidgets/QToolButton>
|
||||
#include <QtWidgets/QTreeWidget>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_ViewerInstructors
|
||||
{
|
||||
public:
|
||||
QGridLayout *gridLayout;
|
||||
QHBoxLayout *horizontalLayout_1;
|
||||
QGroupBox *groupBox;
|
||||
QGridLayout *gridLayout_2;
|
||||
QHBoxLayout *horizontalLayout_2;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QToolButton *btnEditorInstructors;
|
||||
QSpacerItem *verticalSpacer;
|
||||
QTreeWidget *treeWidget;
|
||||
|
||||
void setupUi(QWidget *ViewerInstructors)
|
||||
{
|
||||
if (ViewerInstructors->objectName().isEmpty())
|
||||
ViewerInstructors->setObjectName(QString::fromUtf8("ViewerInstructors"));
|
||||
ViewerInstructors->resize(400, 300);
|
||||
QFont font;
|
||||
font.setFamily(QString::fromUtf8("Tahoma"));
|
||||
ViewerInstructors->setFont(font);
|
||||
gridLayout = new QGridLayout(ViewerInstructors);
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
horizontalLayout_1 = new QHBoxLayout();
|
||||
horizontalLayout_1->setObjectName(QString::fromUtf8("horizontalLayout_1"));
|
||||
groupBox = new QGroupBox(ViewerInstructors);
|
||||
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
||||
gridLayout_2 = new QGridLayout(groupBox);
|
||||
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
|
||||
horizontalLayout_2 = new QHBoxLayout();
|
||||
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
|
||||
verticalLayout = new QVBoxLayout();
|
||||
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||||
btnEditorInstructors = new QToolButton(groupBox);
|
||||
btnEditorInstructors->setObjectName(QString::fromUtf8("btnEditorInstructors"));
|
||||
btnEditorInstructors->setMinimumSize(QSize(130, 58));
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/icons/DB-instructors.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnEditorInstructors->setIcon(icon);
|
||||
btnEditorInstructors->setIconSize(QSize(32, 32));
|
||||
btnEditorInstructors->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
|
||||
verticalLayout->addWidget(btnEditorInstructors);
|
||||
|
||||
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
||||
|
||||
verticalLayout->addItem(verticalSpacer);
|
||||
|
||||
|
||||
horizontalLayout_2->addLayout(verticalLayout);
|
||||
|
||||
treeWidget = new QTreeWidget(groupBox);
|
||||
QTreeWidgetItem *__qtreewidgetitem = new QTreeWidgetItem();
|
||||
__qtreewidgetitem->setText(0, QString::fromUtf8("1"));
|
||||
treeWidget->setHeaderItem(__qtreewidgetitem);
|
||||
treeWidget->setObjectName(QString::fromUtf8("treeWidget"));
|
||||
QFont font1;
|
||||
font1.setFamily(QString::fromUtf8("Tahoma"));
|
||||
font1.setPointSize(10);
|
||||
treeWidget->setFont(font1);
|
||||
treeWidget->setIconSize(QSize(20, 20));
|
||||
|
||||
horizontalLayout_2->addWidget(treeWidget);
|
||||
|
||||
|
||||
gridLayout_2->addLayout(horizontalLayout_2, 0, 0, 1, 1);
|
||||
|
||||
|
||||
horizontalLayout_1->addWidget(groupBox);
|
||||
|
||||
|
||||
gridLayout->addLayout(horizontalLayout_1, 0, 0, 1, 1);
|
||||
|
||||
|
||||
retranslateUi(ViewerInstructors);
|
||||
|
||||
QMetaObject::connectSlotsByName(ViewerInstructors);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QWidget *ViewerInstructors)
|
||||
{
|
||||
ViewerInstructors->setWindowTitle(QCoreApplication::translate("ViewerInstructors", "Instructors", nullptr));
|
||||
groupBox->setTitle(QCoreApplication::translate("ViewerInstructors", "Instructors", nullptr));
|
||||
btnEditorInstructors->setText(QCoreApplication::translate("ViewerInstructors", "Editor of Instructors", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class ViewerInstructors: public Ui_ViewerInstructors {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_VIEWERINSTRUCTORS_H
|
||||
@@ -0,0 +1,122 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'viewertrainees.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.14.2
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_VIEWERTRAINEES_H
|
||||
#define UI_VIEWERTRAINEES_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QGridLayout>
|
||||
#include <QtWidgets/QGroupBox>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QHeaderView>
|
||||
#include <QtWidgets/QSpacerItem>
|
||||
#include <QtWidgets/QToolButton>
|
||||
#include <QtWidgets/QTreeWidget>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_ViewerTrainees
|
||||
{
|
||||
public:
|
||||
QGridLayout *gridLayout;
|
||||
QHBoxLayout *horizontalLayout_1;
|
||||
QGroupBox *groupBox;
|
||||
QGridLayout *gridLayout_2;
|
||||
QHBoxLayout *horizontalLayout_2;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QToolButton *btnEditorTrainees;
|
||||
QSpacerItem *verticalSpacer;
|
||||
QTreeWidget *treeWidget;
|
||||
|
||||
void setupUi(QWidget *ViewerTrainees)
|
||||
{
|
||||
if (ViewerTrainees->objectName().isEmpty())
|
||||
ViewerTrainees->setObjectName(QString::fromUtf8("ViewerTrainees"));
|
||||
ViewerTrainees->resize(400, 300);
|
||||
QFont font;
|
||||
font.setFamily(QString::fromUtf8("Tahoma"));
|
||||
ViewerTrainees->setFont(font);
|
||||
gridLayout = new QGridLayout(ViewerTrainees);
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
horizontalLayout_1 = new QHBoxLayout();
|
||||
horizontalLayout_1->setObjectName(QString::fromUtf8("horizontalLayout_1"));
|
||||
groupBox = new QGroupBox(ViewerTrainees);
|
||||
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
||||
gridLayout_2 = new QGridLayout(groupBox);
|
||||
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
|
||||
horizontalLayout_2 = new QHBoxLayout();
|
||||
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
|
||||
verticalLayout = new QVBoxLayout();
|
||||
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||||
btnEditorTrainees = new QToolButton(groupBox);
|
||||
btnEditorTrainees->setObjectName(QString::fromUtf8("btnEditorTrainees"));
|
||||
btnEditorTrainees->setMinimumSize(QSize(130, 58));
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/icons/DB-trainees.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
btnEditorTrainees->setIcon(icon);
|
||||
btnEditorTrainees->setIconSize(QSize(32, 32));
|
||||
btnEditorTrainees->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
|
||||
|
||||
verticalLayout->addWidget(btnEditorTrainees);
|
||||
|
||||
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
||||
|
||||
verticalLayout->addItem(verticalSpacer);
|
||||
|
||||
|
||||
horizontalLayout_2->addLayout(verticalLayout);
|
||||
|
||||
treeWidget = new QTreeWidget(groupBox);
|
||||
QTreeWidgetItem *__qtreewidgetitem = new QTreeWidgetItem();
|
||||
__qtreewidgetitem->setText(0, QString::fromUtf8("1"));
|
||||
treeWidget->setHeaderItem(__qtreewidgetitem);
|
||||
treeWidget->setObjectName(QString::fromUtf8("treeWidget"));
|
||||
QFont font1;
|
||||
font1.setFamily(QString::fromUtf8("Tahoma"));
|
||||
font1.setPointSize(10);
|
||||
treeWidget->setFont(font1);
|
||||
treeWidget->setIconSize(QSize(20, 20));
|
||||
treeWidget->setColumnCount(1);
|
||||
|
||||
horizontalLayout_2->addWidget(treeWidget);
|
||||
|
||||
|
||||
gridLayout_2->addLayout(horizontalLayout_2, 0, 0, 1, 1);
|
||||
|
||||
|
||||
horizontalLayout_1->addWidget(groupBox);
|
||||
|
||||
|
||||
gridLayout->addLayout(horizontalLayout_1, 0, 2, 2, 1);
|
||||
|
||||
|
||||
retranslateUi(ViewerTrainees);
|
||||
|
||||
QMetaObject::connectSlotsByName(ViewerTrainees);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QWidget *ViewerTrainees)
|
||||
{
|
||||
ViewerTrainees->setWindowTitle(QCoreApplication::translate("ViewerTrainees", "Trainees", nullptr));
|
||||
groupBox->setTitle(QCoreApplication::translate("ViewerTrainees", "Trainees", nullptr));
|
||||
btnEditorTrainees->setText(QCoreApplication::translate("ViewerTrainees", "Editor of Trainees", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class ViewerTrainees: public Ui_ViewerTrainees {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_VIEWERTRAINEES_H
|
||||
Reference in New Issue
Block a user