285 lines
9.7 KiB
C
285 lines
9.7 KiB
C
|
/********************************************************************************
|
||
|
** Form generated from reading UI file 'alarmdialog.ui'
|
||
|
**
|
||
|
** Created by: Qt User Interface Compiler version 6.8.1
|
||
|
**
|
||
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||
|
********************************************************************************/
|
||
|
|
||
|
#ifndef UI_ALARMDIALOG_H
|
||
|
#define UI_ALARMDIALOG_H
|
||
|
|
||
|
#include <QtCore/QVariant>
|
||
|
#include <QtQuickWidgets/QQuickWidget>
|
||
|
#include <QtWidgets/QApplication>
|
||
|
#include <QtWidgets/QHBoxLayout>
|
||
|
#include <QtWidgets/QLabel>
|
||
|
#include <QtWidgets/QPushButton>
|
||
|
#include <QtWidgets/QSpacerItem>
|
||
|
#include <QtWidgets/QVBoxLayout>
|
||
|
#include <QtWidgets/QWidget>
|
||
|
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
|
||
|
class Ui_alarmdialog
|
||
|
{
|
||
|
public:
|
||
|
QVBoxLayout *verticalLayout;
|
||
|
QHBoxLayout *horizontalLayout_7;
|
||
|
QLabel *label_2;
|
||
|
QLabel *nameHead;
|
||
|
QSpacerItem *horizontalSpacer;
|
||
|
QHBoxLayout *horizontalLayout_6;
|
||
|
QVBoxLayout *verticalLayout_2;
|
||
|
QLabel *dateStart;
|
||
|
QLabel *dateEnd;
|
||
|
QHBoxLayout *horizontalLayout;
|
||
|
QLabel *name;
|
||
|
QHBoxLayout *chartLayout;
|
||
|
QHBoxLayout *horizontalLayout_2;
|
||
|
QQuickWidget *map;
|
||
|
QHBoxLayout *horizontalLayout_5;
|
||
|
QSpacerItem *horizontalSpacer_2;
|
||
|
QPushButton *cancelButton;
|
||
|
QPushButton *statisticButton;
|
||
|
|
||
|
void setupUi(QWidget *alarmdialog)
|
||
|
{
|
||
|
if (alarmdialog->objectName().isEmpty())
|
||
|
alarmdialog->setObjectName("alarmdialog");
|
||
|
alarmdialog->resize(775, 850);
|
||
|
alarmdialog->setMinimumSize(QSize(775, 850));
|
||
|
alarmdialog->setMaximumSize(QSize(775, 850));
|
||
|
alarmdialog->setStyleSheet(QString::fromUtf8("QWidget#alarmdialog{\n"
|
||
|
"background: white;\n"
|
||
|
"}"));
|
||
|
verticalLayout = new QVBoxLayout(alarmdialog);
|
||
|
verticalLayout->setSpacing(0);
|
||
|
verticalLayout->setObjectName("verticalLayout");
|
||
|
verticalLayout->setContentsMargins(0, 0, 0, 0);
|
||
|
horizontalLayout_7 = new QHBoxLayout();
|
||
|
horizontalLayout_7->setSpacing(20);
|
||
|
horizontalLayout_7->setObjectName("horizontalLayout_7");
|
||
|
horizontalLayout_7->setContentsMargins(25, -1, -1, 25);
|
||
|
label_2 = new QLabel(alarmdialog);
|
||
|
label_2->setObjectName("label_2");
|
||
|
label_2->setMinimumSize(QSize(29, 32));
|
||
|
label_2->setMaximumSize(QSize(29, 32));
|
||
|
label_2->setPixmap(QPixmap(QString::fromUtf8(":/png/res/png/bell.png")));
|
||
|
|
||
|
horizontalLayout_7->addWidget(label_2);
|
||
|
|
||
|
nameHead = new QLabel(alarmdialog);
|
||
|
nameHead->setObjectName("nameHead");
|
||
|
QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Preferred);
|
||
|
sizePolicy.setHorizontalStretch(0);
|
||
|
sizePolicy.setVerticalStretch(29);
|
||
|
sizePolicy.setHeightForWidth(nameHead->sizePolicy().hasHeightForWidth());
|
||
|
nameHead->setSizePolicy(sizePolicy);
|
||
|
nameHead->setMinimumSize(QSize(0, 29));
|
||
|
nameHead->setMaximumSize(QSize(16777215, 29));
|
||
|
nameHead->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||
|
"font-family: Inter;\n"
|
||
|
"font-size: 24px;\n"
|
||
|
"font-weight: 400;\n"
|
||
|
"line-height: 29.05px;\n"
|
||
|
"text-align: left;\n"
|
||
|
"color: #13385F;\n"
|
||
|
""));
|
||
|
|
||
|
horizontalLayout_7->addWidget(nameHead);
|
||
|
|
||
|
horizontalSpacer = new QSpacerItem(40, 29, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
||
|
|
||
|
horizontalLayout_7->addItem(horizontalSpacer);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_7);
|
||
|
|
||
|
horizontalLayout_6 = new QHBoxLayout();
|
||
|
horizontalLayout_6->setSpacing(0);
|
||
|
horizontalLayout_6->setObjectName("horizontalLayout_6");
|
||
|
horizontalLayout_6->setContentsMargins(0, -1, 0, 0);
|
||
|
verticalLayout_2 = new QVBoxLayout();
|
||
|
verticalLayout_2->setSpacing(0);
|
||
|
verticalLayout_2->setObjectName("verticalLayout_2");
|
||
|
verticalLayout_2->setContentsMargins(25, -1, 25, 15);
|
||
|
dateStart = new QLabel(alarmdialog);
|
||
|
dateStart->setObjectName("dateStart");
|
||
|
dateStart->setMinimumSize(QSize(0, 27));
|
||
|
dateStart->setMaximumSize(QSize(16777215, 27));
|
||
|
dateStart->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||
|
"font-family: Inter;\n"
|
||
|
"font-size: 22px;\n"
|
||
|
"font-weight: 400;\n"
|
||
|
"line-height: 26.63px;\n"
|
||
|
"text-align: left;\n"
|
||
|
"color: #13385F;\n"
|
||
|
""));
|
||
|
|
||
|
verticalLayout_2->addWidget(dateStart);
|
||
|
|
||
|
dateEnd = new QLabel(alarmdialog);
|
||
|
dateEnd->setObjectName("dateEnd");
|
||
|
dateEnd->setMaximumSize(QSize(16777215, 27));
|
||
|
dateEnd->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||
|
"font-family: Inter;\n"
|
||
|
"font-size: 22px;\n"
|
||
|
"font-weight: 400;\n"
|
||
|
"line-height: 26.63px;\n"
|
||
|
"text-align: left;\n"
|
||
|
"color: #13385F;\n"
|
||
|
""));
|
||
|
|
||
|
verticalLayout_2->addWidget(dateEnd);
|
||
|
|
||
|
|
||
|
horizontalLayout_6->addLayout(verticalLayout_2);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_6);
|
||
|
|
||
|
horizontalLayout = new QHBoxLayout();
|
||
|
horizontalLayout->setSpacing(0);
|
||
|
horizontalLayout->setObjectName("horizontalLayout");
|
||
|
horizontalLayout->setContentsMargins(25, -1, 25, 15);
|
||
|
name = new QLabel(alarmdialog);
|
||
|
name->setObjectName("name");
|
||
|
name->setMinimumSize(QSize(0, 27));
|
||
|
name->setMaximumSize(QSize(16777215, 27));
|
||
|
name->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||
|
"font-family: Inter;\n"
|
||
|
"font-size: 22px;\n"
|
||
|
"font-weight: 400;\n"
|
||
|
"line-height: 26.63px;\n"
|
||
|
"text-align: left;\n"
|
||
|
"color: #13385F;\n"
|
||
|
""));
|
||
|
|
||
|
horizontalLayout->addWidget(name);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout);
|
||
|
|
||
|
chartLayout = new QHBoxLayout();
|
||
|
chartLayout->setSpacing(0);
|
||
|
chartLayout->setObjectName("chartLayout");
|
||
|
chartLayout->setContentsMargins(25, -1, 25, -1);
|
||
|
|
||
|
verticalLayout->addLayout(chartLayout);
|
||
|
|
||
|
horizontalLayout_2 = new QHBoxLayout();
|
||
|
horizontalLayout_2->setSpacing(0);
|
||
|
horizontalLayout_2->setObjectName("horizontalLayout_2");
|
||
|
horizontalLayout_2->setContentsMargins(25, -1, 25, -1);
|
||
|
map = new QQuickWidget(alarmdialog);
|
||
|
map->setObjectName("map");
|
||
|
map->setMinimumSize(QSize(710, 320));
|
||
|
map->setMaximumSize(QSize(710, 320));
|
||
|
map->setResizeMode(QQuickWidget::ResizeMode::SizeRootObjectToView);
|
||
|
|
||
|
horizontalLayout_2->addWidget(map);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_2);
|
||
|
|
||
|
horizontalLayout_5 = new QHBoxLayout();
|
||
|
horizontalLayout_5->setSpacing(10);
|
||
|
horizontalLayout_5->setObjectName("horizontalLayout_5");
|
||
|
horizontalLayout_5->setContentsMargins(25, -1, 25, -1);
|
||
|
horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
||
|
|
||
|
horizontalLayout_5->addItem(horizontalSpacer_2);
|
||
|
|
||
|
cancelButton = new QPushButton(alarmdialog);
|
||
|
cancelButton->setObjectName("cancelButton");
|
||
|
cancelButton->setMinimumSize(QSize(110, 41));
|
||
|
cancelButton->setMaximumSize(QSize(110, 41));
|
||
|
cancelButton->setStyleSheet(QString::fromUtf8("QPushButton {\n"
|
||
|
" border-style: outset;\n"
|
||
|
" border-radius: 5px;\n"
|
||
|
" border-color: #13385F;\n"
|
||
|
" border-width: 1px;\n"
|
||
|
" color: #13385F;\n"
|
||
|
" font-family: Inter;\n"
|
||
|
" font-size: 22px;\n"
|
||
|
" font-weight: 500;\n"
|
||
|
" line-height: 26.63px;\n"
|
||
|
" text-align: center;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QPushButton:hover {\n"
|
||
|
" background-color: #e0f2f7;\n"
|
||
|
" border-color: #1A4A73;\n"
|
||
|
" color: #1A4A73;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QPushButton:pressed {\n"
|
||
|
" background-color: #102E47;\n"
|
||
|
" border-color: #102E47;\n"
|
||
|
" color: white; \n"
|
||
|
"}"));
|
||
|
|
||
|
horizontalLayout_5->addWidget(cancelButton);
|
||
|
|
||
|
statisticButton = new QPushButton(alarmdialog);
|
||
|
statisticButton->setObjectName("statisticButton");
|
||
|
statisticButton->setMinimumSize(QSize(266, 41));
|
||
|
statisticButton->setMaximumSize(QSize(266, 41));
|
||
|
statisticButton->setStyleSheet(QString::fromUtf8("QPushButton {\n"
|
||
|
" border-style: outset;\n"
|
||
|
" border-radius: 5px;\n"
|
||
|
" border-color: #13385F;\n"
|
||
|
" border-width: 1px;\n"
|
||
|
" background-color: #13385F;\n"
|
||
|
" color: white;\n"
|
||
|
" font-family: Inter;\n"
|
||
|
" font-size: 22px;\n"
|
||
|
" font-weight: 500;\n"
|
||
|
" line-height: 26.63px;\n"
|
||
|
" text-align: center;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QPushButton:hover {\n"
|
||
|
" background-color: #1A4A73;\n"
|
||
|
" border-color: #1A4A73;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QPushButton:pressed {\n"
|
||
|
" background-color: #102E47;\n"
|
||
|
" border-color: #102E47;\n"
|
||
|
"}"));
|
||
|
|
||
|
horizontalLayout_5->addWidget(statisticButton);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_5);
|
||
|
|
||
|
|
||
|
retranslateUi(alarmdialog);
|
||
|
|
||
|
QMetaObject::connectSlotsByName(alarmdialog);
|
||
|
} // setupUi
|
||
|
|
||
|
void retranslateUi(QWidget *alarmdialog)
|
||
|
{
|
||
|
alarmdialog->setWindowTitle(QCoreApplication::translate("alarmdialog", "Form", nullptr));
|
||
|
label_2->setText(QString());
|
||
|
nameHead->setText(QCoreApplication::translate("alarmdialog", "\320\235\320\260\320\267\320\262\320\260\320\275\320\270\320\265 \320\264\320\260\321\202\321\207\320\270\320\272\320\260", nullptr));
|
||
|
dateStart->setText(QCoreApplication::translate("alarmdialog", "TextLabel", nullptr));
|
||
|
dateEnd->setText(QCoreApplication::translate("alarmdialog", "TextLabel", nullptr));
|
||
|
name->setText(QCoreApplication::translate("alarmdialog", "TextLabel", nullptr));
|
||
|
cancelButton->setText(QCoreApplication::translate("alarmdialog", "\320\236\321\202\320\274\320\265\320\275\320\260", nullptr));
|
||
|
statisticButton->setText(QCoreApplication::translate("alarmdialog", "\320\237\320\265\321\200\320\265\320\271\321\202\320\270 \320\272 \321\201\321\202\320\260\321\202\320\270\321\201\321\202\320\270\320\272\320\265", nullptr));
|
||
|
} // retranslateUi
|
||
|
|
||
|
};
|
||
|
|
||
|
namespace Ui {
|
||
|
class alarmdialog: public Ui_alarmdialog {};
|
||
|
} // namespace Ui
|
||
|
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
#endif // UI_ALARMDIALOG_H
|