793 lines
27 KiB
C
793 lines
27 KiB
C
|
/********************************************************************************
|
||
|
** Form generated from reading UI file 'sensordialog.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_SENSORDIALOG_H
|
||
|
#define UI_SENSORDIALOG_H
|
||
|
|
||
|
#include <QtCore/QVariant>
|
||
|
#include <QtWidgets/QApplication>
|
||
|
#include <QtWidgets/QComboBox>
|
||
|
#include <QtWidgets/QDialog>
|
||
|
#include <QtWidgets/QHBoxLayout>
|
||
|
#include <QtWidgets/QLabel>
|
||
|
#include <QtWidgets/QLineEdit>
|
||
|
#include <QtWidgets/QPushButton>
|
||
|
#include <QtWidgets/QSpacerItem>
|
||
|
#include <QtWidgets/QTextEdit>
|
||
|
#include <QtWidgets/QVBoxLayout>
|
||
|
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
|
||
|
class Ui_SensorDialog
|
||
|
{
|
||
|
public:
|
||
|
QVBoxLayout *verticalLayout;
|
||
|
QHBoxLayout *horizontalLayout_18;
|
||
|
QLabel *label_14;
|
||
|
QLabel *nameHeader;
|
||
|
QSpacerItem *horizontalSpacer_2;
|
||
|
QHBoxLayout *horizontalLayout_17;
|
||
|
QLabel *label;
|
||
|
QLineEdit *name;
|
||
|
QHBoxLayout *horizontalLayout_16;
|
||
|
QLabel *label_2;
|
||
|
QLineEdit *unitName;
|
||
|
QHBoxLayout *horizontalLayout_15;
|
||
|
QLabel *label_3;
|
||
|
QComboBox *isBooled;
|
||
|
QHBoxLayout *horizontalLayout_14;
|
||
|
QLabel *label_4;
|
||
|
QComboBox *isAlarm;
|
||
|
QHBoxLayout *horizontalLayout_13;
|
||
|
QLabel *label_5;
|
||
|
QLineEdit *alarmLow;
|
||
|
QHBoxLayout *horizontalLayout_12;
|
||
|
QLabel *label_6;
|
||
|
QLineEdit *alarmUp;
|
||
|
QHBoxLayout *horizontalLayout_11;
|
||
|
QLabel *label_7;
|
||
|
QLineEdit *alarmCooldown;
|
||
|
QHBoxLayout *horizontalLayout_10;
|
||
|
QLabel *label_8;
|
||
|
QHBoxLayout *horizontalLayout_9;
|
||
|
QTextEdit *logError;
|
||
|
QHBoxLayout *horizontalLayout_8;
|
||
|
QLabel *label_9;
|
||
|
QHBoxLayout *horizontalLayout_7;
|
||
|
QTextEdit *logManual;
|
||
|
QHBoxLayout *horizontalLayout_6;
|
||
|
QLabel *label_10;
|
||
|
QLineEdit *alarmSleepage;
|
||
|
QHBoxLayout *horizontalLayout_5;
|
||
|
QLabel *label_11;
|
||
|
QHBoxLayout *horizontalLayout_4;
|
||
|
QTextEdit *logHugeError;
|
||
|
QHBoxLayout *horizontalLayout_3;
|
||
|
QLabel *label_12;
|
||
|
QComboBox *isVisible;
|
||
|
QHBoxLayout *horizontalLayout_2;
|
||
|
QSpacerItem *horizontalSpacer;
|
||
|
QPushButton *cancelButton;
|
||
|
QPushButton *saveButton;
|
||
|
|
||
|
void setupUi(QDialog *SensorDialog)
|
||
|
{
|
||
|
if (SensorDialog->objectName().isEmpty())
|
||
|
SensorDialog->setObjectName("SensorDialog");
|
||
|
SensorDialog->resize(759, 947);
|
||
|
QSizePolicy sizePolicy(QSizePolicy::Policy::Fixed, QSizePolicy::Policy::Fixed);
|
||
|
sizePolicy.setHorizontalStretch(0);
|
||
|
sizePolicy.setVerticalStretch(0);
|
||
|
sizePolicy.setHeightForWidth(SensorDialog->sizePolicy().hasHeightForWidth());
|
||
|
SensorDialog->setSizePolicy(sizePolicy);
|
||
|
SensorDialog->setStyleSheet(QString::fromUtf8("background-color: white;"));
|
||
|
verticalLayout = new QVBoxLayout(SensorDialog);
|
||
|
verticalLayout->setSpacing(0);
|
||
|
verticalLayout->setObjectName("verticalLayout");
|
||
|
verticalLayout->setContentsMargins(25, 0, 25, 0);
|
||
|
horizontalLayout_18 = new QHBoxLayout();
|
||
|
horizontalLayout_18->setSpacing(20);
|
||
|
horizontalLayout_18->setObjectName("horizontalLayout_18");
|
||
|
horizontalLayout_18->setContentsMargins(-1, 25, -1, 25);
|
||
|
label_14 = new QLabel(SensorDialog);
|
||
|
label_14->setObjectName("label_14");
|
||
|
sizePolicy.setHeightForWidth(label_14->sizePolicy().hasHeightForWidth());
|
||
|
label_14->setSizePolicy(sizePolicy);
|
||
|
label_14->setMinimumSize(QSize(32, 32));
|
||
|
label_14->setMaximumSize(QSize(32, 32));
|
||
|
label_14->setStyleSheet(QString::fromUtf8(""));
|
||
|
label_14->setPixmap(QPixmap(QString::fromUtf8(":/visual/res/svg/settings.svg")));
|
||
|
|
||
|
horizontalLayout_18->addWidget(label_14);
|
||
|
|
||
|
nameHeader = new QLabel(SensorDialog);
|
||
|
nameHeader->setObjectName("nameHeader");
|
||
|
nameHeader->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_18->addWidget(nameHeader);
|
||
|
|
||
|
horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
||
|
|
||
|
horizontalLayout_18->addItem(horizontalSpacer_2);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_18);
|
||
|
|
||
|
horizontalLayout_17 = new QHBoxLayout();
|
||
|
horizontalLayout_17->setSpacing(15);
|
||
|
horizontalLayout_17->setObjectName("horizontalLayout_17");
|
||
|
horizontalLayout_17->setContentsMargins(-1, -1, -1, 10);
|
||
|
label = new QLabel(SensorDialog);
|
||
|
label->setObjectName("label");
|
||
|
label->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_17->addWidget(label);
|
||
|
|
||
|
name = new QLineEdit(SensorDialog);
|
||
|
name->setObjectName("name");
|
||
|
name->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||
|
"font-family: Inter;\n"
|
||
|
"font-size: 26px;\n"
|
||
|
"font-weight: 400;\n"
|
||
|
"line-height: 31.47px;\n"
|
||
|
"text-align: left;\n"
|
||
|
"background: #00000000;\n"
|
||
|
"color: #13385F;\n"
|
||
|
""));
|
||
|
|
||
|
horizontalLayout_17->addWidget(name);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_17);
|
||
|
|
||
|
horizontalLayout_16 = new QHBoxLayout();
|
||
|
horizontalLayout_16->setSpacing(15);
|
||
|
horizontalLayout_16->setObjectName("horizontalLayout_16");
|
||
|
horizontalLayout_16->setContentsMargins(-1, -1, -1, 10);
|
||
|
label_2 = new QLabel(SensorDialog);
|
||
|
label_2->setObjectName("label_2");
|
||
|
label_2->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_16->addWidget(label_2);
|
||
|
|
||
|
unitName = new QLineEdit(SensorDialog);
|
||
|
unitName->setObjectName("unitName");
|
||
|
unitName->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||
|
"font-family: Inter;\n"
|
||
|
"font-size: 26px;\n"
|
||
|
"font-weight: 400;\n"
|
||
|
"line-height: 31.47px;\n"
|
||
|
"text-align: left;\n"
|
||
|
"background: #00000000;\n"
|
||
|
"color: #13385F;\n"
|
||
|
""));
|
||
|
|
||
|
horizontalLayout_16->addWidget(unitName);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_16);
|
||
|
|
||
|
horizontalLayout_15 = new QHBoxLayout();
|
||
|
horizontalLayout_15->setSpacing(15);
|
||
|
horizontalLayout_15->setObjectName("horizontalLayout_15");
|
||
|
horizontalLayout_15->setContentsMargins(-1, -1, -1, 10);
|
||
|
label_3 = new QLabel(SensorDialog);
|
||
|
label_3->setObjectName("label_3");
|
||
|
QSizePolicy sizePolicy1(QSizePolicy::Policy::Maximum, QSizePolicy::Policy::Preferred);
|
||
|
sizePolicy1.setHorizontalStretch(0);
|
||
|
sizePolicy1.setVerticalStretch(0);
|
||
|
sizePolicy1.setHeightForWidth(label_3->sizePolicy().hasHeightForWidth());
|
||
|
label_3->setSizePolicy(sizePolicy1);
|
||
|
label_3->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_15->addWidget(label_3);
|
||
|
|
||
|
isBooled = new QComboBox(SensorDialog);
|
||
|
isBooled->setObjectName("isBooled");
|
||
|
isBooled->setStyleSheet(QString::fromUtf8("QComboBox::drop-down {\n"
|
||
|
" border: 0px;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QComboBox::down-arrow {\n"
|
||
|
" image: url(:/visual/res/svg/chevron-down.png);\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QComboBox {\n"
|
||
|
" border: 2px solid #DCD174;\n"
|
||
|
" background: transparent;\n"
|
||
|
" color: #13385F;\n"
|
||
|
" font-family: Inter;\n"
|
||
|
" font-size: 20px;\n"
|
||
|
" font-weight: 400;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QComboBox QAbstractItemView {\n"
|
||
|
" border: 2px solid #DCD174; \n"
|
||
|
" background: white; \n"
|
||
|
" selection-color: red;\n"
|
||
|
" selection-background-color: blue;\n"
|
||
|
" outline: 0px;;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QComboBox QAbstractItemView::item {\n"
|
||
|
" font-family: Inter;\n"
|
||
|
" font-size: 50px;\n"
|
||
|
" font-weight: 400;\n"
|
||
|
" text-align: left;\n"
|
||
|
" padding: 5px;\n"
|
||
|
" color: #13385F;\n"
|
||
|
" outline: 0px;;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QComboBox QAbstractItemView::item:hover {\n"
|
||
|
" background-color: #13385F; \n"
|
||
|
" selection-color: white;\n"
|
||
|
" outline: 0px;;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"\n"
|
||
|
""));
|
||
|
|
||
|
horizontalLayout_15->addWidget(isBooled);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_15);
|
||
|
|
||
|
horizontalLayout_14 = new QHBoxLayout();
|
||
|
horizontalLayout_14->setSpacing(15);
|
||
|
horizontalLayout_14->setObjectName("horizontalLayout_14");
|
||
|
horizontalLayout_14->setContentsMargins(-1, -1, -1, 10);
|
||
|
label_4 = new QLabel(SensorDialog);
|
||
|
label_4->setObjectName("label_4");
|
||
|
sizePolicy1.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth());
|
||
|
label_4->setSizePolicy(sizePolicy1);
|
||
|
label_4->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_14->addWidget(label_4);
|
||
|
|
||
|
isAlarm = new QComboBox(SensorDialog);
|
||
|
isAlarm->setObjectName("isAlarm");
|
||
|
isAlarm->setStyleSheet(QString::fromUtf8("QComboBox::drop-down {\n"
|
||
|
" border: 0px;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QComboBox::down-arrow {\n"
|
||
|
" image: url(:/visual/res/svg/chevron-down.png);\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QComboBox {\n"
|
||
|
" border: 2px solid #DCD174;\n"
|
||
|
" background: transparent;\n"
|
||
|
" color: #13385F;\n"
|
||
|
" font-family: Inter;\n"
|
||
|
" font-size: 20px;\n"
|
||
|
" font-weight: 400;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QComboBox QAbstractItemView {\n"
|
||
|
" border: 2px solid #DCD174; \n"
|
||
|
" background: white; \n"
|
||
|
" selection-color: red;\n"
|
||
|
" selection-background-color: blue;\n"
|
||
|
" outline: 0px;;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QComboBox QAbstractItemView::item {\n"
|
||
|
" font-family: Inter;\n"
|
||
|
" font-size: 50px;\n"
|
||
|
" font-weight: 400;\n"
|
||
|
" text-align: left;\n"
|
||
|
" padding: 5px;\n"
|
||
|
" color: #13385F;\n"
|
||
|
" outline: 0px;;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QComboBox QAbstractItemView::item:hover {\n"
|
||
|
" background-color: #13385F; \n"
|
||
|
" selection-color: white;\n"
|
||
|
" outline: 0px;;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"\n"
|
||
|
""));
|
||
|
|
||
|
horizontalLayout_14->addWidget(isAlarm);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_14);
|
||
|
|
||
|
horizontalLayout_13 = new QHBoxLayout();
|
||
|
horizontalLayout_13->setSpacing(15);
|
||
|
horizontalLayout_13->setObjectName("horizontalLayout_13");
|
||
|
horizontalLayout_13->setContentsMargins(-1, -1, -1, 10);
|
||
|
label_5 = new QLabel(SensorDialog);
|
||
|
label_5->setObjectName("label_5");
|
||
|
sizePolicy1.setHeightForWidth(label_5->sizePolicy().hasHeightForWidth());
|
||
|
label_5->setSizePolicy(sizePolicy1);
|
||
|
label_5->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_13->addWidget(label_5);
|
||
|
|
||
|
alarmLow = new QLineEdit(SensorDialog);
|
||
|
alarmLow->setObjectName("alarmLow");
|
||
|
alarmLow->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||
|
"font-family: Inter;\n"
|
||
|
"font-size: 26px;\n"
|
||
|
"font-weight: 400;\n"
|
||
|
"line-height: 31.47px;\n"
|
||
|
"text-align: left;\n"
|
||
|
"background: #00000000;\n"
|
||
|
"color: #13385F;\n"
|
||
|
""));
|
||
|
|
||
|
horizontalLayout_13->addWidget(alarmLow);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_13);
|
||
|
|
||
|
horizontalLayout_12 = new QHBoxLayout();
|
||
|
horizontalLayout_12->setSpacing(15);
|
||
|
horizontalLayout_12->setObjectName("horizontalLayout_12");
|
||
|
horizontalLayout_12->setContentsMargins(-1, -1, -1, 10);
|
||
|
label_6 = new QLabel(SensorDialog);
|
||
|
label_6->setObjectName("label_6");
|
||
|
sizePolicy1.setHeightForWidth(label_6->sizePolicy().hasHeightForWidth());
|
||
|
label_6->setSizePolicy(sizePolicy1);
|
||
|
label_6->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_12->addWidget(label_6);
|
||
|
|
||
|
alarmUp = new QLineEdit(SensorDialog);
|
||
|
alarmUp->setObjectName("alarmUp");
|
||
|
alarmUp->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||
|
"font-family: Inter;\n"
|
||
|
"font-size: 26px;\n"
|
||
|
"font-weight: 400;\n"
|
||
|
"line-height: 31.47px;\n"
|
||
|
"text-align: left;\n"
|
||
|
"background: #00000000;\n"
|
||
|
"color: #13385F;\n"
|
||
|
""));
|
||
|
|
||
|
horizontalLayout_12->addWidget(alarmUp);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_12);
|
||
|
|
||
|
horizontalLayout_11 = new QHBoxLayout();
|
||
|
horizontalLayout_11->setSpacing(15);
|
||
|
horizontalLayout_11->setObjectName("horizontalLayout_11");
|
||
|
horizontalLayout_11->setContentsMargins(-1, -1, -1, 10);
|
||
|
label_7 = new QLabel(SensorDialog);
|
||
|
label_7->setObjectName("label_7");
|
||
|
label_7->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_11->addWidget(label_7);
|
||
|
|
||
|
alarmCooldown = new QLineEdit(SensorDialog);
|
||
|
alarmCooldown->setObjectName("alarmCooldown");
|
||
|
alarmCooldown->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||
|
"font-family: Inter;\n"
|
||
|
"font-size: 26px;\n"
|
||
|
"font-weight: 400;\n"
|
||
|
"line-height: 31.47px;\n"
|
||
|
"text-align: left;\n"
|
||
|
"background: #00000000;\n"
|
||
|
"color: #13385F;\n"
|
||
|
""));
|
||
|
|
||
|
horizontalLayout_11->addWidget(alarmCooldown);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_11);
|
||
|
|
||
|
horizontalLayout_10 = new QHBoxLayout();
|
||
|
horizontalLayout_10->setObjectName("horizontalLayout_10");
|
||
|
horizontalLayout_10->setContentsMargins(-1, -1, -1, 5);
|
||
|
label_8 = new QLabel(SensorDialog);
|
||
|
label_8->setObjectName("label_8");
|
||
|
label_8->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_10->addWidget(label_8);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_10);
|
||
|
|
||
|
horizontalLayout_9 = new QHBoxLayout();
|
||
|
horizontalLayout_9->setObjectName("horizontalLayout_9");
|
||
|
horizontalLayout_9->setContentsMargins(-1, -1, -1, 10);
|
||
|
logError = new QTextEdit(SensorDialog);
|
||
|
logError->setObjectName("logError");
|
||
|
QSizePolicy sizePolicy2(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
|
||
|
sizePolicy2.setHorizontalStretch(0);
|
||
|
sizePolicy2.setVerticalStretch(0);
|
||
|
sizePolicy2.setHeightForWidth(logError->sizePolicy().hasHeightForWidth());
|
||
|
logError->setSizePolicy(sizePolicy2);
|
||
|
logError->setMinimumSize(QSize(707, 80));
|
||
|
logError->setMaximumSize(QSize(16777215, 80));
|
||
|
logError->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||
|
"font-family: Inter;\n"
|
||
|
"font-size: 26px;\n"
|
||
|
"font-weight: 400;\n"
|
||
|
"line-height: 31.47px;\n"
|
||
|
"text-align: left;\n"
|
||
|
"background: #00000000;\n"
|
||
|
"color: #13385F;\n"
|
||
|
""));
|
||
|
|
||
|
horizontalLayout_9->addWidget(logError);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_9);
|
||
|
|
||
|
horizontalLayout_8 = new QHBoxLayout();
|
||
|
horizontalLayout_8->setObjectName("horizontalLayout_8");
|
||
|
horizontalLayout_8->setContentsMargins(-1, -1, -1, 5);
|
||
|
label_9 = new QLabel(SensorDialog);
|
||
|
label_9->setObjectName("label_9");
|
||
|
label_9->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_8->addWidget(label_9);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_8);
|
||
|
|
||
|
horizontalLayout_7 = new QHBoxLayout();
|
||
|
horizontalLayout_7->setObjectName("horizontalLayout_7");
|
||
|
horizontalLayout_7->setContentsMargins(-1, -1, -1, 10);
|
||
|
logManual = new QTextEdit(SensorDialog);
|
||
|
logManual->setObjectName("logManual");
|
||
|
sizePolicy2.setHeightForWidth(logManual->sizePolicy().hasHeightForWidth());
|
||
|
logManual->setSizePolicy(sizePolicy2);
|
||
|
logManual->setMinimumSize(QSize(707, 80));
|
||
|
logManual->setMaximumSize(QSize(16777215, 80));
|
||
|
logManual->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||
|
"font-family: Inter;\n"
|
||
|
"font-size: 26px;\n"
|
||
|
"font-weight: 400;\n"
|
||
|
"line-height: 31.47px;\n"
|
||
|
"text-align: left;\n"
|
||
|
"background: #00000000;\n"
|
||
|
"color: #13385F;\n"
|
||
|
""));
|
||
|
|
||
|
horizontalLayout_7->addWidget(logManual);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_7);
|
||
|
|
||
|
horizontalLayout_6 = new QHBoxLayout();
|
||
|
horizontalLayout_6->setSpacing(15);
|
||
|
horizontalLayout_6->setObjectName("horizontalLayout_6");
|
||
|
horizontalLayout_6->setContentsMargins(-1, -1, -1, 10);
|
||
|
label_10 = new QLabel(SensorDialog);
|
||
|
label_10->setObjectName("label_10");
|
||
|
label_10->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_6->addWidget(label_10);
|
||
|
|
||
|
alarmSleepage = new QLineEdit(SensorDialog);
|
||
|
alarmSleepage->setObjectName("alarmSleepage");
|
||
|
alarmSleepage->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||
|
"font-family: Inter;\n"
|
||
|
"font-size: 26px;\n"
|
||
|
"font-weight: 400;\n"
|
||
|
"line-height: 31.47px;\n"
|
||
|
"text-align: left;\n"
|
||
|
"background: #00000000;\n"
|
||
|
"color: #13385F;\n"
|
||
|
""));
|
||
|
|
||
|
horizontalLayout_6->addWidget(alarmSleepage);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_6);
|
||
|
|
||
|
horizontalLayout_5 = new QHBoxLayout();
|
||
|
horizontalLayout_5->setObjectName("horizontalLayout_5");
|
||
|
horizontalLayout_5->setContentsMargins(-1, -1, -1, 5);
|
||
|
label_11 = new QLabel(SensorDialog);
|
||
|
label_11->setObjectName("label_11");
|
||
|
label_11->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_5->addWidget(label_11);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_5);
|
||
|
|
||
|
horizontalLayout_4 = new QHBoxLayout();
|
||
|
horizontalLayout_4->setObjectName("horizontalLayout_4");
|
||
|
horizontalLayout_4->setContentsMargins(-1, -1, -1, 10);
|
||
|
logHugeError = new QTextEdit(SensorDialog);
|
||
|
logHugeError->setObjectName("logHugeError");
|
||
|
sizePolicy2.setHeightForWidth(logHugeError->sizePolicy().hasHeightForWidth());
|
||
|
logHugeError->setSizePolicy(sizePolicy2);
|
||
|
logHugeError->setMinimumSize(QSize(707, 80));
|
||
|
logHugeError->setMaximumSize(QSize(16777215, 80));
|
||
|
logHugeError->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||
|
"font-family: Inter;\n"
|
||
|
"font-size: 26px;\n"
|
||
|
"font-weight: 400;\n"
|
||
|
"line-height: 31.47px;\n"
|
||
|
"text-align: left;\n"
|
||
|
"background: #00000000;\n"
|
||
|
"color: #13385F;\n"
|
||
|
""));
|
||
|
|
||
|
horizontalLayout_4->addWidget(logHugeError);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_4);
|
||
|
|
||
|
horizontalLayout_3 = new QHBoxLayout();
|
||
|
horizontalLayout_3->setSpacing(15);
|
||
|
horizontalLayout_3->setObjectName("horizontalLayout_3");
|
||
|
horizontalLayout_3->setContentsMargins(-1, -1, -1, 25);
|
||
|
label_12 = new QLabel(SensorDialog);
|
||
|
label_12->setObjectName("label_12");
|
||
|
sizePolicy1.setHeightForWidth(label_12->sizePolicy().hasHeightForWidth());
|
||
|
label_12->setSizePolicy(sizePolicy1);
|
||
|
label_12->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: #FF453A;\n"
|
||
|
""));
|
||
|
|
||
|
horizontalLayout_3->addWidget(label_12);
|
||
|
|
||
|
isVisible = new QComboBox(SensorDialog);
|
||
|
isVisible->setObjectName("isVisible");
|
||
|
isVisible->setStyleSheet(QString::fromUtf8("QComboBox::drop-down {\n"
|
||
|
" border: 0px;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QComboBox::down-arrow {\n"
|
||
|
" image: url(:/visual/res/svg/chevron-down.png);\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QComboBox {\n"
|
||
|
" border: 2px solid #DCD174;\n"
|
||
|
" background: transparent;\n"
|
||
|
" color: #13385F;\n"
|
||
|
" font-family: Inter;\n"
|
||
|
" font-size: 20px;\n"
|
||
|
" font-weight: 400;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QComboBox QAbstractItemView {\n"
|
||
|
" border: 2px solid #DCD174; \n"
|
||
|
" background: white; \n"
|
||
|
" selection-color: red;\n"
|
||
|
" selection-background-color: blue;\n"
|
||
|
" outline: 0px;;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QComboBox QAbstractItemView::item {\n"
|
||
|
" font-family: Inter;\n"
|
||
|
" font-size: 50px;\n"
|
||
|
" font-weight: 400;\n"
|
||
|
" text-align: left;\n"
|
||
|
" padding: 5px;\n"
|
||
|
" color: #13385F;\n"
|
||
|
" outline: 0px;;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"QComboBox QAbstractItemView::item:hover {\n"
|
||
|
" background-color: #13385F; \n"
|
||
|
" selection-color: white;\n"
|
||
|
" outline: 0px;;\n"
|
||
|
"}\n"
|
||
|
"\n"
|
||
|
"\n"
|
||
|
""));
|
||
|
|
||
|
horizontalLayout_3->addWidget(isVisible);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_3);
|
||
|
|
||
|
horizontalLayout_2 = new QHBoxLayout();
|
||
|
horizontalLayout_2->setSpacing(15);
|
||
|
horizontalLayout_2->setObjectName("horizontalLayout_2");
|
||
|
horizontalLayout_2->setContentsMargins(-1, -1, -1, 25);
|
||
|
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
||
|
|
||
|
horizontalLayout_2->addItem(horizontalSpacer);
|
||
|
|
||
|
cancelButton = new QPushButton(SensorDialog);
|
||
|
cancelButton->setObjectName("cancelButton");
|
||
|
sizePolicy.setHeightForWidth(cancelButton->sizePolicy().hasHeightForWidth());
|
||
|
cancelButton->setSizePolicy(sizePolicy);
|
||
|
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_2->addWidget(cancelButton);
|
||
|
|
||
|
saveButton = new QPushButton(SensorDialog);
|
||
|
saveButton->setObjectName("saveButton");
|
||
|
sizePolicy.setHeightForWidth(saveButton->sizePolicy().hasHeightForWidth());
|
||
|
saveButton->setSizePolicy(sizePolicy);
|
||
|
saveButton->setMinimumSize(QSize(143, 41));
|
||
|
saveButton->setMaximumSize(QSize(143, 41));
|
||
|
saveButton->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_2->addWidget(saveButton);
|
||
|
|
||
|
|
||
|
verticalLayout->addLayout(horizontalLayout_2);
|
||
|
|
||
|
|
||
|
retranslateUi(SensorDialog);
|
||
|
|
||
|
QMetaObject::connectSlotsByName(SensorDialog);
|
||
|
} // setupUi
|
||
|
|
||
|
void retranslateUi(QDialog *SensorDialog)
|
||
|
{
|
||
|
SensorDialog->setWindowTitle(QCoreApplication::translate("SensorDialog", "Dialog", nullptr));
|
||
|
label_14->setText(QString());
|
||
|
nameHeader->setText(QCoreApplication::translate("SensorDialog", "TextLabel", nullptr));
|
||
|
label->setText(QCoreApplication::translate("SensorDialog", "\320\235\320\260\320\270\320\274\320\265\320\275\320\276\320\262\320\260\320\275\320\270\320\265", nullptr));
|
||
|
label_2->setText(QCoreApplication::translate("SensorDialog", "\320\225\320\264\320\270\320\275\320\270\321\206\320\260 \320\270\320\267\320\274\320\265\321\200\320\265\320\275\320\270\321\217", nullptr));
|
||
|
label_3->setText(QCoreApplication::translate("SensorDialog", "\320\236\321\202\320\276\320\261\321\200\320\260\320\266\320\260\321\202\321\214 \321\202\320\276\320\273\321\214\320\272\320\276 \320\224\320\260/\320\235\320\265\321\202 \320\262\320\274\320\265\321\201\321\202\320\276 \320\267\320\275\320\260\321\207\320\265\320\275\320\270\320\271 \320\264\320\260\321\202\321\207\320\270\320\272\320\260", nullptr));
|
||
|
label_4->setText(QCoreApplication::translate("SensorDialog", "\320\230\320\274\320\265\320\265\321\202 \320\273\320\270 \320\277\320\276\321\200\320\276\320\263\320\276\320\262\321\213\320\265 \320\267\320\275\320\260\321\207\320\265\320\275\320\270\321\217", nullptr));
|
||
|
label_5->setText(QCoreApplication::translate("SensorDialog", "\320\237\320\276\321\200\320\276\320\263\320\276\320\262\320\276\320\265 \320\267\320\275\320\260\321\207\320\265\320\275\320\270\320\265 (\320\274\320\270\320\275\320\270\320\274\321\203\320\274)", nullptr));
|
||
|
label_6->setText(QCoreApplication::translate("SensorDialog", "\320\237\320\276\321\200\320\276\320\263\320\276\320\262\320\276\320\265 \320\267\320\275\320\260\321\207\320\265\320\275\320\270\320\265 (\320\274\320\260\320\272\321\201\320\270\320\274\321\203\320\274)", nullptr));
|
||
|
label_7->setText(QCoreApplication::translate("SensorDialog", "\320\224\320\273\320\270\321\202\320\265\320\273\321\214\320\275\320\276\321\201\321\202\321\214, \321\201\320\265\320\272\321\203\320\275\320\264", nullptr));
|
||
|
label_8->setText(QCoreApplication::translate("SensorDialog", "\320\233\320\276\320\263 \320\276\321\210\320\270\320\261\320\272\320\270", nullptr));
|
||
|
label_9->setText(QCoreApplication::translate("SensorDialog", "\320\233\320\276\320\263 \320\270\320\275\321\201\321\202\321\200\321\203\320\272\321\206\320\270\320\270", nullptr));
|
||
|
label_10->setText(QCoreApplication::translate("SensorDialog", "\320\222\321\200\320\265\320\274\321\217 \320\277\320\276\320\262\321\202\320\276\321\200\320\260, \321\201\320\265\320\272\321\203\320\275\320\264", nullptr));
|
||
|
label_11->setText(QCoreApplication::translate("SensorDialog", "\320\233\320\276\320\263 \320\277\320\276\320\262\321\202\320\276\321\200\321\217\321\216\321\211\320\265\320\271\321\201\321\217 \320\276\321\210\320\270\320\261\320\272\320\270", nullptr));
|
||
|
label_12->setText(QCoreApplication::translate("SensorDialog", "\320\241\320\272\321\200\321\213\321\202\321\214 \320\264\320\260\321\202\321\207\320\270\320\272?", nullptr));
|
||
|
cancelButton->setText(QCoreApplication::translate("SensorDialog", "\320\236\321\202\320\274\320\265\320\275\320\260", nullptr));
|
||
|
saveButton->setText(QCoreApplication::translate("SensorDialog", "\320\241\320\276\321\205\321\200\320\260\320\275\320\270\321\202\321\214", nullptr));
|
||
|
} // retranslateUi
|
||
|
|
||
|
};
|
||
|
|
||
|
namespace Ui {
|
||
|
class SensorDialog: public Ui_SensorDialog {};
|
||
|
} // namespace Ui
|
||
|
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
#endif // UI_SENSORDIALOG_H
|