PowerMaster/ui/alarmEventMainDialog.ui

1058 lines
30 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>alarmEventMainDialog</class>
<widget class="QDialog" name="alarmEventMainDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1563</width>
<height>904</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<property name="styleSheet">
<string notr="true">QWidget #contentWidget
{
border:1px solid rgb(76,88,105);
background-color: rgb(33, 39, 46);
}
QPushButton
{
color: rgb(250, 250, 250);
font: 700 10pt &quot;微软雅黑&quot;;
border:1px solid rgb(67,160,249);
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);
}
QLabel
{
font: 12pt &quot;黑体&quot;;
color: rgb(250, 250, 250);
}
QLineEdit
{
font: 12pt &quot;黑体&quot;;
color: rgb(250, 250, 250);
padding-left:10px;
border:1px solid rgb(200,200,200);
background-color: rgb(24, 32, 38);
}
QLineEdit:focus
{
border:1px solid rgb(67,160,249);
}
QDateTimeEdit
{
font: 12pt &quot;黑体&quot;;
color: rgb(250, 250, 250);
background-color: rgb(24, 32, 38);
border:1px solid rgb(200,200,200);
padding-right:25px; /*给按钮留出空间否则自定义样式时比如border会干扰按钮的点击*/
}
QDateTimeEdit:focus
{
border:1px solid rgb(67,160,249);
}
QDateTimeEdit::up-button
{
border: 0px;
margin:2px;
}
QDateTimeEdit::up-button:hover
{
background-color: rgb(54, 62, 74);
}
QDateTimeEdit::up-arrow
{
margin-top:5px;
width:14px;
image: url(:/images/up-arrow.png);
}
QDateTimeEdit::down-button
{
border: 0px;
margin:2px;
}
QDateTimeEdit::down-button:hover
{
background-color: rgb(54, 62, 74);
}
QDateTimeEdit::down-arrow
{
width:14px;
image: url(:/images/down-arrow.png);
}
QComboBox
{
font: 12pt &quot;黑体&quot;;
color: rgb(250, 250, 250);
padding-left:10px;
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
{
font: 11pt &quot;黑体&quot;;
color: rgb(230, 230, 230);
background-color:rgb(35,35,35);
outline: 0px; /*去除选中虚线框 */
border:0px;
}
QComboBox QAbstractItemView::item
{
padding-top: 2px;
padding-bottom:2px;
}
QComboBox QAbstractItemView::item:hover
{
padding-top: 2px;
padding-bottom:2px;
background-color: rgb(43, 102, 158);
}
QComboBox QAbstractItemView::item:selected
{
background-color: rgba(43, 102, 158, 80);
}</string>
</property>
<layout class="QHBoxLayout" name="hLayout_main">
<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">
<layout class="QHBoxLayout" name="hLayout_content">
<property name="spacing">
<number>5</number>
</property>
<property name="leftMargin">
<number>30</number>
</property>
<property name="topMargin">
<number>7</number>
</property>
<property name="rightMargin">
<number>7</number>
</property>
<property name="bottomMargin">
<number>7</number>
</property>
<item>
<layout class="QVBoxLayout" name="vLayout_central">
<property name="spacing">
<number>15</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QWidget" name="topPanel" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>70</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>70</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QWidget #topPanel
{
border:1px solid rgb(67,160,249);
border-left:0px;
border-top:0px;
border-right:0px;
}
</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="topMargin">
<number>15</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_WindowlTitle">
<property name="styleSheet">
<string notr="true">color: rgb(250, 250, 250);
font: 700 18pt &quot;微软雅黑&quot;;
</string>
</property>
<property name="text">
<string>历史事件</string>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="tobBtnsWidget" native="true">
<property name="minimumSize">
<size>
<width>261</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>261</width>
<height>16777215</height>
</size>
</property>
<widget class="QPushButton" name="btnConfirmAll">
<property name="geometry">
<rect>
<x>150</x>
<y>10</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
icon-size:20px;
icon: url(:/images/icon_checked.png);
}</string>
</property>
<property name="text">
<string>全部确认</string>
</property>
</widget>
<widget class="QPushButton" name="btnSetting">
<property name="geometry">
<rect>
<x>1170</x>
<y>10</y>
<width>81</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
icon-size:20px;
icon: url(:/images/icon_configuration.png);
}</string>
</property>
<property name="text">
<string>配置</string>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="dataFilteringPanel" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>81</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>81</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QWidget #dataFilteringPanel
{
}
</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,1,1,1">
<property name="spacing">
<number>60</number>
</property>
<property name="leftMargin">
<number>8</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>8</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<layout class="QGridLayout" name="gridLayout">
<property name="horizontalSpacing">
<number>3</number>
</property>
<property name="verticalSpacing">
<number>10</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_stationName">
<property name="minimumSize">
<size>
<width>81</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>81</width>
<height>31</height>
</size>
</property>
<property name="text">
<string>厂站名称:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="conboBox_stationName">
<property name="minimumSize">
<size>
<width>0</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>31</height>
</size>
</property>
<item>
<property name="text">
<string>所有厂站</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_bayName">
<property name="minimumSize">
<size>
<width>81</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>81</width>
<height>31</height>
</size>
</property>
<property name="text">
<string>间隔名称:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="conboBox_bayName">
<property name="minimumSize">
<size>
<width>0</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>31</height>
</size>
</property>
<item>
<property name="text">
<string>所有间隔</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QGridLayout" name="gridLayout_2">
<property name="horizontalSpacing">
<number>3</number>
</property>
<property name="verticalSpacing">
<number>10</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_eventType">
<property name="minimumSize">
<size>
<width>81</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>81</width>
<height>31</height>
</size>
</property>
<property name="text">
<string>告警类型:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="conboBox_eventType">
<property name="minimumSize">
<size>
<width>0</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>31</height>
</size>
</property>
<item>
<property name="text">
<string>全部</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_eventLevel">
<property name="minimumSize">
<size>
<width>81</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>81</width>
<height>31</height>
</size>
</property>
<property name="text">
<string>告警等级:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="conboBox_eventLevel">
<property name="minimumSize">
<size>
<width>0</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>31</height>
</size>
</property>
<item>
<property name="text">
<string>全部</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QGridLayout" name="gridLayout_3">
<property name="horizontalSpacing">
<number>3</number>
</property>
<property name="verticalSpacing">
<number>10</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_confirmStatus">
<property name="minimumSize">
<size>
<width>81</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>81</width>
<height>31</height>
</size>
</property>
<property name="text">
<string>确认状态:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="conboBox_confirmStatus">
<property name="minimumSize">
<size>
<width>0</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>31</height>
</size>
</property>
<item>
<property name="text">
<string>全部</string>
</property>
</item>
<item>
<property name="text">
<string>未确认</string>
</property>
</item>
<item>
<property name="text">
<string>已确认</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_timePeriod_3">
<property name="minimumSize">
<size>
<width>81</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>81</width>
<height>31</height>
</size>
</property>
<property name="text">
<string>告警信息:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEdit_content">
<property name="minimumSize">
<size>
<width>0</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>31</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QGridLayout" name="gridLayout_4">
<property name="horizontalSpacing">
<number>3</number>
</property>
<property name="verticalSpacing">
<number>10</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_beginTime">
<property name="minimumSize">
<size>
<width>81</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>81</width>
<height>31</height>
</size>
</property>
<property name="text">
<string>最早时间:</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_endTime">
<property name="minimumSize">
<size>
<width>81</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>81</width>
<height>31</height>
</size>
</property>
<property name="text">
<string>最后时间:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QDateTimeEdit" name="beginTime">
<property name="minimumSize">
<size>
<width>0</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>31</height>
</size>
</property>
<property name="displayFormat">
<string>yyyy/MM/dd hh:mm:ss</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDateTimeEdit" name="endTime">
<property name="minimumSize">
<size>
<width>0</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>31</height>
</size>
</property>
<property name="displayFormat">
<string>yyyy/MM/dd hh:mm:ss</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="tableWidget" native="true">
<property name="styleSheet">
<string notr="true">QWidget #tableView
{
background-color: rgba(54, 62, 74,90);
}
QHeaderView
{
background-color: rgb(11, 26, 33);
}
QHeaderView::section
{
font: 700 12pt &quot;黑体&quot;;
color: rgb(250, 250, 250);
background-color:transparent;
padding-left:-1px;
border: 0px;
border-right: 1px dotted rgb(60,60,60);
}
QHeaderView::section:horizontal:last
{
border-right: 0px;
}
QTableView
{
outline:0px;
border:0px;
background-color: transparent;
font: 11pt &quot;黑体&quot;;
}
QTableView::item
{
background-color:transparent;
}
QTableView::item:hover
{
}
QTableView::item:selected
{
}</string>
</property>
<layout class="QVBoxLayout" name="tableLayout">
<property name="topMargin">
<number>15</number>
</property>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="bottomPanel" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>26</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>26</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
border:1px solid rgb(100,100,100);
}
QPushButton:hover
{
border:1px solid rgb(67,160,249);
}
QPushButton:pressed
{
border:1px solid rgb(100,100,100);
}</string>
</property>
<widget class="QPushButton" name="btnFirstPage">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>21</width>
<height>21</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>第一页</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../resource/PowerMaster.qrc">
<normaloff>:/images/icon_first.png</normaloff>:/images/icon_first.png</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
<widget class="QLabel" name="recordInfo">
<property name="geometry">
<rect>
<x>170</x>
<y>0</y>
<width>131</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 10pt &quot;黑体&quot;;</string>
</property>
<property name="text">
<string>共0条记录</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter</set>
</property>
</widget>
<widget class="QPushButton" name="btnPreviousPage">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>30</x>
<y>0</y>
<width>21</width>
<height>21</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>第一页</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../resource/PowerMaster.qrc">
<normaloff>:/images/icon_previous.png</normaloff>:/images/icon_previous.png</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="btnNextPage">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>105</x>
<y>0</y>
<width>21</width>
<height>21</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>第一页</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../resource/PowerMaster.qrc">
<normaloff>:/images/icon_next.png</normaloff>:/images/icon_next.png</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="btnLastPage">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>135</x>
<y>0</y>
<width>21</width>
<height>21</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="toolTip">
<string>第一页</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../resource/PowerMaster.qrc">
<normaloff>:/images/icon_last.png</normaloff>:/images/icon_last.png</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
</widget>
<widget class="QLineEdit" name="lineEditPage">
<property name="geometry">
<rect>
<x>60</x>
<y>0</y>
<width>36</width>
<height>20</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 11pt &quot;黑体&quot;;
border:0px;
padding:0px;</string>
</property>
<property name="text">
<string>1</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="vLayout_close">
<item>
<widget class="QPushButton" name="btnClose">
<property name="minimumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
background-color:transparent;
border-image: url(:/images/btn_close_default.png);
}
QPushButton:hover
{
border-image: url(:/images/btn_close_hover.png);
}
QPushButton:pressed
{
border-image: url(:/images/btn_close_default.png);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="../resource/PowerMaster.qrc"/>
</resources>
<connections/>
</ui>