Закончил стилизацию css

This commit is contained in:
krivoshein
2024-12-19 12:40:52 +03:00
parent 3ed2b5f5d1
commit bc1f864815
61 changed files with 1168 additions and 1343 deletions

View File

@@ -11,6 +11,7 @@
#include <QtCore/QLocale>
#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
@@ -28,10 +29,11 @@ public:
QGridLayout *gridLayout;
QVBoxLayout *verticalLayout;
QHBoxLayout *horizontalLayout;
QLabel *label;
QLineEdit *editLogin;
QHBoxLayout *horizontalLayout_2;
QVBoxLayout *verticalLayout_2;
QLabel *label_1;
QLabel *label_2;
QVBoxLayout *verticalLayout_3;
QLineEdit *editLogin;
QLineEdit *editPassword;
QDialogButtonBox *buttonBox;
@@ -44,45 +46,53 @@ public:
font.setFamily(QString::fromUtf8("Tahoma"));
font.setPointSize(10);
DialogAuthorizationInstructor->setFont(font);
QIcon icon;
icon.addFile(QString::fromUtf8(":/icons/login-user.png"), QSize(), QIcon::Normal, QIcon::Off);
DialogAuthorizationInstructor->setWindowIcon(icon);
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"));
verticalLayout_2 = new QVBoxLayout();
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
label_1 = new QLabel(DialogAuthorizationInstructor);
label_1->setObjectName(QString::fromUtf8("label_1"));
QFont font1;
font1.setPointSize(10);
label->setFont(font1);
label_1->setFont(font1);
horizontalLayout->addWidget(label);
verticalLayout_2->addWidget(label_1);
editLogin = new QLineEdit(DialogAuthorizationInstructor);
editLogin->setObjectName(QString::fromUtf8("editLogin"));
editLogin->setFont(font1);
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"));
label_2->setFont(font1);
horizontalLayout_2->addWidget(label_2);
verticalLayout_2->addWidget(label_2);
horizontalLayout->addLayout(verticalLayout_2);
verticalLayout_3 = new QVBoxLayout();
verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
editLogin = new QLineEdit(DialogAuthorizationInstructor);
editLogin->setObjectName(QString::fromUtf8("editLogin"));
editLogin->setFont(font1);
verticalLayout_3->addWidget(editLogin);
editPassword = new QLineEdit(DialogAuthorizationInstructor);
editPassword->setObjectName(QString::fromUtf8("editPassword"));
editPassword->setFont(font1);
horizontalLayout_2->addWidget(editPassword);
verticalLayout_3->addWidget(editPassword);
verticalLayout->addLayout(horizontalLayout_2);
horizontalLayout->addLayout(verticalLayout_3);
verticalLayout->addLayout(horizontalLayout);
buttonBox = new QDialogButtonBox(DialogAuthorizationInstructor);
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
@@ -107,9 +117,9 @@ public:
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_1->setText(QCoreApplication::translate("DialogAuthorizationInstructor", "Login", nullptr));
label_2->setText(QCoreApplication::translate("DialogAuthorizationInstructor", "Password", nullptr));
editLogin->setText(QCoreApplication::translate("DialogAuthorizationInstructor", "admin", nullptr));
editPassword->setText(QCoreApplication::translate("DialogAuthorizationInstructor", "admin", nullptr));
} // retranslateUi

View File

