CToolDialog.ui 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528
  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="tabWidget">
  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>1</number>
  37. </property>
  38. <widget class="QWidget" name="tab">
  39. <attribute name="title">
  40. <string>变量相关</string>
  41. </attribute>
  42. <widget class="QGroupBox" name="groupBox">
  43. <property name="geometry">
  44. <rect>
  45. <x>2</x>
  46. <y>140</y>
  47. <width>261</width>
  48. <height>71</height>
  49. </rect>
  50. </property>
  51. <property name="title">
  52. <string>输出的变量</string>
  53. </property>
  54. <widget class="QLabel" name="label_3">
  55. <property name="enabled">
  56. <bool>true</bool>
  57. </property>
  58. <property name="geometry">
  59. <rect>
  60. <x>43</x>
  61. <y>20</y>
  62. <width>61</width>
  63. <height>31</height>
  64. </rect>
  65. </property>
  66. <property name="text">
  67. <string>Value3</string>
  68. </property>
  69. </widget>
  70. <widget class="QTextEdit" name="textEdit_3">
  71. <property name="geometry">
  72. <rect>
  73. <x>100</x>
  74. <y>20</y>
  75. <width>141</width>
  76. <height>31</height>
  77. </rect>
  78. </property>
  79. </widget>
  80. </widget>
  81. <widget class="QGroupBox" name="groupBox_2">
  82. <property name="geometry">
  83. <rect>
  84. <x>2</x>
  85. <y>20</y>
  86. <width>261</width>
  87. <height>111</height>
  88. </rect>
  89. </property>
  90. <property name="title">
  91. <string>输入的变量</string>
  92. </property>
  93. <widget class="QTextEdit" name="textEdit_1">
  94. <property name="geometry">
  95. <rect>
  96. <x>100</x>
  97. <y>20</y>
  98. <width>141</width>
  99. <height>31</height>
  100. </rect>
  101. </property>
  102. </widget>
  103. <widget class="QLabel" name="label_2">
  104. <property name="enabled">
  105. <bool>true</bool>
  106. </property>
  107. <property name="geometry">
  108. <rect>
  109. <x>33</x>
  110. <y>60</y>
  111. <width>71</width>
  112. <height>31</height>
  113. </rect>
  114. </property>
  115. <property name="text">
  116. <string>Value2</string>
  117. </property>
  118. </widget>
  119. <widget class="QLabel" name="label">
  120. <property name="enabled">
  121. <bool>true</bool>
  122. </property>
  123. <property name="geometry">
  124. <rect>
  125. <x>33</x>
  126. <y>20</y>
  127. <width>71</width>
  128. <height>31</height>
  129. </rect>
  130. </property>
  131. <property name="text">
  132. <string>Value1</string>
  133. </property>
  134. </widget>
  135. <widget class="QTextEdit" name="textEdit_2">
  136. <property name="geometry">
  137. <rect>
  138. <x>100</x>
  139. <y>60</y>
  140. <width>141</width>
  141. <height>31</height>
  142. </rect>
  143. </property>
  144. </widget>
  145. </widget>
  146. <widget class="QGroupBox" name="groupBox_5">
  147. <property name="geometry">
  148. <rect>
  149. <x>0</x>
  150. <y>220</y>
  151. <width>261</width>
  152. <height>101</height>
  153. </rect>
  154. </property>
  155. <property name="title">
  156. <string>DB测试</string>
  157. </property>
  158. <widget class="QPushButton" name="buttonDbWrite">
  159. <property name="geometry">
  160. <rect>
  161. <x>40</x>
  162. <y>20</y>
  163. <width>111</width>
  164. <height>31</height>
  165. </rect>
  166. </property>
  167. <property name="text">
  168. <string>写入Int测试</string>
  169. </property>
  170. </widget>
  171. <widget class="QPushButton" name="buttonDbRead">
  172. <property name="geometry">
  173. <rect>
  174. <x>40</x>
  175. <y>60</y>
  176. <width>111</width>
  177. <height>31</height>
  178. </rect>
  179. </property>
  180. <property name="text">
  181. <string>读取DB测试</string>
  182. </property>
  183. </widget>
  184. </widget>
  185. <widget class="QGroupBox" name="groupBox_6">
  186. <property name="geometry">
  187. <rect>
  188. <x>0</x>
  189. <y>330</y>
  190. <width>261</width>
  191. <height>101</height>
  192. </rect>
  193. </property>
  194. <property name="title">
  195. <string>动态接口测试</string>
  196. </property>
  197. <widget class="QPushButton" name="buttonInfAdd">
  198. <property name="geometry">
  199. <rect>
  200. <x>40</x>
  201. <y>20</y>
  202. <width>111</width>
  203. <height>31</height>
  204. </rect>
  205. </property>
  206. <property name="text">
  207. <string>添加Int端口</string>
  208. </property>
  209. </widget>
  210. <widget class="QPushButton" name="buttonInfDel">
  211. <property name="geometry">
  212. <rect>
  213. <x>40</x>
  214. <y>60</y>
  215. <width>111</width>
  216. <height>31</height>
  217. </rect>
  218. </property>
  219. <property name="text">
  220. <string>删除Int端口</string>
  221. </property>
  222. </widget>
  223. </widget>
  224. </widget>
  225. <widget class="QWidget" name="widget">
  226. <attribute name="title">
  227. <string>图像相关</string>
  228. </attribute>
  229. <widget class="QGroupBox" name="groupBox_3">
  230. <property name="geometry">
  231. <rect>
  232. <x>0</x>
  233. <y>20</y>
  234. <width>261</width>
  235. <height>151</height>
  236. </rect>
  237. </property>
  238. <property name="title">
  239. <string/>
  240. </property>
  241. <widget class="QLabel" name="label_4">
  242. <property name="geometry">
  243. <rect>
  244. <x>0</x>
  245. <y>0</y>
  246. <width>261</width>
  247. <height>21</height>
  248. </rect>
  249. </property>
  250. <property name="text">
  251. <string>加载模型</string>
  252. </property>
  253. </widget>
  254. <widget class="QPushButton" name="btnLoadMode">
  255. <property name="geometry">
  256. <rect>
  257. <x>60</x>
  258. <y>30</y>
  259. <width>141</width>
  260. <height>61</height>
  261. </rect>
  262. </property>
  263. <property name="text">
  264. <string>PushButton</string>
  265. </property>
  266. </widget>
  267. <widget class="QPushButton" name="btnReadImg">
  268. <property name="geometry">
  269. <rect>
  270. <x>30</x>
  271. <y>110</y>
  272. <width>201</width>
  273. <height>31</height>
  274. </rect>
  275. </property>
  276. <property name="text">
  277. <string>加载图像</string>
  278. </property>
  279. </widget>
  280. </widget>
  281. <widget class="QStackedWidget" name="stackedWidget">
  282. <property name="geometry">
  283. <rect>
  284. <x>0</x>
  285. <y>190</y>
  286. <width>251</width>
  287. <height>251</height>
  288. </rect>
  289. </property>
  290. <property name="currentIndex">
  291. <number>1</number>
  292. </property>
  293. <widget class="QWidget" name="page">
  294. <widget class="QLabel" name="label_8">
  295. <property name="geometry">
  296. <rect>
  297. <x>0</x>
  298. <y>0</y>
  299. <width>251</width>
  300. <height>21</height>
  301. </rect>
  302. </property>
  303. <property name="text">
  304. <string>本地图像</string>
  305. </property>
  306. </widget>
  307. </widget>
  308. <widget class="QWidget" name="page_2">
  309. <widget class="QLabel" name="label_9">
  310. <property name="geometry">
  311. <rect>
  312. <x>0</x>
  313. <y>0</y>
  314. <width>261</width>
  315. <height>21</height>
  316. </rect>
  317. </property>
  318. <property name="text">
  319. <string>本地路径</string>
  320. </property>
  321. </widget>
  322. </widget>
  323. </widget>
  324. </widget>
  325. <widget class="QWidget" name="tab_2">
  326. <attribute name="title">
  327. <string>事件相关</string>
  328. </attribute>
  329. <widget class="QGroupBox" name="groupBox_4">
  330. <property name="geometry">
  331. <rect>
  332. <x>0</x>
  333. <y>20</y>
  334. <width>271</width>
  335. <height>191</height>
  336. </rect>
  337. </property>
  338. <property name="title">
  339. <string/>
  340. </property>
  341. <widget class="QPushButton" name="pushButton_2">
  342. <property name="geometry">
  343. <rect>
  344. <x>50</x>
  345. <y>40</y>
  346. <width>131</width>
  347. <height>41</height>
  348. </rect>
  349. </property>
  350. <property name="text">
  351. <string>触发事件 1</string>
  352. </property>
  353. </widget>
  354. <widget class="QPushButton" name="pushButton_3">
  355. <property name="geometry">
  356. <rect>
  357. <x>50</x>
  358. <y>110</y>
  359. <width>131</width>
  360. <height>41</height>
  361. </rect>
  362. </property>
  363. <property name="text">
  364. <string>触发事件 2</string>
  365. </property>
  366. </widget>
  367. <widget class="QLabel" name="label_7">
  368. <property name="geometry">
  369. <rect>
  370. <x>0</x>
  371. <y>0</y>
  372. <width>261</width>
  373. <height>21</height>
  374. </rect>
  375. </property>
  376. <property name="text">
  377. <string>手动触发内部事件</string>
  378. </property>
  379. </widget>
  380. </widget>
  381. </widget>
  382. </widget>
  383. </item>
  384. <item row="0" column="1">
  385. <widget class="QWidget" name="Image_widget" native="true"/>
  386. </item>
  387. <item row="1" column="0" colspan="2">
  388. <widget class="QWidget" name="Tool_widget" native="true">
  389. <property name="minimumSize">
  390. <size>
  391. <width>0</width>
  392. <height>42</height>
  393. </size>
  394. </property>
  395. <property name="maximumSize">
  396. <size>
  397. <width>16777215</width>
  398. <height>42</height>
  399. </size>
  400. </property>
  401. <property name="styleSheet">
  402. <string notr="true"/>
  403. </property>
  404. <layout class="QGridLayout" name="gridLayout">
  405. <property name="leftMargin">
  406. <number>6</number>
  407. </property>
  408. <property name="topMargin">
  409. <number>6</number>
  410. </property>
  411. <property name="rightMargin">
  412. <number>6</number>
  413. </property>
  414. <property name="bottomMargin">
  415. <number>6</number>
  416. </property>
  417. <property name="horizontalSpacing">
  418. <number>20</number>
  419. </property>
  420. <item row="0" column="3" rowspan="2">
  421. <widget class="QPushButton" name="btnOK">
  422. <property name="minimumSize">
  423. <size>
  424. <width>80</width>
  425. <height>30</height>
  426. </size>
  427. </property>
  428. <property name="styleSheet">
  429. <string notr="true"/>
  430. </property>
  431. <property name="text">
  432. <string>确定</string>
  433. </property>
  434. </widget>
  435. </item>
  436. <item row="0" column="2" rowspan="2">
  437. <widget class="QPushButton" name="btnExecute">
  438. <property name="minimumSize">
  439. <size>
  440. <width>80</width>
  441. <height>30</height>
  442. </size>
  443. </property>
  444. <property name="styleSheet">
  445. <string notr="true"/>
  446. </property>
  447. <property name="text">
  448. <string>执行</string>
  449. </property>
  450. </widget>
  451. </item>
  452. <item row="0" column="4" rowspan="2">
  453. <widget class="QPushButton" name="btnCancel">
  454. <property name="minimumSize">
  455. <size>
  456. <width>80</width>
  457. <height>30</height>
  458. </size>
  459. </property>
  460. <property name="styleSheet">
  461. <string notr="true"/>
  462. </property>
  463. <property name="text">
  464. <string>取消</string>
  465. </property>
  466. </widget>
  467. </item>
  468. <item row="0" column="1" rowspan="2">
  469. <spacer name="horizontalSpacer">
  470. <property name="orientation">
  471. <enum>Qt::Horizontal</enum>
  472. </property>
  473. <property name="sizeHint" stdset="0">
  474. <size>
  475. <width>553</width>
  476. <height>20</height>
  477. </size>
  478. </property>
  479. </spacer>
  480. </item>
  481. <item row="1" column="0">
  482. <widget class="QLabel" name="label_time">
  483. <property name="enabled">
  484. <bool>true</bool>
  485. </property>
  486. <property name="minimumSize">
  487. <size>
  488. <width>200</width>
  489. <height>0</height>
  490. </size>
  491. </property>
  492. <property name="styleSheet">
  493. <string notr="true"/>
  494. </property>
  495. <property name="text">
  496. <string>耗时: 0ms</string>
  497. </property>
  498. </widget>
  499. </item>
  500. <item row="0" column="0">
  501. <widget class="QLabel" name="label_state">
  502. <property name="enabled">
  503. <bool>true</bool>
  504. </property>
  505. <property name="minimumSize">
  506. <size>
  507. <width>0</width>
  508. <height>0</height>
  509. </size>
  510. </property>
  511. <property name="styleSheet">
  512. <string notr="true"/>
  513. </property>
  514. <property name="text">
  515. <string>状态: OK</string>
  516. </property>
  517. </widget>
  518. </item>
  519. </layout>
  520. </widget>
  521. </item>
  522. </layout>
  523. </widget>
  524. <layoutdefault spacing="6" margin="11"/>
  525. <resources/>
  526. <connections/>
  527. </ui>