405 lines
9.7 KiB
XML
405 lines
9.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>MainInstruction</class>
|
|
<widget class="QWidget" name="MainInstruction">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>558</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">
|
|
|
|
QWidget#buttonWidget {
|
|
background-color: #95989D;
|
|
}
|
|
|
|
QPushButton#closeBtn {
|
|
background-color: #E6F7FF;
|
|
border: 1px solid #87CEEB;
|
|
border-radius: 4px;
|
|
font-size: 24px;
|
|
color: #228B22;
|
|
}
|
|
|
|
QPushButton#closeBtn:hover {
|
|
background-color: #D1E9FF;
|
|
}
|
|
|
|
QPushButton#closeBtn:pressed {
|
|
background-color: #BAE7FF;
|
|
}
|
|
|
|
QLabel {
|
|
font-size: 18px;
|
|
color: #000000;
|
|
font-weight: 500;
|
|
}
|
|
|
|
QCheckBox {
|
|
font-size: 18px;
|
|
color: #000000;
|
|
font-weight:500;
|
|
}
|
|
|
|
QCheckBox::indicator {
|
|
width: 18px;
|
|
height: 18px;
|
|
border: 1px solid #96A0A9;
|
|
border-radius: 10px;
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
QCheckBox::indicator:checked {
|
|
background-color: #95B2D4;
|
|
border-color: #95B2D4;
|
|
image: url(:/Demo/image/select.png);
|
|
}
|
|
|
|
QPushButton {
|
|
background-color: #5396C1;
|
|
color: #ffffff;
|
|
border: 1px solid #000000;
|
|
border-radius: 3px;
|
|
font-size: 18px;
|
|
font-weight:500;
|
|
width: 180px;
|
|
height: 90px;
|
|
}
|
|
|
|
QPushButton:hover {
|
|
background-color: #5396C1;
|
|
}
|
|
|
|
QPushButton:disabled {
|
|
background-color: #7C828E;
|
|
color: #606060;
|
|
border-color: #808080;
|
|
}
|
|
|
|
QWidget#fileTab, QWidget#extraTab, QWidget#settingsTab, QWidget#serviceTab {
|
|
background-color: #E3E7EC;
|
|
}
|
|
</string>
|
|
</property>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>9</x>
|
|
<y>9</y>
|
|
<width>601</width>
|
|
<height>431</height>
|
|
</rect>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>2</number>
|
|
</property>
|
|
<widget class="QWidget" name="tabBasic">
|
|
<attribute name="title">
|
|
<string>基本设置</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<property name="leftMargin">
|
|
<number>30</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>30</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>30</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>30</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>30</number>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QPushButton" name="graphicsEditorBtn">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>254</width>
|
|
<height>92</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>图形编辑器</string>
|
|
</property>
|
|
<property name="fixedSize" stdset="0">
|
|
<size>
|
|
<width>220</width>
|
|
<height>60</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QPushButton" name="btn_time">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>254</width>
|
|
<height>92</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>时间设置</string>
|
|
</property>
|
|
<property name="fixedSize" stdset="0">
|
|
<size>
|
|
<width>220</width>
|
|
<height>60</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QPushButton" name="btn_network">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>254</width>
|
|
<height>92</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>网口通信</string>
|
|
</property>
|
|
<property name="fixedSize" stdset="0">
|
|
<size>
|
|
<width>220</width>
|
|
<height>60</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tabService">
|
|
<attribute name="title">
|
|
<string>服务</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<property name="leftMargin">
|
|
<number>30</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>30</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>30</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>30</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>30</number>
|
|
</property>
|
|
<item row="2" column="1">
|
|
<widget class="QPushButton" name="pushButtonAuth">
|
|
<property name="text">
|
|
<string>系统授权</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QPushButton" name="sysSetBtn">
|
|
<property name="text">
|
|
<string>系统设置</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QPushButton" name="sysMgtBtn">
|
|
<property name="text">
|
|
<string>系统管理</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QPushButton" name="maintenanceIntervalBtn">
|
|
<property name="text">
|
|
<string>设置保养间隔</string>
|
|
</property>
|
|
<property name="fixedSize" stdset="0">
|
|
<size>
|
|
<width>220</width>
|
|
<height>60</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QPushButton" name="sysUpdateBtn">
|
|
<property name="text">
|
|
<string>系统更新</string>
|
|
</property>
|
|
<property name="fixedSize" stdset="0">
|
|
<size>
|
|
<width>220</width>
|
|
<height>60</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QPushButton" name="btn_defPrintSet">
|
|
<property name="text">
|
|
<string>默认打印设置</string>
|
|
</property>
|
|
<property name="fixedSize" stdset="0">
|
|
<size>
|
|
<width>220</width>
|
|
<height>60</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tabExtra">
|
|
<attribute name="title">
|
|
<string>额外设置</string>
|
|
</attribute>
|
|
<widget class="QPushButton" name="rfidCfgBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>70</y>
|
|
<width>254</width>
|
|
<height>92</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>RFID设置</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="otherSetBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>230</y>
|
|
<width>254</width>
|
|
<height>92</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>其他设置</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="canvaSizeCfgBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>310</x>
|
|
<y>70</y>
|
|
<width>254</width>
|
|
<height>92</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>窗口点阵设置</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="visSetBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>310</x>
|
|
<y>230</y>
|
|
<width>254</width>
|
|
<height>92</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>粘度设置</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QPushButton" name="closeBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>670</x>
|
|
<y>500</y>
|
|
<width>100</width>
|
|
<height>40</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>✕</string>
|
|
</property>
|
|
<property name="fixedSize" stdset="0">
|
|
<size>
|
|
<width>80</width>
|
|
<height>80</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>graphicsEditorBtn</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>MainInstruction</receiver>
|
|
<slot>onGraphicsEditBtnClicked()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>232</x>
|
|
<y>195</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>-154</x>
|
|
<y>230</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>rfidCfgBtn</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>MainInstruction</receiver>
|
|
<slot>onRfidCfgBtnClicked()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>139</x>
|
|
<y>115</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>-182</x>
|
|
<y>93</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>canvaSizeCfgBtn</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>MainInstruction</receiver>
|
|
<slot>onCanvasCfgBtnClicked()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>491</x>
|
|
<y>139</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>956</x>
|
|
<y>250</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>onGraphicsEditBtnClicked()</slot>
|
|
<slot>onRfidCfgBtnClicked()</slot>
|
|
<slot>onCanvasCfgBtnClicked()</slot>
|
|
</slots>
|
|
</ui>
|