PowerMaster/ui/dpConfigurationDialog.ui

666 lines
16 KiB
XML

<?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);
}
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);
}
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/icon_arrow_right.png);
}
QTreeView::branch:open:has-children:!has-siblings,
QTreeView::branch:open:has-children:has-siblings {
image: url(:/images/icon_arrow_down.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:1px 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>120</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: 10pt &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_serverIP">
<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="serverIP">
<property name="geometry">
<rect>
<x>110</x>
<y>40</y>
<width>201</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_serverPort">
<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="serverPort">
<property name="geometry">
<rect>
<x>110</x>
<y>70</y>
<width>61</width>
<height>21</height>
</rect>
</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>