cameramanager.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577
  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>0</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>120</y>
  47. <width>291</width>
  48. <height>321</height>
  49. </rect>
  50. </property>
  51. <property name="title">
  52. <string/>
  53. </property>
  54. <widget class="QLabel" name="label_6">
  55. <property name="geometry">
  56. <rect>
  57. <x>0</x>
  58. <y>0</y>
  59. <width>261</width>
  60. <height>21</height>
  61. </rect>
  62. </property>
  63. <property name="text">
  64. <string>相机参数设置</string>
  65. </property>
  66. </widget>
  67. <widget class="QLabel" name="label_SN">
  68. <property name="enabled">
  69. <bool>true</bool>
  70. </property>
  71. <property name="geometry">
  72. <rect>
  73. <x>30</x>
  74. <y>36</y>
  75. <width>31</width>
  76. <height>20</height>
  77. </rect>
  78. </property>
  79. <property name="text">
  80. <string>SN:</string>
  81. </property>
  82. <property name="textFormat">
  83. <enum>Qt::AutoText</enum>
  84. </property>
  85. </widget>
  86. <widget class="QComboBox" name="comboCameraSerial">
  87. <property name="geometry">
  88. <rect>
  89. <x>59</x>
  90. <y>35</y>
  91. <width>121</width>
  92. <height>21</height>
  93. </rect>
  94. </property>
  95. </widget>
  96. <widget class="QPushButton" name="btn_CameraRefresh">
  97. <property name="geometry">
  98. <rect>
  99. <x>190</x>
  100. <y>30</y>
  101. <width>61</width>
  102. <height>21</height>
  103. </rect>
  104. </property>
  105. <property name="text">
  106. <string>Update</string>
  107. </property>
  108. </widget>
  109. <widget class="QPushButton" name="btn_OpenCamera">
  110. <property name="geometry">
  111. <rect>
  112. <x>60</x>
  113. <y>70</y>
  114. <width>91</width>
  115. <height>21</height>
  116. </rect>
  117. </property>
  118. <property name="text">
  119. <string>Open</string>
  120. </property>
  121. </widget>
  122. <widget class="QPushButton" name="btn_CloseCamera">
  123. <property name="geometry">
  124. <rect>
  125. <x>160</x>
  126. <y>70</y>
  127. <width>91</width>
  128. <height>21</height>
  129. </rect>
  130. </property>
  131. <property name="text">
  132. <string>Close</string>
  133. </property>
  134. </widget>
  135. <widget class="QPushButton" name="btn_StateCamera">
  136. <property name="geometry">
  137. <rect>
  138. <x>60</x>
  139. <y>150</y>
  140. <width>91</width>
  141. <height>21</height>
  142. </rect>
  143. </property>
  144. <property name="text">
  145. <string>Start</string>
  146. </property>
  147. </widget>
  148. <widget class="QPushButton" name="btn_StopCamera">
  149. <property name="geometry">
  150. <rect>
  151. <x>170</x>
  152. <y>150</y>
  153. <width>81</width>
  154. <height>21</height>
  155. </rect>
  156. </property>
  157. <property name="text">
  158. <string>Stop</string>
  159. </property>
  160. </widget>
  161. <widget class="QComboBox" name="comboWorkMode">
  162. <property name="geometry">
  163. <rect>
  164. <x>60</x>
  165. <y>120</y>
  166. <width>181</width>
  167. <height>21</height>
  168. </rect>
  169. </property>
  170. </widget>
  171. <widget class="QPushButton" name="btn_Config">
  172. <property name="geometry">
  173. <rect>
  174. <x>60</x>
  175. <y>200</y>
  176. <width>191</width>
  177. <height>21</height>
  178. </rect>
  179. </property>
  180. <property name="text">
  181. <string>Config</string>
  182. </property>
  183. </widget>
  184. <widget class="QPushButton" name="btn_Trigger">
  185. <property name="geometry">
  186. <rect>
  187. <x>60</x>
  188. <y>240</y>
  189. <width>191</width>
  190. <height>31</height>
  191. </rect>
  192. </property>
  193. <property name="text">
  194. <string>Soft Trigger</string>
  195. </property>
  196. </widget>
  197. <widget class="QLabel" name="label_SN_2">
  198. <property name="enabled">
  199. <bool>true</bool>
  200. </property>
  201. <property name="geometry">
  202. <rect>
  203. <x>30</x>
  204. <y>125</y>
  205. <width>31</width>
  206. <height>20</height>
  207. </rect>
  208. </property>
  209. <property name="text">
  210. <string>Mode:</string>
  211. </property>
  212. <property name="textFormat">
  213. <enum>Qt::AutoText</enum>
  214. </property>
  215. </widget>
  216. </widget>
  217. <widget class="QGroupBox" name="groupBox_2">
  218. <property name="geometry">
  219. <rect>
  220. <x>2</x>
  221. <y>20</y>
  222. <width>291</width>
  223. <height>91</height>
  224. </rect>
  225. </property>
  226. <property name="title">
  227. <string/>
  228. </property>
  229. <widget class="QLabel" name="label_sdkName">
  230. <property name="enabled">
  231. <bool>true</bool>
  232. </property>
  233. <property name="geometry">
  234. <rect>
  235. <x>20</x>
  236. <y>60</y>
  237. <width>41</width>
  238. <height>21</height>
  239. </rect>
  240. </property>
  241. <property name="layoutDirection">
  242. <enum>Qt::LeftToRight</enum>
  243. </property>
  244. <property name="text">
  245. <string>Load :</string>
  246. </property>
  247. </widget>
  248. <widget class="QLabel" name="label_5">
  249. <property name="geometry">
  250. <rect>
  251. <x>0</x>
  252. <y>0</y>
  253. <width>261</width>
  254. <height>21</height>
  255. </rect>
  256. </property>
  257. <property name="text">
  258. <string>请选择相机SDK </string>
  259. </property>
  260. </widget>
  261. <widget class="QComboBox" name="comboSDKName">
  262. <property name="geometry">
  263. <rect>
  264. <x>60</x>
  265. <y>30</y>
  266. <width>121</width>
  267. <height>22</height>
  268. </rect>
  269. </property>
  270. </widget>
  271. <widget class="QPushButton" name="btn_LoadSDK">
  272. <property name="geometry">
  273. <rect>
  274. <x>190</x>
  275. <y>22</y>
  276. <width>61</width>
  277. <height>21</height>
  278. </rect>
  279. </property>
  280. <property name="text">
  281. <string>Load</string>
  282. </property>
  283. </widget>
  284. <widget class="QLabel" name="lab_SdkInfo">
  285. <property name="geometry">
  286. <rect>
  287. <x>60</x>
  288. <y>62</y>
  289. <width>191</width>
  290. <height>20</height>
  291. </rect>
  292. </property>
  293. <property name="text">
  294. <string>null</string>
  295. </property>
  296. </widget>
  297. <widget class="QLabel" name="label_sdkName_2">
  298. <property name="enabled">
  299. <bool>true</bool>
  300. </property>
  301. <property name="geometry">
  302. <rect>
  303. <x>30</x>
  304. <y>30</y>
  305. <width>31</width>
  306. <height>21</height>
  307. </rect>
  308. </property>
  309. <property name="layoutDirection">
  310. <enum>Qt::LeftToRight</enum>
  311. </property>
  312. <property name="text">
  313. <string>SDK:</string>
  314. </property>
  315. </widget>
  316. </widget>
  317. </widget>
  318. <widget class="QWidget" name="widget">
  319. <attribute name="title">
  320. <string>图像</string>
  321. </attribute>
  322. <widget class="QGroupBox" name="groupBox_3">
  323. <property name="geometry">
  324. <rect>
  325. <x>0</x>
  326. <y>20</y>
  327. <width>261</width>
  328. <height>151</height>
  329. </rect>
  330. </property>
  331. <property name="title">
  332. <string/>
  333. </property>
  334. <widget class="QLabel" name="label_4">
  335. <property name="geometry">
  336. <rect>
  337. <x>0</x>
  338. <y>0</y>
  339. <width>261</width>
  340. <height>21</height>
  341. </rect>
  342. </property>
  343. <property name="text">
  344. <string>加载本地图像</string>
  345. </property>
  346. </widget>
  347. <widget class="QRadioButton" name="radioButton">
  348. <property name="geometry">
  349. <rect>
  350. <x>50</x>
  351. <y>40</y>
  352. <width>89</width>
  353. <height>16</height>
  354. </rect>
  355. </property>
  356. <property name="text">
  357. <string>RadioButton</string>
  358. </property>
  359. </widget>
  360. <widget class="QRadioButton" name="radioButton_2">
  361. <property name="geometry">
  362. <rect>
  363. <x>50</x>
  364. <y>70</y>
  365. <width>89</width>
  366. <height>16</height>
  367. </rect>
  368. </property>
  369. <property name="text">
  370. <string>RadioButton</string>
  371. </property>
  372. </widget>
  373. </widget>
  374. <widget class="QStackedWidget" name="stackedWidget">
  375. <property name="geometry">
  376. <rect>
  377. <x>0</x>
  378. <y>190</y>
  379. <width>251</width>
  380. <height>251</height>
  381. </rect>
  382. </property>
  383. <property name="currentIndex">
  384. <number>1</number>
  385. </property>
  386. <widget class="QWidget" name="page">
  387. <widget class="QLabel" name="label_8">
  388. <property name="geometry">
  389. <rect>
  390. <x>0</x>
  391. <y>0</y>
  392. <width>251</width>
  393. <height>21</height>
  394. </rect>
  395. </property>
  396. <property name="text">
  397. <string>本地图像</string>
  398. </property>
  399. </widget>
  400. </widget>
  401. <widget class="QWidget" name="page_2">
  402. <widget class="QLabel" name="label_9">
  403. <property name="geometry">
  404. <rect>
  405. <x>0</x>
  406. <y>0</y>
  407. <width>261</width>
  408. <height>21</height>
  409. </rect>
  410. </property>
  411. <property name="text">
  412. <string>本地路径</string>
  413. </property>
  414. </widget>
  415. <widget class="QPushButton" name="pushButton">
  416. <property name="geometry">
  417. <rect>
  418. <x>20</x>
  419. <y>90</y>
  420. <width>201</width>
  421. <height>31</height>
  422. </rect>
  423. </property>
  424. <property name="text">
  425. <string>加载图像</string>
  426. </property>
  427. </widget>
  428. </widget>
  429. </widget>
  430. </widget>
  431. </widget>
  432. </item>
  433. <item row="0" column="1">
  434. <widget class="QWidget" name="Image_widget" native="true"/>
  435. </item>
  436. <item row="1" column="0" colspan="2">
  437. <widget class="QWidget" name="Tool_widget" native="true">
  438. <property name="minimumSize">
  439. <size>
  440. <width>0</width>
  441. <height>42</height>
  442. </size>
  443. </property>
  444. <property name="maximumSize">
  445. <size>
  446. <width>16777215</width>
  447. <height>42</height>
  448. </size>
  449. </property>
  450. <property name="styleSheet">
  451. <string notr="true"/>
  452. </property>
  453. <layout class="QGridLayout" name="gridLayout">
  454. <property name="leftMargin">
  455. <number>6</number>
  456. </property>
  457. <property name="topMargin">
  458. <number>6</number>
  459. </property>
  460. <property name="rightMargin">
  461. <number>6</number>
  462. </property>
  463. <property name="bottomMargin">
  464. <number>6</number>
  465. </property>
  466. <property name="horizontalSpacing">
  467. <number>20</number>
  468. </property>
  469. <item row="0" column="3" rowspan="2">
  470. <widget class="QPushButton" name="btnOK">
  471. <property name="minimumSize">
  472. <size>
  473. <width>80</width>
  474. <height>30</height>
  475. </size>
  476. </property>
  477. <property name="styleSheet">
  478. <string notr="true"/>
  479. </property>
  480. <property name="text">
  481. <string>确定</string>
  482. </property>
  483. </widget>
  484. </item>
  485. <item row="0" column="2" rowspan="2">
  486. <widget class="QPushButton" name="btnExecute">
  487. <property name="minimumSize">
  488. <size>
  489. <width>80</width>
  490. <height>30</height>
  491. </size>
  492. </property>
  493. <property name="styleSheet">
  494. <string notr="true"/>
  495. </property>
  496. <property name="text">
  497. <string>执行</string>
  498. </property>
  499. </widget>
  500. </item>
  501. <item row="0" column="4" rowspan="2">
  502. <widget class="QPushButton" name="btnCancel">
  503. <property name="minimumSize">
  504. <size>
  505. <width>80</width>
  506. <height>30</height>
  507. </size>
  508. </property>
  509. <property name="styleSheet">
  510. <string notr="true"/>
  511. </property>
  512. <property name="text">
  513. <string>取消</string>
  514. </property>
  515. </widget>
  516. </item>
  517. <item row="0" column="1" rowspan="2">
  518. <spacer name="horizontalSpacer">
  519. <property name="orientation">
  520. <enum>Qt::Horizontal</enum>
  521. </property>
  522. <property name="sizeHint" stdset="0">
  523. <size>
  524. <width>553</width>
  525. <height>20</height>
  526. </size>
  527. </property>
  528. </spacer>
  529. </item>
  530. <item row="1" column="0">
  531. <widget class="QLabel" name="label_time">
  532. <property name="enabled">
  533. <bool>true</bool>
  534. </property>
  535. <property name="minimumSize">
  536. <size>
  537. <width>200</width>
  538. <height>0</height>
  539. </size>
  540. </property>
  541. <property name="styleSheet">
  542. <string notr="true"/>
  543. </property>
  544. <property name="text">
  545. <string>耗时: 0ms</string>
  546. </property>
  547. </widget>
  548. </item>
  549. <item row="0" column="0">
  550. <widget class="QLabel" name="label_state">
  551. <property name="enabled">
  552. <bool>true</bool>
  553. </property>
  554. <property name="minimumSize">
  555. <size>
  556. <width>0</width>
  557. <height>0</height>
  558. </size>
  559. </property>
  560. <property name="styleSheet">
  561. <string notr="true"/>
  562. </property>
  563. <property name="text">
  564. <string>状态: OK</string>
  565. </property>
  566. </widget>
  567. </item>
  568. </layout>
  569. </widget>
  570. </item>
  571. </layout>
  572. </widget>
  573. <layoutdefault spacing="6" margin="11"/>
  574. <resources/>
  575. <connections/>
  576. </ui>