addnormalitem.ui 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>AddNormalItem</class>
  4. <widget class="QDialog" name="AddNormalItem">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>436</width>
  10. <height>349</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Dialog</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <property name="spacing">
  18. <number>0</number>
  19. </property>
  20. <property name="leftMargin">
  21. <number>10</number>
  22. </property>
  23. <property name="topMargin">
  24. <number>10</number>
  25. </property>
  26. <property name="rightMargin">
  27. <number>10</number>
  28. </property>
  29. <property name="bottomMargin">
  30. <number>10</number>
  31. </property>
  32. <item>
  33. <widget class="QWidget" name="widget_background" native="true">
  34. <property name="styleSheet">
  35. <string notr="true"/>
  36. </property>
  37. <widget class="QLabel" name="label_NC1">
  38. <property name="geometry">
  39. <rect>
  40. <x>32</x>
  41. <y>18</y>
  42. <width>80</width>
  43. <height>18</height>
  44. </rect>
  45. </property>
  46. <property name="text">
  47. <string>添加计划</string>
  48. </property>
  49. </widget>
  50. <widget class="QLabel" name="label_NC2_x">
  51. <property name="geometry">
  52. <rect>
  53. <x>32</x>
  54. <y>154</y>
  55. <width>7</width>
  56. <height>14</height>
  57. </rect>
  58. </property>
  59. <property name="text">
  60. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#ff0000;&quot;&gt;*&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  61. </property>
  62. </widget>
  63. <widget class="QLabel" name="label_NC3">
  64. <property name="geometry">
  65. <rect>
  66. <x>40</x>
  67. <y>154</y>
  68. <width>70</width>
  69. <height>14</height>
  70. </rect>
  71. </property>
  72. <property name="text">
  73. <string>时间选择:</string>
  74. </property>
  75. </widget>
  76. <widget class="QPushButton" name="pBtn_Close">
  77. <property name="geometry">
  78. <rect>
  79. <x>368</x>
  80. <y>12</y>
  81. <width>32</width>
  82. <height>32</height>
  83. </rect>
  84. </property>
  85. <property name="text">
  86. <string/>
  87. </property>
  88. </widget>
  89. <widget class="QLabel" name="label_NC4">
  90. <property name="geometry">
  91. <rect>
  92. <x>0</x>
  93. <y>56</y>
  94. <width>416</width>
  95. <height>1</height>
  96. </rect>
  97. </property>
  98. <property name="text">
  99. <string/>
  100. </property>
  101. </widget>
  102. <widget class="QPushButton" name="pBtn_cancel">
  103. <property name="geometry">
  104. <rect>
  105. <x>248</x>
  106. <y>265</y>
  107. <width>60</width>
  108. <height>32</height>
  109. </rect>
  110. </property>
  111. <property name="text">
  112. <string>取消</string>
  113. </property>
  114. </widget>
  115. <widget class="QPushButton" name="pBtn_ok">
  116. <property name="geometry">
  117. <rect>
  118. <x>324</x>
  119. <y>265</y>
  120. <width>60</width>
  121. <height>32</height>
  122. </rect>
  123. </property>
  124. <property name="text">
  125. <string>确定</string>
  126. </property>
  127. </widget>
  128. <widget class="QLabel" name="label_iconTime">
  129. <property name="geometry">
  130. <rect>
  131. <x>359</x>
  132. <y>153</y>
  133. <width>16</width>
  134. <height>16</height>
  135. </rect>
  136. </property>
  137. <property name="text">
  138. <string/>
  139. </property>
  140. </widget>
  141. <widget class="QLabel" name="label_timeWarn">
  142. <property name="geometry">
  143. <rect>
  144. <x>110</x>
  145. <y>180</y>
  146. <width>250</width>
  147. <height>18</height>
  148. </rect>
  149. </property>
  150. <property name="text">
  151. <string>TextLabel</string>
  152. </property>
  153. </widget>
  154. <widget class="QLabel" name="label_NC8_x">
  155. <property name="geometry">
  156. <rect>
  157. <x>32</x>
  158. <y>98</y>
  159. <width>7</width>
  160. <height>14</height>
  161. </rect>
  162. </property>
  163. <property name="text">
  164. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#ff0000;&quot;&gt;*&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  165. </property>
  166. </widget>
  167. <widget class="QLabel" name="label_NC9">
  168. <property name="geometry">
  169. <rect>
  170. <x>40</x>
  171. <y>98</y>
  172. <width>70</width>
  173. <height>14</height>
  174. </rect>
  175. </property>
  176. <property name="text">
  177. <string>设备选择:</string>
  178. </property>
  179. </widget>
  180. <widget class="CustomComboBox" name="comBox_devSelect">
  181. <property name="geometry">
  182. <rect>
  183. <x>110</x>
  184. <y>89</y>
  185. <width>274</width>
  186. <height>32</height>
  187. </rect>
  188. </property>
  189. <property name="currentText">
  190. <string/>
  191. </property>
  192. </widget>
  193. <widget class="QLabel" name="label_NC8_x_2">
  194. <property name="geometry">
  195. <rect>
  196. <x>32</x>
  197. <y>210</y>
  198. <width>7</width>
  199. <height>14</height>
  200. </rect>
  201. </property>
  202. <property name="text">
  203. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#ff0000;&quot;&gt;*&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  204. </property>
  205. </widget>
  206. <widget class="CustomComboBox" name="comBox_actionSelect">
  207. <property name="geometry">
  208. <rect>
  209. <x>110</x>
  210. <y>201</y>
  211. <width>274</width>
  212. <height>32</height>
  213. </rect>
  214. </property>
  215. </widget>
  216. <widget class="QLabel" name="label_NC9_2">
  217. <property name="geometry">
  218. <rect>
  219. <x>40</x>
  220. <y>210</y>
  221. <width>70</width>
  222. <height>14</height>
  223. </rect>
  224. </property>
  225. <property name="text">
  226. <string>动作选择:</string>
  227. </property>
  228. </widget>
  229. <widget class="TimeWidget" name="timeEdit">
  230. <property name="geometry">
  231. <rect>
  232. <x>110</x>
  233. <y>145</y>
  234. <width>274</width>
  235. <height>32</height>
  236. </rect>
  237. </property>
  238. </widget>
  239. <widget class="QLabel" name="label_devWarn">
  240. <property name="geometry">
  241. <rect>
  242. <x>110</x>
  243. <y>126</y>
  244. <width>250</width>
  245. <height>18</height>
  246. </rect>
  247. </property>
  248. <property name="text">
  249. <string>TextLabel</string>
  250. </property>
  251. </widget>
  252. <widget class="QLabel" name="label_actionWarn">
  253. <property name="geometry">
  254. <rect>
  255. <x>110</x>
  256. <y>238</y>
  257. <width>250</width>
  258. <height>18</height>
  259. </rect>
  260. </property>
  261. <property name="text">
  262. <string>TextLabel</string>
  263. </property>
  264. </widget>
  265. <zorder>label_iconTime</zorder>
  266. <zorder>label_NC1</zorder>
  267. <zorder>label_NC2_x</zorder>
  268. <zorder>label_NC3</zorder>
  269. <zorder>pBtn_Close</zorder>
  270. <zorder>label_NC4</zorder>
  271. <zorder>pBtn_cancel</zorder>
  272. <zorder>pBtn_ok</zorder>
  273. <zorder>label_timeWarn</zorder>
  274. <zorder>label_NC8_x</zorder>
  275. <zorder>label_NC9</zorder>
  276. <zorder>comBox_devSelect</zorder>
  277. <zorder>label_NC8_x_2</zorder>
  278. <zorder>comBox_actionSelect</zorder>
  279. <zorder>label_NC9_2</zorder>
  280. <zorder>label_devWarn</zorder>
  281. <zorder>label_actionWarn</zorder>
  282. <zorder>timeEdit</zorder>
  283. </widget>
  284. </item>
  285. </layout>
  286. </widget>
  287. <customwidgets>
  288. <customwidget>
  289. <class>TimeWidget</class>
  290. <extends>QTimeEdit</extends>
  291. <header location="global">timewidget.h</header>
  292. </customwidget>
  293. <customwidget>
  294. <class>CustomComboBox</class>
  295. <extends>QComboBox</extends>
  296. <header location="global">customcombobox.h</header>
  297. </customwidget>
  298. </customwidgets>
  299. <resources/>
  300. <connections/>
  301. </ui>