2 Star 3 Fork 3

eehut / ptool-python

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
ptool.ui 12.06 KB
Copy Edit Raw Blame History
eehut authored 2020-03-11 22:11 . init project files
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class>
<widget class="QDialog" name="Dialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>744</width>
<height>451</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(253, 255, 242);</string>
</property>
<widget class="QGroupBox" name="groupBox_2">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>401</width>
<height>381</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title">
<string>设备参数</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<property name="checkable">
<bool>false</bool>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>121</width>
<height>351</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QCheckBox" name="winProductCode">
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>内部型号</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="winShowModel">
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>显示型号</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="winHardwareVersion">
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>硬件版本</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="winPoePower">
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>POE功率</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="winCloudUrl">
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>云端URL</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="winOwnerId">
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>厂商ID</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="winSerialNo">
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>序列号</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="winMacAddress">
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>MAC地址</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>160</x>
<y>20</y>
<width>221</width>
<height>351</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLineEdit" name="winEditProductCode">
<property name="font">
<font>
<family>Microsoft YaHei UI Light</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="winEditShowModel">
<property name="font">
<font>
<family>Microsoft YaHei UI Light</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="winEditHardwareVersion">
<property name="font">
<font>
<family>Microsoft YaHei UI Light</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="winEditPoePower">
<property name="font">
<font>
<family>Microsoft YaHei UI Light</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="winEditCloudUrl">
<property name="font">
<font>
<family>Microsoft YaHei UI Light</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="winEditOwnerId">
<property name="font">
<font>
<family>Microsoft YaHei UI Light</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="winEditSerialNo">
<property name="font">
<font>
<family>Microsoft YaHei UI Light</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="winEditMacAddress">
<property name="font">
<font>
<family>Microsoft YaHei UI Light</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QPushButton" name="winOpenCom">
<property name="geometry">
<rect>
<x>150</x>
<y>20</y>
<width>72</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>打开串口</string>
</property>
</widget>
<widget class="QComboBox" name="winComSelect">
<property name="geometry">
<rect>
<x>30</x>
<y>20</y>
<width>71</width>
<height>22</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
</widget>
<widget class="QPushButton" name="winSaveConfig">
<property name="geometry">
<rect>
<x>250</x>
<y>20</y>
<width>72</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>保存配置</string>
</property>
</widget>
<widget class="QTextEdit" name="winEditLog">
<property name="geometry">
<rect>
<x>410</x>
<y>160</y>
<width>321</width>
<height>241</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="tabStopWidth">
<number>80</number>
</property>
</widget>
<widget class="QPushButton" name="winClearLog">
<property name="geometry">
<rect>
<x>413</x>
<y>414</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>清除日志</string>
</property>
</widget>
<widget class="QProgressBar" name="winPortStatus">
<property name="geometry">
<rect>
<x>113</x>
<y>19</y>
<width>21</width>
<height>23</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">alternate-background-color: rgb(255, 0, 0);
selection-color: rgb(255, 0, 0);</string>
</property>
<property name="value">
<number>100</number>
</property>
<property name="textVisible">
<bool>false</bool>
</property>
</widget>
<widget class="QLabel" name="winRunStatus">
<property name="geometry">
<rect>
<x>410</x>
<y>80</y>
<width>321</width>
<height>61</height>
</rect>
</property>
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
<pointsize>26</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(0, 170, 0);</string>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="text">
<string>PASS!!</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QLineEdit" name="winEditMacAdd">
<property name="geometry">
<rect>
<x>474</x>
<y>22</y>
<width>51</width>
<height>20</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
</widget>
<widget class="QCheckBox" name="winMacAdd">
<property name="geometry">
<rect>
<x>374</x>
<y>25</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>MAC地址自增</string>
</property>
</widget>
<widget class="QLineEdit" name="winEditSnAdd">
<property name="geometry">
<rect>
<x>649</x>
<y>23</y>
<width>51</width>
<height>20</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
</widget>
<widget class="QCheckBox" name="winSnAdd">
<property name="geometry">
<rect>
<x>549</x>
<y>25</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>序列号自增</string>
</property>
</widget>
<widget class="QLabel" name="winVendor">
<property name="geometry">
<rect>
<x>510</x>
<y>420</y>
<width>221</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
<pointsize>14</pointsize>
</font>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</widget>
<resources/>
<connections>
<connection>
<sender>winClearLog</sender>
<signal>clicked()</signal>
<receiver>winEditLog</receiver>
<slot>clear()</slot>
<hints>
<hint type="sourcelabel">
<x>367</x>
<y>31</y>
</hint>
<hint type="destinationlabel">
<x>570</x>
<y>310</y>
</hint>
</hints>
</connection>
</connections>
</ui>
Python
1
https://gitee.com/eehut/ptool-python.git
git@gitee.com:eehut/ptool-python.git
eehut
ptool-python
ptool-python
master

Search