homewidget.ui 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>HomeWidget</class>
  4. <widget class="QWidget" name="HomeWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>567</width>
  10. <height>377</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout" stretch="3,1">
  17. <item>
  18. <layout class="QHBoxLayout" name="horizontalLayout_2">
  19. <item>
  20. <spacer name="horizontalSpacer">
  21. <property name="orientation">
  22. <enum>Qt::Horizontal</enum>
  23. </property>
  24. <property name="sizeHint" stdset="0">
  25. <size>
  26. <width>40</width>
  27. <height>20</height>
  28. </size>
  29. </property>
  30. </spacer>
  31. </item>
  32. <item>
  33. <widget class="QLabel" name="label_2">
  34. <property name="text">
  35. <string/>
  36. </property>
  37. <property name="pixmap">
  38. <pixmap>image/EqpmtLogo.png</pixmap>
  39. </property>
  40. </widget>
  41. </item>
  42. <item>
  43. <spacer name="horizontalSpacer_2">
  44. <property name="orientation">
  45. <enum>Qt::Horizontal</enum>
  46. </property>
  47. <property name="sizeHint" stdset="0">
  48. <size>
  49. <width>40</width>
  50. <height>20</height>
  51. </size>
  52. </property>
  53. </spacer>
  54. </item>
  55. <item>
  56. <layout class="QGridLayout" name="gridLayout">
  57. <property name="spacing">
  58. <number>10</number>
  59. </property>
  60. <item row="4" column="0">
  61. <widget class="QLabel" name="label_6">
  62. <property name="font">
  63. <font>
  64. <pointsize>9</pointsize>
  65. </font>
  66. </property>
  67. <property name="text">
  68. <string>额定功率:</string>
  69. </property>
  70. </widget>
  71. </item>
  72. <item row="3" column="0">
  73. <widget class="QLabel" name="label_5">
  74. <property name="font">
  75. <font>
  76. <pointsize>9</pointsize>
  77. </font>
  78. </property>
  79. <property name="text">
  80. <string>额定电流:</string>
  81. </property>
  82. </widget>
  83. </item>
  84. <item row="4" column="1">
  85. <widget class="QLabel" name="label_10">
  86. <property name="font">
  87. <font>
  88. <pointsize>9</pointsize>
  89. </font>
  90. </property>
  91. <property name="text">
  92. <string/>
  93. </property>
  94. </widget>
  95. </item>
  96. <item row="2" column="0">
  97. <widget class="QLabel" name="label_4">
  98. <property name="font">
  99. <font>
  100. <pointsize>9</pointsize>
  101. </font>
  102. </property>
  103. <property name="text">
  104. <string>额定电压:</string>
  105. </property>
  106. </widget>
  107. </item>
  108. <item row="1" column="1">
  109. <widget class="QLabel" name="label_7">
  110. <property name="font">
  111. <font>
  112. <pointsize>9</pointsize>
  113. </font>
  114. </property>
  115. <property name="text">
  116. <string/>
  117. </property>
  118. </widget>
  119. </item>
  120. <item row="3" column="1">
  121. <widget class="QLabel" name="label_9">
  122. <property name="font">
  123. <font>
  124. <pointsize>9</pointsize>
  125. </font>
  126. </property>
  127. <property name="text">
  128. <string/>
  129. </property>
  130. </widget>
  131. </item>
  132. <item row="0" column="0">
  133. <spacer name="verticalSpacer">
  134. <property name="orientation">
  135. <enum>Qt::Vertical</enum>
  136. </property>
  137. <property name="sizeHint" stdset="0">
  138. <size>
  139. <width>20</width>
  140. <height>40</height>
  141. </size>
  142. </property>
  143. </spacer>
  144. </item>
  145. <item row="2" column="1">
  146. <widget class="QLabel" name="label_8">
  147. <property name="font">
  148. <font>
  149. <pointsize>9</pointsize>
  150. </font>
  151. </property>
  152. <property name="text">
  153. <string/>
  154. </property>
  155. </widget>
  156. </item>
  157. <item row="1" column="0">
  158. <widget class="QLabel" name="label_3">
  159. <property name="font">
  160. <font>
  161. <pointsize>9</pointsize>
  162. </font>
  163. </property>
  164. <property name="text">
  165. <string>输入模式:</string>
  166. </property>
  167. </widget>
  168. </item>
  169. <item row="5" column="1">
  170. <spacer name="verticalSpacer_2">
  171. <property name="orientation">
  172. <enum>Qt::Vertical</enum>
  173. </property>
  174. <property name="sizeHint" stdset="0">
  175. <size>
  176. <width>20</width>
  177. <height>40</height>
  178. </size>
  179. </property>
  180. </spacer>
  181. </item>
  182. </layout>
  183. </item>
  184. <item>
  185. <spacer name="horizontalSpacer_3">
  186. <property name="orientation">
  187. <enum>Qt::Horizontal</enum>
  188. </property>
  189. <property name="sizeHint" stdset="0">
  190. <size>
  191. <width>40</width>
  192. <height>20</height>
  193. </size>
  194. </property>
  195. </spacer>
  196. </item>
  197. </layout>
  198. </item>
  199. <item>
  200. <layout class="QHBoxLayout" name="horizontalLayout">
  201. <item>
  202. <widget class="QPushButton" name="pushButton">
  203. <property name="text">
  204. <string>运行</string>
  205. </property>
  206. <property name="icon">
  207. <iconset>
  208. <normaloff>image/RunMSG.png</normaloff>image/RunMSG.png</iconset>
  209. </property>
  210. <property name="iconSize">
  211. <size>
  212. <width>32</width>
  213. <height>32</height>
  214. </size>
  215. </property>
  216. <property name="checkable">
  217. <bool>false</bool>
  218. </property>
  219. <property name="autoRepeat">
  220. <bool>false</bool>
  221. </property>
  222. <property name="autoExclusive">
  223. <bool>false</bool>
  224. </property>
  225. <property name="flat">
  226. <bool>true</bool>
  227. </property>
  228. </widget>
  229. </item>
  230. <item>
  231. <widget class="QPushButton" name="pushButton_2">
  232. <property name="text">
  233. <string>阈值</string>
  234. </property>
  235. <property name="icon">
  236. <iconset>
  237. <normaloff>image/WarningMSG.png</normaloff>image/WarningMSG.png</iconset>
  238. </property>
  239. <property name="iconSize">
  240. <size>
  241. <width>32</width>
  242. <height>32</height>
  243. </size>
  244. </property>
  245. <property name="flat">
  246. <bool>true</bool>
  247. </property>
  248. </widget>
  249. </item>
  250. <item>
  251. <widget class="QPushButton" name="pushButton_4">
  252. <property name="text">
  253. <string>日志</string>
  254. </property>
  255. <property name="icon">
  256. <iconset>
  257. <normaloff>image/RunLog.png</normaloff>image/RunLog.png</iconset>
  258. </property>
  259. <property name="iconSize">
  260. <size>
  261. <width>32</width>
  262. <height>32</height>
  263. </size>
  264. </property>
  265. <property name="flat">
  266. <bool>true</bool>
  267. </property>
  268. </widget>
  269. </item>
  270. <item>
  271. <widget class="QPushButton" name="pushButton_3">
  272. <property name="text">
  273. <string>设置</string>
  274. </property>
  275. <property name="icon">
  276. <iconset>
  277. <normaloff>image/Setting.png</normaloff>image/Setting.png</iconset>
  278. </property>
  279. <property name="iconSize">
  280. <size>
  281. <width>32</width>
  282. <height>32</height>
  283. </size>
  284. </property>
  285. <property name="flat">
  286. <bool>true</bool>
  287. </property>
  288. </widget>
  289. </item>
  290. </layout>
  291. </item>
  292. </layout>
  293. </widget>
  294. <resources/>
  295. <connections/>
  296. </ui>