feat: change UI for send to server

This commit is contained in:
semenov
2024-10-01 16:25:54 +03:00
parent 920916ce69
commit 5f457e3ac6
34 changed files with 5562 additions and 917 deletions

View File

@@ -11,11 +11,9 @@
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QListWidget>
#include <QtWidgets/QProgressBar>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
@@ -25,67 +23,40 @@ QT_BEGIN_NAMESPACE
class Ui_UpdateNotifyWidget
{
public:
QGridLayout *gridLayout;
QWidget *DynamicWidget;
QVBoxLayout *verticalLayout;
QProgressBar *LoadingBar;
QHBoxLayout *ButtonsLayout;
QPushButton *StartLoadButton;
QPushButton *CancelButton;
QLabel *NotificationLabel;
QListWidget *updateListWidget;
QHBoxLayout *horizontalLayout;
QPushButton *closeButton;
void setupUi(QWidget *UpdateNotifyWidget)
{
if (UpdateNotifyWidget->objectName().isEmpty())
UpdateNotifyWidget->setObjectName(QString::fromUtf8("UpdateNotifyWidget"));
UpdateNotifyWidget->resize(726, 429);
gridLayout = new QGridLayout(UpdateNotifyWidget);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
DynamicWidget = new QWidget(UpdateNotifyWidget);
DynamicWidget->setObjectName(QString::fromUtf8("DynamicWidget"));
DynamicWidget->setEnabled(true);
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(DynamicWidget->sizePolicy().hasHeightForWidth());
DynamicWidget->setSizePolicy(sizePolicy);
DynamicWidget->setMinimumSize(QSize(0, 40));
verticalLayout = new QVBoxLayout(DynamicWidget);
verticalLayout = new QVBoxLayout(UpdateNotifyWidget);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
LoadingBar = new QProgressBar(DynamicWidget);
LoadingBar->setObjectName(QString::fromUtf8("LoadingBar"));
LoadingBar->setValue(24);
verticalLayout->addWidget(LoadingBar);
ButtonsLayout = new QHBoxLayout();
ButtonsLayout->setObjectName(QString::fromUtf8("ButtonsLayout"));
StartLoadButton = new QPushButton(DynamicWidget);
StartLoadButton->setObjectName(QString::fromUtf8("StartLoadButton"));
ButtonsLayout->addWidget(StartLoadButton);
CancelButton = new QPushButton(DynamicWidget);
CancelButton->setObjectName(QString::fromUtf8("CancelButton"));
ButtonsLayout->addWidget(CancelButton);
verticalLayout->addLayout(ButtonsLayout);
gridLayout->addWidget(DynamicWidget, 3, 0, 1, 1);
NotificationLabel = new QLabel(UpdateNotifyWidget);
NotificationLabel->setObjectName(QString::fromUtf8("NotificationLabel"));
gridLayout->addWidget(NotificationLabel, 0, 0, 1, 1);
verticalLayout->addWidget(NotificationLabel);
updateListWidget = new QListWidget(UpdateNotifyWidget);
updateListWidget->setObjectName(QString::fromUtf8("updateListWidget"));
gridLayout->addWidget(updateListWidget, 1, 0, 1, 1);
verticalLayout->addWidget(updateListWidget);
horizontalLayout = new QHBoxLayout();
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
closeButton = new QPushButton(UpdateNotifyWidget);
closeButton->setObjectName(QString::fromUtf8("closeButton"));
closeButton->setMinimumSize(QSize(0, 35));
closeButton->setMaximumSize(QSize(200, 16777215));
horizontalLayout->addWidget(closeButton);
verticalLayout->addLayout(horizontalLayout);
retranslateUi(UpdateNotifyWidget);
@@ -96,9 +67,8 @@ public:
void retranslateUi(QWidget *UpdateNotifyWidget)
{
UpdateNotifyWidget->setWindowTitle(QCoreApplication::translate("UpdateNotifyWidget", "Form", nullptr));
StartLoadButton->setText(QCoreApplication::translate("UpdateNotifyWidget", "\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));
CancelButton->setText(QCoreApplication::translate("UpdateNotifyWidget", "\320\236\321\202\320\274\320\265\320\275\320\260", nullptr));
NotificationLabel->setText(QCoreApplication::translate("UpdateNotifyWidget", "\320\236\320\261\320\275\320\260\321\200\321\203\320\266\320\265\320\275\321\213 \320\275\320\276\320\262\321\213\320\265 \321\204\320\260\320\271\320\273\321\213:", nullptr));
closeButton->setText(QCoreApplication::translate("UpdateNotifyWidget", "\320\227\320\260\320\272\321\200\321\213\321\202\321\214", nullptr));
} // retranslateUi
};