CToolDialog.ui 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>CToolDialog</class>
  4. <widget class="QDialog" name="CToolDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>900</width>
  10. <height>540</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>CToolDialog</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true">#Tool_widget{border:1px solid rgb(61, 61, 61)}
  18. #Image_widget{border:1px solid rgb(61, 61, 61)}</string>
  19. </property>
  20. <layout class="QGridLayout" name="gridLayout_2">
  21. <item row="0" column="0">
  22. <widget class="QTabWidget" name="tab">
  23. <property name="minimumSize">
  24. <size>
  25. <width>300</width>
  26. <height>0</height>
  27. </size>
  28. </property>
  29. <property name="maximumSize">
  30. <size>
  31. <width>300</width>
  32. <height>16777215</height>
  33. </size>
  34. </property>
  35. <property name="currentIndex">
  36. <number>0</number>
  37. </property>
  38. <widget class="QWidget" name="Base">
  39. <attribute name="title">
  40. <string>基础参数</string>
  41. </attribute>
  42. <widget class="QPushButton" name="btnMoveUp">
  43. <property name="geometry">
  44. <rect>
  45. <x>100</x>
  46. <y>20</y>
  47. <width>32</width>
  48. <height>32</height>
  49. </rect>
  50. </property>
  51. <property name="minimumSize">
  52. <size>
  53. <width>32</width>
  54. <height>32</height>
  55. </size>
  56. </property>
  57. <property name="maximumSize">
  58. <size>
  59. <width>32</width>
  60. <height>32</height>
  61. </size>
  62. </property>
  63. <property name="text">
  64. <string>U</string>
  65. </property>
  66. </widget>
  67. <widget class="QStackedWidget" name="stackedWidget">
  68. <property name="geometry">
  69. <rect>
  70. <x>20</x>
  71. <y>230</y>
  72. <width>251</width>
  73. <height>181</height>
  74. </rect>
  75. </property>
  76. </widget>
  77. <widget class="QPushButton" name="btnMoveDown">
  78. <property name="geometry">
  79. <rect>
  80. <x>140</x>
  81. <y>20</y>
  82. <width>32</width>
  83. <height>32</height>
  84. </rect>
  85. </property>
  86. <property name="minimumSize">
  87. <size>
  88. <width>32</width>
  89. <height>32</height>
  90. </size>
  91. </property>
  92. <property name="maximumSize">
  93. <size>
  94. <width>32</width>
  95. <height>32</height>
  96. </size>
  97. </property>
  98. <property name="text">
  99. <string>D</string>
  100. </property>
  101. </widget>
  102. <widget class="MyTableWidget" name="tableWidget">
  103. <property name="geometry">
  104. <rect>
  105. <x>10</x>
  106. <y>70</y>
  107. <width>281</width>
  108. <height>131</height>
  109. </rect>
  110. </property>
  111. <property name="styleSheet">
  112. <string notr="true"/>
  113. </property>
  114. <property name="rowCount">
  115. <number>0</number>
  116. </property>
  117. <attribute name="horizontalHeaderCascadingSectionResizes">
  118. <bool>false</bool>
  119. </attribute>
  120. <attribute name="horizontalHeaderDefaultSectionSize">
  121. <number>90</number>
  122. </attribute>
  123. <attribute name="verticalHeaderDefaultSectionSize">
  124. <number>30</number>
  125. </attribute>
  126. <attribute name="verticalHeaderHighlightSections">
  127. <bool>true</bool>
  128. </attribute>
  129. <column>
  130. <property name="text">
  131. <string>启用</string>
  132. </property>
  133. </column>
  134. <column>
  135. <property name="text">
  136. <string>类型</string>
  137. </property>
  138. </column>
  139. <column>
  140. <property name="text">
  141. <string>参数</string>
  142. </property>
  143. </column>
  144. </widget>
  145. <widget class="QPushButton" name="btnDel">
  146. <property name="geometry">
  147. <rect>
  148. <x>50</x>
  149. <y>20</y>
  150. <width>32</width>
  151. <height>32</height>
  152. </rect>
  153. </property>
  154. <property name="minimumSize">
  155. <size>
  156. <width>32</width>
  157. <height>32</height>
  158. </size>
  159. </property>
  160. <property name="maximumSize">
  161. <size>
  162. <width>32</width>
  163. <height>32</height>
  164. </size>
  165. </property>
  166. <property name="text">
  167. <string>-</string>
  168. </property>
  169. </widget>
  170. <widget class="QCheckBox" name="checkBox">
  171. <property name="geometry">
  172. <rect>
  173. <x>180</x>
  174. <y>40</y>
  175. <width>71</width>
  176. <height>16</height>
  177. </rect>
  178. </property>
  179. <property name="minimumSize">
  180. <size>
  181. <width>0</width>
  182. <height>0</height>
  183. </size>
  184. </property>
  185. <property name="maximumSize">
  186. <size>
  187. <width>16777215</width>
  188. <height>16777215</height>
  189. </size>
  190. </property>
  191. <property name="text">
  192. <string>实时刷新</string>
  193. </property>
  194. </widget>
  195. <widget class="QPushButton" name="btnAdd">
  196. <property name="geometry">
  197. <rect>
  198. <x>10</x>
  199. <y>20</y>
  200. <width>32</width>
  201. <height>32</height>
  202. </rect>
  203. </property>
  204. <property name="minimumSize">
  205. <size>
  206. <width>32</width>
  207. <height>32</height>
  208. </size>
  209. </property>
  210. <property name="maximumSize">
  211. <size>
  212. <width>32</width>
  213. <height>32</height>
  214. </size>
  215. </property>
  216. <property name="text">
  217. <string>+</string>
  218. </property>
  219. <property name="iconSize">
  220. <size>
  221. <width>16</width>
  222. <height>8</height>
  223. </size>
  224. </property>
  225. </widget>
  226. </widget>
  227. <widget class="QWidget" name="Show">
  228. <attribute name="title">
  229. <string>显示参数</string>
  230. </attribute>
  231. </widget>
  232. </widget>
  233. </item>
  234. <item row="0" column="1">
  235. <widget class="QWidget" name="Image_widget" native="true"/>
  236. </item>
  237. <item row="1" column="0" colspan="2">
  238. <widget class="QWidget" name="Tool_widget" native="true">
  239. <property name="minimumSize">
  240. <size>
  241. <width>0</width>
  242. <height>42</height>
  243. </size>
  244. </property>
  245. <property name="maximumSize">
  246. <size>
  247. <width>16777215</width>
  248. <height>42</height>
  249. </size>
  250. </property>
  251. <property name="styleSheet">
  252. <string notr="true"/>
  253. </property>
  254. <layout class="QGridLayout" name="gridLayout">
  255. <property name="leftMargin">
  256. <number>6</number>
  257. </property>
  258. <property name="topMargin">
  259. <number>6</number>
  260. </property>
  261. <property name="rightMargin">
  262. <number>6</number>
  263. </property>
  264. <property name="bottomMargin">
  265. <number>6</number>
  266. </property>
  267. <property name="horizontalSpacing">
  268. <number>20</number>
  269. </property>
  270. <item row="0" column="3" rowspan="2">
  271. <widget class="QPushButton" name="btnOK">
  272. <property name="minimumSize">
  273. <size>
  274. <width>80</width>
  275. <height>30</height>
  276. </size>
  277. </property>
  278. <property name="styleSheet">
  279. <string notr="true"/>
  280. </property>
  281. <property name="text">
  282. <string>确定</string>
  283. </property>
  284. </widget>
  285. </item>
  286. <item row="0" column="2" rowspan="2">
  287. <widget class="QPushButton" name="btnExecute">
  288. <property name="minimumSize">
  289. <size>
  290. <width>80</width>
  291. <height>30</height>
  292. </size>
  293. </property>
  294. <property name="styleSheet">
  295. <string notr="true"/>
  296. </property>
  297. <property name="text">
  298. <string>执行</string>
  299. </property>
  300. </widget>
  301. </item>
  302. <item row="0" column="4" rowspan="2">
  303. <widget class="QPushButton" name="btnCancel">
  304. <property name="minimumSize">
  305. <size>
  306. <width>80</width>
  307. <height>30</height>
  308. </size>
  309. </property>
  310. <property name="styleSheet">
  311. <string notr="true"/>
  312. </property>
  313. <property name="text">
  314. <string>取消</string>
  315. </property>
  316. </widget>
  317. </item>
  318. <item row="0" column="1" rowspan="2">
  319. <spacer name="horizontalSpacer">
  320. <property name="orientation">
  321. <enum>Qt::Horizontal</enum>
  322. </property>
  323. <property name="sizeHint" stdset="0">
  324. <size>
  325. <width>553</width>
  326. <height>20</height>
  327. </size>
  328. </property>
  329. </spacer>
  330. </item>
  331. <item row="1" column="0">
  332. <widget class="QLabel" name="label_time">
  333. <property name="enabled">
  334. <bool>true</bool>
  335. </property>
  336. <property name="minimumSize">
  337. <size>
  338. <width>200</width>
  339. <height>0</height>
  340. </size>
  341. </property>
  342. <property name="styleSheet">
  343. <string notr="true"/>
  344. </property>
  345. <property name="text">
  346. <string>耗时: 0ms</string>
  347. </property>
  348. </widget>
  349. </item>
  350. <item row="0" column="0">
  351. <widget class="QLabel" name="label_state">
  352. <property name="enabled">
  353. <bool>true</bool>
  354. </property>
  355. <property name="minimumSize">
  356. <size>
  357. <width>0</width>
  358. <height>0</height>
  359. </size>
  360. </property>
  361. <property name="styleSheet">
  362. <string notr="true"/>
  363. </property>
  364. <property name="text">
  365. <string>状态: OK</string>
  366. </property>
  367. </widget>
  368. </item>
  369. </layout>
  370. </widget>
  371. </item>
  372. </layout>
  373. </widget>
  374. <layoutdefault spacing="6" margin="11"/>
  375. <customwidgets>
  376. <customwidget>
  377. <class>MyTableWidget</class>
  378. <extends>QTableWidget</extends>
  379. <header>mytablewidget.h</header>
  380. </customwidget>
  381. </customwidgets>
  382. <resources/>
  383. <connections/>
  384. </ui>