FemaLocalSoftware/sensordialog.ui
Lopata PC 9e459078e1 SensorTab all Done
paginationBar Done
2024-12-16 11:38:04 +03:00

948 lines
22 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SensorDialog</class>
<widget class="QDialog" name="SensorDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>759</width>
<height>947</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<property name="styleSheet">
<string notr="true">background-color: white;</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>25</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>25</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_18">
<property name="spacing">
<number>20</number>
</property>
<property name="topMargin">
<number>25</number>
</property>
<property name="bottomMargin">
<number>25</number>
</property>
<item>
<widget class="QLabel" name="label_14">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="resources.qrc">:/visual/res/svg/settings.svg</pixmap>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="nameHeader">
<property name="styleSheet">
<string notr="true">background: transparent;
font-family: Inter;
font-size: 22px;
font-weight: 400;
line-height: 26.63px;
text-align: left;
color: #13385F;
</string>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_17">
<property name="spacing">
<number>15</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="QLabel" name="label">
<property name="styleSheet">
<string notr="true">background: transparent;
font-family: Inter;
font-size: 22px;
font-weight: 400;
line-height: 26.63px;
text-align: left;
color: #13385F;
</string>
</property>
<property name="text">
<string>Наименование</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="name">
<property name="styleSheet">
<string notr="true">border: 2px solid #DCD174;
font-family: Inter;
font-size: 26px;
font-weight: 400;
line-height: 31.47px;
text-align: left;
background: #00000000;
color: #13385F;
</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_16">
<property name="spacing">
<number>15</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="QLabel" name="label_2">
<property name="styleSheet">
<string notr="true">background: transparent;
font-family: Inter;
font-size: 22px;
font-weight: 400;
line-height: 26.63px;
text-align: left;
color: #13385F;
</string>
</property>
<property name="text">
<string>Единица измерения</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="unitName">
<property name="styleSheet">
<string notr="true">border: 2px solid #DCD174;
font-family: Inter;
font-size: 26px;
font-weight: 400;
line-height: 31.47px;
text-align: left;
background: #00000000;
color: #13385F;
</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_15">
<property name="spacing">
<number>15</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="QLabel" name="label_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background: transparent;
font-family: Inter;
font-size: 22px;
font-weight: 400;
line-height: 26.63px;
text-align: left;
color: #13385F;
</string>
</property>
<property name="text">
<string>Отображать только Да/Нет вместо значений датчика</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="isBooled">
<property name="styleSheet">
<string notr="true">QComboBox::drop-down {
border: 0px;
}
QComboBox::down-arrow {
image: url(:/visual/res/svg/chevron-down.png);
}
QComboBox {
border: 2px solid #DCD174;
background: transparent;
color: #13385F;
font-family: Inter;
font-size: 20px;
font-weight: 400;
}
QComboBox QAbstractItemView {
border: 2px solid #DCD174;
background: white;
selection-color: red;
selection-background-color: blue;
outline: 0px;;
}
QComboBox QAbstractItemView::item {
font-family: Inter;
font-size: 50px;
font-weight: 400;
text-align: left;
padding: 5px;
color: #13385F;
outline: 0px;;
}
QComboBox QAbstractItemView::item:hover {
background-color: #13385F;
selection-color: white;
outline: 0px;;
}
</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_14">
<property name="spacing">
<number>15</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="QLabel" name="label_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background: transparent;
font-family: Inter;
font-size: 22px;
font-weight: 400;
line-height: 26.63px;
text-align: left;
color: #13385F;
</string>
</property>
<property name="text">
<string>Имеет ли пороговые значения</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="isAlarm">
<property name="styleSheet">
<string notr="true">QComboBox::drop-down {
border: 0px;
}
QComboBox::down-arrow {
image: url(:/visual/res/svg/chevron-down.png);
}
QComboBox {
border: 2px solid #DCD174;
background: transparent;
color: #13385F;
font-family: Inter;
font-size: 20px;
font-weight: 400;
}
QComboBox QAbstractItemView {
border: 2px solid #DCD174;
background: white;
selection-color: red;
selection-background-color: blue;
outline: 0px;;
}
QComboBox QAbstractItemView::item {
font-family: Inter;
font-size: 50px;
font-weight: 400;
text-align: left;
padding: 5px;
color: #13385F;
outline: 0px;;
}
QComboBox QAbstractItemView::item:hover {
background-color: #13385F;
selection-color: white;
outline: 0px;;
}
</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_13">
<property name="spacing">
<number>15</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="QLabel" name="label_5">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background: transparent;
font-family: Inter;
font-size: 22px;
font-weight: 400;
line-height: 26.63px;
text-align: left;
color: #13385F;
</string>
</property>
<property name="text">
<string>Пороговое значение (минимум)</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="alarmLow">
<property name="styleSheet">
<string notr="true">border: 2px solid #DCD174;
font-family: Inter;
font-size: 26px;
font-weight: 400;
line-height: 31.47px;
text-align: left;
background: #00000000;
color: #13385F;
</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_12">
<property name="spacing">
<number>15</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="QLabel" name="label_6">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background: transparent;
font-family: Inter;
font-size: 22px;
font-weight: 400;
line-height: 26.63px;
text-align: left;
color: #13385F;
</string>
</property>
<property name="text">
<string>Пороговое значение (максимум)</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="alarmUp">
<property name="styleSheet">
<string notr="true">border: 2px solid #DCD174;
font-family: Inter;
font-size: 26px;
font-weight: 400;
line-height: 31.47px;
text-align: left;
background: #00000000;
color: #13385F;
</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_11">
<property name="spacing">
<number>15</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="QLabel" name="label_7">
<property name="styleSheet">
<string notr="true">background: transparent;
font-family: Inter;
font-size: 22px;
font-weight: 400;
line-height: 26.63px;
text-align: left;
color: #13385F;
</string>
</property>
<property name="text">
<string>Длительность, секунд</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="alarmCooldown">
<property name="styleSheet">
<string notr="true">border: 2px solid #DCD174;
font-family: Inter;
font-size: 26px;
font-weight: 400;
line-height: 31.47px;
text-align: left;
background: #00000000;
color: #13385F;
</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_10">
<property name="bottomMargin">
<number>5</number>
</property>
<item>
<widget class="QLabel" name="label_8">
<property name="styleSheet">
<string notr="true">background: transparent;
font-family: Inter;
font-size: 22px;
font-weight: 400;
line-height: 26.63px;
text-align: left;
color: #13385F;
</string>
</property>
<property name="text">
<string>Лог ошибки</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_9">
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="QTextEdit" name="logError">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>707</width>
<height>80</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>80</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">border: 2px solid #DCD174;
font-family: Inter;
font-size: 26px;
font-weight: 400;
line-height: 31.47px;
text-align: left;
background: #00000000;
color: #13385F;
</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<property name="bottomMargin">
<number>5</number>
</property>
<item>
<widget class="QLabel" name="label_9">
<property name="styleSheet">
<string notr="true">background: transparent;
font-family: Inter;
font-size: 22px;
font-weight: 400;
line-height: 26.63px;
text-align: left;
color: #13385F;
</string>
</property>
<property name="text">
<string>Лог инструкции</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="QTextEdit" name="logManual">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>707</width>
<height>80</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>80</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">border: 2px solid #DCD174;
font-family: Inter;
font-size: 26px;
font-weight: 400;
line-height: 31.47px;
text-align: left;
background: #00000000;
color: #13385F;
</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<property name="spacing">
<number>15</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="QLabel" name="label_10">
<property name="styleSheet">
<string notr="true">background: transparent;
font-family: Inter;
font-size: 22px;
font-weight: 400;
line-height: 26.63px;
text-align: left;
color: #13385F;
</string>
</property>
<property name="text">
<string>Время повтора, секунд</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="alarmSleepage">
<property name="styleSheet">
<string notr="true">border: 2px solid #DCD174;
font-family: Inter;
font-size: 26px;
font-weight: 400;
line-height: 31.47px;
text-align: left;
background: #00000000;
color: #13385F;
</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<property name="bottomMargin">
<number>5</number>
</property>
<item>
<widget class="QLabel" name="label_11">
<property name="styleSheet">
<string notr="true">background: transparent;
font-family: Inter;
font-size: 22px;
font-weight: 400;
line-height: 26.63px;
text-align: left;
color: #13385F;
</string>
</property>
<property name="text">
<string>Лог повторяющейся ошибки</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="QTextEdit" name="logHugeError">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>707</width>
<height>80</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>80</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">border: 2px solid #DCD174;
font-family: Inter;
font-size: 26px;
font-weight: 400;
line-height: 31.47px;
text-align: left;
background: #00000000;
color: #13385F;
</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>15</number>
</property>
<property name="bottomMargin">
<number>25</number>
</property>
<item>
<widget class="QLabel" name="label_12">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background: transparent;
font-family: Inter;
font-size: 22px;
font-weight: 400;
line-height: 26.63px;
text-align: left;
color: #FF453A;
</string>
</property>
<property name="text">
<string>Скрыть датчик?</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="isVisible">
<property name="styleSheet">
<string notr="true">QComboBox::drop-down {
border: 0px;
}
QComboBox::down-arrow {
image: url(:/visual/res/svg/chevron-down.png);
}
QComboBox {
border: 2px solid #DCD174;
background: transparent;
color: #13385F;
font-family: Inter;
font-size: 20px;
font-weight: 400;
}
QComboBox QAbstractItemView {
border: 2px solid #DCD174;
background: white;
selection-color: red;
selection-background-color: blue;
outline: 0px;;
}
QComboBox QAbstractItemView::item {
font-family: Inter;
font-size: 50px;
font-weight: 400;
text-align: left;
padding: 5px;
color: #13385F;
outline: 0px;;
}
QComboBox QAbstractItemView::item:hover {
background-color: #13385F;
selection-color: white;
outline: 0px;;
}
</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>15</number>
</property>
<property name="bottomMargin">
<number>25</number>
</property>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="cancelButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>110</width>
<height>41</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>110</width>
<height>41</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
border-style: outset;
border-radius: 5px;
border-color: #13385F;
border-width: 1px;
color: #13385F;
font-family: Inter;
font-size: 22px;
font-weight: 500;
line-height: 26.63px;
text-align: center;
}
QPushButton:hover {
background-color: #e0f2f7;
border-color: #1A4A73;
color: #1A4A73;
}
QPushButton:pressed {
background-color: #102E47;
border-color: #102E47;
color: white;
}</string>
</property>
<property name="text">
<string>Отмена</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="saveButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>143</width>
<height>41</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>143</width>
<height>41</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
border-style: outset;
border-radius: 5px;
border-color: #13385F;
border-width: 1px;
background-color: #13385F;
color: white;
font-family: Inter;
font-size: 22px;
font-weight: 500;
line-height: 26.63px;
text-align: center;
}
QPushButton:hover {
background-color: #1A4A73;
border-color: #1A4A73;
}
QPushButton:pressed {
background-color: #102E47;
border-color: #102E47;
}</string>
</property>
<property name="text">
<string>Сохранить</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<resources>
<include location="resources.qrc"/>
</resources>
<connections/>
</ui>