mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
bugfix/feat: main loading bar, add bar for sender
This commit is contained in:
@@ -15,7 +15,9 @@
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QListWidget>
|
||||
#include <QtWidgets/QProgressBar>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
@@ -24,6 +26,9 @@ class Ui_UpdateNotifyWidget
|
||||
{
|
||||
public:
|
||||
QGridLayout *gridLayout;
|
||||
QWidget *DynamicWidget;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QProgressBar *LoadingBar;
|
||||
QHBoxLayout *ButtonsLayout;
|
||||
QPushButton *StartLoadButton;
|
||||
QPushButton *CancelButton;
|
||||
@@ -37,20 +42,40 @@ public:
|
||||
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->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(UpdateNotifyWidget);
|
||||
StartLoadButton = new QPushButton(DynamicWidget);
|
||||
StartLoadButton->setObjectName(QString::fromUtf8("StartLoadButton"));
|
||||
|
||||
ButtonsLayout->addWidget(StartLoadButton);
|
||||
|
||||
CancelButton = new QPushButton(UpdateNotifyWidget);
|
||||
CancelButton = new QPushButton(DynamicWidget);
|
||||
CancelButton->setObjectName(QString::fromUtf8("CancelButton"));
|
||||
|
||||
ButtonsLayout->addWidget(CancelButton);
|
||||
|
||||
|
||||
gridLayout->addLayout(ButtonsLayout, 2, 0, 1, 1);
|
||||
verticalLayout->addLayout(ButtonsLayout);
|
||||
|
||||
|
||||
gridLayout->addWidget(DynamicWidget, 3, 0, 1, 1);
|
||||
|
||||
NotificationLabel = new QLabel(UpdateNotifyWidget);
|
||||
NotificationLabel->setObjectName(QString::fromUtf8("NotificationLabel"));
|
||||
|
||||
Reference in New Issue
Block a user