win2 - 副本.ui 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>mainWindow</class>
  4. <widget class="QMainWindow" name="mainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>1319</width>
  10. <height>762</height>
  11. </rect>
  12. </property>
  13. <property name="mouseTracking">
  14. <bool>true</bool>
  15. </property>
  16. <property name="windowTitle">
  17. <string>工业CT缺陷图像识别软件</string>
  18. </property>
  19. <property name="windowIcon">
  20. <iconset>
  21. <normaloff>:/img/icon/图片1.png</normaloff>:/img/icon/图片1.png</iconset>
  22. </property>
  23. <property name="styleSheet">
  24. <string notr="true">#mainWindow{border:none;}</string>
  25. </property>
  26. <widget class="QWidget" name="centralwidget">
  27. <layout class="QVBoxLayout" name="verticalLayout_2">
  28. <property name="spacing">
  29. <number>0</number>
  30. </property>
  31. <property name="leftMargin">
  32. <number>0</number>
  33. </property>
  34. <property name="topMargin">
  35. <number>0</number>
  36. </property>
  37. <property name="rightMargin">
  38. <number>0</number>
  39. </property>
  40. <property name="bottomMargin">
  41. <number>0</number>
  42. </property>
  43. <item>
  44. <widget class="QGroupBox" name="groupBox_18">
  45. <property name="styleSheet">
  46. <string notr="true">#groupBox_18{border-image: url(:/img/icon/background.jpg);
  47. border: 0px solid #42adff;
  48. border-radius:5px;}</string>
  49. </property>
  50. <property name="title">
  51. <string/>
  52. </property>
  53. <layout class="QVBoxLayout" name="verticalLayout_6">
  54. <property name="spacing">
  55. <number>0</number>
  56. </property>
  57. <property name="leftMargin">
  58. <number>0</number>
  59. </property>
  60. <property name="topMargin">
  61. <number>0</number>
  62. </property>
  63. <property name="rightMargin">
  64. <number>0</number>
  65. </property>
  66. <property name="bottomMargin">
  67. <number>0</number>
  68. </property>
  69. <item>
  70. <widget class="QGroupBox" name="groupBox">
  71. <property name="minimumSize">
  72. <size>
  73. <width>0</width>
  74. <height>45</height>
  75. </size>
  76. </property>
  77. <property name="maximumSize">
  78. <size>
  79. <width>16777215</width>
  80. <height>45</height>
  81. </size>
  82. </property>
  83. <property name="styleSheet">
  84. <string notr="true">#groupBox{
  85. background-color: rgba(75, 75, 75, 200);
  86. border: 0px solid #42adff;
  87. border-left: 0px solid rgba(29, 83, 185, 255);
  88. border-right: 0px solid rgba(29, 83, 185, 255);
  89. border-bottom: 1px solid rgba(200, 200, 200,100);
  90. ;
  91. border-radius:0px;}</string>
  92. </property>
  93. <property name="title">
  94. <string/>
  95. </property>
  96. <layout class="QHBoxLayout" name="horizontalLayout">
  97. <property name="spacing">
  98. <number>0</number>
  99. </property>
  100. <property name="topMargin">
  101. <number>0</number>
  102. </property>
  103. <property name="bottomMargin">
  104. <number>0</number>
  105. </property>
  106. <item>
  107. <widget class="QLabel" name="label_4">
  108. <property name="styleSheet">
  109. <string notr="true">QLabel
  110. {
  111. font-size: 24px;
  112. font-family: &quot;Microsoft YaHei&quot;;
  113. font-weight: bold;
  114. border-radius:9px;
  115. background:rgba(66, 195, 255, 0);
  116. color: rgb(218, 218, 218);
  117. }
  118. </string>
  119. </property>
  120. <property name="text">
  121. <string>工业CT缺陷图像识别软件</string>
  122. </property>
  123. </widget>
  124. </item>
  125. <item>
  126. <spacer name="horizontalSpacer">
  127. <property name="orientation">
  128. <enum>Qt::Horizontal</enum>
  129. </property>
  130. <property name="sizeHint" stdset="0">
  131. <size>
  132. <width>40</width>
  133. <height>20</height>
  134. </size>
  135. </property>
  136. </spacer>
  137. </item>
  138. <item>
  139. <layout class="QHBoxLayout" name="horizontalLayout_5">
  140. <property name="spacing">
  141. <number>0</number>
  142. </property>
  143. <item>
  144. <widget class="QPushButton" name="minButton">
  145. <property name="minimumSize">
  146. <size>
  147. <width>50</width>
  148. <height>28</height>
  149. </size>
  150. </property>
  151. <property name="maximumSize">
  152. <size>
  153. <width>50</width>
  154. <height>28</height>
  155. </size>
  156. </property>
  157. <property name="styleSheet">
  158. <string notr="true">QPushButton {
  159. border-style: solid;
  160. border-width: 0px;
  161. border-radius: 0px;
  162. background-color: rgba(223, 223, 223, 0);}
  163. QPushButton::focus{outline: none;}
  164. QPushButton::hover {
  165. border-style: solid;
  166. border-width: 0px;
  167. border-radius: 0px;
  168. background-color: rgba(223, 223, 223, 150);}</string>
  169. </property>
  170. <property name="text">
  171. <string/>
  172. </property>
  173. <property name="icon">
  174. <iconset>
  175. <normaloff>:/img/icon/最小化.png</normaloff>:/img/icon/最小化.png</iconset>
  176. </property>
  177. </widget>
  178. </item>
  179. <item>
  180. <widget class="QPushButton" name="maxButton">
  181. <property name="minimumSize">
  182. <size>
  183. <width>50</width>
  184. <height>28</height>
  185. </size>
  186. </property>
  187. <property name="maximumSize">
  188. <size>
  189. <width>50</width>
  190. <height>28</height>
  191. </size>
  192. </property>
  193. <property name="styleSheet">
  194. <string notr="true">QPushButton {
  195. border-style: solid;
  196. border-width: 0px;
  197. border-radius: 0px;
  198. background-color: rgba(223, 223, 223, 0);}
  199. QPushButton::focus{outline: none;}
  200. QPushButton::hover {
  201. border-style: solid;
  202. border-width: 0px;
  203. border-radius: 0px;
  204. background-color: rgba(223, 223, 223, 150);}</string>
  205. </property>
  206. <property name="text">
  207. <string/>
  208. </property>
  209. <property name="icon">
  210. <iconset>
  211. <normaloff>:/img/icon/正方形.png</normaloff>
  212. <activeon>:/img/icon/还原.png</activeon>
  213. <selectedon>:/img/icon/还原.png</selectedon>:/img/icon/正方形.png</iconset>
  214. </property>
  215. <property name="checkable">
  216. <bool>true</bool>
  217. </property>
  218. </widget>
  219. </item>
  220. <item>
  221. <widget class="QPushButton" name="closeButton">
  222. <property name="minimumSize">
  223. <size>
  224. <width>50</width>
  225. <height>28</height>
  226. </size>
  227. </property>
  228. <property name="maximumSize">
  229. <size>
  230. <width>50</width>
  231. <height>28</height>
  232. </size>
  233. </property>
  234. <property name="styleSheet">
  235. <string notr="true">QPushButton {
  236. border-style: solid;
  237. border-width: 0px;
  238. border-radius: 0px;
  239. background-color: rgba(223, 223, 223, 0);}
  240. QPushButton::focus{outline: none;}
  241. QPushButton::hover {
  242. border-style: solid;
  243. border-width: 0px;
  244. border-radius: 0px;
  245. background-color: rgba(223, 223, 223, 150);}</string>
  246. </property>
  247. <property name="text">
  248. <string/>
  249. </property>
  250. <property name="icon">
  251. <iconset>
  252. <normaloff>:/img/icon/关闭.png</normaloff>:/img/icon/关闭.png</iconset>
  253. </property>
  254. </widget>
  255. </item>
  256. </layout>
  257. </item>
  258. </layout>
  259. </widget>
  260. </item>
  261. <item>
  262. <layout class="QHBoxLayout" name="horizontalLayout_7">
  263. <property name="spacing">
  264. <number>0</number>
  265. </property>
  266. <item>
  267. <widget class="QGroupBox" name="groupBox_8">
  268. <property name="minimumSize">
  269. <size>
  270. <width>320</width>
  271. <height>0</height>
  272. </size>
  273. </property>
  274. <property name="maximumSize">
  275. <size>
  276. <width>320</width>
  277. <height>16777215</height>
  278. </size>
  279. </property>
  280. <property name="baseSize">
  281. <size>
  282. <width>3</width>
  283. <height>0</height>
  284. </size>
  285. </property>
  286. <property name="styleSheet">
  287. <string notr="true">#groupBox_8{
  288. background-color: rgba(75, 75, 75, 200);
  289. border: 0px solid #42adff;
  290. border-radius:0px;}
  291. </string>
  292. </property>
  293. <property name="title">
  294. <string/>
  295. </property>
  296. <widget class="QWidget" name="layoutWidget">
  297. <property name="geometry">
  298. <rect>
  299. <x>10</x>
  300. <y>500</y>
  301. <width>211</width>
  302. <height>37</height>
  303. </rect>
  304. </property>
  305. <layout class="QHBoxLayout" name="horizontalLayout_13">
  306. <item>
  307. <widget class="QLabel" name="label_8">
  308. <property name="minimumSize">
  309. <size>
  310. <width>0</width>
  311. <height>35</height>
  312. </size>
  313. </property>
  314. <property name="maximumSize">
  315. <size>
  316. <width>80</width>
  317. <height>16777215</height>
  318. </size>
  319. </property>
  320. <property name="styleSheet">
  321. <string notr="true">QLabel
  322. {
  323. font-size: 18px;
  324. font-family: &quot;Microsoft YaHei&quot;;
  325. font-weight: bold;
  326. border-radius:9px;
  327. background:rgba(66, 195, 255, 0);
  328. color: rgb(218, 218, 218);
  329. }
  330. </string>
  331. </property>
  332. <property name="text">
  333. <string>数据集:</string>
  334. </property>
  335. </widget>
  336. </item>
  337. <item>
  338. <widget class="QLineEdit" name="beicepin">
  339. <property name="text">
  340. <string/>
  341. </property>
  342. </widget>
  343. </item>
  344. </layout>
  345. </widget>
  346. <widget class="QWidget" name="layoutWidget_2">
  347. <property name="geometry">
  348. <rect>
  349. <x>10</x>
  350. <y>540</y>
  351. <width>211</width>
  352. <height>37</height>
  353. </rect>
  354. </property>
  355. <layout class="QHBoxLayout" name="horizontalLayout_14">
  356. <item>
  357. <widget class="QLabel" name="label_12">
  358. <property name="minimumSize">
  359. <size>
  360. <width>0</width>
  361. <height>35</height>
  362. </size>
  363. </property>
  364. <property name="maximumSize">
  365. <size>
  366. <width>80</width>
  367. <height>16777215</height>
  368. </size>
  369. </property>
  370. <property name="styleSheet">
  371. <string notr="true">QLabel
  372. {
  373. font-size: 18px;
  374. font-family: &quot;Microsoft YaHei&quot;;
  375. font-weight: bold;
  376. border-radius:9px;
  377. background:rgba(66, 195, 255, 0);
  378. color: rgb(218, 218, 218);
  379. }
  380. </string>
  381. </property>
  382. <property name="text">
  383. <string>目标种类:</string>
  384. </property>
  385. </widget>
  386. </item>
  387. <item>
  388. <widget class="QLineEdit" name="pici"/>
  389. </item>
  390. </layout>
  391. </widget>
  392. <widget class="QWidget" name="layoutWidget">
  393. <property name="geometry">
  394. <rect>
  395. <x>90</x>
  396. <y>20</y>
  397. <width>319</width>
  398. <height>37</height>
  399. </rect>
  400. </property>
  401. <layout class="QHBoxLayout" name="horizontalLayout_2">
  402. <item>
  403. <widget class="QPushButton" name="detectbutton">
  404. <property name="minimumSize">
  405. <size>
  406. <width>55</width>
  407. <height>28</height>
  408. </size>
  409. </property>
  410. <property name="maximumSize">
  411. <size>
  412. <width>16777215</width>
  413. <height>28</height>
  414. </size>
  415. </property>
  416. <property name="toolTip">
  417. <string>相机</string>
  418. </property>
  419. <property name="styleSheet">
  420. <string notr="true">QPushButton{font-family: &quot;Microsoft YaHei&quot;;
  421. font-size: 14px;
  422. font-weight: bold;
  423. color:white;
  424. text-align: center center;
  425. padding-left: 5px;
  426. padding-right: 5px;
  427. padding-top: 4px;
  428. padding-bottom: 4px;
  429. border-style: solid;
  430. border-width: 0px;
  431. border-color: rgba(255, 255, 255, 255);
  432. border-radius: 3px;
  433. background-color: rgba(48,148,243,0);}
  434. QPushButton:focus{outline: none;}
  435. QPushButton::pressed{font-family: &quot;Microsoft YaHei&quot;;
  436. font-size: 14px;
  437. font-weight: bold;
  438. color:rgb(200,200,200);
  439. text-align: center center;
  440. padding-left: 5px;
  441. padding-right: 5px;
  442. padding-top: 4px;
  443. padding-bottom: 4px;
  444. border-style: solid;
  445. border-width: 0px;
  446. border-color: rgba(255, 255, 255, 255);
  447. border-radius: 3px;
  448. background-color: #bf513b;}
  449. QPushButton::disabled{font-family: &quot;Microsoft YaHei&quot;;
  450. font-size: 14px;
  451. font-weight: bold;
  452. color:rgb(200,200,200);
  453. text-align: center center;
  454. padding-left: 5px;
  455. padding-right: 5px;
  456. padding-top: 4px;
  457. padding-bottom: 4px;
  458. border-style: solid;
  459. border-width: 0px;
  460. border-color: rgba(255, 255, 255, 255);
  461. border-radius: 3px;
  462. background-color: #bf513b;}
  463. QPushButton::hover {
  464. border-style: solid;
  465. border-width: 0px;
  466. border-radius: 0px;
  467. background-color: rgba(48,148,243,80);}</string>
  468. </property>
  469. <property name="text">
  470. <string>识别</string>
  471. </property>
  472. </widget>
  473. </item>
  474. <item>
  475. <widget class="QPushButton" name="trainbutton">
  476. <property name="minimumSize">
  477. <size>
  478. <width>55</width>
  479. <height>28</height>
  480. </size>
  481. </property>
  482. <property name="maximumSize">
  483. <size>
  484. <width>16777215</width>
  485. <height>28</height>
  486. </size>
  487. </property>
  488. <property name="toolTip">
  489. <string>文件</string>
  490. </property>
  491. <property name="styleSheet">
  492. <string notr="true">QPushButton{font-family: &quot;Microsoft YaHei&quot;;
  493. font-size: 14px;
  494. font-weight: bold;
  495. color:white;
  496. text-align: center center;
  497. padding-left: 5px;
  498. padding-right: 5px;
  499. padding-top: 4px;
  500. padding-bottom: 4px;
  501. border-style: solid;
  502. border-width: 0px;
  503. border-color: rgba(255, 255, 255, 255);
  504. border-radius: 3px;
  505. background-color: rgba(200, 200, 200,0);}
  506. QPushButton:focus{outline: none;}
  507. QPushButton::pressed{font-family: &quot;Microsoft YaHei&quot;;
  508. font-size: 14px;
  509. font-weight: bold;
  510. color:rgb(200,200,200);
  511. text-align: center center;
  512. padding-left: 5px;
  513. padding-right: 5px;
  514. padding-top: 4px;
  515. padding-bottom: 4px;
  516. border-style: solid;
  517. border-width: 0px;
  518. border-color: rgba(255, 255, 255, 255);
  519. border-radius: 3px;
  520. background-color: #bf513b;}
  521. QPushButton::disabled{font-family: &quot;Microsoft YaHei&quot;;
  522. font-size: 14px;
  523. font-weight: bold;
  524. color:rgb(200,200,200);
  525. text-align: center center;
  526. padding-left: 5px;
  527. padding-right: 5px;
  528. padding-top: 4px;
  529. padding-bottom: 4px;
  530. border-style: solid;
  531. border-width: 0px;
  532. border-color: rgba(255, 255, 255, 255);
  533. border-radius: 3px;
  534. background-color: #bf513b;}
  535. QPushButton::hover {
  536. border-style: solid;
  537. border-width: 0px;
  538. border-radius: 0px;
  539. background-color: rgba(48,148,243,80);}</string>
  540. </property>
  541. <property name="text">
  542. <string>训练</string>
  543. </property>
  544. </widget>
  545. </item>
  546. <item>
  547. <widget class="QPushButton" name="pushButton">
  548. <property name="text">
  549. <string>特征提取</string>
  550. </property>
  551. </widget>
  552. </item>
  553. <item>
  554. <widget class="QPushButton" name="pushButton_2">
  555. <property name="text">
  556. <string>PushButton</string>
  557. </property>
  558. </widget>
  559. </item>
  560. </layout>
  561. </widget>
  562. <widget class="QLabel" name="label_11">
  563. <property name="geometry">
  564. <rect>
  565. <x>10</x>
  566. <y>140</y>
  567. <width>72</width>
  568. <height>25</height>
  569. </rect>
  570. </property>
  571. <property name="styleSheet">
  572. <string notr="true">QLabel
  573. {
  574. font-size: 18px;
  575. font-family: &quot;Microsoft YaHei&quot;;
  576. font-weight: bold;
  577. border-radius:9px;
  578. background:rgba(66, 195, 255, 0);
  579. color: rgb(218, 218, 218);
  580. }
  581. </string>
  582. </property>
  583. <property name="text">
  584. <string>图片列表</string>
  585. </property>
  586. </widget>
  587. <widget class="QListWidget" name="resultWidget">
  588. <property name="geometry">
  589. <rect>
  590. <x>10</x>
  591. <y>180</y>
  592. <width>301</width>
  593. <height>270</height>
  594. </rect>
  595. </property>
  596. <property name="sizePolicy">
  597. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  598. <horstretch>0</horstretch>
  599. <verstretch>0</verstretch>
  600. </sizepolicy>
  601. </property>
  602. <property name="minimumSize">
  603. <size>
  604. <width>0</width>
  605. <height>270</height>
  606. </size>
  607. </property>
  608. <property name="maximumSize">
  609. <size>
  610. <width>16777215</width>
  611. <height>270</height>
  612. </size>
  613. </property>
  614. <property name="styleSheet">
  615. <string notr="true">QListWidget{
  616. background-color: rgba(255, 255, 255, 255);
  617. border: 1px solid rgba(200, 200, 200,100);
  618. border-bottom: 0px solid rgba(200, 200, 200,100);
  619. border-radius:0px;
  620. font-family: &quot;Microsoft YaHei&quot;;
  621. font-size: 12px;
  622. color: rgb(0, 0, 0);
  623. }
  624. </string>
  625. </property>
  626. </widget>
  627. <widget class="QPushButton" name="choose_file">
  628. <property name="geometry">
  629. <rect>
  630. <x>90</x>
  631. <y>105</y>
  632. <width>76</width>
  633. <height>24</height>
  634. </rect>
  635. </property>
  636. <property name="text">
  637. <string>选择图像</string>
  638. </property>
  639. </widget>
  640. <widget class="QPushButton" name="choose_folder">
  641. <property name="geometry">
  642. <rect>
  643. <x>180</x>
  644. <y>105</y>
  645. <width>101</width>
  646. <height>24</height>
  647. </rect>
  648. </property>
  649. <property name="text">
  650. <string>选择图像文件夹</string>
  651. </property>
  652. </widget>
  653. <widget class="QLabel" name="label_3">
  654. <property name="geometry">
  655. <rect>
  656. <x>10</x>
  657. <y>60</y>
  658. <width>72</width>
  659. <height>35</height>
  660. </rect>
  661. </property>
  662. <property name="minimumSize">
  663. <size>
  664. <width>0</width>
  665. <height>35</height>
  666. </size>
  667. </property>
  668. <property name="maximumSize">
  669. <size>
  670. <width>80</width>
  671. <height>16777215</height>
  672. </size>
  673. </property>
  674. <property name="styleSheet">
  675. <string notr="true">QLabel
  676. {
  677. font-size: 18px;
  678. font-family: &quot;Microsoft YaHei&quot;;
  679. font-weight: bold;
  680. border-radius:9px;
  681. background:rgba(66, 195, 255, 0);
  682. color: rgb(218, 218, 218);
  683. }
  684. </string>
  685. </property>
  686. <property name="text">
  687. <string>模型选择</string>
  688. </property>
  689. </widget>
  690. <widget class="QComboBox" name="comboBox">
  691. <property name="geometry">
  692. <rect>
  693. <x>90</x>
  694. <y>57</y>
  695. <width>194</width>
  696. <height>35</height>
  697. </rect>
  698. </property>
  699. <property name="minimumSize">
  700. <size>
  701. <width>0</width>
  702. <height>35</height>
  703. </size>
  704. </property>
  705. <property name="styleSheet">
  706. <string notr="true">QComboBox QAbstractItemView {
  707. font-family: &quot;Microsoft YaHei&quot;;
  708. font-size: 16px;
  709. background:rgba(200, 200, 200,150);
  710. selection-background-color: rgba(200, 200, 200,50);
  711. color: rgb(218, 218, 218);
  712. outline:none;
  713. border:none;}
  714. QComboBox{
  715. font-family: &quot;Microsoft YaHei&quot;;
  716. font-size: 16px;
  717. color: rgb(218, 218, 218);
  718. border-width:0px;
  719. border-color:white;
  720. border-style:solid;
  721. background-color: rgba(200, 200, 200,0);}
  722. QComboBox::drop-down {
  723. margin-top:8;
  724. height:20;
  725. background:rgba(255,255,255,0);
  726. border-image: url(:/img/icon/下拉_白色.png);
  727. }
  728. </string>
  729. </property>
  730. <item>
  731. <property name="text">
  732. <string>yolov5s.pt</string>
  733. </property>
  734. </item>
  735. <item>
  736. <property name="text">
  737. <string>yolov5m.pt</string>
  738. </property>
  739. </item>
  740. <item>
  741. <property name="text">
  742. <string>yolov5l.pt</string>
  743. </property>
  744. </item>
  745. <item>
  746. <property name="text">
  747. <string>yolov5x.pt</string>
  748. </property>
  749. </item>
  750. </widget>
  751. <widget class="QLabel" name="label_5">
  752. <property name="geometry">
  753. <rect>
  754. <x>10</x>
  755. <y>20</y>
  756. <width>72</width>
  757. <height>35</height>
  758. </rect>
  759. </property>
  760. <property name="minimumSize">
  761. <size>
  762. <width>0</width>
  763. <height>35</height>
  764. </size>
  765. </property>
  766. <property name="maximumSize">
  767. <size>
  768. <width>80</width>
  769. <height>16777215</height>
  770. </size>
  771. </property>
  772. <property name="styleSheet">
  773. <string notr="true">QLabel
  774. {
  775. font-size: 18px;
  776. font-family: &quot;Microsoft YaHei&quot;;
  777. font-weight: bold;
  778. border-radius:9px;
  779. background:rgba(66, 195, 255, 0);
  780. color: rgb(218, 218, 218);
  781. }
  782. </string>
  783. </property>
  784. <property name="text">
  785. <string>模式选择</string>
  786. </property>
  787. </widget>
  788. <widget class="QLabel" name="label_10">
  789. <property name="geometry">
  790. <rect>
  791. <x>10</x>
  792. <y>100</y>
  793. <width>72</width>
  794. <height>35</height>
  795. </rect>
  796. </property>
  797. <property name="minimumSize">
  798. <size>
  799. <width>0</width>
  800. <height>35</height>
  801. </size>
  802. </property>
  803. <property name="maximumSize">
  804. <size>
  805. <width>80</width>
  806. <height>16777215</height>
  807. </size>
  808. </property>
  809. <property name="styleSheet">
  810. <string notr="true">QLabel
  811. {
  812. font-size: 18px;
  813. font-family: &quot;Microsoft YaHei&quot;;
  814. font-weight: bold;
  815. border-radius:9px;
  816. background:rgba(66, 195, 255, 0);
  817. color: rgb(218, 218, 218);
  818. }
  819. </string>
  820. </property>
  821. <property name="text">
  822. <string>数据选择</string>
  823. </property>
  824. </widget>
  825. <widget class="QWidget" name="layoutWidget_5">
  826. <property name="geometry">
  827. <rect>
  828. <x>10</x>
  829. <y>460</y>
  830. <width>211</width>
  831. <height>37</height>
  832. </rect>
  833. </property>
  834. <layout class="QHBoxLayout" name="horizontalLayout_17">
  835. <item>
  836. <widget class="QLabel" name="label_17">
  837. <property name="minimumSize">
  838. <size>
  839. <width>0</width>
  840. <height>35</height>
  841. </size>
  842. </property>
  843. <property name="maximumSize">
  844. <size>
  845. <width>80</width>
  846. <height>16777215</height>
  847. </size>
  848. </property>
  849. <property name="styleSheet">
  850. <string notr="true">QLabel
  851. {
  852. font-size: 18px;
  853. font-family: &quot;Microsoft YaHei&quot;;
  854. font-weight: bold;
  855. border-radius:9px;
  856. background:rgba(66, 195, 255, 0);
  857. color: rgb(218, 218, 218);
  858. }
  859. </string>
  860. </property>
  861. <property name="text">
  862. <string>雷达模式:</string>
  863. </property>
  864. </widget>
  865. </item>
  866. <item>
  867. <widget class="QLineEdit" name="shebei_2">
  868. <property name="text">
  869. <string/>
  870. </property>
  871. </widget>
  872. </item>
  873. </layout>
  874. </widget>
  875. </widget>
  876. </item>
  877. <item>
  878. <widget class="QGroupBox" name="groupBox_201">
  879. <property name="styleSheet">
  880. <string notr="true">#groupBox_201{
  881. background-color: rgba(95, 95, 95, 200);
  882. border: 0px solid #42adff;
  883. border-left: 1px solid rgba(200, 200, 200,100);
  884. border-right: 0px solid rgba(29, 83, 185, 255);
  885. border-radius:0px;}</string>
  886. </property>
  887. <property name="title">
  888. <string/>
  889. </property>
  890. <layout class="QVBoxLayout" name="verticalLayout_4" stretch="0,0,0">
  891. <property name="topMargin">
  892. <number>0</number>
  893. </property>
  894. <property name="bottomMargin">
  895. <number>0</number>
  896. </property>
  897. <item>
  898. <widget class="QGroupBox" name="groupBox_3">
  899. <property name="minimumSize">
  900. <size>
  901. <width>0</width>
  902. <height>42</height>
  903. </size>
  904. </property>
  905. <property name="maximumSize">
  906. <size>
  907. <width>16777215</width>
  908. <height>42</height>
  909. </size>
  910. </property>
  911. <property name="font">
  912. <font>
  913. <pointsize>1</pointsize>
  914. <weight>75</weight>
  915. <bold>true</bold>
  916. </font>
  917. </property>
  918. <property name="styleSheet">
  919. <string notr="true">#groupBox_3{
  920. border: 0px solid #42adff;
  921. border-radius:0px;}</string>
  922. </property>
  923. <property name="title">
  924. <string/>
  925. </property>
  926. <layout class="QHBoxLayout" name="horizontalLayout_3">
  927. <item>
  928. <widget class="QLabel" name="label_6">
  929. <property name="font">
  930. <font>
  931. <family>Microsoft YaHei</family>
  932. <pointsize>-1</pointsize>
  933. <weight>75</weight>
  934. <bold>true</bold>
  935. </font>
  936. </property>
  937. <property name="styleSheet">
  938. <string notr="true">QLabel
  939. {
  940. font-size: 20px;
  941. font-family: &quot;Microsoft YaHei&quot;;
  942. font-weight: bold;
  943. border-radius:9px;
  944. background:rgba(66, 195, 255, 0);
  945. color: rgb(218, 218, 218);
  946. }</string>
  947. </property>
  948. <property name="text">
  949. <string>原图像</string>
  950. </property>
  951. <property name="alignment">
  952. <set>Qt::AlignCenter</set>
  953. </property>
  954. </widget>
  955. </item>
  956. <item>
  957. <widget class="QLabel" name="label_9">
  958. <property name="font">
  959. <font>
  960. <family>Microsoft YaHei</family>
  961. <pointsize>-1</pointsize>
  962. <weight>75</weight>
  963. <bold>true</bold>
  964. </font>
  965. </property>
  966. <property name="styleSheet">
  967. <string notr="true">QLabel
  968. {
  969. font-size: 20px;
  970. font-family: &quot;Microsoft YaHei&quot;;
  971. font-weight: bold;
  972. border-radius:9px;
  973. background:rgba(66, 195, 255, 0);
  974. color: rgb(218, 218, 218);
  975. }</string>
  976. </property>
  977. <property name="text">
  978. <string>检测结果</string>
  979. </property>
  980. <property name="alignment">
  981. <set>Qt::AlignCenter</set>
  982. </property>
  983. </widget>
  984. </item>
  985. </layout>
  986. </widget>
  987. </item>
  988. <item>
  989. <widget class="QSplitter" name="splitter">
  990. <property name="enabled">
  991. <bool>true</bool>
  992. </property>
  993. <property name="styleSheet">
  994. <string notr="true">#splitter::handle{background: 1px solid rgba(200, 200, 200,100);}</string>
  995. </property>
  996. <property name="frameShape">
  997. <enum>QFrame::NoFrame</enum>
  998. </property>
  999. <property name="lineWidth">
  1000. <number>10</number>
  1001. </property>
  1002. <property name="orientation">
  1003. <enum>Qt::Horizontal</enum>
  1004. </property>
  1005. <property name="handleWidth">
  1006. <number>1</number>
  1007. </property>
  1008. <widget class="Label_click_Mouse" name="raw_video">
  1009. <property name="enabled">
  1010. <bool>true</bool>
  1011. </property>
  1012. <property name="sizePolicy">
  1013. <sizepolicy hsizetype="Ignored" vsizetype="Ignored">
  1014. <horstretch>0</horstretch>
  1015. <verstretch>0</verstretch>
  1016. </sizepolicy>
  1017. </property>
  1018. <property name="minimumSize">
  1019. <size>
  1020. <width>200</width>
  1021. <height>0</height>
  1022. </size>
  1023. </property>
  1024. <property name="font">
  1025. <font>
  1026. <family>微软雅黑</family>
  1027. <pointsize>36</pointsize>
  1028. </font>
  1029. </property>
  1030. <property name="cursor">
  1031. <cursorShape>ArrowCursor</cursorShape>
  1032. </property>
  1033. <property name="styleSheet">
  1034. <string notr="true">color: rgb(218, 218, 218);
  1035. </string>
  1036. </property>
  1037. <property name="text">
  1038. <string/>
  1039. </property>
  1040. <property name="scaledContents">
  1041. <bool>false</bool>
  1042. </property>
  1043. <property name="alignment">
  1044. <set>Qt::AlignCenter</set>
  1045. </property>
  1046. </widget>
  1047. <widget class="Label_click_Mouse" name="out_video">
  1048. <property name="enabled">
  1049. <bool>true</bool>
  1050. </property>
  1051. <property name="sizePolicy">
  1052. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Ignored">
  1053. <horstretch>0</horstretch>
  1054. <verstretch>0</verstretch>
  1055. </sizepolicy>
  1056. </property>
  1057. <property name="minimumSize">
  1058. <size>
  1059. <width>200</width>
  1060. <height>0</height>
  1061. </size>
  1062. </property>
  1063. <property name="font">
  1064. <font>
  1065. <family>微软雅黑</family>
  1066. <pointsize>36</pointsize>
  1067. </font>
  1068. </property>
  1069. <property name="cursor">
  1070. <cursorShape>ArrowCursor</cursorShape>
  1071. </property>
  1072. <property name="styleSheet">
  1073. <string notr="true">color: rgb(218, 218, 218);
  1074. </string>
  1075. </property>
  1076. <property name="text">
  1077. <string/>
  1078. </property>
  1079. <property name="scaledContents">
  1080. <bool>false</bool>
  1081. </property>
  1082. <property name="alignment">
  1083. <set>Qt::AlignCenter</set>
  1084. </property>
  1085. </widget>
  1086. </widget>
  1087. </item>
  1088. <item>
  1089. <layout class="QHBoxLayout" name="horizontalLayout_12">
  1090. <property name="rightMargin">
  1091. <number>0</number>
  1092. </property>
  1093. <item>
  1094. <widget class="QPushButton" name="action">
  1095. <property name="minimumSize">
  1096. <size>
  1097. <width>55</width>
  1098. <height>28</height>
  1099. </size>
  1100. </property>
  1101. <property name="maximumSize">
  1102. <size>
  1103. <width>16777215</width>
  1104. <height>28</height>
  1105. </size>
  1106. </property>
  1107. <property name="toolTip">
  1108. <string>文件</string>
  1109. </property>
  1110. <property name="styleSheet">
  1111. <string notr="true">QPushButton{font-family: &quot;Microsoft YaHei&quot;;
  1112. font-size: 16px;
  1113. font-weight: bold;
  1114. color:white;
  1115. text-align: center center;
  1116. padding-left: 5px;
  1117. padding-right: 5px;
  1118. padding-top: 4px;
  1119. padding-bottom: 4px;
  1120. border-style: solid;
  1121. border-width: 0px;
  1122. border-color: rgba(255, 255, 255, 255);
  1123. border-radius: 3px;
  1124. background-color: rgba(200, 200, 200,0);}
  1125. QPushButton:focus{outline: none;}
  1126. QPushButton::pressed{font-family: &quot;Microsoft YaHei&quot;;
  1127. font-size: 14px;
  1128. font-weight: bold;
  1129. color:rgb(200,200,200);
  1130. text-align: center center;
  1131. padding-left: 5px;
  1132. padding-right: 5px;
  1133. padding-top: 4px;
  1134. padding-bottom: 4px;
  1135. border-style: solid;
  1136. border-width: 0px;
  1137. border-color: rgba(255, 255, 255, 255);
  1138. border-radius: 3px;
  1139. background-color: #bf513b;}
  1140. QPushButton::disabled{font-family: &quot;Microsoft YaHei&quot;;
  1141. font-size: 14px;
  1142. font-weight: bold;
  1143. color:rgb(200,200,200);
  1144. text-align: center center;
  1145. padding-left: 5px;
  1146. padding-right: 5px;
  1147. padding-top: 4px;
  1148. padding-bottom: 4px;
  1149. border-style: solid;
  1150. border-width: 0px;
  1151. border-color: rgba(255, 255, 255, 255);
  1152. border-radius: 3px;
  1153. background-color: #bf513b;}
  1154. QPushButton::hover {
  1155. border-style: solid;
  1156. border-width: 0px;
  1157. border-radius: 0px;
  1158. background-color: rgba(48,148,243,80);}</string>
  1159. </property>
  1160. <property name="text">
  1161. <string>开始</string>
  1162. </property>
  1163. <property name="icon">
  1164. <iconset>
  1165. <normaloff>:/img/icon/运行.png</normaloff>:/img/icon/运行.png</iconset>
  1166. </property>
  1167. </widget>
  1168. </item>
  1169. <item>
  1170. <widget class="QPushButton" name="pre_page">
  1171. <property name="text">
  1172. <string>上一张</string>
  1173. </property>
  1174. </widget>
  1175. </item>
  1176. <item>
  1177. <widget class="QPushButton" name="next_page">
  1178. <property name="text">
  1179. <string>下一张</string>
  1180. </property>
  1181. </widget>
  1182. </item>
  1183. <item>
  1184. <widget class="QPushButton" name="show_result">
  1185. <property name="text">
  1186. <string>显示结果</string>
  1187. </property>
  1188. <property name="icon">
  1189. <iconset>
  1190. <normaloff>:/img/icon/数据探索.png</normaloff>:/img/icon/数据探索.png</iconset>
  1191. </property>
  1192. </widget>
  1193. </item>
  1194. <item>
  1195. <widget class="QPushButton" name="error_correction">
  1196. <property name="text">
  1197. <string>纠错</string>
  1198. </property>
  1199. </widget>
  1200. </item>
  1201. <item>
  1202. <widget class="QPushButton" name="result_export">
  1203. <property name="text">
  1204. <string>结果导出</string>
  1205. </property>
  1206. <property name="icon">
  1207. <iconset>
  1208. <normaloff>:/img/icon/打开.png</normaloff>:/img/icon/打开.png</iconset>
  1209. </property>
  1210. </widget>
  1211. </item>
  1212. </layout>
  1213. </item>
  1214. </layout>
  1215. </widget>
  1216. </item>
  1217. </layout>
  1218. </item>
  1219. <item>
  1220. <widget class="QGroupBox" name="groupBox_4">
  1221. <property name="minimumSize">
  1222. <size>
  1223. <width>0</width>
  1224. <height>30</height>
  1225. </size>
  1226. </property>
  1227. <property name="maximumSize">
  1228. <size>
  1229. <width>16777215</width>
  1230. <height>30</height>
  1231. </size>
  1232. </property>
  1233. <property name="styleSheet">
  1234. <string notr="true">#groupBox_4{
  1235. background-color: rgba(75, 75, 75, 200);
  1236. border: 0px solid #42adff;
  1237. border-left: 0px solid rgba(29, 83, 185, 255);
  1238. border-right: 0px solid rgba(29, 83, 185, 255);
  1239. border-top: 1px solid rgba(200, 200, 200,100);
  1240. border-radius:0px;}</string>
  1241. </property>
  1242. <property name="title">
  1243. <string/>
  1244. </property>
  1245. <layout class="QHBoxLayout" name="horizontalLayout_10">
  1246. <property name="spacing">
  1247. <number>0</number>
  1248. </property>
  1249. <property name="topMargin">
  1250. <number>0</number>
  1251. </property>
  1252. <property name="bottomMargin">
  1253. <number>0</number>
  1254. </property>
  1255. <item>
  1256. <widget class="QLabel" name="statistic_label">
  1257. <property name="mouseTracking">
  1258. <bool>false</bool>
  1259. </property>
  1260. <property name="styleSheet">
  1261. <string notr="true">QLabel
  1262. {
  1263. font-size: 16px;
  1264. font-family: &quot;Microsoft YaHei&quot;;
  1265. font-weight: light;
  1266. border-radius:9px;
  1267. background:rgba(66, 195, 255, 0);
  1268. color: rgb(218, 218, 218);
  1269. }
  1270. </string>
  1271. </property>
  1272. <property name="text">
  1273. <string/>
  1274. </property>
  1275. </widget>
  1276. </item>
  1277. </layout>
  1278. </widget>
  1279. </item>
  1280. </layout>
  1281. </widget>
  1282. </item>
  1283. </layout>
  1284. </widget>
  1285. </widget>
  1286. <customwidgets>
  1287. <customwidget>
  1288. <class>Label_click_Mouse</class>
  1289. <extends>QLabel</extends>
  1290. <header>MouseLabel.h</header>
  1291. </customwidget>
  1292. </customwidgets>
  1293. <resources>
  1294. <include location="../apprcc.qrc"/>
  1295. </resources>
  1296. <connections/>
  1297. </ui>