mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
feat: add instructor updateBehaviour
This commit is contained in:
@@ -79,6 +79,11 @@ public:
|
||||
QVBoxLayout *verticalLayout_10;
|
||||
QLabel *updateListGuideLabel;
|
||||
QLabel *updateActionListLabel;
|
||||
QWidget *updateButtonGroup_2;
|
||||
QHBoxLayout *updateButtonGroup;
|
||||
QPushButton *loadToServerButton;
|
||||
QPushButton *undoChangesButton;
|
||||
QPushButton *startWithCurrentChangesButton;
|
||||
|
||||
void setupUi(QMainWindow *MainWindow)
|
||||
{
|
||||
@@ -333,6 +338,7 @@ public:
|
||||
offlineNotifyLabel->setFont(font4);
|
||||
offlineNotifyLabel->setAutoFillBackground(false);
|
||||
offlineNotifyLabel->setScaledContents(true);
|
||||
offlineNotifyLabel->setAlignment(Qt::AlignCenter);
|
||||
offlineNotifyLabel->setWordWrap(true);
|
||||
offlineNotifyLabel->setMargin(0);
|
||||
|
||||
@@ -392,7 +398,7 @@ public:
|
||||
|
||||
notificationLabel = new QLabel(centralwidget);
|
||||
notificationLabel->setObjectName(QString::fromUtf8("notificationLabel"));
|
||||
notificationLabel->setGeometry(QRect(250, 470, 300, 40));
|
||||
notificationLabel->setGeometry(QRect(250, 460, 300, 40));
|
||||
sizePolicy.setHeightForWidth(notificationLabel->sizePolicy().hasHeightForWidth());
|
||||
notificationLabel->setSizePolicy(sizePolicy);
|
||||
notificationLabel->setMinimumSize(QSize(300, 0));
|
||||
@@ -405,7 +411,7 @@ public:
|
||||
offlineStartButton = new QPushButton(centralwidget);
|
||||
offlineStartButton->setObjectName(QString::fromUtf8("offlineStartButton"));
|
||||
offlineStartButton->setEnabled(true);
|
||||
offlineStartButton->setGeometry(QRect(570, 552, 220, 35));
|
||||
offlineStartButton->setGeometry(QRect(565, 552, 220, 35));
|
||||
sizePolicy6.setHeightForWidth(offlineStartButton->sizePolicy().hasHeightForWidth());
|
||||
offlineStartButton->setSizePolicy(sizePolicy6);
|
||||
offlineStartButton->setMinimumSize(QSize(150, 35));
|
||||
@@ -455,6 +461,29 @@ public:
|
||||
|
||||
verticalLayout_10->addWidget(updateActionListLabel);
|
||||
|
||||
updateButtonGroup_2 = new QWidget(centralwidget);
|
||||
updateButtonGroup_2->setObjectName(QString::fromUtf8("updateButtonGroup_2"));
|
||||
updateButtonGroup_2->setGeometry(QRect(10, 541, 551, 50));
|
||||
updateButtonGroup = new QHBoxLayout(updateButtonGroup_2);
|
||||
updateButtonGroup->setObjectName(QString::fromUtf8("updateButtonGroup"));
|
||||
loadToServerButton = new QPushButton(updateButtonGroup_2);
|
||||
loadToServerButton->setObjectName(QString::fromUtf8("loadToServerButton"));
|
||||
loadToServerButton->setMinimumSize(QSize(0, 35));
|
||||
|
||||
updateButtonGroup->addWidget(loadToServerButton);
|
||||
|
||||
undoChangesButton = new QPushButton(updateButtonGroup_2);
|
||||
undoChangesButton->setObjectName(QString::fromUtf8("undoChangesButton"));
|
||||
undoChangesButton->setMinimumSize(QSize(0, 35));
|
||||
|
||||
updateButtonGroup->addWidget(undoChangesButton);
|
||||
|
||||
startWithCurrentChangesButton = new QPushButton(updateButtonGroup_2);
|
||||
startWithCurrentChangesButton->setObjectName(QString::fromUtf8("startWithCurrentChangesButton"));
|
||||
startWithCurrentChangesButton->setMinimumSize(QSize(0, 35));
|
||||
|
||||
updateButtonGroup->addWidget(startWithCurrentChangesButton);
|
||||
|
||||
MainWindow->setCentralWidget(centralwidget);
|
||||
LanguageWidget->raise();
|
||||
mainFrame->raise();
|
||||
@@ -463,6 +492,7 @@ public:
|
||||
notificationLabel->raise();
|
||||
offlineStartButton->raise();
|
||||
debugWidget->raise();
|
||||
updateButtonGroup_2->raise();
|
||||
updateWidget->raise();
|
||||
|
||||
retranslateUi(MainWindow);
|
||||
@@ -497,6 +527,9 @@ public:
|
||||
inlineTextDebug->setText(QString());
|
||||
updateListGuideLabel->setText(QCoreApplication::translate("MainWindow", "\320\225\321\201\321\202\321\214 \320\270\320\267\320\274\320\265\320\275\320\265\320\275\320\270\321\217 \320\262 \320\273\320\276\320\272\320\260\320\273\321\214\320\275\321\213\321\205 \321\204\320\260\320\271\320\273\320\260\321\205", nullptr));
|
||||
updateActionListLabel->setText(QCoreApplication::translate("MainWindow", "TextLabel", nullptr));
|
||||
loadToServerButton->setText(QCoreApplication::translate("MainWindow", "\320\227\320\260\320\263\321\200\321\203\320\267\320\270\321\202\321\214 \320\275\320\260 \321\201\320\265\321\200\320\262\320\265\321\200", nullptr));
|
||||
undoChangesButton->setText(QCoreApplication::translate("MainWindow", "\320\236\321\202\320\274\320\265\320\275\320\270\321\202\321\214 \320\270\320\267\320\274\320\265\320\275\320\265\320\275\320\270\321\217", nullptr));
|
||||
startWithCurrentChangesButton->setText(QCoreApplication::translate("MainWindow", "\320\227\320\260\320\277\321\203\321\201\321\202\320\270\321\202\321\214 \320\261\320\265\320\267 \320\276\321\202\320\277\321\200\320\260\320\262\320\272\320\270", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user