Улучшил индикацию

This commit is contained in:
krivoshein
2024-11-28 12:03:36 +03:00
parent f98b2e2beb
commit 7011ed1fe8
30 changed files with 639 additions and 317 deletions

View File

@@ -15,6 +15,7 @@
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QListWidget>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QToolButton>
@@ -39,6 +40,7 @@ public:
QVBoxLayout *verticalLayout_3;
QListWidget *listWidget_Clients;
QHBoxLayout *horizontalLayout;
QLabel *lblOnOff;
QSpacerItem *horizontalSpacer;
QToolButton *btnStartServer;
QToolButton *btnStopServer;
@@ -119,6 +121,14 @@ public:
horizontalLayout = new QHBoxLayout();
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
lblOnOff = new QLabel(groupBox_2);
lblOnOff->setObjectName(QString::fromUtf8("lblOnOff"));
lblOnOff->setMaximumSize(QSize(40, 40));
lblOnOff->setPixmap(QPixmap(QString::fromUtf8(":/icons/switchOff.png")));
lblOnOff->setScaledContents(true);
horizontalLayout->addWidget(lblOnOff);
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
horizontalLayout->addItem(horizontalSpacer);
@@ -189,6 +199,7 @@ public:
groupBox_2->setTitle(QCoreApplication::translate("ServerLMSWidget", "Server LMS", nullptr));
groupBox->setTitle(QCoreApplication::translate("ServerLMSWidget", "Logger", nullptr));
groupBox_3->setTitle(QCoreApplication::translate("ServerLMSWidget", "List of clients", nullptr));
lblOnOff->setText(QString());
btnStartServer->setText(QCoreApplication::translate("ServerLMSWidget", "Start", nullptr));
btnStopServer->setText(QCoreApplication::translate("ServerLMSWidget", "Stop", nullptr));
groupBox_4->setTitle(QCoreApplication::translate("ServerLMSWidget", "Tasks", nullptr));