CToolDialog.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  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="1">
  22. <widget class="QWidget" name="Image_widget" native="true"/>
  23. </item>
  24. <item row="0" column="0">
  25. <widget class="QTabWidget" name="tabWidget">
  26. <property name="minimumSize">
  27. <size>
  28. <width>300</width>
  29. <height>0</height>
  30. </size>
  31. </property>
  32. <property name="maximumSize">
  33. <size>
  34. <width>300</width>
  35. <height>16777215</height>
  36. </size>
  37. </property>
  38. <property name="currentIndex">
  39. <number>0</number>
  40. </property>
  41. <widget class="QWidget" name="tab">
  42. <attribute name="title">
  43. <string>基本参数</string>
  44. </attribute>
  45. <widget class="QGroupBox" name="groupBox_2">
  46. <property name="geometry">
  47. <rect>
  48. <x>2</x>
  49. <y>20</y>
  50. <width>281</width>
  51. <height>411</height>
  52. </rect>
  53. </property>
  54. <property name="title">
  55. <string/>
  56. </property>
  57. <widget class="QLabel" name="label_5">
  58. <property name="geometry">
  59. <rect>
  60. <x>0</x>
  61. <y>0</y>
  62. <width>261</width>
  63. <height>21</height>
  64. </rect>
  65. </property>
  66. <property name="text">
  67. <string>输入的变量</string>
  68. </property>
  69. </widget>
  70. <widget class="QWidget" name="widget_2" native="true">
  71. <property name="geometry">
  72. <rect>
  73. <x>10</x>
  74. <y>40</y>
  75. <width>261</width>
  76. <height>61</height>
  77. </rect>
  78. </property>
  79. <layout class="QGridLayout" name="gridLayout_4">
  80. <item row="0" column="0">
  81. <widget class="QPushButton" name="btnCreateMoel">
  82. <property name="text">
  83. <string>学习</string>
  84. </property>
  85. </widget>
  86. </item>
  87. </layout>
  88. </widget>
  89. <widget class="QGroupBox" name="groupBox_3">
  90. <property name="geometry">
  91. <rect>
  92. <x>10</x>
  93. <y>100</y>
  94. <width>261</width>
  95. <height>291</height>
  96. </rect>
  97. </property>
  98. <property name="title">
  99. <string>GroupBox</string>
  100. </property>
  101. <layout class="QGridLayout" name="gridLayout_3">
  102. <item row="4" column="0">
  103. <widget class="QLabel" name="label_7">
  104. <property name="text">
  105. <string>最大重叠:</string>
  106. </property>
  107. </widget>
  108. </item>
  109. <item row="1" column="1">
  110. <widget class="QSpinBox" name="spinBox_2">
  111. <property name="minimum">
  112. <number>1</number>
  113. </property>
  114. <property name="maximum">
  115. <number>360</number>
  116. </property>
  117. </widget>
  118. </item>
  119. <item row="1" column="0">
  120. <widget class="QLabel" name="label_2">
  121. <property name="text">
  122. <string>角度范围:</string>
  123. </property>
  124. </widget>
  125. </item>
  126. <item row="2" column="1">
  127. <widget class="QSpinBox" name="spinBox_NumMatches">
  128. <property name="maximum">
  129. <number>999</number>
  130. </property>
  131. </widget>
  132. </item>
  133. <item row="0" column="1">
  134. <widget class="QSpinBox" name="spinBox">
  135. <property name="minimum">
  136. <number>-180</number>
  137. </property>
  138. <property name="maximum">
  139. <number>180</number>
  140. </property>
  141. </widget>
  142. </item>
  143. <item row="3" column="1">
  144. <widget class="QSpinBox" name="spinBox_MinScore">
  145. <property name="minimum">
  146. <number>20</number>
  147. </property>
  148. <property name="maximum">
  149. <number>100</number>
  150. </property>
  151. </widget>
  152. </item>
  153. <item row="5" column="0">
  154. <widget class="QLabel" name="label_6">
  155. <property name="text">
  156. <string>贪婪度:</string>
  157. </property>
  158. </widget>
  159. </item>
  160. <item row="5" column="1">
  161. <widget class="QSpinBox" name="spinBox_Greediness"/>
  162. </item>
  163. <item row="0" column="0">
  164. <widget class="QLabel" name="label">
  165. <property name="text">
  166. <string>起始角度:</string>
  167. </property>
  168. </widget>
  169. </item>
  170. <item row="2" column="0">
  171. <widget class="QLabel" name="label_3">
  172. <property name="text">
  173. <string>查找数量:</string>
  174. </property>
  175. </widget>
  176. </item>
  177. <item row="4" column="1">
  178. <widget class="QSpinBox" name="spinBox_MaxOverlap"/>
  179. </item>
  180. <item row="3" column="0">
  181. <widget class="QLabel" name="label_4">
  182. <property name="text">
  183. <string>最小得分:</string>
  184. </property>
  185. </widget>
  186. </item>
  187. <item row="6" column="1">
  188. <widget class="QSpinBox" name="spinBox_TimeOut">
  189. <property name="minimum">
  190. <number>100</number>
  191. </property>
  192. <property name="maximum">
  193. <number>1000</number>
  194. </property>
  195. </widget>
  196. </item>
  197. <item row="6" column="0">
  198. <widget class="QLabel" name="label_8">
  199. <property name="text">
  200. <string>定位超时:</string>
  201. </property>
  202. </widget>
  203. </item>
  204. </layout>
  205. </widget>
  206. </widget>
  207. </widget>
  208. <widget class="QWidget" name="widget">
  209. <attribute name="title">
  210. <string>参数设置</string>
  211. </attribute>
  212. <widget class="QGroupBox" name="groupBox">
  213. <property name="geometry">
  214. <rect>
  215. <x>20</x>
  216. <y>110</y>
  217. <width>241</width>
  218. <height>241</height>
  219. </rect>
  220. </property>
  221. <property name="title">
  222. <string/>
  223. </property>
  224. <widget class="QPushButton" name="btnObjColor">
  225. <property name="geometry">
  226. <rect>
  227. <x>60</x>
  228. <y>70</y>
  229. <width>75</width>
  230. <height>23</height>
  231. </rect>
  232. </property>
  233. <property name="text">
  234. <string>ObjColor</string>
  235. </property>
  236. </widget>
  237. </widget>
  238. </widget>
  239. <widget class="QWidget" name="tab_2">
  240. <attribute name="title">
  241. <string>数据结果</string>
  242. </attribute>
  243. </widget>
  244. </widget>
  245. </item>
  246. <item row="1" column="0" colspan="2">
  247. <widget class="QWidget" name="Tool_widget" native="true">
  248. <property name="minimumSize">
  249. <size>
  250. <width>0</width>
  251. <height>42</height>
  252. </size>
  253. </property>
  254. <property name="maximumSize">
  255. <size>
  256. <width>16777215</width>
  257. <height>72</height>
  258. </size>
  259. </property>
  260. <property name="styleSheet">
  261. <string notr="true"/>
  262. </property>
  263. <layout class="QGridLayout" name="gridLayout">
  264. <property name="leftMargin">
  265. <number>6</number>
  266. </property>
  267. <property name="topMargin">
  268. <number>6</number>
  269. </property>
  270. <property name="rightMargin">
  271. <number>6</number>
  272. </property>
  273. <property name="bottomMargin">
  274. <number>6</number>
  275. </property>
  276. <property name="horizontalSpacing">
  277. <number>20</number>
  278. </property>
  279. <item row="0" column="3" rowspan="2">
  280. <widget class="QPushButton" name="btnOK">
  281. <property name="minimumSize">
  282. <size>
  283. <width>80</width>
  284. <height>30</height>
  285. </size>
  286. </property>
  287. <property name="styleSheet">
  288. <string notr="true"/>
  289. </property>
  290. <property name="text">
  291. <string>确定</string>
  292. </property>
  293. </widget>
  294. </item>
  295. <item row="0" column="2" rowspan="2">
  296. <widget class="QPushButton" name="btnExecute">
  297. <property name="minimumSize">
  298. <size>
  299. <width>80</width>
  300. <height>30</height>
  301. </size>
  302. </property>
  303. <property name="styleSheet">
  304. <string notr="true"/>
  305. </property>
  306. <property name="text">
  307. <string>执行</string>
  308. </property>
  309. </widget>
  310. </item>
  311. <item row="0" column="4" rowspan="2">
  312. <widget class="QPushButton" name="btnCancel">
  313. <property name="minimumSize">
  314. <size>
  315. <width>80</width>
  316. <height>30</height>
  317. </size>
  318. </property>
  319. <property name="styleSheet">
  320. <string notr="true"/>
  321. </property>
  322. <property name="text">
  323. <string>取消</string>
  324. </property>
  325. </widget>
  326. </item>
  327. <item row="0" column="1" rowspan="2">
  328. <spacer name="horizontalSpacer">
  329. <property name="orientation">
  330. <enum>Qt::Horizontal</enum>
  331. </property>
  332. <property name="sizeHint" stdset="0">
  333. <size>
  334. <width>553</width>
  335. <height>20</height>
  336. </size>
  337. </property>
  338. </spacer>
  339. </item>
  340. <item row="1" column="0">
  341. <widget class="QLabel" name="label_time">
  342. <property name="enabled">
  343. <bool>true</bool>
  344. </property>
  345. <property name="minimumSize">
  346. <size>
  347. <width>200</width>
  348. <height>0</height>
  349. </size>
  350. </property>
  351. <property name="styleSheet">
  352. <string notr="true"/>
  353. </property>
  354. <property name="text">
  355. <string>耗时: 0ms</string>
  356. </property>
  357. </widget>
  358. </item>
  359. <item row="0" column="0">
  360. <widget class="QLabel" name="label_state">
  361. <property name="enabled">
  362. <bool>true</bool>
  363. </property>
  364. <property name="minimumSize">
  365. <size>
  366. <width>0</width>
  367. <height>0</height>
  368. </size>
  369. </property>
  370. <property name="styleSheet">
  371. <string notr="true"/>
  372. </property>
  373. <property name="text">
  374. <string>状态: OK</string>
  375. </property>
  376. </widget>
  377. </item>
  378. </layout>
  379. </widget>
  380. </item>
  381. </layout>
  382. </widget>
  383. <layoutdefault spacing="6" margin="11"/>
  384. <resources/>
  385. <connections/>
  386. </ui>