PowerMaster/ui/dpConfigurationDialog.ui

931 lines
22 KiB
XML
Raw 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>dpConfigurationDialog</class>
<widget class="QDialog" name="dpConfigurationDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>569</width>
<height>505</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);
}
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);
}
QTreeView
{
padding:6px;
font: 12pt &quot;黑体&quot;;
color: rgb(250, 250, 250);
border:0px;
border-top:1px solid rgb(200,200,200);
border-bottom:1px solid rgb(200,200,200);
background-color:rgba(25,25,25,200);
}
QTreeView::branch
{
image:none;
}
QTreeView::item
{
height:25px;
}
QTreeView::item:disabled {
color: rgb(50, 50, 50);
}
QTreeView::item:selected {
color: rgb(250, 250, 250);
background-color: rgba(67,160,249, 15);
border:0px;
}
QTreeView::item:hover {
background-color: rgba(67,160,249, 15);
border:0px;
}
QTreeView::branch:has-children:!has-siblings:closed,
QTreeView::branch:closed:has-children:has-siblings {
image: url(:/images/branch_closed.png);
}
QTreeView::branch:open:has-children:!has-siblings,
QTreeView::branch:open:has-children:has-siblings {
image: url(:/images/branch_open.png);
}
QTableView
{
padding:6px;
font: 12pt &quot;黑体&quot;;
color: rgb(250, 250, 250);
border:0px;
border-top:1px solid rgb(200,200,200);
border-bottom:1px solid rgb(200,200,200);
background-color:rgba(25,25,25,200);
}
QTableView::item
{
height:25px;
}
QTableView::item:selected {
color: rgb(250, 250, 250);
background-color: rgba(67,160,249, 15);
border:0px;
}
QTableView::item:hover {
background-color: rgba(67,160,249, 15);
border:0px;
}
QListView
{
padding:6px;
font: 12pt &quot;黑体&quot;;
color: rgb(250, 250, 250);
border:0px;
border-top:1px solid rgb(200,200,200);
border-bottom:1px solid rgb(200,200,200);
background-color:rgba(25,25,25,200);
}
QListView::item
{
height:25px;
}
QListView::item:selected {
color: rgb(250, 250, 250);
background-color: transparent;
border:0px;
}
QListView::item:hover {
background-color: rgba(67,160,249, 30);
border:0px;
}</string>
</property>
<widget class="QLabel" name="labeWindowlTitle">
<property name="geometry">
<rect>
<x>25</x>
<y>25</y>
<width>521</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>65</y>
<width>521</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>75</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="tabDisplaySetting">
<property name="geometry">
<rect>
<x>185</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="tabDataType">
<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>521</width>
<height>331</height>
</rect>
</property>
<property name="currentIndex">
<number>2</number>
</property>
<widget class="QWidget" name="pageDataType">
<property name="styleSheet">
<string notr="true">QWidget #pageDataType
{
background-color:transparent;
}</string>
</property>
<widget class="QLineEdit" name="dataTypeSearch">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>251</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
</widget>
<widget class="QTableView" name="typeSelectedList">
<property name="geometry">
<rect>
<x>270</x>
<y>55</y>
<width>251</width>
<height>261</height>
</rect>
</property>
<property name="focusPolicy">
<enum>Qt::FocusPolicy::NoFocus</enum>
</property>
<property name="showGrid">
<bool>false</bool>
</property>
<attribute name="horizontalHeaderVisible">
<bool>false</bool>
</attribute>
<attribute name="horizontalHeaderHighlightSections">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderDefaultSectionSize">
<number>25</number>
</attribute>
<attribute name="verticalHeaderHighlightSections">
<bool>false</bool>
</attribute>
</widget>
<widget class="QListView" name="typeSourceList">
<property name="geometry">
<rect>
<x>0</x>
<y>55</y>
<width>251</width>
<height>261</height>
</rect>
</property>
<property name="focusPolicy">
<enum>Qt::FocusPolicy::NoFocus</enum>
</property>
</widget>
<widget class="QPushButton" name="btnReomve_type">
<property name="geometry">
<rect>
<x>495</x>
<y>30</y>
<width>24</width>
<height>24</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
border-image: url(:/images/btn_remove_hover.png);
}
QPushButton:hover
{
border-image: url(:/images/btn_remove_default.png);
}
QPushButton:pressed
{
border-image: url(:/images/btn_remove_hover.png);
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</widget>
<widget class="QWidget" name="pageDataSource">
<property name="styleSheet">
<string notr="true">QWidget #pageDataSource
{
background-color:transparent;
}</string>
</property>
<widget class="QLineEdit" name="dataSourceSearch">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>251</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
</widget>
<widget class="QTreeView" name="dataSourceList">
<property name="geometry">
<rect>
<x>0</x>
<y>55</y>
<width>251</width>
<height>261</height>
</rect>
</property>
<property name="focusPolicy">
<enum>Qt::FocusPolicy::NoFocus</enum>
</property>
<attribute name="headerVisible">
<bool>false</bool>
</attribute>
</widget>
<widget class="QTableView" name="dataSelectedList">
<property name="geometry">
<rect>
<x>270</x>
<y>55</y>
<width>251</width>
<height>261</height>
</rect>
</property>
<property name="focusPolicy">
<enum>Qt::FocusPolicy::NoFocus</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectionBehavior::SelectRows</enum>
</property>
<property name="showGrid">
<bool>false</bool>
</property>
<attribute name="horizontalHeaderVisible">
<bool>false</bool>
</attribute>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>100</number>
</attribute>
<attribute name="horizontalHeaderHighlightSections">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderDefaultSectionSize">
<number>25</number>
</attribute>
<attribute name="verticalHeaderHighlightSections">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderShowSortIndicator" stdset="0">
<bool>false</bool>
</attribute>
</widget>
<widget class="QPushButton" name="btnReomve_source">
<property name="geometry">
<rect>
<x>495</x>
<y>30</y>
<width>24</width>
<height>24</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
border-image: url(:/images/btn_remove_hover.png);
}
QPushButton:hover
{
border-image: url(:/images/btn_remove_default.png);
}
QPushButton:pressed
{
border-image: url(:/images/btn_remove_hover.png);
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</widget>
<widget class="QWidget" name="pageSettings">
<property name="styleSheet">
<string notr="true">QWidget #pageSettings
{
background-color:transparent;
}
QLineEdit
{
font: 11pt &quot;黑体&quot;;
background-color: rgb(24, 32, 38);
}
</string>
</property>
<widget class="QLabel" name="setting_Server">
<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="label_serviceIP">
<property name="geometry">
<rect>
<x>31</x>
<y>40</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>服务地址:</string>
</property>
</widget>
<widget class="QLineEdit" name="serviceIP">
<property name="geometry">
<rect>
<x>110</x>
<y>40</y>
<width>201</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_serviicePort">
<property name="geometry">
<rect>
<x>30</x>
<y>70</y>
<width>81</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>服务端口:</string>
</property>
</widget>
<widget class="QLineEdit" name="servicePort">
<property name="geometry">
<rect>
<x>110</x>
<y>70</y>
<width>61</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QStackedWidget" name="specialSettings">
<property name="geometry">
<rect>
<x>0</x>
<y>155</y>
<width>521</width>
<height>121</height>
</rect>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="axisCfg">
<property name="styleSheet">
<string notr="true">QWidget #axisCfg
{
background-color:transparent;
}</string>
</property>
<widget class="QLabel" name="label_axisObject">
<property name="geometry">
<rect>
<x>0</x>
<y>35</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Y轴配置</string>
</property>
</widget>
<widget class="QComboBox" name="axisObject">
<property name="geometry">
<rect>
<x>70</x>
<y>35</y>
<width>91</width>
<height>22</height>
</rect>
</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>
<widget class="QLabel" name="label_axisName">
<property name="geometry">
<rect>
<x>30</x>
<y>70</y>
<width>41</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>名称:</string>
</property>
</widget>
<widget class="QLineEdit" name="axisName">
<property name="geometry">
<rect>
<x>80</x>
<y>70</y>
<width>71</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_axisUnit">
<property name="geometry">
<rect>
<x>190</x>
<y>70</y>
<width>41</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>单位:</string>
</property>
</widget>
<widget class="QLineEdit" name="axisUnit">
<property name="geometry">
<rect>
<x>240</x>
<y>70</y>
<width>71</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QComboBox" name="axisArrangement">
<property name="geometry">
<rect>
<x>70</x>
<y>0</y>
<width>91</width>
<height>22</height>
</rect>
</property>
<item>
<property name="text">
<string>左右交替</string>
</property>
</item>
<item>
<property name="text">
<string>靠右排列</string>
</property>
</item>
</widget>
<widget class="QLabel" name="label_axisArrangement">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Y轴排列</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="barsCfg">
<property name="styleSheet">
<string notr="true">QWidget #barsCfg
{
background-color:transparent;
}</string>
</property>
<widget class="QComboBox" name="barOrientation">
<property name="geometry">
<rect>
<x>80</x>
<y>0</y>
<width>91</width>
<height>22</height>
</rect>
</property>
<item>
<property name="text">
<string>水平方向</string>
</property>
</item>
<item>
<property name="text">
<string>垂直方向</string>
</property>
</item>
</widget>
<widget class="QLabel" name="label_barOrientation">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>图形朝向:</string>
</property>
</widget>
<widget class="QRadioButton" name="radioBtn_groupByType">
<property name="geometry">
<rect>
<x>0</x>
<y>30</y>
<width>161</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>按类型分组</string>
</property>
</widget>
</widget>
</widget>
<widget class="QRadioButton" name="radioBtn_showLegend">
<property name="geometry">
<rect>
<x>0</x>
<y>110</y>
<width>161</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>显示图例</string>
</property>
<property name="autoExclusive">
<bool>false</bool>
</property>
</widget>
</widget>
</widget>
<widget class="QPushButton" name="btnCancle">
<property name="geometry">
<rect>
<x>470</x>
<y>460</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>385</x>
<y>460</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 class="QLabel" name="errorTip">
<property name="geometry">
<rect>
<x>350</x>
<y>461</y>
<width>24</width>
<height>24</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QLabel
{
border-image: url(:/images/icon_error.png);
}
</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="../resource/PowerMaster.qrc"/>
</resources>
<connections/>
</ui>