CToolDialog.ui 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948
  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. <property name="styleSheet">
  24. <string notr="true"/>
  25. </property>
  26. </widget>
  27. </item>
  28. <item row="1" column="0" colspan="2">
  29. <widget class="QWidget" name="Tool_widget" native="true">
  30. <property name="minimumSize">
  31. <size>
  32. <width>0</width>
  33. <height>42</height>
  34. </size>
  35. </property>
  36. <property name="maximumSize">
  37. <size>
  38. <width>16777215</width>
  39. <height>42</height>
  40. </size>
  41. </property>
  42. <property name="styleSheet">
  43. <string notr="true"/>
  44. </property>
  45. <layout class="QGridLayout" name="gridLayout">
  46. <property name="leftMargin">
  47. <number>6</number>
  48. </property>
  49. <property name="topMargin">
  50. <number>6</number>
  51. </property>
  52. <property name="rightMargin">
  53. <number>6</number>
  54. </property>
  55. <property name="bottomMargin">
  56. <number>6</number>
  57. </property>
  58. <property name="horizontalSpacing">
  59. <number>20</number>
  60. </property>
  61. <item row="0" column="3" rowspan="2">
  62. <widget class="QPushButton" name="btnOK">
  63. <property name="minimumSize">
  64. <size>
  65. <width>80</width>
  66. <height>30</height>
  67. </size>
  68. </property>
  69. <property name="styleSheet">
  70. <string notr="true"/>
  71. </property>
  72. <property name="text">
  73. <string>确定</string>
  74. </property>
  75. </widget>
  76. </item>
  77. <item row="0" column="2" rowspan="2">
  78. <widget class="QPushButton" name="btnExecute">
  79. <property name="minimumSize">
  80. <size>
  81. <width>80</width>
  82. <height>30</height>
  83. </size>
  84. </property>
  85. <property name="styleSheet">
  86. <string notr="true"/>
  87. </property>
  88. <property name="text">
  89. <string>执行</string>
  90. </property>
  91. </widget>
  92. </item>
  93. <item row="0" column="4" rowspan="2">
  94. <widget class="QPushButton" name="btnCancel">
  95. <property name="minimumSize">
  96. <size>
  97. <width>80</width>
  98. <height>30</height>
  99. </size>
  100. </property>
  101. <property name="styleSheet">
  102. <string notr="true"/>
  103. </property>
  104. <property name="text">
  105. <string>取消</string>
  106. </property>
  107. </widget>
  108. </item>
  109. <item row="0" column="1" rowspan="2">
  110. <spacer name="horizontalSpacer">
  111. <property name="orientation">
  112. <enum>Qt::Horizontal</enum>
  113. </property>
  114. <property name="sizeHint" stdset="0">
  115. <size>
  116. <width>553</width>
  117. <height>20</height>
  118. </size>
  119. </property>
  120. </spacer>
  121. </item>
  122. <item row="1" column="0">
  123. <widget class="QLabel" name="label_time">
  124. <property name="enabled">
  125. <bool>true</bool>
  126. </property>
  127. <property name="minimumSize">
  128. <size>
  129. <width>200</width>
  130. <height>0</height>
  131. </size>
  132. </property>
  133. <property name="styleSheet">
  134. <string notr="true"/>
  135. </property>
  136. <property name="text">
  137. <string>耗时: 0ms</string>
  138. </property>
  139. </widget>
  140. </item>
  141. <item row="0" column="0">
  142. <widget class="QLabel" name="label_state">
  143. <property name="enabled">
  144. <bool>true</bool>
  145. </property>
  146. <property name="minimumSize">
  147. <size>
  148. <width>0</width>
  149. <height>0</height>
  150. </size>
  151. </property>
  152. <property name="styleSheet">
  153. <string notr="true"/>
  154. </property>
  155. <property name="text">
  156. <string>状态: OK</string>
  157. </property>
  158. </widget>
  159. </item>
  160. </layout>
  161. </widget>
  162. </item>
  163. <item row="0" column="0">
  164. <widget class="QTabWidget" name="tabWidget">
  165. <property name="minimumSize">
  166. <size>
  167. <width>300</width>
  168. <height>0</height>
  169. </size>
  170. </property>
  171. <property name="maximumSize">
  172. <size>
  173. <width>300</width>
  174. <height>16777215</height>
  175. </size>
  176. </property>
  177. <property name="currentIndex">
  178. <number>2</number>
  179. </property>
  180. <widget class="QWidget" name="Base">
  181. <attribute name="title">
  182. <string>基础参数</string>
  183. </attribute>
  184. <layout class="QGridLayout" name="gridLayout_5">
  185. <item row="0" column="0">
  186. <widget class="QGroupBox" name="groupBox_4">
  187. <property name="minimumSize">
  188. <size>
  189. <width>0</width>
  190. <height>80</height>
  191. </size>
  192. </property>
  193. <property name="title">
  194. <string>GroupBox</string>
  195. </property>
  196. <layout class="QGridLayout" name="gridLayout_7">
  197. <item row="0" column="0">
  198. <widget class="QLabel" name="label6">
  199. <property name="minimumSize">
  200. <size>
  201. <width>80</width>
  202. <height>0</height>
  203. </size>
  204. </property>
  205. <property name="maximumSize">
  206. <size>
  207. <width>80</width>
  208. <height>16777215</height>
  209. </size>
  210. </property>
  211. <property name="styleSheet">
  212. <string notr="true">border:0px;</string>
  213. </property>
  214. <property name="text">
  215. <string> 低阈值:</string>
  216. </property>
  217. </widget>
  218. </item>
  219. <item row="0" column="1">
  220. <widget class="QSlider" name="horizontalSlidermin">
  221. <property name="minimumSize">
  222. <size>
  223. <width>80</width>
  224. <height>0</height>
  225. </size>
  226. </property>
  227. <property name="styleSheet">
  228. <string notr="true">border:0px;</string>
  229. </property>
  230. <property name="orientation">
  231. <enum>Qt::Horizontal</enum>
  232. </property>
  233. </widget>
  234. </item>
  235. <item row="0" column="2">
  236. <widget class="QLabel" name="labelmin">
  237. <property name="maximumSize">
  238. <size>
  239. <width>80</width>
  240. <height>16777215</height>
  241. </size>
  242. </property>
  243. <property name="styleSheet">
  244. <string notr="true">border:0px;</string>
  245. </property>
  246. <property name="text">
  247. <string>0</string>
  248. </property>
  249. </widget>
  250. </item>
  251. <item row="1" column="0">
  252. <widget class="QLabel" name="label7">
  253. <property name="minimumSize">
  254. <size>
  255. <width>80</width>
  256. <height>0</height>
  257. </size>
  258. </property>
  259. <property name="maximumSize">
  260. <size>
  261. <width>80</width>
  262. <height>16777215</height>
  263. </size>
  264. </property>
  265. <property name="styleSheet">
  266. <string notr="true">border:0px;</string>
  267. </property>
  268. <property name="text">
  269. <string> 高阈值:</string>
  270. </property>
  271. </widget>
  272. </item>
  273. <item row="1" column="1">
  274. <widget class="QSlider" name="horizontalSlidermax">
  275. <property name="minimumSize">
  276. <size>
  277. <width>80</width>
  278. <height>0</height>
  279. </size>
  280. </property>
  281. <property name="styleSheet">
  282. <string notr="true">border:0px;</string>
  283. </property>
  284. <property name="orientation">
  285. <enum>Qt::Horizontal</enum>
  286. </property>
  287. </widget>
  288. </item>
  289. <item row="1" column="2">
  290. <widget class="QLabel" name="labelmax">
  291. <property name="maximumSize">
  292. <size>
  293. <width>80</width>
  294. <height>16777215</height>
  295. </size>
  296. </property>
  297. <property name="styleSheet">
  298. <string notr="true">border:0px;</string>
  299. </property>
  300. <property name="text">
  301. <string>255</string>
  302. </property>
  303. </widget>
  304. </item>
  305. <item row="2" column="0">
  306. <widget class="QCheckBox" name="checkBox_invert">
  307. <property name="minimumSize">
  308. <size>
  309. <width>0</width>
  310. <height>35</height>
  311. </size>
  312. </property>
  313. <property name="styleSheet">
  314. <string notr="true">border:0px;
  315. </string>
  316. </property>
  317. <property name="text">
  318. <string>黑白反转</string>
  319. </property>
  320. </widget>
  321. </item>
  322. </layout>
  323. </widget>
  324. </item>
  325. <item row="1" column="0">
  326. <widget class="QGroupBox" name="groupBox_3">
  327. <property name="title">
  328. <string>GroupBox</string>
  329. </property>
  330. <layout class="QGridLayout" name="gridLayout_6">
  331. <item row="0" column="0">
  332. <widget class="QLabel" name="label10">
  333. <property name="minimumSize">
  334. <size>
  335. <width>0</width>
  336. <height>0</height>
  337. </size>
  338. </property>
  339. <property name="maximumSize">
  340. <size>
  341. <width>80</width>
  342. <height>16777215</height>
  343. </size>
  344. </property>
  345. <property name="styleSheet">
  346. <string notr="true">border:0px;</string>
  347. </property>
  348. <property name="text">
  349. <string> 宽度:</string>
  350. </property>
  351. </widget>
  352. </item>
  353. <item row="0" column="1">
  354. <widget class="QLineEdit" name="lineEdit_Width">
  355. <property name="minimumSize">
  356. <size>
  357. <width>0</width>
  358. <height>0</height>
  359. </size>
  360. </property>
  361. <property name="styleSheet">
  362. <string notr="true"/>
  363. </property>
  364. </widget>
  365. </item>
  366. <item row="0" column="2">
  367. <widget class="QPushButton" name="BTN_Add1">
  368. <property name="minimumSize">
  369. <size>
  370. <width>0</width>
  371. <height>0</height>
  372. </size>
  373. </property>
  374. <property name="text">
  375. <string>+</string>
  376. </property>
  377. </widget>
  378. </item>
  379. <item row="0" column="3">
  380. <widget class="QPushButton" name="BTN_Sub1">
  381. <property name="minimumSize">
  382. <size>
  383. <width>0</width>
  384. <height>0</height>
  385. </size>
  386. </property>
  387. <property name="maximumSize">
  388. <size>
  389. <width>50</width>
  390. <height>60</height>
  391. </size>
  392. </property>
  393. <property name="text">
  394. <string>-</string>
  395. </property>
  396. </widget>
  397. </item>
  398. <item row="1" column="0">
  399. <widget class="QLabel" name="label8">
  400. <property name="minimumSize">
  401. <size>
  402. <width>0</width>
  403. <height>0</height>
  404. </size>
  405. </property>
  406. <property name="maximumSize">
  407. <size>
  408. <width>80</width>
  409. <height>16777215</height>
  410. </size>
  411. </property>
  412. <property name="styleSheet">
  413. <string notr="true">border:0px;</string>
  414. </property>
  415. <property name="text">
  416. <string> 高度:</string>
  417. </property>
  418. </widget>
  419. </item>
  420. <item row="1" column="1">
  421. <widget class="QLineEdit" name="lineEdit_Height">
  422. <property name="minimumSize">
  423. <size>
  424. <width>0</width>
  425. <height>0</height>
  426. </size>
  427. </property>
  428. <property name="styleSheet">
  429. <string notr="true"/>
  430. </property>
  431. </widget>
  432. </item>
  433. <item row="1" column="2">
  434. <widget class="QPushButton" name="BTN_Add2">
  435. <property name="minimumSize">
  436. <size>
  437. <width>0</width>
  438. <height>0</height>
  439. </size>
  440. </property>
  441. <property name="maximumSize">
  442. <size>
  443. <width>16777215</width>
  444. <height>16777215</height>
  445. </size>
  446. </property>
  447. <property name="text">
  448. <string>+</string>
  449. </property>
  450. </widget>
  451. </item>
  452. <item row="1" column="3">
  453. <widget class="QPushButton" name="BTN_Sub2">
  454. <property name="minimumSize">
  455. <size>
  456. <width>0</width>
  457. <height>0</height>
  458. </size>
  459. </property>
  460. <property name="text">
  461. <string>-</string>
  462. </property>
  463. </widget>
  464. </item>
  465. <item row="2" column="0">
  466. <widget class="QLabel" name="label9">
  467. <property name="minimumSize">
  468. <size>
  469. <width>0</width>
  470. <height>0</height>
  471. </size>
  472. </property>
  473. <property name="maximumSize">
  474. <size>
  475. <width>100</width>
  476. <height>16777215</height>
  477. </size>
  478. </property>
  479. <property name="styleSheet">
  480. <string notr="true">border:0px;</string>
  481. </property>
  482. <property name="text">
  483. <string> 阈值偏移:</string>
  484. </property>
  485. </widget>
  486. </item>
  487. <item row="2" column="1">
  488. <widget class="QLineEdit" name="lineEdit_Offset">
  489. <property name="minimumSize">
  490. <size>
  491. <width>0</width>
  492. <height>0</height>
  493. </size>
  494. </property>
  495. <property name="styleSheet">
  496. <string notr="true"/>
  497. </property>
  498. </widget>
  499. </item>
  500. <item row="2" column="2">
  501. <widget class="QPushButton" name="BTN_Add3">
  502. <property name="minimumSize">
  503. <size>
  504. <width>0</width>
  505. <height>0</height>
  506. </size>
  507. </property>
  508. <property name="text">
  509. <string>+</string>
  510. </property>
  511. </widget>
  512. </item>
  513. <item row="2" column="3">
  514. <widget class="QPushButton" name="BTN_Sub3">
  515. <property name="minimumSize">
  516. <size>
  517. <width>0</width>
  518. <height>0</height>
  519. </size>
  520. </property>
  521. <property name="text">
  522. <string>-</string>
  523. </property>
  524. </widget>
  525. </item>
  526. <item row="3" column="1">
  527. <widget class="QComboBox" name="comboBox_select">
  528. <property name="minimumSize">
  529. <size>
  530. <width>0</width>
  531. <height>0</height>
  532. </size>
  533. </property>
  534. <property name="styleSheet">
  535. <string notr="true"/>
  536. </property>
  537. <item>
  538. <property name="text">
  539. <string>大于等于</string>
  540. </property>
  541. </item>
  542. <item>
  543. <property name="text">
  544. <string>小于等于</string>
  545. </property>
  546. </item>
  547. <item>
  548. <property name="text">
  549. <string>等于</string>
  550. </property>
  551. </item>
  552. <item>
  553. <property name="text">
  554. <string>不等于</string>
  555. </property>
  556. </item>
  557. </widget>
  558. </item>
  559. </layout>
  560. </widget>
  561. </item>
  562. </layout>
  563. </widget>
  564. <widget class="QWidget" name="Param">
  565. <attribute name="title">
  566. <string>详细参数</string>
  567. </attribute>
  568. <layout class="QGridLayout" name="gridLayout_3">
  569. <item row="0" column="0">
  570. <widget class="QGroupBox" name="groupBox">
  571. <property name="minimumSize">
  572. <size>
  573. <width>0</width>
  574. <height>80</height>
  575. </size>
  576. </property>
  577. <property name="title">
  578. <string/>
  579. </property>
  580. <layout class="QGridLayout" name="gridLayout_8">
  581. <item row="0" column="0">
  582. <widget class="QPushButton" name="btnAdd">
  583. <property name="minimumSize">
  584. <size>
  585. <width>0</width>
  586. <height>0</height>
  587. </size>
  588. </property>
  589. <property name="maximumSize">
  590. <size>
  591. <width>16777215</width>
  592. <height>80</height>
  593. </size>
  594. </property>
  595. <property name="text">
  596. <string>+</string>
  597. </property>
  598. </widget>
  599. </item>
  600. <item row="0" column="1">
  601. <widget class="QPushButton" name="btnDel">
  602. <property name="minimumSize">
  603. <size>
  604. <width>0</width>
  605. <height>0</height>
  606. </size>
  607. </property>
  608. <property name="maximumSize">
  609. <size>
  610. <width>16777215</width>
  611. <height>80</height>
  612. </size>
  613. </property>
  614. <property name="text">
  615. <string>-</string>
  616. </property>
  617. </widget>
  618. </item>
  619. <item row="0" column="2">
  620. <widget class="QPushButton" name="btnMoveUp">
  621. <property name="minimumSize">
  622. <size>
  623. <width>0</width>
  624. <height>0</height>
  625. </size>
  626. </property>
  627. <property name="maximumSize">
  628. <size>
  629. <width>16777215</width>
  630. <height>80</height>
  631. </size>
  632. </property>
  633. <property name="text">
  634. <string>U</string>
  635. </property>
  636. </widget>
  637. </item>
  638. <item row="0" column="3">
  639. <widget class="QPushButton" name="btnMoveDown">
  640. <property name="minimumSize">
  641. <size>
  642. <width>0</width>
  643. <height>0</height>
  644. </size>
  645. </property>
  646. <property name="maximumSize">
  647. <size>
  648. <width>16777215</width>
  649. <height>80</height>
  650. </size>
  651. </property>
  652. <property name="text">
  653. <string>D</string>
  654. </property>
  655. </widget>
  656. </item>
  657. <item row="0" column="4">
  658. <widget class="QCheckBox" name="checkBox">
  659. <property name="minimumSize">
  660. <size>
  661. <width>0</width>
  662. <height>0</height>
  663. </size>
  664. </property>
  665. <property name="maximumSize">
  666. <size>
  667. <width>16777215</width>
  668. <height>16777215</height>
  669. </size>
  670. </property>
  671. <property name="text">
  672. <string>实时刷新</string>
  673. </property>
  674. </widget>
  675. </item>
  676. </layout>
  677. </widget>
  678. </item>
  679. <item row="1" column="0">
  680. <widget class="MyTableWidget" name="tableWidget">
  681. <property name="styleSheet">
  682. <string notr="true"/>
  683. </property>
  684. <attribute name="horizontalHeaderDefaultSectionSize">
  685. <number>40</number>
  686. </attribute>
  687. <column>
  688. <property name="text">
  689. <string>启用</string>
  690. </property>
  691. </column>
  692. <column>
  693. <property name="text">
  694. <string>索引</string>
  695. </property>
  696. </column>
  697. <column>
  698. <property name="text">
  699. <string>使用</string>
  700. </property>
  701. </column>
  702. <column>
  703. <property name="text">
  704. <string>类型</string>
  705. </property>
  706. </column>
  707. <column>
  708. <property name="text">
  709. <string>参数</string>
  710. </property>
  711. </column>
  712. </widget>
  713. </item>
  714. <item row="2" column="0">
  715. <widget class="QStackedWidget" name="stackedWidget">
  716. <property name="styleSheet">
  717. <string notr="true"/>
  718. </property>
  719. </widget>
  720. </item>
  721. </layout>
  722. </widget>
  723. <widget class="QWidget" name="Out">
  724. <attribute name="title">
  725. <string>输出数据</string>
  726. </attribute>
  727. <layout class="QGridLayout" name="gridLayout_4">
  728. <item row="0" column="0">
  729. <widget class="QGroupBox" name="groupBox_2">
  730. <property name="minimumSize">
  731. <size>
  732. <width>0</width>
  733. <height>80</height>
  734. </size>
  735. </property>
  736. <property name="title">
  737. <string/>
  738. </property>
  739. <layout class="QGridLayout" name="gridLayout_9">
  740. <item row="0" column="0">
  741. <widget class="QCheckBox" name="checkBox_paixu">
  742. <property name="minimumSize">
  743. <size>
  744. <width>0</width>
  745. <height>0</height>
  746. </size>
  747. </property>
  748. <property name="styleSheet">
  749. <string notr="true">border:0px;</string>
  750. </property>
  751. <property name="text">
  752. <string>特征排序</string>
  753. </property>
  754. </widget>
  755. </item>
  756. <item row="0" column="1" rowspan="2">
  757. <widget class="QComboBox" name="comboBox">
  758. <property name="minimumSize">
  759. <size>
  760. <width>0</width>
  761. <height>0</height>
  762. </size>
  763. </property>
  764. <property name="styleSheet">
  765. <string notr="true"/>
  766. </property>
  767. <item>
  768. <property name="text">
  769. <string>面积</string>
  770. </property>
  771. </item>
  772. <item>
  773. <property name="text">
  774. <string>X坐标</string>
  775. </property>
  776. </item>
  777. <item>
  778. <property name="text">
  779. <string>Y坐标</string>
  780. </property>
  781. </item>
  782. <item>
  783. <property name="text">
  784. <string>圆度</string>
  785. </property>
  786. </item>
  787. <item>
  788. <property name="text">
  789. <string>紧密度</string>
  790. </property>
  791. </item>
  792. <item>
  793. <property name="text">
  794. <string>凸度</string>
  795. </property>
  796. </item>
  797. <item>
  798. <property name="text">
  799. <string>矩形度</string>
  800. </property>
  801. </item>
  802. <item>
  803. <property name="text">
  804. <string>最大内直径</string>
  805. </property>
  806. </item>
  807. <item>
  808. <property name="text">
  809. <string>长度</string>
  810. </property>
  811. </item>
  812. <item>
  813. <property name="text">
  814. <string>宽度</string>
  815. </property>
  816. </item>
  817. <item>
  818. <property name="text">
  819. <string>角度</string>
  820. </property>
  821. </item>
  822. </widget>
  823. </item>
  824. <item row="1" column="0">
  825. <widget class="QCheckBox" name="checkBox_shengxu">
  826. <property name="maximumSize">
  827. <size>
  828. <width>16777215</width>
  829. <height>50</height>
  830. </size>
  831. </property>
  832. <property name="styleSheet">
  833. <string notr="true">border:0px;</string>
  834. </property>
  835. <property name="text">
  836. <string>升序</string>
  837. </property>
  838. </widget>
  839. </item>
  840. </layout>
  841. </widget>
  842. </item>
  843. <item row="1" column="0">
  844. <widget class="QTableWidget" name="tableWidget_Feature">
  845. <property name="styleSheet">
  846. <string notr="true">QTableWidget
  847. {
  848. border:0px solid white;
  849. background:rgb(255, 255, 255);
  850. background: transparent;
  851. font: 8pt &quot;Arial&quot;;
  852. }
  853. QHeaderView::section
  854. {
  855. border:0px solid white;
  856. background:rgb(255, 255, 255);
  857. background: transparent;
  858. }
  859. </string>
  860. </property>
  861. <attribute name="horizontalHeaderDefaultSectionSize">
  862. <number>40</number>
  863. </attribute>
  864. <column>
  865. <property name="text">
  866. <string>索引</string>
  867. </property>
  868. </column>
  869. <column>
  870. <property name="text">
  871. <string>面积</string>
  872. </property>
  873. </column>
  874. <column>
  875. <property name="text">
  876. <string>X</string>
  877. </property>
  878. </column>
  879. <column>
  880. <property name="text">
  881. <string>Y</string>
  882. </property>
  883. </column>
  884. <column>
  885. <property name="text">
  886. <string>圆度</string>
  887. </property>
  888. </column>
  889. <column>
  890. <property name="text">
  891. <string>紧密度</string>
  892. </property>
  893. </column>
  894. <column>
  895. <property name="text">
  896. <string>凸度</string>
  897. </property>
  898. </column>
  899. <column>
  900. <property name="text">
  901. <string>矩形度</string>
  902. </property>
  903. </column>
  904. <column>
  905. <property name="text">
  906. <string>内直径</string>
  907. </property>
  908. </column>
  909. <column>
  910. <property name="text">
  911. <string>宽度</string>
  912. </property>
  913. </column>
  914. <column>
  915. <property name="text">
  916. <string>高度</string>
  917. </property>
  918. </column>
  919. <column>
  920. <property name="text">
  921. <string>角度</string>
  922. </property>
  923. </column>
  924. </widget>
  925. </item>
  926. </layout>
  927. </widget>
  928. <widget class="QWidget" name="Show">
  929. <attribute name="title">
  930. <string>显示信息</string>
  931. </attribute>
  932. </widget>
  933. </widget>
  934. </item>
  935. </layout>
  936. </widget>
  937. <layoutdefault spacing="6" margin="11"/>
  938. <customwidgets>
  939. <customwidget>
  940. <class>MyTableWidget</class>
  941. <extends>QTableWidget</extends>
  942. <header>mytablewidget.h</header>
  943. </customwidget>
  944. </customwidgets>
  945. <resources/>
  946. <connections/>
  947. </ui>