PowerMaster/ui/alarmEventConfigDialog.ui

620 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>alarmEventConfigDialog</class>
<widget class="QDialog" name="alarmEventConfigDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>501</width>
<height>334</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QWidget" name="contentWidget" native="true">
<property name="styleSheet">
<string notr="true">QWidget #contentWidget
{
border:1px solid rgb(76,88,105);
background-color:rgba(36,43,50,250);
}
QLabel
{
font: 12pt &quot;黑体&quot;;
color: rgb(250, 250, 250);
}
QRadioButton
{
spacing:8px;
font: 12pt &quot;黑体&quot;;
color: rgb(250, 250, 250);
}
QRadioButton::indicator
{
width:36px;
height:20px;
}
QRadioButton::indicator:unchecked
{
image: url(:/images/ico_switch_off.png);
}
QRadioButton::indicator:checked
{
image: url(:/images/ico_switch_on.png);
}
QCheckBox
{
spacing:5px;
font: 12pt &quot;黑体&quot;;
color: rgb(250, 250, 250);
}
QCheckBox::indicator
{
width:24px;
height:24px;
}
QCheckBox::indicator:checked
{
image: url(:/images/icon_checked_green.png);
}
QCheckBox::indicator:unchecked
{
image: url(:/images/icon_unchecked.png);
}
QLineEdit
{
font: 12pt &quot;黑体&quot;;
color: rgb(250, 250, 250);
border:1px solid rgb(200,200,200);
background:transparent;
}
QLineEdit:focus
{
border:1px solid rgb(67,160,249);
}
QComboBox
{
font: 11pt &quot;黑体&quot;;
color: rgb(250, 250, 250);
background-color: rgb(54, 62, 74);
border: 0px;
border-radius: 0px;
}
QComboBox:hover
{
background-color: rgb(72, 83, 99);
}
QComboBox::drop-down
{
border:0px;
}
QComboBox::down-arrow
{
margin-right:10px;
width:14px;
border-image: url(:/images/down-arrow.png);
}
QComboBox QAbstractItemView
{
outline: 0px; /*去除选中虚线框 */
border:0px;
background-color:rgba(25,25,25,220);
}
QComboBox QAbstractItemView::item:hover
{
background-color: rgb(43, 102, 158);
}
QComboBox QAbstractItemView::item:selected
{
color: rgb(250, 250, 250);
background-color: rgba(43, 102, 158, 80);
}
</string>
</property>
<widget class="QLabel" name="labeWindowlTitle">
<property name="geometry">
<rect>
<x>25</x>
<y>20</y>
<width>451</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(250, 250, 250);
font: 700 13pt &quot;微软雅黑&quot;;
border:0.5px solid rgb(250,250,250);
border-left:0px;
border-top:0px;
border-right:0px;</string>
</property>
<property name="text">
<string>报警配置</string>
</property>
</widget>
<widget class="QWidget" name="tabBar" native="true">
<property name="geometry">
<rect>
<x>25</x>
<y>60</y>
<width>451</width>
<height>46</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QWidget #tabBar
{
background-color: rgb(54, 62, 74);
border-bottom:1px solid rgb(200,200,200);
}</string>
</property>
<widget class="QPushButton" name="tabDataSource">
<property name="geometry">
<rect>
<x>110</x>
<y>16</y>
<width>100</width>
<height>30</height>
</rect>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
color: rgb(250, 250, 250);
font: 700 12pt &quot;黑体&quot;;
border:0px;
background-color:transparent;
}
QPushButton:hover
{
}
QPushButton:pressed
{
}</string>
</property>
<property name="text">
<string>通知设置</string>
</property>
</widget>
<widget class="QPushButton" name="tabDataFilter">
<property name="geometry">
<rect>
<x>10</x>
<y>16</y>
<width>100</width>
<height>30</height>
</rect>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
color: rgb(250, 250, 250);
font: 700 12pt &quot;黑体&quot;;
border:1px solid rgb(200,200,200);
border-bottom:0px;
background-color:rgba(36,43,50, 250);
}
QPushButton:hover
{
}
QPushButton:pressed
{
}</string>
</property>
<property name="text">
<string>数据筛选</string>
</property>
</widget>
</widget>
<widget class="QStackedWidget" name="stackedWidget">
<property name="geometry">
<rect>
<x>25</x>
<y>110</y>
<width>451</width>
<height>171</height>
</rect>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="page_dataFilter">
<property name="styleSheet">
<string notr="true">QWidget #page_dataFilter
{
background-color:transparent;
}
</string>
</property>
<widget class="QLabel" name="alarmLevel">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>101</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>报警级别</string>
</property>
</widget>
<widget class="QCheckBox" name="level_notify">
<property name="geometry">
<rect>
<x>35</x>
<y>45</y>
<width>71</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>告知</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="level_warning">
<property name="geometry">
<rect>
<x>140</x>
<y>45</y>
<width>71</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>预警</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="level_abnormal">
<property name="geometry">
<rect>
<x>245</x>
<y>45</y>
<width>71</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>异常</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="level_accident">
<property name="geometry">
<rect>
<x>350</x>
<y>45</y>
<width>71</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>事故</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="eventType">
<property name="geometry">
<rect>
<x>0</x>
<y>90</y>
<width>101</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>事件类型</string>
</property>
</widget>
<widget class="QCheckBox" name="type_hard">
<property name="geometry">
<rect>
<x>35</x>
<y>125</y>
<width>91</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>硬事件</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="type_platformSoft">
<property name="geometry">
<rect>
<x>155</x>
<y>125</y>
<width>121</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>平台软事件</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="type_appSoft">
<property name="geometry">
<rect>
<x>305</x>
<y>125</y>
<width>121</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>应用软事件</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="QWidget" name="page_notifySetting">
<property name="styleSheet">
<string notr="true">QWidget #page_notifySetting
{
background-color:transparent;
}
</string>
</property>
<widget class="QRadioButton" name="switch_sound">
<property name="geometry">
<rect>
<x>35</x>
<y>40</y>
<width>121</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>声音提示</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="autoExclusive">
<bool>false</bool>
</property>
</widget>
<widget class="QRadioButton" name="switch_autoPop">
<property name="geometry">
<rect>
<x>180</x>
<y>40</y>
<width>121</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>自动弹窗</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="autoExclusive">
<bool>false</bool>
</property>
</widget>
<widget class="QLabel" name="alarmNotify">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>101</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>报警提示</string>
</property>
</widget>
<widget class="QLabel" name="popSetting">
<property name="geometry">
<rect>
<x>0</x>
<y>90</y>
<width>101</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>弹窗设置</string>
</property>
</widget>
<widget class="QCheckBox" name="pop_warning">
<property name="geometry">
<rect>
<x>140</x>
<y>130</y>
<width>71</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>预警</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
<widget class="QCheckBox" name="pop_abnormal">
<property name="geometry">
<rect>
<x>245</x>
<y>130</y>
<width>71</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>异常</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="pop_accident">
<property name="geometry">
<rect>
<x>350</x>
<y>130</y>
<width>71</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>事故</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="pop_notify">
<property name="geometry">
<rect>
<x>35</x>
<y>130</y>
<width>71</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>告知</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</widget>
</widget>
<widget class="QPushButton" name="btnCancle">
<property name="geometry">
<rect>
<x>400</x>
<y>290</y>
<width>71</width>
<height>26</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
color: rgb(250, 250, 250);
font: 700 12pt &quot;微软雅黑&quot;;
border:1px solid rgb(200,200,200);
border-radius:2px;
background-color:rgb(24,32,38);
}
QPushButton:hover
{
background-color:rgb(8,11,13);
}
QPushButton:pressed
{
background-color:rgb(24,32,38);
}</string>
</property>
<property name="text">
<string>取消</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="btnConfirm">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>315</x>
<y>290</y>
<width>71</width>
<height>26</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
color: rgb(250, 250, 250);
font: 700 12pt &quot;微软雅黑&quot;;
border:0px;
border-radius:2px;
background-color:rgb(67,160,249);
}
QPushButton:hover
{
background-color:rgb(55,131,204);
}
QPushButton:pressed
{
background-color:rgb(67,160,249);
}
QPushButton:disabled
{
background-color: rgb(60, 60, 60);
}</string>
</property>
<property name="text">
<string>确认</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="../resource/PowerMaster.qrc"/>
</resources>
<connections/>
</ui>