mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Перекомпоновал ui
This commit is contained in:
@@ -26,13 +26,14 @@ class Ui_ViewerTrainees
|
||||
{
|
||||
public:
|
||||
QGridLayout *gridLayout;
|
||||
QHBoxLayout *horizontalLayout_1;
|
||||
QHBoxLayout *horizontalLayout_0;
|
||||
QGroupBox *groupBox;
|
||||
QGridLayout *gridLayout_2;
|
||||
QHBoxLayout *horizontalLayout_2;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QHBoxLayout *horizontalLayout_1;
|
||||
QHBoxLayout *horizontalLayout_2;
|
||||
QSpacerItem *horizontalSpacer;
|
||||
QToolButton *btnEditorTrainees;
|
||||
QSpacerItem *verticalSpacer;
|
||||
|
||||
void setupUi(QWidget *ViewerTrainees)
|
||||
{
|
||||
@@ -45,8 +46,8 @@ public:
|
||||
ViewerTrainees->setFont(font);
|
||||
gridLayout = new QGridLayout(ViewerTrainees);
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
horizontalLayout_1 = new QHBoxLayout();
|
||||
horizontalLayout_1->setObjectName(QString::fromUtf8("horizontalLayout_1"));
|
||||
horizontalLayout_0 = new QHBoxLayout();
|
||||
horizontalLayout_0->setObjectName(QString::fromUtf8("horizontalLayout_0"));
|
||||
groupBox = new QGroupBox(ViewerTrainees);
|
||||
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
||||
QFont font1;
|
||||
@@ -54,10 +55,19 @@ public:
|
||||
groupBox->setFont(font1);
|
||||
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"));
|
||||
horizontalLayout_1 = new QHBoxLayout();
|
||||
horizontalLayout_1->setObjectName(QString::fromUtf8("horizontalLayout_1"));
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_1);
|
||||
|
||||
horizontalLayout_2 = new QHBoxLayout();
|
||||
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
|
||||
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||||
|
||||
horizontalLayout_2->addItem(horizontalSpacer);
|
||||
|
||||
btnEditorTrainees = new QToolButton(groupBox);
|
||||
btnEditorTrainees->setObjectName(QString::fromUtf8("btnEditorTrainees"));
|
||||
btnEditorTrainees->setEnabled(false);
|
||||
@@ -68,23 +78,19 @@ public:
|
||||
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->addWidget(btnEditorTrainees);
|
||||
|
||||
|
||||
horizontalLayout_2->addLayout(verticalLayout);
|
||||
verticalLayout->addLayout(horizontalLayout_2);
|
||||
|
||||
|
||||
gridLayout_2->addLayout(horizontalLayout_2, 0, 0, 1, 1);
|
||||
gridLayout_2->addLayout(verticalLayout, 0, 0, 1, 1);
|
||||
|
||||
|
||||
horizontalLayout_1->addWidget(groupBox);
|
||||
horizontalLayout_0->addWidget(groupBox);
|
||||
|
||||
|
||||
gridLayout->addLayout(horizontalLayout_1, 0, 2, 2, 1);
|
||||
gridLayout->addLayout(horizontalLayout_0, 0, 2, 2, 1);
|
||||
|
||||
|
||||
retranslateUi(ViewerTrainees);
|
||||
|
||||
Reference in New Issue
Block a user