PowerMaster/ui/dvieMainWindow.ui

903 lines
23 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>dvieMainWindow</class>
<widget class="QMainWindow" name="dvieMainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1544</width>
<height>956</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<property name="styleSheet">
<string notr="true">QScrollBar:vertical
{
width:5px;
border:0px;
padding-top:10px;
padding-bottom:10px;
background-color: transparent;
}
QScrollBar::handle:vertical
{
background-color: rgb(83, 90, 117);
}
QScrollBar::handle:vertical:hover
{
background-color: rgb(100, 109, 141);
}
QScrollBar::handle:vertical:pressed
{
background-color: rgb(83, 90, 117);
}
QScrollBar::add-page:vertical,
QScrollBar::sub-page:vertical
{
background-color: transparent;
}
QScrollBar::add-line:vertical
{
background-color: transparent;
}
QScrollBar::add-line:vertical:hover
{
}
QScrollBar::add-line:vertical:pressed
{
}
QScrollBar::sub-line:vertical
{
background-color: transparent;
}
QScrollBar::sub-line:vertical:hover
{
}
QScrollBar::sub-line:vertical:pressed
{
}
QScrollBar:horizontal
{
height:5px;
border:0px;
padding-left:10px;
padding-right:10px;
background-color: transparent;
}
QScrollBar::handle:horizontal
{
background-color: rgb(83, 90, 117);
}
QScrollBar::handle:horizontal:hover
{
background-color: rgb(100, 109, 141);
}
QScrollBar::handle:horizontal:pressed
{
background-color: rgb(83, 90, 117);
}
QScrollBar::add-page:horizontal,
QScrollBar::sub-page:horizontal
{
background-color: transparent;
}
QScrollBar::add-line:horizontal
{
background-color: transparent;
}
QScrollBar::add-line:horizontal:hover
{
}
QScrollBar::add-line:horizontal:pressed
{
}
QScrollBar::sub-line:horizontal
{
background-color: transparent;
}
QScrollBar::sub-line:horizontal:hover
{
}
QScrollBar::sub-line:horizontal:pressed
{
}</string>
</property>
<widget class="QWidget" name="centralwidget">
<property name="styleSheet">
<string notr="true">QWidget #centralwidget
{
background-color: rgb(18, 25, 30);
}</string>
</property>
<layout class="QVBoxLayout" name="centralLayout">
<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="topWidget" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>45</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>45</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QWidget #topWidget
{
background-color:rgb(6, 91, 143);
}</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="leftMargin">
<number>15</number>
</property>
<item>
<widget class="QLabel" name="labelSystemTitle">
<property name="minimumSize">
<size>
<width>300</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>300</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(250, 250, 250);
font: 700 12pt &quot;微软雅黑&quot;;</string>
</property>
<property name="text">
<string>DVIE数据监控</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>776</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QWidget" name="topToolPanel" native="true">
<property name="minimumSize">
<size>
<width>550</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>550</width>
<height>16777215</height>
</size>
</property>
<widget class="QPushButton" name="btnUser">
<property name="geometry">
<rect>
<x>520</x>
<y>3</y>
<width>24</width>
<height>24</height>
</rect>
</property>
<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
{
padding:1px;
image: url(:/images/icon_user.png);
}
QPushButton:hover
{
padding:0px;
}
QPushButton:pressed
{
padding:1px;
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="userInfo">
<property name="geometry">
<rect>
<x>425</x>
<y>5</y>
<width>91</width>
<height>24</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color:rgb(250, 250, 250);
font: 10pt &quot;微软雅黑&quot;;</string>
</property>
<property name="text">
<string>TakeCare1987</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QPushButton" name="btnTheme">
<property name="geometry">
<rect>
<x>390</x>
<y>4</y>
<width>24</width>
<height>24</height>
</rect>
</property>
<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
{
padding:1px;
image: url(:/images/icon_theme.png);
}
QPushButton:hover
{
padding:0px;
}
QPushButton:pressed
{
padding:1px;
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="hLayoutToolBar">
<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">background-color: rgba(39, 102, 59, 200);</string>
</property>
</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="minimumSize">
<size>
<width>350</width>
<height>131</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>350</width>
<height>131</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<widget class="QPushButton" name="btnEventNotication">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>165</width>
<height>55</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>165</width>
<height>55</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
font: 700 12pt &quot;微软雅黑&quot;;
color:rgb(250,250,250);
text-align:right;
padding-right:40px;
background-color: rgb(200, 68, 56);
icon-size:20px;
icon: url(:/images/icon_event.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>
<property name="flat">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="btnAlarmNoticatio">
<property name="geometry">
<rect>
<x>10</x>
<y>70</y>
<width>165</width>
<height>55</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>165</width>
<height>55</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
font: 700 12pt &quot;微软雅黑&quot;;
color:rgb(250,250,250);
text-align:right;
padding-right:20px;
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>报警(10+)</string>
</property>
</widget>
<widget class="QPushButton" name="btnAddPanel">
<property name="geometry">
<rect>
<x>180</x>
<y>70</y>
<width>165</width>
<height>55</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>165</width>
<height>55</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
font: 700 12pt &quot;微软雅黑&quot;;
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>
<widget class="QPushButton" name="btnAddDashboard">
<property name="geometry">
<rect>
<x>180</x>
<y>10</y>
<width>165</width>
<height>55</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>165</width>
<height>55</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
font: 700 12pt &quot;微软雅黑&quot;;
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>
</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">
<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 &quot;微软雅黑&quot;;
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="horizontalLayout_2">
<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>
<item>
<widget class="QScrollArea" name="dashboardTabArea">
<property name="styleSheet">
<string notr="true">border:0px;
background-color:transparent;</string>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAsNeeded</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAsNeeded</enum>
</property>
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1188</width>
<height>50</height>
</rect>
</property>
<layout class="QHBoxLayout" name="hLayout_dashboardTab">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<spacer name="hSpacer_dashboradTab">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</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="hLayoutpageDashboards">
<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="QStackedWidget" name="dashboardStack"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="page_notifications"/>
</widget>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections/>
</ui>