@@ -30,13 +30,13 @@ public:
QGridLayout *gridLayout;
QVBoxLayout *verticalLayout;
QHBoxLayout *horizontalLayout;
QVBoxLayout *verticalLayout_2;
QLabel *label_2;
QLineEdit *editName;
QHBoxLayout *horizontalLayout_2;
QLabel *label_3;
QLineEdit *editLogin;
QHBoxLayout *horizontalLayout_3;
QLabel *label_4;
QVBoxLayout *verticalLayout_3;
QLineEdit *editName;
QLineEdit *editLogin;
QLineEdit *editPassword;
QHBoxLayout *horizontalLayout_5;
QCheckBox *checkIsAdmin;
@@ -61,54 +61,54 @@ public:
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
horizontalLayout = new QHBoxLayout();
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
verticalLayout_2 = new QVBoxLayout();
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
label_2 = new QLabel(DialogEditInstructor);
label_2->setObjectName(QString::fromUtf8("label_2"));
QFont font1;
font1.setPointSize(10);
label_2->setFont(font1);
horizontalLayout->addWidget(label_2);
verticalLayout_2->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"));
label_3->setFont(font1);
horizontalLayout_2->addWidget(label_3);
verticalLayout_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"));
label_4->setFont(font1);
horizontalLayout_3->addWidget(label_4);
verticalLayout_2->addWidget(label_4);
horizontalLayout->addLayout(verticalLayout_2);
verticalLayout_3 = new QVBoxLayout();
verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
editName = new QLineEdit(DialogEditInstructor);
editName->setObjectName(QString::fromUtf8("editName"));
editName->setEnabled(true);
verticalLayout_3->addWidget(editName);
editLogin = new QLineEdit(DialogEditInstructor);
editLogin->setObjectName(QString::fromUtf8("editLogin"));
verticalLayout_3->addWidget(editLogin);
editPassword = new QLineEdit(DialogEditInstructor);
editPassword->setObjectName(QString::fromUtf8("editPassword"));
horizontalLayout_3->addWidget(editPassword);
verticalLayout_3->addWidget(editPassword);
verticalLayout->addLayout(horizontalLayout_3);
horizontalLayout->addLayout(verticalLayout_3);
verticalLayout->addLayout(horizontalLayout);
horizontalLayout_5 = new QHBoxLayout();
horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));

View File

@@ -31,13 +31,13 @@ public:
QDialogButtonBox *buttonBox;
QVBoxLayout *verticalLayout;
QHBoxLayout *horizontalLayout;
QVBoxLayout *verticalLayout_2;
QLabel *label_2;
QLineEdit *editName;
QHBoxLayout *horizontalLayout_2;
QLabel *label_3;
QLineEdit *editLogin;
QHBoxLayout *horizontalLayout_3;
QLabel *label_4;
QVBoxLayout *verticalLayout_3;
QLineEdit *editName;
QLineEdit *editLogin;
QLineEdit *editPassword;
QHBoxLayout *horizontalLayout_4;
QCheckBox *checkArchived;
@@ -73,54 +73,54 @@ public:
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
horizontalLayout = new QHBoxLayout();
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
verticalLayout_2 = new QVBoxLayout();
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
label_2 = new QLabel(DialogEditTrainee);
label_2->setObjectName(QString::fromUtf8("label_2"));
label_2->setFont(font1);
horizontalLayout->addWidget(label_2);
verticalLayout_2->addWidget(label_2);
editName = new QLineEdit(DialogEditTrainee);
editName->setObjectName(QString::fromUtf8("editName"));
editName->setFont(font1);
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"));
label_3->setFont(font1);
horizontalLayout_2->addWidget(label_3);
verticalLayout_2->addWidget(label_3);
label_4 = new QLabel(DialogEditTrainee);
label_4->setObjectName(QString::fromUtf8("label_4"));
label_4->setFont(font1);
verticalLayout_2->addWidget(label_4);
horizontalLayout->addLayout(verticalLayout_2);
verticalLayout_3 = new QVBoxLayout();
verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
editName = new QLineEdit(DialogEditTrainee);
editName->setObjectName(QString::fromUtf8("editName"));
editName->setFont(font1);
verticalLayout_3->addWidget(editName);
editLogin = new QLineEdit(DialogEditTrainee);
editLogin->setObjectName(QString::fromUtf8("editLogin"));
editLogin->setFont(font1);
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"));
label_4->setFont(font1);
horizontalLayout_3->addWidget(label_4);
verticalLayout_3->addWidget(editLogin);
editPassword = new QLineEdit(DialogEditTrainee);
editPassword->setObjectName(QString::fromUtf8("editPassword"));
editPassword->setFont(font1);
horizontalLayout_3->addWidget(editPassword);
verticalLayout_3->addWidget(editPassword);
verticalLayout->addLayout(horizontalLayout_3);
horizontalLayout->addLayout(verticalLayout_3);
verticalLayout->addLayout(horizontalLayout);
horizontalLayout_4 = new QHBoxLayout();
horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));

