win.ui 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443
  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>图像目标智能识别软件</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>470</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="shebei"/>
  339. </item>
  340. </layout>
  341. </widget>
  342. <widget class="QWidget" name="layoutWidget_2">
  343. <property name="geometry">
  344. <rect>
  345. <x>10</x>
  346. <y>520</y>
  347. <width>211</width>
  348. <height>37</height>
  349. </rect>
  350. </property>
  351. <layout class="QHBoxLayout" name="horizontalLayout_14">
  352. <item>
  353. <widget class="QLabel" name="label_12">
  354. <property name="minimumSize">
  355. <size>
  356. <width>0</width>
  357. <height>35</height>
  358. </size>
  359. </property>
  360. <property name="maximumSize">
  361. <size>
  362. <width>80</width>
  363. <height>16777215</height>
  364. </size>
  365. </property>
  366. <property name="styleSheet">
  367. <string notr="true">QLabel
  368. {
  369. font-size: 18px;
  370. font-family: &quot;Microsoft YaHei&quot;;
  371. font-weight: bold;
  372. border-radius:9px;
  373. background:rgba(66, 195, 255, 0);
  374. color: rgb(218, 218, 218);
  375. }
  376. </string>
  377. </property>
  378. <property name="text">
  379. <string>批次名:</string>
  380. </property>
  381. </widget>
  382. </item>
  383. <item>
  384. <widget class="QLineEdit" name="pici"/>
  385. </item>
  386. </layout>
  387. </widget>
  388. <widget class="QPushButton" name="choose_circle">
  389. <property name="geometry">
  390. <rect>
  391. <x>200</x>
  392. <y>577</y>
  393. <width>76</width>
  394. <height>24</height>
  395. </rect>
  396. </property>
  397. <property name="text">
  398. <string>对应圆盘</string>
  399. </property>
  400. </widget>
  401. <widget class="QWidget" name="layoutWidget_3">
  402. <property name="geometry">
  403. <rect>
  404. <x>10</x>
  405. <y>570</y>
  406. <width>176</width>
  407. <height>37</height>
  408. </rect>
  409. </property>
  410. <layout class="QHBoxLayout" name="horizontalLayout_15">
  411. <item>
  412. <widget class="QLabel" name="label_13">
  413. <property name="minimumSize">
  414. <size>
  415. <width>0</width>
  416. <height>35</height>
  417. </size>
  418. </property>
  419. <property name="maximumSize">
  420. <size>
  421. <width>80</width>
  422. <height>16777215</height>
  423. </size>
  424. </property>
  425. <property name="styleSheet">
  426. <string notr="true">QLabel
  427. {
  428. font-size: 18px;
  429. font-family: &quot;Microsoft YaHei&quot;;
  430. font-weight: bold;
  431. border-radius:9px;
  432. background:rgba(66, 195, 255, 0);
  433. color: rgb(218, 218, 218);
  434. }
  435. </string>
  436. </property>
  437. <property name="text">
  438. <string>直径值:</string>
  439. </property>
  440. </widget>
  441. </item>
  442. <item>
  443. <widget class="QLineEdit" name="zhijing">
  444. <property name="minimumSize">
  445. <size>
  446. <width>60</width>
  447. <height>0</height>
  448. </size>
  449. </property>
  450. <property name="maximumSize">
  451. <size>
  452. <width>60</width>
  453. <height>16777215</height>
  454. </size>
  455. </property>
  456. </widget>
  457. </item>
  458. <item>
  459. <widget class="QLabel" name="label_14">
  460. <property name="minimumSize">
  461. <size>
  462. <width>0</width>
  463. <height>35</height>
  464. </size>
  465. </property>
  466. <property name="maximumSize">
  467. <size>
  468. <width>80</width>
  469. <height>16777215</height>
  470. </size>
  471. </property>
  472. <property name="styleSheet">
  473. <string notr="true">QLabel
  474. {
  475. font-size: 14px;
  476. font-family: &quot;Microsoft YaHei&quot;;
  477. font-weight: bold;
  478. border-radius:9px;
  479. background:rgba(66, 195, 255, 0);
  480. color: rgb(218, 218, 218);
  481. }
  482. </string>
  483. </property>
  484. <property name="text">
  485. <string>毫米</string>
  486. </property>
  487. </widget>
  488. </item>
  489. </layout>
  490. </widget>
  491. <widget class="QWidget" name="layoutWidget_4">
  492. <property name="geometry">
  493. <rect>
  494. <x>10</x>
  495. <y>620</y>
  496. <width>211</width>
  497. <height>37</height>
  498. </rect>
  499. </property>
  500. <layout class="QHBoxLayout" name="horizontalLayout_16">
  501. <item>
  502. <widget class="QLabel" name="label_15">
  503. <property name="minimumSize">
  504. <size>
  505. <width>0</width>
  506. <height>35</height>
  507. </size>
  508. </property>
  509. <property name="maximumSize">
  510. <size>
  511. <width>80</width>
  512. <height>16777215</height>
  513. </size>
  514. </property>
  515. <property name="styleSheet">
  516. <string notr="true">QLabel
  517. {
  518. font-size: 18px;
  519. font-family: &quot;Microsoft YaHei&quot;;
  520. font-weight: bold;
  521. border-radius:9px;
  522. background:rgba(66, 195, 255, 0);
  523. color: rgb(218, 218, 218);
  524. }
  525. </string>
  526. </property>
  527. <property name="text">
  528. <string>分辨率:</string>
  529. </property>
  530. </widget>
  531. </item>
  532. <item>
  533. <widget class="QLineEdit" name="gsd">
  534. <property name="sizePolicy">
  535. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  536. <horstretch>1</horstretch>
  537. <verstretch>0</verstretch>
  538. </sizepolicy>
  539. </property>
  540. <property name="minimumSize">
  541. <size>
  542. <width>60</width>
  543. <height>0</height>
  544. </size>
  545. </property>
  546. <property name="maximumSize">
  547. <size>
  548. <width>50</width>
  549. <height>16777215</height>
  550. </size>
  551. </property>
  552. <property name="font">
  553. <font>
  554. <kerning>true</kerning>
  555. </font>
  556. </property>
  557. </widget>
  558. </item>
  559. <item>
  560. <widget class="QLabel" name="label_16">
  561. <property name="minimumSize">
  562. <size>
  563. <width>0</width>
  564. <height>35</height>
  565. </size>
  566. </property>
  567. <property name="maximumSize">
  568. <size>
  569. <width>80</width>
  570. <height>16777215</height>
  571. </size>
  572. </property>
  573. <property name="styleSheet">
  574. <string notr="true">QLabel
  575. {
  576. font-size: 14px;
  577. font-family: &quot;Microsoft YaHei&quot;;
  578. font-weight: bold;
  579. border-radius:9px;
  580. background:rgba(66, 195, 255, 0);
  581. color: rgb(218, 218, 218);
  582. }
  583. </string>
  584. </property>
  585. <property name="text">
  586. <string>毫米/像素</string>
  587. </property>
  588. </widget>
  589. </item>
  590. </layout>
  591. </widget>
  592. <widget class="QWidget" name="layoutWidget">
  593. <property name="geometry">
  594. <rect>
  595. <x>90</x>
  596. <y>20</y>
  597. <width>182</width>
  598. <height>37</height>
  599. </rect>
  600. </property>
  601. <layout class="QHBoxLayout" name="horizontalLayout_2">
  602. <item>
  603. <widget class="QPushButton" name="detectbutton">
  604. <property name="minimumSize">
  605. <size>
  606. <width>55</width>
  607. <height>28</height>
  608. </size>
  609. </property>
  610. <property name="maximumSize">
  611. <size>
  612. <width>16777215</width>
  613. <height>28</height>
  614. </size>
  615. </property>
  616. <property name="toolTip">
  617. <string>相机</string>
  618. </property>
  619. <property name="styleSheet">
  620. <string notr="true">QPushButton{font-family: &quot;Microsoft YaHei&quot;;
  621. font-size: 14px;
  622. font-weight: bold;
  623. color:white;
  624. text-align: center center;
  625. padding-left: 5px;
  626. padding-right: 5px;
  627. padding-top: 4px;
  628. padding-bottom: 4px;
  629. border-style: solid;
  630. border-width: 0px;
  631. border-color: rgba(255, 255, 255, 255);
  632. border-radius: 3px;
  633. background-color: rgba(48,148,243,0);}
  634. QPushButton:focus{outline: none;}
  635. QPushButton::pressed{font-family: &quot;Microsoft YaHei&quot;;
  636. font-size: 14px;
  637. font-weight: bold;
  638. color:rgb(200,200,200);
  639. text-align: center center;
  640. padding-left: 5px;
  641. padding-right: 5px;
  642. padding-top: 4px;
  643. padding-bottom: 4px;
  644. border-style: solid;
  645. border-width: 0px;
  646. border-color: rgba(255, 255, 255, 255);
  647. border-radius: 3px;
  648. background-color: #bf513b;}
  649. QPushButton::disabled{font-family: &quot;Microsoft YaHei&quot;;
  650. font-size: 14px;
  651. font-weight: bold;
  652. color:rgb(200,200,200);
  653. text-align: center center;
  654. padding-left: 5px;
  655. padding-right: 5px;
  656. padding-top: 4px;
  657. padding-bottom: 4px;
  658. border-style: solid;
  659. border-width: 0px;
  660. border-color: rgba(255, 255, 255, 255);
  661. border-radius: 3px;
  662. background-color: #bf513b;}
  663. QPushButton::hover {
  664. border-style: solid;
  665. border-width: 0px;
  666. border-radius: 0px;
  667. background-color: rgba(48,148,243,80);}</string>
  668. </property>
  669. <property name="text">
  670. <string>检测</string>
  671. </property>
  672. </widget>
  673. </item>
  674. <item>
  675. <widget class="QPushButton" name="trainbutton">
  676. <property name="minimumSize">
  677. <size>
  678. <width>55</width>
  679. <height>28</height>
  680. </size>
  681. </property>
  682. <property name="maximumSize">
  683. <size>
  684. <width>16777215</width>
  685. <height>28</height>
  686. </size>
  687. </property>
  688. <property name="toolTip">
  689. <string>文件</string>
  690. </property>
  691. <property name="styleSheet">
  692. <string notr="true">QPushButton{font-family: &quot;Microsoft YaHei&quot;;
  693. font-size: 14px;
  694. font-weight: bold;
  695. color:white;
  696. text-align: center center;
  697. padding-left: 5px;
  698. padding-right: 5px;
  699. padding-top: 4px;
  700. padding-bottom: 4px;
  701. border-style: solid;
  702. border-width: 0px;
  703. border-color: rgba(255, 255, 255, 255);
  704. border-radius: 3px;
  705. background-color: rgba(200, 200, 200,0);}
  706. QPushButton:focus{outline: none;}
  707. QPushButton::pressed{font-family: &quot;Microsoft YaHei&quot;;
  708. font-size: 14px;
  709. font-weight: bold;
  710. color:rgb(200,200,200);
  711. text-align: center center;
  712. padding-left: 5px;
  713. padding-right: 5px;
  714. padding-top: 4px;
  715. padding-bottom: 4px;
  716. border-style: solid;
  717. border-width: 0px;
  718. border-color: rgba(255, 255, 255, 255);
  719. border-radius: 3px;
  720. background-color: #bf513b;}
  721. QPushButton::disabled{font-family: &quot;Microsoft YaHei&quot;;
  722. font-size: 14px;
  723. font-weight: bold;
  724. color:rgb(200,200,200);
  725. text-align: center center;
  726. padding-left: 5px;
  727. padding-right: 5px;
  728. padding-top: 4px;
  729. padding-bottom: 4px;
  730. border-style: solid;
  731. border-width: 0px;
  732. border-color: rgba(255, 255, 255, 255);
  733. border-radius: 3px;
  734. background-color: #bf513b;}
  735. QPushButton::hover {
  736. border-style: solid;
  737. border-width: 0px;
  738. border-radius: 0px;
  739. background-color: rgba(48,148,243,80);}</string>
  740. </property>
  741. <property name="text">
  742. <string>训练</string>
  743. </property>
  744. </widget>
  745. </item>
  746. </layout>
  747. </widget>
  748. <widget class="QLabel" name="label_11">
  749. <property name="geometry">
  750. <rect>
  751. <x>10</x>
  752. <y>140</y>
  753. <width>72</width>
  754. <height>25</height>
  755. </rect>
  756. </property>
  757. <property name="styleSheet">
  758. <string notr="true">QLabel
  759. {
  760. font-size: 18px;
  761. font-family: &quot;Microsoft YaHei&quot;;
  762. font-weight: bold;
  763. border-radius:9px;
  764. background:rgba(66, 195, 255, 0);
  765. color: rgb(218, 218, 218);
  766. }
  767. </string>
  768. </property>
  769. <property name="text">
  770. <string>图片列表</string>
  771. </property>
  772. </widget>
  773. <widget class="QListWidget" name="resultWidget">
  774. <property name="geometry">
  775. <rect>
  776. <x>10</x>
  777. <y>180</y>
  778. <width>301</width>
  779. <height>270</height>
  780. </rect>
  781. </property>
  782. <property name="sizePolicy">
  783. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  784. <horstretch>0</horstretch>
  785. <verstretch>0</verstretch>
  786. </sizepolicy>
  787. </property>
  788. <property name="minimumSize">
  789. <size>
  790. <width>0</width>
  791. <height>270</height>
  792. </size>
  793. </property>
  794. <property name="maximumSize">
  795. <size>
  796. <width>16777215</width>
  797. <height>270</height>
  798. </size>
  799. </property>
  800. <property name="styleSheet">
  801. <string notr="true">QListWidget{
  802. background-color: rgba(255, 255, 255, 255);
  803. border: 1px solid rgba(200, 200, 200,100);
  804. border-bottom: 0px solid rgba(200, 200, 200,100);
  805. border-radius:0px;
  806. font-family: &quot;Microsoft YaHei&quot;;
  807. font-size: 12px;
  808. color: rgb(0, 0, 0);
  809. }
  810. </string>
  811. </property>
  812. </widget>
  813. <widget class="QPushButton" name="choose_file">
  814. <property name="geometry">
  815. <rect>
  816. <x>90</x>
  817. <y>105</y>
  818. <width>76</width>
  819. <height>24</height>
  820. </rect>
  821. </property>
  822. <property name="text">
  823. <string>选择图像</string>
  824. </property>
  825. </widget>
  826. <widget class="QPushButton" name="choose_folder">
  827. <property name="geometry">
  828. <rect>
  829. <x>180</x>
  830. <y>105</y>
  831. <width>101</width>
  832. <height>24</height>
  833. </rect>
  834. </property>
  835. <property name="text">
  836. <string>选择图像文件夹</string>
  837. </property>
  838. </widget>
  839. <widget class="QLabel" name="label_3">
  840. <property name="geometry">
  841. <rect>
  842. <x>10</x>
  843. <y>60</y>
  844. <width>72</width>
  845. <height>35</height>
  846. </rect>
  847. </property>
  848. <property name="minimumSize">
  849. <size>
  850. <width>0</width>
  851. <height>35</height>
  852. </size>
  853. </property>
  854. <property name="maximumSize">
  855. <size>
  856. <width>80</width>
  857. <height>16777215</height>
  858. </size>
  859. </property>
  860. <property name="styleSheet">
  861. <string notr="true">QLabel
  862. {
  863. font-size: 18px;
  864. font-family: &quot;Microsoft YaHei&quot;;
  865. font-weight: bold;
  866. border-radius:9px;
  867. background:rgba(66, 195, 255, 0);
  868. color: rgb(218, 218, 218);
  869. }
  870. </string>
  871. </property>
  872. <property name="text">
  873. <string>模型选择</string>
  874. </property>
  875. </widget>
  876. <widget class="QComboBox" name="comboBox">
  877. <property name="geometry">
  878. <rect>
  879. <x>90</x>
  880. <y>57</y>
  881. <width>194</width>
  882. <height>35</height>
  883. </rect>
  884. </property>
  885. <property name="minimumSize">
  886. <size>
  887. <width>0</width>
  888. <height>35</height>
  889. </size>
  890. </property>
  891. <property name="styleSheet">
  892. <string notr="true">QComboBox QAbstractItemView {
  893. font-family: &quot;Microsoft YaHei&quot;;
  894. font-size: 16px;
  895. background:rgba(200, 200, 200,150);
  896. selection-background-color: rgba(200, 200, 200,50);
  897. color: rgb(218, 218, 218);
  898. outline:none;
  899. border:none;}
  900. QComboBox{
  901. font-family: &quot;Microsoft YaHei&quot;;
  902. font-size: 16px;
  903. color: rgb(218, 218, 218);
  904. border-width:0px;
  905. border-color:white;
  906. border-style:solid;
  907. background-color: rgba(200, 200, 200,0);}
  908. QComboBox::drop-down {
  909. margin-top:8;
  910. height:20;
  911. background:rgba(255,255,255,0);
  912. border-image: url(:/img/icon/下拉_白色.png);
  913. }
  914. </string>
  915. </property>
  916. <item>
  917. <property name="text">
  918. <string>yolov5s.pt</string>
  919. </property>
  920. </item>
  921. <item>
  922. <property name="text">
  923. <string>yolov5m.pt</string>
  924. </property>
  925. </item>
  926. <item>
  927. <property name="text">
  928. <string>yolov5l.pt</string>
  929. </property>
  930. </item>
  931. <item>
  932. <property name="text">
  933. <string>yolov5x.pt</string>
  934. </property>
  935. </item>
  936. </widget>
  937. <widget class="QLabel" name="label_5">
  938. <property name="geometry">
  939. <rect>
  940. <x>10</x>
  941. <y>20</y>
  942. <width>72</width>
  943. <height>35</height>
  944. </rect>
  945. </property>
  946. <property name="minimumSize">
  947. <size>
  948. <width>0</width>
  949. <height>35</height>
  950. </size>
  951. </property>
  952. <property name="maximumSize">
  953. <size>
  954. <width>80</width>
  955. <height>16777215</height>
  956. </size>
  957. </property>
  958. <property name="styleSheet">
  959. <string notr="true">QLabel
  960. {
  961. font-size: 18px;
  962. font-family: &quot;Microsoft YaHei&quot;;
  963. font-weight: bold;
  964. border-radius:9px;
  965. background:rgba(66, 195, 255, 0);
  966. color: rgb(218, 218, 218);
  967. }
  968. </string>
  969. </property>
  970. <property name="text">
  971. <string>模式选择</string>
  972. </property>
  973. </widget>
  974. <widget class="QLabel" name="label_10">
  975. <property name="geometry">
  976. <rect>
  977. <x>10</x>
  978. <y>100</y>
  979. <width>72</width>
  980. <height>35</height>
  981. </rect>
  982. </property>
  983. <property name="minimumSize">
  984. <size>
  985. <width>0</width>
  986. <height>35</height>
  987. </size>
  988. </property>
  989. <property name="maximumSize">
  990. <size>
  991. <width>80</width>
  992. <height>16777215</height>
  993. </size>
  994. </property>
  995. <property name="styleSheet">
  996. <string notr="true">QLabel
  997. {
  998. font-size: 18px;
  999. font-family: &quot;Microsoft YaHei&quot;;
  1000. font-weight: bold;
  1001. border-radius:9px;
  1002. background:rgba(66, 195, 255, 0);
  1003. color: rgb(218, 218, 218);
  1004. }
  1005. </string>
  1006. </property>
  1007. <property name="text">
  1008. <string>数据选择</string>
  1009. </property>
  1010. </widget>
  1011. </widget>
  1012. </item>
  1013. <item>
  1014. <widget class="QGroupBox" name="groupBox_201">
  1015. <property name="styleSheet">
  1016. <string notr="true">#groupBox_201{
  1017. background-color: rgba(95, 95, 95, 200);
  1018. border: 0px solid #42adff;
  1019. border-left: 1px solid rgba(200, 200, 200,100);
  1020. border-right: 0px solid rgba(29, 83, 185, 255);
  1021. border-radius:0px;}</string>
  1022. </property>
  1023. <property name="title">
  1024. <string/>
  1025. </property>
  1026. <layout class="QVBoxLayout" name="verticalLayout_4" stretch="0,0,0">
  1027. <property name="topMargin">
  1028. <number>0</number>
  1029. </property>
  1030. <property name="bottomMargin">
  1031. <number>0</number>
  1032. </property>
  1033. <item>
  1034. <widget class="QGroupBox" name="groupBox_3">
  1035. <property name="minimumSize">
  1036. <size>
  1037. <width>0</width>
  1038. <height>42</height>
  1039. </size>
  1040. </property>
  1041. <property name="maximumSize">
  1042. <size>
  1043. <width>16777215</width>
  1044. <height>42</height>
  1045. </size>
  1046. </property>
  1047. <property name="font">
  1048. <font>
  1049. <pointsize>1</pointsize>
  1050. <weight>75</weight>
  1051. <bold>true</bold>
  1052. </font>
  1053. </property>
  1054. <property name="styleSheet">
  1055. <string notr="true">#groupBox_3{
  1056. border: 0px solid #42adff;
  1057. border-radius:0px;}</string>
  1058. </property>
  1059. <property name="title">
  1060. <string/>
  1061. </property>
  1062. <layout class="QHBoxLayout" name="horizontalLayout_3">
  1063. <item>
  1064. <widget class="QLabel" name="label_6">
  1065. <property name="font">
  1066. <font>
  1067. <family>Microsoft YaHei</family>
  1068. <pointsize>-1</pointsize>
  1069. <weight>75</weight>
  1070. <bold>true</bold>
  1071. </font>
  1072. </property>
  1073. <property name="styleSheet">
  1074. <string notr="true">QLabel
  1075. {
  1076. font-size: 20px;
  1077. font-family: &quot;Microsoft YaHei&quot;;
  1078. font-weight: bold;
  1079. border-radius:9px;
  1080. background:rgba(66, 195, 255, 0);
  1081. color: rgb(218, 218, 218);
  1082. }</string>
  1083. </property>
  1084. <property name="text">
  1085. <string>原图像</string>
  1086. </property>
  1087. <property name="alignment">
  1088. <set>Qt::AlignCenter</set>
  1089. </property>
  1090. </widget>
  1091. </item>
  1092. <item>
  1093. <widget class="QLabel" name="label_9">
  1094. <property name="font">
  1095. <font>
  1096. <family>Microsoft YaHei</family>
  1097. <pointsize>-1</pointsize>
  1098. <weight>75</weight>
  1099. <bold>true</bold>
  1100. </font>
  1101. </property>
  1102. <property name="styleSheet">
  1103. <string notr="true">QLabel
  1104. {
  1105. font-size: 20px;
  1106. font-family: &quot;Microsoft YaHei&quot;;
  1107. font-weight: bold;
  1108. border-radius:9px;
  1109. background:rgba(66, 195, 255, 0);
  1110. color: rgb(218, 218, 218);
  1111. }</string>
  1112. </property>
  1113. <property name="text">
  1114. <string>检测结果</string>
  1115. </property>
  1116. <property name="alignment">
  1117. <set>Qt::AlignCenter</set>
  1118. </property>
  1119. </widget>
  1120. </item>
  1121. </layout>
  1122. </widget>
  1123. </item>
  1124. <item>
  1125. <widget class="QSplitter" name="splitter">
  1126. <property name="enabled">
  1127. <bool>true</bool>
  1128. </property>
  1129. <property name="styleSheet">
  1130. <string notr="true">#splitter::handle{background: 1px solid rgba(200, 200, 200,100);}</string>
  1131. </property>
  1132. <property name="frameShape">
  1133. <enum>QFrame::NoFrame</enum>
  1134. </property>
  1135. <property name="lineWidth">
  1136. <number>10</number>
  1137. </property>
  1138. <property name="orientation">
  1139. <enum>Qt::Horizontal</enum>
  1140. </property>
  1141. <property name="handleWidth">
  1142. <number>1</number>
  1143. </property>
  1144. <widget class="Label_click_Mouse" name="raw_video">
  1145. <property name="enabled">
  1146. <bool>true</bool>
  1147. </property>
  1148. <property name="sizePolicy">
  1149. <sizepolicy hsizetype="Ignored" vsizetype="Ignored">
  1150. <horstretch>0</horstretch>
  1151. <verstretch>0</verstretch>
  1152. </sizepolicy>
  1153. </property>
  1154. <property name="minimumSize">
  1155. <size>
  1156. <width>200</width>
  1157. <height>0</height>
  1158. </size>
  1159. </property>
  1160. <property name="font">
  1161. <font>
  1162. <family>微软雅黑</family>
  1163. <pointsize>36</pointsize>
  1164. </font>
  1165. </property>
  1166. <property name="cursor">
  1167. <cursorShape>ArrowCursor</cursorShape>
  1168. </property>
  1169. <property name="styleSheet">
  1170. <string notr="true">color: rgb(218, 218, 218);
  1171. </string>
  1172. </property>
  1173. <property name="text">
  1174. <string/>
  1175. </property>
  1176. <property name="scaledContents">
  1177. <bool>false</bool>
  1178. </property>
  1179. <property name="alignment">
  1180. <set>Qt::AlignCenter</set>
  1181. </property>
  1182. </widget>
  1183. <widget class="Label_click_Mouse" name="out_video">
  1184. <property name="enabled">
  1185. <bool>true</bool>
  1186. </property>
  1187. <property name="sizePolicy">
  1188. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Ignored">
  1189. <horstretch>0</horstretch>
  1190. <verstretch>0</verstretch>
  1191. </sizepolicy>
  1192. </property>
  1193. <property name="minimumSize">
  1194. <size>
  1195. <width>200</width>
  1196. <height>0</height>
  1197. </size>
  1198. </property>
  1199. <property name="font">
  1200. <font>
  1201. <family>微软雅黑</family>
  1202. <pointsize>36</pointsize>
  1203. </font>
  1204. </property>
  1205. <property name="cursor">
  1206. <cursorShape>ArrowCursor</cursorShape>
  1207. </property>
  1208. <property name="styleSheet">
  1209. <string notr="true">color: rgb(218, 218, 218);
  1210. </string>
  1211. </property>
  1212. <property name="text">
  1213. <string/>
  1214. </property>
  1215. <property name="scaledContents">
  1216. <bool>false</bool>
  1217. </property>
  1218. <property name="alignment">
  1219. <set>Qt::AlignCenter</set>
  1220. </property>
  1221. </widget>
  1222. </widget>
  1223. </item>
  1224. <item>
  1225. <layout class="QHBoxLayout" name="horizontalLayout_12">
  1226. <property name="rightMargin">
  1227. <number>0</number>
  1228. </property>
  1229. <item>
  1230. <widget class="QPushButton" name="action">
  1231. <property name="minimumSize">
  1232. <size>
  1233. <width>55</width>
  1234. <height>28</height>
  1235. </size>
  1236. </property>
  1237. <property name="maximumSize">
  1238. <size>
  1239. <width>16777215</width>
  1240. <height>28</height>
  1241. </size>
  1242. </property>
  1243. <property name="toolTip">
  1244. <string>文件</string>
  1245. </property>
  1246. <property name="styleSheet">
  1247. <string notr="true">QPushButton{font-family: &quot;Microsoft YaHei&quot;;
  1248. font-size: 16px;
  1249. font-weight: bold;
  1250. color:white;
  1251. text-align: center center;
  1252. padding-left: 5px;
  1253. padding-right: 5px;
  1254. padding-top: 4px;
  1255. padding-bottom: 4px;
  1256. border-style: solid;
  1257. border-width: 0px;
  1258. border-color: rgba(255, 255, 255, 255);
  1259. border-radius: 3px;
  1260. background-color: rgba(200, 200, 200,0);}
  1261. QPushButton:focus{outline: none;}
  1262. QPushButton::pressed{font-family: &quot;Microsoft YaHei&quot;;
  1263. font-size: 14px;
  1264. font-weight: bold;
  1265. color:rgb(200,200,200);
  1266. text-align: center center;
  1267. padding-left: 5px;
  1268. padding-right: 5px;
  1269. padding-top: 4px;
  1270. padding-bottom: 4px;
  1271. border-style: solid;
  1272. border-width: 0px;
  1273. border-color: rgba(255, 255, 255, 255);
  1274. border-radius: 3px;
  1275. background-color: #bf513b;}
  1276. QPushButton::disabled{font-family: &quot;Microsoft YaHei&quot;;
  1277. font-size: 14px;
  1278. font-weight: bold;
  1279. color:rgb(200,200,200);
  1280. text-align: center center;
  1281. padding-left: 5px;
  1282. padding-right: 5px;
  1283. padding-top: 4px;
  1284. padding-bottom: 4px;
  1285. border-style: solid;
  1286. border-width: 0px;
  1287. border-color: rgba(255, 255, 255, 255);
  1288. border-radius: 3px;
  1289. background-color: #bf513b;}
  1290. QPushButton::hover {
  1291. border-style: solid;
  1292. border-width: 0px;
  1293. border-radius: 0px;
  1294. background-color: rgba(48,148,243,80);}</string>
  1295. </property>
  1296. <property name="text">
  1297. <string>开始</string>
  1298. </property>
  1299. <property name="icon">
  1300. <iconset>
  1301. <normaloff>:/img/icon/运行.png</normaloff>:/img/icon/运行.png</iconset>
  1302. </property>
  1303. </widget>
  1304. </item>
  1305. <item>
  1306. <widget class="QPushButton" name="pre_page">
  1307. <property name="text">
  1308. <string>上一张</string>
  1309. </property>
  1310. </widget>
  1311. </item>
  1312. <item>
  1313. <widget class="QPushButton" name="next_page">
  1314. <property name="text">
  1315. <string>下一张</string>
  1316. </property>
  1317. </widget>
  1318. </item>
  1319. <item>
  1320. <widget class="QPushButton" name="show_result">
  1321. <property name="text">
  1322. <string>显示结果</string>
  1323. </property>
  1324. <property name="icon">
  1325. <iconset>
  1326. <normaloff>:/img/icon/数据探索.png</normaloff>:/img/icon/数据探索.png</iconset>
  1327. </property>
  1328. </widget>
  1329. </item>
  1330. <item>
  1331. <widget class="QPushButton" name="error_correction">
  1332. <property name="text">
  1333. <string>纠错</string>
  1334. </property>
  1335. </widget>
  1336. </item>
  1337. <item>
  1338. <widget class="QPushButton" name="result_export">
  1339. <property name="text">
  1340. <string>结果导出</string>
  1341. </property>
  1342. <property name="icon">
  1343. <iconset>
  1344. <normaloff>:/img/icon/打开.png</normaloff>:/img/icon/打开.png</iconset>
  1345. </property>
  1346. </widget>
  1347. </item>
  1348. </layout>
  1349. </item>
  1350. </layout>
  1351. </widget>
  1352. </item>
  1353. </layout>
  1354. </item>
  1355. <item>
  1356. <widget class="QGroupBox" name="groupBox_4">
  1357. <property name="minimumSize">
  1358. <size>
  1359. <width>0</width>
  1360. <height>30</height>
  1361. </size>
  1362. </property>
  1363. <property name="maximumSize">
  1364. <size>
  1365. <width>16777215</width>
  1366. <height>30</height>
  1367. </size>
  1368. </property>
  1369. <property name="styleSheet">
  1370. <string notr="true">#groupBox_4{
  1371. background-color: rgba(75, 75, 75, 200);
  1372. border: 0px solid #42adff;
  1373. border-left: 0px solid rgba(29, 83, 185, 255);
  1374. border-right: 0px solid rgba(29, 83, 185, 255);
  1375. border-top: 1px solid rgba(200, 200, 200,100);
  1376. border-radius:0px;}</string>
  1377. </property>
  1378. <property name="title">
  1379. <string/>
  1380. </property>
  1381. <layout class="QHBoxLayout" name="horizontalLayout_10">
  1382. <property name="spacing">
  1383. <number>0</number>
  1384. </property>
  1385. <property name="topMargin">
  1386. <number>0</number>
  1387. </property>
  1388. <property name="bottomMargin">
  1389. <number>0</number>
  1390. </property>
  1391. <item>
  1392. <widget class="QLabel" name="statistic_label">
  1393. <property name="mouseTracking">
  1394. <bool>false</bool>
  1395. </property>
  1396. <property name="styleSheet">
  1397. <string notr="true">QLabel
  1398. {
  1399. font-size: 16px;
  1400. font-family: &quot;Microsoft YaHei&quot;;
  1401. font-weight: light;
  1402. border-radius:9px;
  1403. background:rgba(66, 195, 255, 0);
  1404. color: rgb(218, 218, 218);
  1405. }
  1406. </string>
  1407. </property>
  1408. <property name="text">
  1409. <string/>
  1410. </property>
  1411. </widget>
  1412. </item>
  1413. </layout>
  1414. </widget>
  1415. </item>
  1416. </layout>
  1417. </widget>
  1418. </item>
  1419. </layout>
  1420. </widget>
  1421. </widget>
  1422. <customwidgets>
  1423. <customwidget>
  1424. <class>Label_click_Mouse</class>
  1425. <extends>QLabel</extends>
  1426. <header>MouseLabel.h</header>
  1427. </customwidget>
  1428. </customwidgets>
  1429. <resources>
  1430. <include location="../apprcc.qrc"/>
  1431. </resources>
  1432. <connections/>
  1433. </ui>