593 lines
15 KiB
XML
593 lines
15 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>dashboardFrame</class>
|
|
<widget class="QWidget" name="dashboardFrame">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1256</width>
|
|
<height>773</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</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>
|
|
<layout class="QHBoxLayout" name="hLayoutToolBar" stretch="1,0,0">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QWidget" name="timeLineWidget" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>220</width>
|
|
<height>131</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>131</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="layout_timeLine">
|
|
<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>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="timeControlWidget" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>185</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>185</width>
|
|
<height>131</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="layout_dateTime">
|
|
<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>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="funBtnWidget" native="true">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>350</width>
|
|
<height>131</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QPushButton" name="btnAllEvent">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>165</width>
|
|
<height>55</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>165</width>
|
|
<height>55</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font: 700 12pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
text-align:right;
|
|
padding-right:35px;
|
|
background-color: rgb(67,160,249);
|
|
icon-size:20px;
|
|
icon: url(:/images/icon_event.png);
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color: rgb(55,131,204);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
background-color: rgb(67,160,249);
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>事件查看</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QPushButton" name="btnAddDashboard">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>165</width>
|
|
<height>55</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>165</width>
|
|
<height>55</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font: 700 12pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
text-align:right;
|
|
padding-right:35px;
|
|
background-color: rgb(64, 182, 113);
|
|
icon-size:20px;
|
|
icon: url(:/images/icon_add.png);
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color: rgb(52, 145, 94);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
background-color: rgb(39, 102, 59);
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>数据看板</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QPushButton" name="btnAlarm">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>165</width>
|
|
<height>55</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>165</width>
|
|
<height>55</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font: 700 12pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
text-align:right;
|
|
padding-right:30px;
|
|
background-color: rgb(200, 68, 56);
|
|
icon-size:20px;
|
|
icon: url(:/images/icon_alarm.png);
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color: rgb(166, 56, 46);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
background-color: rgb(128, 43, 36);
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>报警(0条)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QPushButton" name="btnAddPanel">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>165</width>
|
|
<height>55</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>165</width>
|
|
<height>55</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font: 700 12pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
text-align:right;
|
|
padding-right:35px;
|
|
background-color: rgb(64, 182, 113);
|
|
icon-size:20px;
|
|
icon: url(:/images/icon_add.png);
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color: rgb(52, 145, 94);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
background-color: rgb(39, 102, 59);
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>数据展项</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="navigationPanel" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QWidget #navigationPanel
|
|
{
|
|
border-top:1px solid rgb(76,88,105);
|
|
border-bottom:1px solid rgb(76,88,105);
|
|
background-color:rgb(36,43,50);
|
|
}
|
|
</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="hLagout_navigation_2">
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="navtgationTitle">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(250, 250, 250);
|
|
font: 700 11pt "微软雅黑";
|
|
border:1px solid rgb(200,200,200);
|
|
border-left:0px;
|
|
border-top:0px;
|
|
border-bottom:0px;</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>实时数据监控</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QStackedWidget" name="navigationStack">
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color:transparent;</string>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="page_dashboard">
|
|
<layout class="QHBoxLayout" name="hLayout_dashboardTabBar">
|
|
<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>
|
|
<layout class="QHBoxLayout" name="hLayout_dashboardTabs">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="btnDashboradList1">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="cursor">
|
|
<cursorShape>ArrowCursor</cursorShape>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
padding:2px;
|
|
image: url(:/images/icon_dashboards2.png);
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnDashboradList2">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
padding:2px;
|
|
image: url(:/images/icon_greater-than.png);
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
padding:0px;
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
padding:2px;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="page_notification"/>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnShowDashboards">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
padding:1px;
|
|
image: url(:/images/icon_dashboards_selected.png);
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
padding:0px;
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
padding:1px;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnShowNotifications">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
padding:1px;
|
|
image: url(:/images/icon_notifications.png);
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
padding:0px;
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
padding:1px;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QStackedWidget" name="mainStack">
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<widget class="QWidget" name="page_dashboards">
|
|
<layout class="QHBoxLayout" name="hLayout_dashboardDisplayArea">
|
|
<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>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="page_notifications">
|
|
<layout class="QHBoxLayout" name="hLayout_notifications">
|
|
<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>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources>
|
|
<include location="../resource/PowerMaster.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|