View File

@@ -63,6 +63,7 @@ public:
editCode = new QLineEdit(groupBox);
editCode->setObjectName(QString::fromUtf8("editCode"));
editCode->setReadOnly(true);
horizontalLayout_3->addWidget(editCode);

View File

@@ -12,7 +12,6 @@
#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QSpacerItem>
@@ -26,8 +25,6 @@ class Ui_EditorInstructors
{
public:
QGridLayout *gridLayout_2;
QWidget *widget;
QGridLayout *gridLayout;
QHBoxLayout *horizontalLayout_1;
QVBoxLayout *verticalLayout_1;
QVBoxLayout *verticalLayout_2;
@@ -38,7 +35,7 @@ public:
QSpacerItem *verticalSpacer;
QToolButton *btnArchive;
void setupUi(QDialog *EditorInstructors)
void setupUi(QWidget *EditorInstructors)
{
if (EditorInstructors->objectName().isEmpty())
EditorInstructors->setObjectName(QString::fromUtf8("EditorInstructors"));
@@ -49,12 +46,6 @@ public:
EditorInstructors->setFont(font);
gridLayout_2 = new QGridLayout(EditorInstructors);
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
widget = new QWidget(EditorInstructors);
widget->setObjectName(QString::fromUtf8("widget"));
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();
@@ -64,7 +55,7 @@ public:
verticalLayout_2 = new QVBoxLayout();
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
btnNewInstructor = new QToolButton(widget);
btnNewInstructor = new QToolButton(EditorInstructors);
btnNewInstructor->setObjectName(QString::fromUtf8("btnNewInstructor"));
QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
sizePolicy.setHorizontalStretch(0);
@@ -81,7 +72,7 @@ public:
verticalLayout_2->addWidget(btnNewInstructor);
btnDeleteInstructor = new QToolButton(widget);
btnDeleteInstructor = new QToolButton(EditorInstructors);
btnDeleteInstructor->setObjectName(QString::fromUtf8("btnDeleteInstructor"));
sizePolicy.setHeightForWidth(btnDeleteInstructor->sizePolicy().hasHeightForWidth());
btnDeleteInstructor->setSizePolicy(sizePolicy);
@@ -95,7 +86,7 @@ public:
verticalLayout_2->addWidget(btnDeleteInstructor);
btnToOrFromArchive = new QToolButton(widget);
btnToOrFromArchive = new QToolButton(EditorInstructors);
btnToOrFromArchive->setObjectName(QString::fromUtf8("btnToOrFromArchive"));
btnToOrFromArchive->setMinimumSize(QSize(160, 55));
btnToOrFromArchive->setFont(font);
@@ -107,7 +98,7 @@ public:
verticalLayout_2->addWidget(btnToOrFromArchive);
btnEdit = new QToolButton(widget);
btnEdit = new QToolButton(EditorInstructors);
btnEdit->setObjectName(QString::fromUtf8("btnEdit"));
sizePolicy.setHeightForWidth(btnEdit->sizePolicy().hasHeightForWidth());
btnEdit->setSizePolicy(sizePolicy);
@@ -125,7 +116,7 @@ public:
verticalLayout_2->addItem(verticalSpacer);
btnArchive = new QToolButton(widget);
btnArchive = new QToolButton(EditorInstructors);
btnArchive->setObjectName(QString::fromUtf8("btnArchive"));
sizePolicy.setHeightForWidth(btnArchive->sizePolicy().hasHeightForWidth());
btnArchive->setSizePolicy(sizePolicy);
@@ -144,10 +135,7 @@ public:
horizontalLayout_1->addLayout(verticalLayout_2);
gridLayout->addLayout(horizontalLayout_1, 0, 0, 1, 1);
gridLayout_2->addWidget(widget, 0, 0, 1, 1);
gridLayout_2->addLayout(horizontalLayout_1, 0, 0, 1, 1);
retranslateUi(EditorInstructors);
@@ -155,7 +143,7 @@ public:
QMetaObject::connectSlotsByName(EditorInstructors);
} // setupUi
void retranslateUi(QDialog *EditorInstructors)
void retranslateUi(QWidget *EditorInstructors)
{
EditorInstructors->setWindowTitle(QCoreApplication::translate("EditorInstructors", "List instructors", nullptr));
btnNewInstructor->setText(QCoreApplication::translate("EditorInstructors", "New instructor", nullptr));

View File

@@ -12,7 +12,6 @@
#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QSpacerItem>
@@ -26,12 +25,8 @@ class Ui_EditorTrainees
{
public:
QGridLayout *gridLayout_2;
QWidget *widget;
QGridLayout *gridLayout;
QHBoxLayout *horizontalLayout_1;
QVBoxLayout *verticalLayout_1;
QWidget *widget_2;
QGridLayout *gridLayout_3;
QVBoxLayout *verticalLayout_2;
QToolButton *btnNewGroup;
QToolButton *btnDeleteGroup;
@@ -42,7 +37,7 @@ public:
QSpacerItem *verticalSpacer;
QToolButton *btnArchive;
void setupUi(QDialog *EditorTrainees)
void setupUi(QWidget *EditorTrainees)
{
if (EditorTrainees->objectName().isEmpty())
EditorTrainees->setObjectName(QString::fromUtf8("EditorTrainees"));
@@ -53,12 +48,6 @@ public:
EditorTrainees->setFont(font);
gridLayout_2 = new QGridLayout(EditorTrainees);
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
widget = new QWidget(EditorTrainees);
widget->setObjectName(QString::fromUtf8("widget"));
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();
@@ -66,27 +55,15 @@ public:
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));
widget_2->setFont(font);
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 = new QToolButton(EditorTrainees);
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);
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(btnNewGroup->sizePolicy().hasHeightForWidth());
btnNewGroup->setSizePolicy(sizePolicy);
btnNewGroup->setMinimumSize(QSize(170, 55));
btnNewGroup->setFont(font);
btnNewGroup->setStyleSheet(QString::fromUtf8(""));
@@ -98,10 +75,10 @@ public:
verticalLayout_2->addWidget(btnNewGroup);
btnDeleteGroup = new QToolButton(widget_2);
btnDeleteGroup = new QToolButton(EditorTrainees);
btnDeleteGroup->setObjectName(QString::fromUtf8("btnDeleteGroup"));
sizePolicy1.setHeightForWidth(btnDeleteGroup->sizePolicy().hasHeightForWidth());
btnDeleteGroup->setSizePolicy(sizePolicy1);
sizePolicy.setHeightForWidth(btnDeleteGroup->sizePolicy().hasHeightForWidth());
btnDeleteGroup->setSizePolicy(sizePolicy);
btnDeleteGroup->setMinimumSize(QSize(170, 55));
btnDeleteGroup->setFont(font);
QIcon icon1;
@@ -112,10 +89,10 @@ public:
verticalLayout_2->addWidget(btnDeleteGroup);
btnNewTrainee = new QToolButton(widget_2);
btnNewTrainee = new QToolButton(EditorTrainees);
btnNewTrainee->setObjectName(QString::fromUtf8("btnNewTrainee"));
sizePolicy1.setHeightForWidth(btnNewTrainee->sizePolicy().hasHeightForWidth());
btnNewTrainee->setSizePolicy(sizePolicy1);
sizePolicy.setHeightForWidth(btnNewTrainee->sizePolicy().hasHeightForWidth());
btnNewTrainee->setSizePolicy(sizePolicy);
btnNewTrainee->setMinimumSize(QSize(170, 55));
btnNewTrainee->setFont(font);
QIcon icon2;
@@ -126,10 +103,10 @@ public:
verticalLayout_2->addWidget(btnNewTrainee);
btnDeleteTrainee = new QToolButton(widget_2);
btnDeleteTrainee = new QToolButton(EditorTrainees);
btnDeleteTrainee->setObjectName(QString::fromUtf8("btnDeleteTrainee"));
sizePolicy1.setHeightForWidth(btnDeleteTrainee->sizePolicy().hasHeightForWidth());
btnDeleteTrainee->setSizePolicy(sizePolicy1);
sizePolicy.setHeightForWidth(btnDeleteTrainee->sizePolicy().hasHeightForWidth());
btnDeleteTrainee->setSizePolicy(sizePolicy);
btnDeleteTrainee->setMinimumSize(QSize(170, 55));
btnDeleteTrainee->setFont(font);
QIcon icon3;
@@ -140,10 +117,10 @@ public:
verticalLayout_2->addWidget(btnDeleteTrainee);
btnToOrFromArchiveTrainee = new QToolButton(widget_2);
btnToOrFromArchiveTrainee = new QToolButton(EditorTrainees);
btnToOrFromArchiveTrainee->setObjectName(QString::fromUtf8("btnToOrFromArchiveTrainee"));
sizePolicy1.setHeightForWidth(btnToOrFromArchiveTrainee->sizePolicy().hasHeightForWidth());
btnToOrFromArchiveTrainee->setSizePolicy(sizePolicy1);
sizePolicy.setHeightForWidth(btnToOrFromArchiveTrainee->sizePolicy().hasHeightForWidth());
btnToOrFromArchiveTrainee->setSizePolicy(sizePolicy);
btnToOrFromArchiveTrainee->setMinimumSize(QSize(170, 55));
btnToOrFromArchiveTrainee->setFont(font);
QIcon icon4;
@@ -154,10 +131,10 @@ public:
verticalLayout_2->addWidget(btnToOrFromArchiveTrainee);
btnEdit = new QToolButton(widget_2);
btnEdit = new QToolButton(EditorTrainees);
btnEdit->setObjectName(QString::fromUtf8("btnEdit"));
sizePolicy1.setHeightForWidth(btnEdit->sizePolicy().hasHeightForWidth());
btnEdit->setSizePolicy(sizePolicy1);
sizePolicy.setHeightForWidth(btnEdit->sizePolicy().hasHeightForWidth());
btnEdit->setSizePolicy(sizePolicy);
btnEdit->setMinimumSize(QSize(170, 55));
btnEdit->setFont(font);
QIcon icon5;
@@ -172,10 +149,10 @@ public:
verticalLayout_2->addItem(verticalSpacer);
btnArchive = new QToolButton(widget_2);
btnArchive = new QToolButton(EditorTrainees);
btnArchive->setObjectName(QString::fromUtf8("btnArchive"));
sizePolicy1.setHeightForWidth(btnArchive->sizePolicy().hasHeightForWidth());
btnArchive->setSizePolicy(sizePolicy1);
sizePolicy.setHeightForWidth(btnArchive->sizePolicy().hasHeightForWidth());
btnArchive->setSizePolicy(sizePolicy);
btnArchive->setMinimumSize(QSize(170, 55));
btnArchive->setFont(font);
QIcon icon6;
@@ -188,16 +165,10 @@ public:
verticalLayout_2->addWidget(btnArchive);
gridLayout_3->addLayout(verticalLayout_2, 0, 0, 1, 1);
horizontalLayout_1->addLayout(verticalLayout_2);
horizontalLayout_1->addWidget(widget_2);
gridLayout->addLayout(horizontalLayout_1, 0, 0, 1, 1);
gridLayout_2->addWidget(widget, 0, 0, 1, 1);
gridLayout_2->addLayout(horizontalLayout_1, 0, 0, 1, 1);
retranslateUi(EditorTrainees);
@@ -205,7 +176,7 @@ public:
QMetaObject::connectSlotsByName(EditorTrainees);
} // setupUi
void retranslateUi(QDialog *EditorTrainees)
void retranslateUi(QWidget *EditorTrainees)
{
EditorTrainees->setWindowTitle(QCoreApplication::translate("EditorTrainees", "List trainees", nullptr));
btnNewGroup->setText(QCoreApplication::translate("EditorTrainees", "New group", nullptr));

View File

@@ -66,7 +66,7 @@ public:
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(editMsg->sizePolicy().hasHeightForWidth());
editMsg->setSizePolicy(sizePolicy);
editMsg->setMinimumSize(QSize(0, 58));
editMsg->setMinimumSize(QSize(0, 70));
editMsg->setMaximumSize(QSize(16777215, 1000));
horizontalLayout->addWidget(editMsg);