817 lines
23 KiB
XML
817 lines
23 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>alarmEventRealTimeDock</class>
|
||
<widget class="QWidget" name="alarmEventRealTimeDock">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>1177</width>
|
||
<height>250</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>Form</string>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QLabel
|
||
{
|
||
font: 10pt "黑体";
|
||
color: rgb(200, 200, 200);
|
||
}
|
||
|
||
</string>
|
||
</property>
|
||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
<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
|
||
{
|
||
background-color: rgba(36,43,50,215);
|
||
border-top-left-radius:6px;
|
||
border-top-right-radius:6px;
|
||
}
|
||
</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="tobBar" native="true">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>0</width>
|
||
<height>36</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>16777215</width>
|
||
<height>36</height>
|
||
</size>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QWidget #tobBar
|
||
{
|
||
background-color: transparent;
|
||
}</string>
|
||
</property>
|
||
<layout class="QHBoxLayout" name="hLayou_top">
|
||
<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="alarmCountPanel" native="true">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>342</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>342</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<widget class="QLabel" name="alarmUnit">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>140</x>
|
||
<y>10</y>
|
||
<width>16</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>条</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="alarmIcon">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>20</x>
|
||
<y>10</y>
|
||
<width>16</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">border-image: url(:/images/icon_alarm.png);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="alarmLabel">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>45</x>
|
||
<y>10</y>
|
||
<width>61</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>实时告警:</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="alarmCount">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>105</x>
|
||
<y>10</y>
|
||
<width>31</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(67,160,249);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>0</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||
</property>
|
||
</widget>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer">
|
||
<property name="orientation">
|
||
<enum>Qt::Orientation::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>184</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item>
|
||
<widget class="QWidget" name="openCloseWidget" native="true">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>120</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>120</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QWidget #openCloseWidget
|
||
{
|
||
|
||
}</string>
|
||
</property>
|
||
<widget class="QPushButton" name="btnClose">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>35</x>
|
||
<y>6</y>
|
||
<width>51</width>
|
||
<height>23</height>
|
||
</rect>
|
||
</property>
|
||
<property name="cursor">
|
||
<cursorShape>ArrowCursor</cursorShape>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QPushButton
|
||
{
|
||
border-image: url(:/images/icon_doubleArrow_down_default.png);
|
||
}
|
||
QPushButton:hover
|
||
{
|
||
border-image: url(:/images/icon_doubleArrow_down_hover.png);
|
||
}
|
||
QPushButton:pressed
|
||
{
|
||
border-image: url(:/images/icon_doubleArrow_down_default.png);
|
||
}</string>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
<widget class="QPushButton" name="btnOpen">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>35</x>
|
||
<y>6</y>
|
||
<width>51</width>
|
||
<height>23</height>
|
||
</rect>
|
||
</property>
|
||
<property name="cursor">
|
||
<cursorShape>ArrowCursor</cursorShape>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QPushButton
|
||
{
|
||
border-image: url(:/images/icon_doubleArrow_up_default.png);
|
||
}
|
||
QPushButton:hover
|
||
{
|
||
border-image: url(:/images/icon_doubleArrow_up_hover.png);
|
||
}
|
||
QPushButton:pressed
|
||
{
|
||
border-image: url(:/images/icon_doubleArrow_up_default.png);
|
||
}</string>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer_2">
|
||
<property name="orientation">
|
||
<enum>Qt::Orientation::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>183</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item>
|
||
<widget class="QWidget" name="alarmDetailsPanel" native="true">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>342</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>342</width>
|
||
<height>342</height>
|
||
</size>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true"/>
|
||
</property>
|
||
<widget class="QLabel" name="accidentIcon">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>10</x>
|
||
<y>12</y>
|
||
<width>12</width>
|
||
<height>12</height>
|
||
</rect>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">background-color: rgb(255, 85, 0);
|
||
border-radius:6px;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="accidentLabel">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>25</x>
|
||
<y>10</y>
|
||
<width>31</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>事故</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="accidentCount">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>53</x>
|
||
<y>10</y>
|
||
<width>31</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(250, 250, 250);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>0</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="abnormalCount">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>136</x>
|
||
<y>10</y>
|
||
<width>31</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(250, 250, 250);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>0</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="abnormalLabel">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>108</x>
|
||
<y>10</y>
|
||
<width>31</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>异常</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="abnormalIcon">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>93</x>
|
||
<y>12</y>
|
||
<width>12</width>
|
||
<height>12</height>
|
||
</rect>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">background-color: rgb(255, 170, 0);
|
||
border-radius:6px;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="alertCount">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>219</x>
|
||
<y>10</y>
|
||
<width>31</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(250, 250, 250);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>0</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="alertIcon">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>176</x>
|
||
<y>12</y>
|
||
<width>12</width>
|
||
<height>12</height>
|
||
</rect>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">background-color: rgb(0, 170, 255);
|
||
border-radius:6px;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="alertLabel">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>191</x>
|
||
<y>10</y>
|
||
<width>31</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>预警</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="informCount">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>302</x>
|
||
<y>10</y>
|
||
<width>31</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">color: rgb(250, 250, 250);</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>0</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="informLabel">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>274</x>
|
||
<y>10</y>
|
||
<width>31</width>
|
||
<height>16</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>告知</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="informIcon">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>259</x>
|
||
<y>12</y>
|
||
<width>12</width>
|
||
<height>12</height>
|
||
</rect>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">background-color: rgb(0, 170, 0);
|
||
border-radius:6px;</string>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QWidget" name="tableView" native="true">
|
||
<property name="styleSheet">
|
||
<string notr="true">QWidget #tableView
|
||
{
|
||
background-color: rgba(54, 62, 74,90);
|
||
}
|
||
|
||
QPushButton
|
||
{
|
||
color: rgb(250, 250, 250);
|
||
font: 10pt "黑体";
|
||
border:0px;
|
||
background-color:transparent;
|
||
}
|
||
QPushButton:hover
|
||
{
|
||
color: rgb(67,160,249);
|
||
}
|
||
QPushButton:pressed
|
||
{
|
||
color: rgb(250, 250, 250);
|
||
}
|
||
|
||
QHeaderView
|
||
{
|
||
background-color: rgba(11, 26, 33, 160);
|
||
}
|
||
QHeaderView::section
|
||
{
|
||
font: 700 10pt "黑体";
|
||
color: rgb(250, 250, 250);
|
||
background-color:transparent;
|
||
border:0px;
|
||
border-right: 1px solid rgb(60,60,60);
|
||
}
|
||
QHeaderView::section:horizontal:last
|
||
{
|
||
border-right: 0px;
|
||
}
|
||
|
||
QTableView
|
||
{
|
||
outline:0px;
|
||
border:0px;
|
||
background-color: transparent;
|
||
font: 10pt "黑体";
|
||
}
|
||
QTableView::item
|
||
{
|
||
color: rgb(250, 250, 250);
|
||
background-color:transparent;
|
||
}
|
||
QTableView::item:hover
|
||
{
|
||
}
|
||
QTableView::item:selected
|
||
{
|
||
}</string>
|
||
</property>
|
||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||
<property name="leftMargin">
|
||
<number>15</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>15</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<item>
|
||
<widget class="QTableWidget" name="tableWidget">
|
||
<property name="textElideMode">
|
||
<enum>Qt::TextElideMode::ElideNone</enum>
|
||
</property>
|
||
<property name="showGrid">
|
||
<bool>false</bool>
|
||
</property>
|
||
<attribute name="verticalHeaderVisible">
|
||
<bool>false</bool>
|
||
</attribute>
|
||
<row>
|
||
<property name="text">
|
||
<string>新建行</string>
|
||
</property>
|
||
</row>
|
||
<row>
|
||
<property name="text">
|
||
<string>新建行</string>
|
||
</property>
|
||
</row>
|
||
<row>
|
||
<property name="text">
|
||
<string>新建行</string>
|
||
</property>
|
||
</row>
|
||
<row>
|
||
<property name="text">
|
||
<string>新建行</string>
|
||
</property>
|
||
</row>
|
||
<row>
|
||
<property name="text">
|
||
<string>新建行</string>
|
||
</property>
|
||
</row>
|
||
<column>
|
||
<property name="text">
|
||
<string>序号</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>时间</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>厂站</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>详情</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>类型</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>级别</string>
|
||
</property>
|
||
</column>
|
||
<column>
|
||
<property name="text">
|
||
<string>操作</string>
|
||
</property>
|
||
</column>
|
||
<item row="0" column="0">
|
||
<property name="text">
|
||
<string>1</string>
|
||
</property>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<property name="text">
|
||
<string>2025-09-17 16:51:01</string>
|
||
</property>
|
||
</item>
|
||
<item row="0" column="2">
|
||
<property name="text">
|
||
<string>灵州换流站</string>
|
||
</property>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<property name="text">
|
||
<string>2</string>
|
||
</property>
|
||
</item>
|
||
<item row="2" column="0">
|
||
<property name="text">
|
||
<string>3</string>
|
||
</property>
|
||
</item>
|
||
<item row="3" column="0">
|
||
<property name="text">
|
||
<string>4</string>
|
||
</property>
|
||
</item>
|
||
<item row="4" column="0">
|
||
<property name="text">
|
||
<string>5</string>
|
||
</property>
|
||
</item>
|
||
</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"/>
|
||
</property>
|
||
<layout class="QHBoxLayout" name="hLayout_bottomPanel">
|
||
<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>
|
||
<spacer name="horizontalSpacer_3">
|
||
<property name="orientation">
|
||
<enum>Qt::Orientation::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>883</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="hLayout_funBtns">
|
||
<property name="spacing">
|
||
<number>15</number>
|
||
</property>
|
||
<item>
|
||
<widget class="QPushButton" name="btnConfirmAll">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>81</width>
|
||
<height>26</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>81</width>
|
||
<height>26</height>
|
||
</size>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QPushButton
|
||
{
|
||
icon-size:18px;
|
||
icon: url(:/images/icon_checked_blue.png);
|
||
}</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>全部确认</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="btnCheckAll">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>81</width>
|
||
<height>26</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>81</width>
|
||
<height>26</height>
|
||
</size>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QPushButton
|
||
{
|
||
icon-size:18px;
|
||
icon: url(:/images/icon_search_blue.png);
|
||
}</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>查看全部</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="btnSetting">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>61</width>
|
||
<height>26</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>61</width>
|
||
<height>26</height>
|
||
</size>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QPushButton
|
||
{
|
||
icon-size:18px;
|
||
icon: url(:/images/icon_configuration_blue.png);
|
||
}</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>设置</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<resources>
|
||
<include location="../resource/PowerMaster.qrc"/>
|
||
</resources>
|
||
<connections/>
|
||
</ui>
|