<?xml version="1.0" encoding="UTF-8"?>
|
<ui version="4.0">
|
<class>sysconf_page</class>
|
<widget class="QDialog" name="sysconf_page">
|
<property name="geometry">
|
<rect>
|
<x>0</x>
|
<y>0</y>
|
<width>800</width>
|
<height>480</height>
|
</rect>
|
</property>
|
<property name="windowTitle">
|
<string>Dialog</string>
|
</property>
|
<widget class="QLabel" name="label_background">
|
<property name="geometry">
|
<rect>
|
<x>0</x>
|
<y>0</y>
|
<width>800</width>
|
<height>480</height>
|
</rect>
|
</property>
|
<property name="text">
|
<string/>
|
</property>
|
<property name="pixmap">
|
<pixmap resource="../Source/resource.qrc">:/new/prefix1/bg.png</pixmap>
|
</property>
|
</widget>
|
<widget class="QPushButton" name="pushButton_Exit">
|
<property name="geometry">
|
<rect>
|
<x>655</x>
|
<y>420</y>
|
<width>110</width>
|
<height>50</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>18</pointsize>
|
</font>
|
</property>
|
<property name="focusPolicy">
|
<enum>Qt::NoFocus</enum>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">color: rgb(255, 0, 0);
|
background-color:rgb(231,231,231);</string>
|
</property>
|
<property name="text">
|
<string>退 出</string>
|
</property>
|
</widget>
|
<widget class="QLabel" name="label_stdc">
|
<property name="geometry">
|
<rect>
|
<x>10</x>
|
<y>145</y>
|
<width>260</width>
|
<height>40</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>22</pointsize>
|
<weight>50</weight>
|
<bold>false</bold>
|
</font>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
</property>
|
<property name="text">
|
<string>机器最大电流(A)</string>
|
</property>
|
</widget>
|
<widget class="Custom_LineEdit" name="ledit_extc" native="true">
|
<property name="enabled">
|
<bool>true</bool>
|
</property>
|
<property name="geometry">
|
<rect>
|
<x>270</x>
|
<y>100</y>
|
<width>150</width>
|
<height>40</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>19</pointsize>
|
</font>
|
</property>
|
<property name="focusPolicy">
|
<enum>Qt::ClickFocus</enum>
|
</property>
|
<property name="text" stdset="0">
|
<string>0</string>
|
</property>
|
</widget>
|
<widget class="Custom_LineEdit" name="ledit_dcdc" native="true">
|
<property name="enabled">
|
<bool>true</bool>
|
</property>
|
<property name="geometry">
|
<rect>
|
<x>270</x>
|
<y>190</y>
|
<width>150</width>
|
<height>40</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>19</pointsize>
|
</font>
|
</property>
|
<property name="focusPolicy">
|
<enum>Qt::ClickFocus</enum>
|
</property>
|
<property name="text" stdset="0">
|
<string>0</string>
|
</property>
|
</widget>
|
<widget class="Custom_LineEdit" name="ledit_stdc" native="true">
|
<property name="enabled">
|
<bool>true</bool>
|
</property>
|
<property name="geometry">
|
<rect>
|
<x>270</x>
|
<y>145</y>
|
<width>150</width>
|
<height>40</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>19</pointsize>
|
</font>
|
</property>
|
<property name="focusPolicy">
|
<enum>Qt::ClickFocus</enum>
|
</property>
|
<property name="text" stdset="0">
|
<string>0</string>
|
</property>
|
</widget>
|
<widget class="QLabel" name="label_Title">
|
<property name="geometry">
|
<rect>
|
<x>20</x>
|
<y>10</y>
|
<width>200</width>
|
<height>35</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>24</pointsize>
|
</font>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">color: rgb(255, 255, 0);</string>
|
</property>
|
<property name="text">
|
<string>机器配置</string>
|
</property>
|
</widget>
|
<widget class="Custom_LineEdit" name="ledit_intc" native="true">
|
<property name="enabled">
|
<bool>true</bool>
|
</property>
|
<property name="geometry">
|
<rect>
|
<x>270</x>
|
<y>55</y>
|
<width>150</width>
|
<height>40</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>19</pointsize>
|
</font>
|
</property>
|
<property name="focusPolicy">
|
<enum>Qt::ClickFocus</enum>
|
</property>
|
<property name="text" stdset="0">
|
<string>0</string>
|
</property>
|
</widget>
|
<widget class="QLabel" name="label_intc">
|
<property name="geometry">
|
<rect>
|
<x>10</x>
|
<y>55</y>
|
<width>260</width>
|
<height>40</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>22</pointsize>
|
<weight>50</weight>
|
<bold>false</bold>
|
</font>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
</property>
|
<property name="text">
|
<string>内部霍尔量程(A)</string>
|
</property>
|
</widget>
|
<widget class="QLabel" name="label_extc">
|
<property name="geometry">
|
<rect>
|
<x>10</x>
|
<y>100</y>
|
<width>260</width>
|
<height>40</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>22</pointsize>
|
<weight>50</weight>
|
<bold>false</bold>
|
</font>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
</property>
|
<property name="text">
|
<string>外部霍尔量程(A)</string>
|
</property>
|
</widget>
|
<widget class="QLabel" name="label_dcdc">
|
<property name="geometry">
|
<rect>
|
<x>10</x>
|
<y>190</y>
|
<width>260</width>
|
<height>40</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>22</pointsize>
|
<weight>50</weight>
|
<bold>false</bold>
|
</font>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
</property>
|
<property name="text">
|
<string>FBI类DCDC数</string>
|
</property>
|
</widget>
|
<widget class="Line" name="line_h">
|
<property name="geometry">
|
<rect>
|
<x>0</x>
|
<y>45</y>
|
<width>800</width>
|
<height>4</height>
|
</rect>
|
</property>
|
<property name="orientation">
|
<enum>Qt::Horizontal</enum>
|
</property>
|
</widget>
|
<widget class="QPushButton" name="btn_read">
|
<property name="geometry">
|
<rect>
|
<x>40</x>
|
<y>420</y>
|
<width>110</width>
|
<height>50</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>21</pointsize>
|
</font>
|
</property>
|
<property name="focusPolicy">
|
<enum>Qt::NoFocus</enum>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">background-color:rgb(231,231,231);</string>
|
</property>
|
<property name="text">
|
<string>读 取</string>
|
</property>
|
</widget>
|
<widget class="QPushButton" name="btn_set">
|
<property name="enabled">
|
<bool>true</bool>
|
</property>
|
<property name="geometry">
|
<rect>
|
<x>190</x>
|
<y>420</y>
|
<width>110</width>
|
<height>50</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>21</pointsize>
|
</font>
|
</property>
|
<property name="focusPolicy">
|
<enum>Qt::NoFocus</enum>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">background-color:rgb(231,231,231);</string>
|
</property>
|
<property name="text">
|
<string>设 置</string>
|
</property>
|
</widget>
|
<widget class="QLabel" name="label_type">
|
<property name="geometry">
|
<rect>
|
<x>10</x>
|
<y>235</y>
|
<width>260</width>
|
<height>40</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>22</pointsize>
|
<weight>50</weight>
|
<bold>false</bold>
|
</font>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
</property>
|
<property name="text">
|
<string>机 器 类 型</string>
|
</property>
|
</widget>
|
<widget class="QComboBox" name="cb_type">
|
<property name="geometry">
|
<rect>
|
<x>270</x>
|
<y>233</y>
|
<width>130</width>
|
<height>42</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>20</pointsize>
|
</font>
|
</property>
|
<property name="focusPolicy">
|
<enum>Qt::NoFocus</enum>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">QComboBox {
|
border: 1px solid gray;
|
border-radius: 3px;
|
padding: 1px 2px 1px 2px;
|
min-width: 100px;
|
}
|
QComboBox::down-arrow {
|
image: url(:/new/prefix1/combox.png);
|
}
|
QComboBox::drop-down {
|
subcontrol-origin: padding;
|
subcontrol-position: top right;
|
width: 20px;
|
|
border-left-width: 1px;
|
border-left-color: darkgray;
|
border-left-style: solid; /* just a single line */
|
border-top-right-radius: 3px; /* same radius as the QComboBox */
|
border-bottom-right-radius: 3px;
|
}
|
|
QComboBox QAbstractItemView
|
{
|
|
}
|
QComboBox QAbstractItemView::item {
|
|
}
|
|
QListView::item {
|
background: white;
|
}
|
|
QListView::item:hover {
|
background: #BDD7FD;
|
}</string>
|
</property>
|
<property name="currentIndex">
|
<number>-1</number>
|
</property>
|
</widget>
|
<widget class="Custom_LineEdit" name="ledit_power" native="true">
|
<property name="enabled">
|
<bool>true</bool>
|
</property>
|
<property name="geometry">
|
<rect>
|
<x>270</x>
|
<y>290</y>
|
<width>150</width>
|
<height>40</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>19</pointsize>
|
</font>
|
</property>
|
<property name="focusPolicy">
|
<enum>Qt::ClickFocus</enum>
|
</property>
|
<property name="text" stdset="0">
|
<string>0</string>
|
</property>
|
</widget>
|
<widget class="QLabel" name="label_stdc_2">
|
<property name="geometry">
|
<rect>
|
<x>10</x>
|
<y>290</y>
|
<width>260</width>
|
<height>40</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>22</pointsize>
|
<weight>50</weight>
|
<bold>false</bold>
|
</font>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
</property>
|
<property name="text">
|
<string>机器最大功率(KW)</string>
|
</property>
|
</widget>
|
<widget class="QLabel" name="label">
|
<property name="geometry">
|
<rect>
|
<x>10</x>
|
<y>380</y>
|
<width>781</width>
|
<height>41</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>20</pointsize>
|
<weight>50</weight>
|
<italic>false</italic>
|
<bold>false</bold>
|
</font>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
</property>
|
<property name="text">
|
<string>注意:配置后请断电重启,配置才生效</string>
|
</property>
|
</widget>
|
<widget class="QLabel" name="label_stdc_3">
|
<property name="geometry">
|
<rect>
|
<x>10</x>
|
<y>340</y>
|
<width>260</width>
|
<height>40</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>22</pointsize>
|
<weight>50</weight>
|
<bold>false</bold>
|
</font>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
</property>
|
<property name="text">
|
<string>脱扣器使能</string>
|
</property>
|
</widget>
|
<widget class="QLabel" name="label_tkq">
|
<property name="geometry">
|
<rect>
|
<x>270</x>
|
<y>340</y>
|
<width>150</width>
|
<height>40</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>22</pointsize>
|
<weight>50</weight>
|
<bold>false</bold>
|
</font>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
</property>
|
<property name="text">
|
<string>启用</string>
|
</property>
|
</widget>
|
<widget class="QLabel" name="label_mon">
|
<property name="geometry">
|
<rect>
|
<x>520</x>
|
<y>10</y>
|
<width>271</width>
|
<height>30</height>
|
</rect>
|
</property>
|
<property name="font">
|
<font>
|
<pointsize>22</pointsize>
|
<weight>50</weight>
|
<bold>false</bold>
|
</font>
|
</property>
|
<property name="styleSheet">
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
</property>
|
<property name="text">
|
<string>单体来源:905</string>
|
</property>
|
<property name="alignment">
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
</property>
|
</widget>
|
<zorder>label_background</zorder>
|
<zorder>pushButton_Exit</zorder>
|
<zorder>label_stdc</zorder>
|
<zorder>ledit_extc</zorder>
|
<zorder>ledit_dcdc</zorder>
|
<zorder>ledit_stdc</zorder>
|
<zorder>label_Title</zorder>
|
<zorder>ledit_intc</zorder>
|
<zorder>label_intc</zorder>
|
<zorder>label_extc</zorder>
|
<zorder>label_dcdc</zorder>
|
<zorder>line_h</zorder>
|
<zorder>btn_read</zorder>
|
<zorder>btn_set</zorder>
|
<zorder>label_type</zorder>
|
<zorder>cb_type</zorder>
|
<zorder>label_stdc_2</zorder>
|
<zorder>ledit_power</zorder>
|
<zorder>label</zorder>
|
<zorder>label_stdc_3</zorder>
|
<zorder>label_tkq</zorder>
|
<zorder>label_mon</zorder>
|
</widget>
|
<customwidgets>
|
<customwidget>
|
<class>Custom_LineEdit</class>
|
<extends>QWidget</extends>
|
<header>custom_lineedit.h</header>
|
</customwidget>
|
</customwidgets>
|
<resources>
|
<include location="../Source/resource.qrc"/>
|
</resources>
|
<connections/>
|
</ui>
|