123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>589</width>
- <height>307</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>设备控制(DeviceControl)</string>
- </property>
- <widget class="QWidget" name="centralwidget">
- <widget class="QGroupBox" name="groupBox">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>10</y>
- <width>561</width>
- <height>101</height>
- </rect>
- </property>
- <property name="title">
- <string>设备登录(Device Login)</string>
- </property>
- <widget class="QLabel" name="label">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>30</y>
- <width>71</width>
- <height>16</height>
- </rect>
- </property>
- <property name="text">
- <string>IP地址(IP)</string>
- </property>
- </widget>
- <widget class="QLineEdit" name="IP_lineEdit">
- <property name="geometry">
- <rect>
- <x>90</x>
- <y>30</y>
- <width>121</width>
- <height>20</height>
- </rect>
- </property>
- </widget>
- <widget class="QLabel" name="label_2">
- <property name="geometry">
- <rect>
- <x>240</x>
- <y>30</y>
- <width>71</width>
- <height>16</height>
- </rect>
- </property>
- <property name="text">
- <string>端口(Port)</string>
- </property>
- </widget>
- <widget class="QLineEdit" name="Port_lineEdit">
- <property name="geometry">
- <rect>
- <x>310</x>
- <y>30</y>
- <width>113</width>
- <height>20</height>
- </rect>
- </property>
- </widget>
- <widget class="QLabel" name="label_3">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>70</y>
- <width>71</width>
- <height>16</height>
- </rect>
- </property>
- <property name="text">
- <string>用户名(Name)</string>
- </property>
- </widget>
- <widget class="QLineEdit" name="Name_lineEdit">
- <property name="geometry">
- <rect>
- <x>90</x>
- <y>70</y>
- <width>121</width>
- <height>20</height>
- </rect>
- </property>
- </widget>
- <widget class="QLabel" name="label_4">
- <property name="geometry">
- <rect>
- <x>240</x>
- <y>70</y>
- <width>101</width>
- <height>16</height>
- </rect>
- </property>
- <property name="text">
- <string>密码(PWD)</string>
- </property>
- </widget>
- <widget class="QLineEdit" name="Pwd_lineEdit">
- <property name="geometry">
- <rect>
- <x>310</x>
- <y>70</y>
- <width>113</width>
- <height>20</height>
- </rect>
- </property>
- <property name="echoMode">
- <enum>QLineEdit::Password</enum>
- </property>
- </widget>
- <widget class="QPushButton" name="Login_pushButton">
- <property name="geometry">
- <rect>
- <x>460</x>
- <y>30</y>
- <width>91</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string>登录(Login)</string>
- </property>
- </widget>
- </widget>
- <widget class="QGroupBox" name="groupBox_2">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>200</y>
- <width>571</width>
- <height>61</height>
- </rect>
- </property>
- <property name="title">
- <string>校时(Calibration time)</string>
- </property>
- <widget class="QPushButton" name="GetTime_pushButton">
- <property name="geometry">
- <rect>
- <x>330</x>
- <y>30</y>
- <width>75</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>获取(get)</string>
- </property>
- </widget>
- <widget class="QPushButton" name="SetTime_pushButton">
- <property name="geometry">
- <rect>
- <x>430</x>
- <y>30</y>
- <width>75</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>设置(set)</string>
- </property>
- </widget>
- <widget class="QDateTimeEdit" name="Time_dateTimeEdit">
- <property name="geometry">
- <rect>
- <x>90</x>
- <y>30</y>
- <width>191</width>
- <height>22</height>
- </rect>
- </property>
- <property name="dateTime">
- <datetime>
- <hour>0</hour>
- <minute>0</minute>
- <second>0</second>
- <year>2020</year>
- <month>3</month>
- <day>16</day>
- </datetime>
- </property>
- <property name="displayFormat">
- <string>yyyy/M/d HH:mm:ss</string>
- </property>
- </widget>
- <widget class="QLabel" name="label_5">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>30</y>
- <width>71</width>
- <height>16</height>
- </rect>
- </property>
- <property name="text">
- <string>时间(Time)</string>
- </property>
- </widget>
- </widget>
- <widget class="QGroupBox" name="groupBox_3">
- <property name="geometry">
- <rect>
- <x>370</x>
- <y>120</y>
- <width>211</width>
- <height>71</height>
- </rect>
- </property>
- <property name="title">
- <string>远程重启(Remote restart)</string>
- </property>
- <widget class="QPushButton" name="Restart_pushButton">
- <property name="geometry">
- <rect>
- <x>50</x>
- <y>20</y>
- <width>111</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string>设备重启(restart)</string>
- </property>
- </widget>
- </widget>
- <widget class="QGroupBox" name="groupBox_4">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>120</y>
- <width>221</width>
- <height>71</height>
- </rect>
- </property>
- <property name="title">
- <string>日志输出(Log output)</string>
- </property>
- <widget class="QPushButton" name="CloseLog_pushButton">
- <property name="geometry">
- <rect>
- <x>110</x>
- <y>30</y>
- <width>75</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>关闭(close)</string>
- </property>
- </widget>
- <widget class="QPushButton" name="OpenLog_pushButton">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>30</y>
- <width>75</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>打开(Open)</string>
- </property>
- </widget>
- </widget>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>589</width>
- <height>23</height>
- </rect>
- </property>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- </widget>
- <resources/>
- <connections/>
- </ui>
|