widget.ui 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Widget</class>
  4. <widget class="QWidget" name="Widget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>500</width>
  10. <height>203</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>汽车仪表盘</string>
  15. </property>
  16. <layout class="QHBoxLayout" name="horizontalLayout_4">
  17. <property name="spacing">
  18. <number>0</number>
  19. </property>
  20. <property name="leftMargin">
  21. <number>0</number>
  22. </property>
  23. <property name="topMargin">
  24. <number>0</number>
  25. </property>
  26. <property name="rightMargin">
  27. <number>0</number>
  28. </property>
  29. <property name="bottomMargin">
  30. <number>0</number>
  31. </property>
  32. <item>
  33. <widget class="QFrame" name="frame_ch">
  34. <property name="frameShape">
  35. <enum>QFrame::NoFrame</enum>
  36. </property>
  37. <layout class="QHBoxLayout" name="horizontalLayout_3">
  38. <item>
  39. <spacer name="horizontalSpacer_2">
  40. <property name="orientation">
  41. <enum>Qt::Horizontal</enum>
  42. </property>
  43. <property name="sizeHint" stdset="0">
  44. <size>
  45. <width>40</width>
  46. <height>20</height>
  47. </size>
  48. </property>
  49. </spacer>
  50. </item>
  51. <item>
  52. <widget class="QPushButton" name="pushButton_ch">
  53. <property name="minimumSize">
  54. <size>
  55. <width>20</width>
  56. <height>20</height>
  57. </size>
  58. </property>
  59. <property name="maximumSize">
  60. <size>
  61. <width>16777194</width>
  62. <height>16777215</height>
  63. </size>
  64. </property>
  65. <property name="text">
  66. <string/>
  67. </property>
  68. <property name="flat">
  69. <bool>true</bool>
  70. </property>
  71. </widget>
  72. </item>
  73. <item>
  74. <widget class="QLabel" name="label_chid">
  75. <property name="font">
  76. <font>
  77. <pointsize>36</pointsize>
  78. <weight>75</weight>
  79. <bold>true</bold>
  80. </font>
  81. </property>
  82. <property name="text">
  83. <string>0</string>
  84. </property>
  85. <property name="alignment">
  86. <set>Qt::AlignCenter</set>
  87. </property>
  88. </widget>
  89. </item>
  90. <item>
  91. <spacer name="horizontalSpacer">
  92. <property name="orientation">
  93. <enum>Qt::Horizontal</enum>
  94. </property>
  95. <property name="sizeHint" stdset="0">
  96. <size>
  97. <width>40</width>
  98. <height>20</height>
  99. </size>
  100. </property>
  101. </spacer>
  102. </item>
  103. <item>
  104. <layout class="QVBoxLayout" name="verticalLayout">
  105. <item>
  106. <spacer name="verticalSpacer">
  107. <property name="sizeHint" stdset="0">
  108. <size>
  109. <width>20</width>
  110. <height>40</height>
  111. </size>
  112. </property>
  113. </spacer>
  114. </item>
  115. <item>
  116. <layout class="QHBoxLayout" name="horizontalLayout">
  117. <item>
  118. <spacer name="horizontalSpacer_4">
  119. <property name="orientation">
  120. <enum>Qt::Horizontal</enum>
  121. </property>
  122. <property name="sizeHint" stdset="0">
  123. <size>
  124. <width>40</width>
  125. <height>20</height>
  126. </size>
  127. </property>
  128. </spacer>
  129. </item>
  130. <item>
  131. <widget class="QLabel" name="label_2">
  132. <property name="minimumSize">
  133. <size>
  134. <width>0</width>
  135. <height>45</height>
  136. </size>
  137. </property>
  138. <property name="font">
  139. <font>
  140. <family>微软雅黑</family>
  141. <pointsize>18</pointsize>
  142. </font>
  143. </property>
  144. <property name="text">
  145. <string>电压:</string>
  146. </property>
  147. </widget>
  148. </item>
  149. <item>
  150. <spacer name="horizontalSpacer_5">
  151. <property name="orientation">
  152. <enum>Qt::Horizontal</enum>
  153. </property>
  154. <property name="sizeHint" stdset="0">
  155. <size>
  156. <width>40</width>
  157. <height>20</height>
  158. </size>
  159. </property>
  160. </spacer>
  161. </item>
  162. <item>
  163. <widget class="QLabel" name="label_chV">
  164. <property name="minimumSize">
  165. <size>
  166. <width>0</width>
  167. <height>45</height>
  168. </size>
  169. </property>
  170. <property name="font">
  171. <font>
  172. <family>微软雅黑</family>
  173. <pointsize>20</pointsize>
  174. <weight>75</weight>
  175. <bold>true</bold>
  176. </font>
  177. </property>
  178. <property name="text">
  179. <string>0</string>
  180. </property>
  181. </widget>
  182. </item>
  183. <item>
  184. <widget class="QLabel" name="label_4">
  185. <property name="minimumSize">
  186. <size>
  187. <width>0</width>
  188. <height>45</height>
  189. </size>
  190. </property>
  191. <property name="font">
  192. <font>
  193. <family>微软雅黑</family>
  194. <pointsize>18</pointsize>
  195. </font>
  196. </property>
  197. <property name="text">
  198. <string>V</string>
  199. </property>
  200. </widget>
  201. </item>
  202. <item>
  203. <spacer name="horizontalSpacer_6">
  204. <property name="orientation">
  205. <enum>Qt::Horizontal</enum>
  206. </property>
  207. <property name="sizeHint" stdset="0">
  208. <size>
  209. <width>40</width>
  210. <height>20</height>
  211. </size>
  212. </property>
  213. </spacer>
  214. </item>
  215. </layout>
  216. </item>
  217. <item>
  218. <spacer name="verticalSpacer_4">
  219. <property name="orientation">
  220. <enum>Qt::Vertical</enum>
  221. </property>
  222. <property name="sizeType">
  223. <enum>QSizePolicy::Minimum</enum>
  224. </property>
  225. <property name="sizeHint" stdset="0">
  226. <size>
  227. <width>20</width>
  228. <height>15</height>
  229. </size>
  230. </property>
  231. </spacer>
  232. </item>
  233. <item>
  234. <layout class="QHBoxLayout" name="horizontalLayout_2">
  235. <item>
  236. <spacer name="horizontalSpacer_7">
  237. <property name="orientation">
  238. <enum>Qt::Horizontal</enum>
  239. </property>
  240. <property name="sizeHint" stdset="0">
  241. <size>
  242. <width>40</width>
  243. <height>20</height>
  244. </size>
  245. </property>
  246. </spacer>
  247. </item>
  248. <item>
  249. <widget class="QLabel" name="label_7">
  250. <property name="minimumSize">
  251. <size>
  252. <width>0</width>
  253. <height>45</height>
  254. </size>
  255. </property>
  256. <property name="font">
  257. <font>
  258. <family>微软雅黑</family>
  259. <pointsize>18</pointsize>
  260. </font>
  261. </property>
  262. <property name="text">
  263. <string>电流:</string>
  264. </property>
  265. </widget>
  266. </item>
  267. <item>
  268. <spacer name="horizontalSpacer_8">
  269. <property name="orientation">
  270. <enum>Qt::Horizontal</enum>
  271. </property>
  272. <property name="sizeHint" stdset="0">
  273. <size>
  274. <width>40</width>
  275. <height>20</height>
  276. </size>
  277. </property>
  278. </spacer>
  279. </item>
  280. <item>
  281. <widget class="QLabel" name="label_chI">
  282. <property name="minimumSize">
  283. <size>
  284. <width>0</width>
  285. <height>45</height>
  286. </size>
  287. </property>
  288. <property name="font">
  289. <font>
  290. <family>微软雅黑</family>
  291. <pointsize>20</pointsize>
  292. <weight>75</weight>
  293. <bold>true</bold>
  294. </font>
  295. </property>
  296. <property name="text">
  297. <string>0</string>
  298. </property>
  299. </widget>
  300. </item>
  301. <item>
  302. <widget class="QLabel" name="label_5">
  303. <property name="minimumSize">
  304. <size>
  305. <width>0</width>
  306. <height>45</height>
  307. </size>
  308. </property>
  309. <property name="font">
  310. <font>
  311. <family>微软雅黑</family>
  312. <pointsize>18</pointsize>
  313. </font>
  314. </property>
  315. <property name="text">
  316. <string>A</string>
  317. </property>
  318. </widget>
  319. </item>
  320. <item>
  321. <spacer name="horizontalSpacer_9">
  322. <property name="orientation">
  323. <enum>Qt::Horizontal</enum>
  324. </property>
  325. <property name="sizeHint" stdset="0">
  326. <size>
  327. <width>40</width>
  328. <height>20</height>
  329. </size>
  330. </property>
  331. </spacer>
  332. </item>
  333. </layout>
  334. </item>
  335. <item>
  336. <spacer name="verticalSpacer_3">
  337. <property name="sizeHint" stdset="0">
  338. <size>
  339. <width>20</width>
  340. <height>40</height>
  341. </size>
  342. </property>
  343. </spacer>
  344. </item>
  345. </layout>
  346. </item>
  347. <item>
  348. <spacer name="horizontalSpacer_3">
  349. <property name="orientation">
  350. <enum>Qt::Horizontal</enum>
  351. </property>
  352. <property name="sizeHint" stdset="0">
  353. <size>
  354. <width>40</width>
  355. <height>20</height>
  356. </size>
  357. </property>
  358. </spacer>
  359. </item>
  360. </layout>
  361. </widget>
  362. </item>
  363. </layout>
  364. </widget>
  365. <resources/>
  366. <connections/>
  367. </ui>