DeviceControlUI.ui 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainWindow</class>
  4. <widget class="QMainWindow" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>589</width>
  10. <height>307</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>设备控制(DeviceControl)</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <widget class="QGroupBox" name="groupBox">
  18. <property name="geometry">
  19. <rect>
  20. <x>10</x>
  21. <y>10</y>
  22. <width>561</width>
  23. <height>101</height>
  24. </rect>
  25. </property>
  26. <property name="title">
  27. <string>设备登录(Device Login)</string>
  28. </property>
  29. <widget class="QLabel" name="label">
  30. <property name="geometry">
  31. <rect>
  32. <x>20</x>
  33. <y>30</y>
  34. <width>71</width>
  35. <height>16</height>
  36. </rect>
  37. </property>
  38. <property name="text">
  39. <string>IP地址(IP)</string>
  40. </property>
  41. </widget>
  42. <widget class="QLineEdit" name="IP_lineEdit">
  43. <property name="geometry">
  44. <rect>
  45. <x>90</x>
  46. <y>30</y>
  47. <width>121</width>
  48. <height>20</height>
  49. </rect>
  50. </property>
  51. </widget>
  52. <widget class="QLabel" name="label_2">
  53. <property name="geometry">
  54. <rect>
  55. <x>240</x>
  56. <y>30</y>
  57. <width>71</width>
  58. <height>16</height>
  59. </rect>
  60. </property>
  61. <property name="text">
  62. <string>端口(Port)</string>
  63. </property>
  64. </widget>
  65. <widget class="QLineEdit" name="Port_lineEdit">
  66. <property name="geometry">
  67. <rect>
  68. <x>310</x>
  69. <y>30</y>
  70. <width>113</width>
  71. <height>20</height>
  72. </rect>
  73. </property>
  74. </widget>
  75. <widget class="QLabel" name="label_3">
  76. <property name="geometry">
  77. <rect>
  78. <x>10</x>
  79. <y>70</y>
  80. <width>71</width>
  81. <height>16</height>
  82. </rect>
  83. </property>
  84. <property name="text">
  85. <string>用户名(Name)</string>
  86. </property>
  87. </widget>
  88. <widget class="QLineEdit" name="Name_lineEdit">
  89. <property name="geometry">
  90. <rect>
  91. <x>90</x>
  92. <y>70</y>
  93. <width>121</width>
  94. <height>20</height>
  95. </rect>
  96. </property>
  97. </widget>
  98. <widget class="QLabel" name="label_4">
  99. <property name="geometry">
  100. <rect>
  101. <x>240</x>
  102. <y>70</y>
  103. <width>101</width>
  104. <height>16</height>
  105. </rect>
  106. </property>
  107. <property name="text">
  108. <string>密码(PWD)</string>
  109. </property>
  110. </widget>
  111. <widget class="QLineEdit" name="Pwd_lineEdit">
  112. <property name="geometry">
  113. <rect>
  114. <x>310</x>
  115. <y>70</y>
  116. <width>113</width>
  117. <height>20</height>
  118. </rect>
  119. </property>
  120. <property name="echoMode">
  121. <enum>QLineEdit::Password</enum>
  122. </property>
  123. </widget>
  124. <widget class="QPushButton" name="Login_pushButton">
  125. <property name="geometry">
  126. <rect>
  127. <x>460</x>
  128. <y>30</y>
  129. <width>91</width>
  130. <height>31</height>
  131. </rect>
  132. </property>
  133. <property name="text">
  134. <string>登录(Login)</string>
  135. </property>
  136. </widget>
  137. </widget>
  138. <widget class="QGroupBox" name="groupBox_2">
  139. <property name="geometry">
  140. <rect>
  141. <x>10</x>
  142. <y>200</y>
  143. <width>571</width>
  144. <height>61</height>
  145. </rect>
  146. </property>
  147. <property name="title">
  148. <string>校时(Calibration time)</string>
  149. </property>
  150. <widget class="QPushButton" name="GetTime_pushButton">
  151. <property name="geometry">
  152. <rect>
  153. <x>330</x>
  154. <y>30</y>
  155. <width>75</width>
  156. <height>23</height>
  157. </rect>
  158. </property>
  159. <property name="text">
  160. <string>获取(get)</string>
  161. </property>
  162. </widget>
  163. <widget class="QPushButton" name="SetTime_pushButton">
  164. <property name="geometry">
  165. <rect>
  166. <x>430</x>
  167. <y>30</y>
  168. <width>75</width>
  169. <height>23</height>
  170. </rect>
  171. </property>
  172. <property name="text">
  173. <string>设置(set)</string>
  174. </property>
  175. </widget>
  176. <widget class="QDateTimeEdit" name="Time_dateTimeEdit">
  177. <property name="geometry">
  178. <rect>
  179. <x>90</x>
  180. <y>30</y>
  181. <width>191</width>
  182. <height>22</height>
  183. </rect>
  184. </property>
  185. <property name="dateTime">
  186. <datetime>
  187. <hour>0</hour>
  188. <minute>0</minute>
  189. <second>0</second>
  190. <year>2020</year>
  191. <month>3</month>
  192. <day>16</day>
  193. </datetime>
  194. </property>
  195. <property name="displayFormat">
  196. <string>yyyy/M/d HH:mm:ss</string>
  197. </property>
  198. </widget>
  199. <widget class="QLabel" name="label_5">
  200. <property name="geometry">
  201. <rect>
  202. <x>20</x>
  203. <y>30</y>
  204. <width>71</width>
  205. <height>16</height>
  206. </rect>
  207. </property>
  208. <property name="text">
  209. <string>时间(Time)</string>
  210. </property>
  211. </widget>
  212. </widget>
  213. <widget class="QGroupBox" name="groupBox_3">
  214. <property name="geometry">
  215. <rect>
  216. <x>370</x>
  217. <y>120</y>
  218. <width>211</width>
  219. <height>71</height>
  220. </rect>
  221. </property>
  222. <property name="title">
  223. <string>远程重启(Remote restart)</string>
  224. </property>
  225. <widget class="QPushButton" name="Restart_pushButton">
  226. <property name="geometry">
  227. <rect>
  228. <x>50</x>
  229. <y>20</y>
  230. <width>111</width>
  231. <height>31</height>
  232. </rect>
  233. </property>
  234. <property name="text">
  235. <string>设备重启(restart)</string>
  236. </property>
  237. </widget>
  238. </widget>
  239. <widget class="QGroupBox" name="groupBox_4">
  240. <property name="geometry">
  241. <rect>
  242. <x>10</x>
  243. <y>120</y>
  244. <width>221</width>
  245. <height>71</height>
  246. </rect>
  247. </property>
  248. <property name="title">
  249. <string>日志输出(Log output)</string>
  250. </property>
  251. <widget class="QPushButton" name="CloseLog_pushButton">
  252. <property name="geometry">
  253. <rect>
  254. <x>110</x>
  255. <y>30</y>
  256. <width>75</width>
  257. <height>23</height>
  258. </rect>
  259. </property>
  260. <property name="text">
  261. <string>关闭(close)</string>
  262. </property>
  263. </widget>
  264. <widget class="QPushButton" name="OpenLog_pushButton">
  265. <property name="geometry">
  266. <rect>
  267. <x>20</x>
  268. <y>30</y>
  269. <width>75</width>
  270. <height>23</height>
  271. </rect>
  272. </property>
  273. <property name="text">
  274. <string>打开(Open)</string>
  275. </property>
  276. </widget>
  277. </widget>
  278. </widget>
  279. <widget class="QMenuBar" name="menubar">
  280. <property name="geometry">
  281. <rect>
  282. <x>0</x>
  283. <y>0</y>
  284. <width>589</width>
  285. <height>23</height>
  286. </rect>
  287. </property>
  288. </widget>
  289. <widget class="QStatusBar" name="statusbar"/>
  290. </widget>
  291. <resources/>
  292. <connections/>
  293. </ui>