ImageEdit.ui 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ImageEdit</class>
  4. <widget class="QWidget" name="ImageEdit">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>848</width>
  10. <height>663</height>
  11. </rect>
  12. </property>
  13. <property name="minimumSize">
  14. <size>
  15. <width>848</width>
  16. <height>663</height>
  17. </size>
  18. </property>
  19. <property name="windowTitle">
  20. <string>Form</string>
  21. </property>
  22. <property name="styleSheet">
  23. <string notr="true">border: 1px solid #6D6D6E;</string>
  24. </property>
  25. <widget class="QWidget" name="rightWgt" native="true">
  26. <property name="geometry">
  27. <rect>
  28. <x>792</x>
  29. <y>9</y>
  30. <width>47</width>
  31. <height>645</height>
  32. </rect>
  33. </property>
  34. <property name="sizePolicy">
  35. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  36. <horstretch>0</horstretch>
  37. <verstretch>0</verstretch>
  38. </sizepolicy>
  39. </property>
  40. <property name="minimumSize">
  41. <size>
  42. <width>47</width>
  43. <height>0</height>
  44. </size>
  45. </property>
  46. <property name="maximumSize">
  47. <size>
  48. <width>47</width>
  49. <height>16777215</height>
  50. </size>
  51. </property>
  52. <property name="styleSheet">
  53. <string notr="true">background: #808080;
  54. background: rgba(0,0,0,0.50);
  55. border: 1px solid #6D6D6E;</string>
  56. </property>
  57. <layout class="QVBoxLayout" name="verticalLayout">
  58. <property name="spacing">
  59. <number>0</number>
  60. </property>
  61. <property name="leftMargin">
  62. <number>0</number>
  63. </property>
  64. <property name="topMargin">
  65. <number>0</number>
  66. </property>
  67. <property name="rightMargin">
  68. <number>0</number>
  69. </property>
  70. <property name="bottomMargin">
  71. <number>0</number>
  72. </property>
  73. <item>
  74. <widget class="QPushButton" name="pushButton">
  75. <property name="minimumSize">
  76. <size>
  77. <width>47</width>
  78. <height>47</height>
  79. </size>
  80. </property>
  81. <property name="maximumSize">
  82. <size>
  83. <width>47</width>
  84. <height>47</height>
  85. </size>
  86. </property>
  87. <property name="text">
  88. <string/>
  89. </property>
  90. <property name="icon">
  91. <iconset resource="qrc.qrc">
  92. <normaloff>:/new/prefix1/images/ic_sidebar_pencil.png</normaloff>:/new/prefix1/images/ic_sidebar_pencil.png</iconset>
  93. </property>
  94. </widget>
  95. </item>
  96. <item>
  97. <widget class="QPushButton" name="pushButton_2">
  98. <property name="minimumSize">
  99. <size>
  100. <width>47</width>
  101. <height>47</height>
  102. </size>
  103. </property>
  104. <property name="maximumSize">
  105. <size>
  106. <width>47</width>
  107. <height>47</height>
  108. </size>
  109. </property>
  110. <property name="text">
  111. <string/>
  112. </property>
  113. <property name="icon">
  114. <iconset resource="qrc.qrc">
  115. <normaloff>:/new/prefix1/images/ic_sidebar_text.png</normaloff>:/new/prefix1/images/ic_sidebar_text.png</iconset>
  116. </property>
  117. </widget>
  118. </item>
  119. <item>
  120. <widget class="QPushButton" name="pushButton_3">
  121. <property name="minimumSize">
  122. <size>
  123. <width>47</width>
  124. <height>47</height>
  125. </size>
  126. </property>
  127. <property name="maximumSize">
  128. <size>
  129. <width>47</width>
  130. <height>47</height>
  131. </size>
  132. </property>
  133. <property name="text">
  134. <string/>
  135. </property>
  136. <property name="icon">
  137. <iconset resource="qrc.qrc">
  138. <normaloff>:/new/prefix1/images/ic_sidebar_arrow.png</normaloff>:/new/prefix1/images/ic_sidebar_arrow.png</iconset>
  139. </property>
  140. </widget>
  141. </item>
  142. <item>
  143. <widget class="QPushButton" name="pushButton_12">
  144. <property name="minimumSize">
  145. <size>
  146. <width>0</width>
  147. <height>8</height>
  148. </size>
  149. </property>
  150. <property name="maximumSize">
  151. <size>
  152. <width>16777215</width>
  153. <height>8</height>
  154. </size>
  155. </property>
  156. <property name="styleSheet">
  157. <string notr="true">color: rgb(255, 255, 255);</string>
  158. </property>
  159. <property name="text">
  160. <string>▼▼▼</string>
  161. </property>
  162. </widget>
  163. </item>
  164. <item>
  165. <widget class="QPushButton" name="pbt_line">
  166. <property name="minimumSize">
  167. <size>
  168. <width>47</width>
  169. <height>47</height>
  170. </size>
  171. </property>
  172. <property name="maximumSize">
  173. <size>
  174. <width>47</width>
  175. <height>47</height>
  176. </size>
  177. </property>
  178. <property name="styleSheet">
  179. <string notr="true">font: 14pt &quot;Agency FB&quot;;</string>
  180. </property>
  181. <property name="text">
  182. <string/>
  183. </property>
  184. <property name="icon">
  185. <iconset resource="qrc.qrc">
  186. <normaloff>:/new/prefix1/images/ic_drawing_beeline.png</normaloff>:/new/prefix1/images/ic_drawing_beeline.png</iconset>
  187. </property>
  188. </widget>
  189. </item>
  190. <item>
  191. <widget class="QPushButton" name="pbt_Rect">
  192. <property name="minimumSize">
  193. <size>
  194. <width>47</width>
  195. <height>47</height>
  196. </size>
  197. </property>
  198. <property name="maximumSize">
  199. <size>
  200. <width>47</width>
  201. <height>47</height>
  202. </size>
  203. </property>
  204. <property name="text">
  205. <string/>
  206. </property>
  207. <property name="icon">
  208. <iconset resource="qrc.qrc">
  209. <normaloff>:/new/prefix1/images/ic_sidebar_shape.png</normaloff>:/new/prefix1/images/ic_sidebar_shape.png</iconset>
  210. </property>
  211. </widget>
  212. </item>
  213. <item>
  214. <widget class="QPushButton" name="pushButton_13">
  215. <property name="minimumSize">
  216. <size>
  217. <width>0</width>
  218. <height>8</height>
  219. </size>
  220. </property>
  221. <property name="maximumSize">
  222. <size>
  223. <width>16777215</width>
  224. <height>8</height>
  225. </size>
  226. </property>
  227. <property name="styleSheet">
  228. <string notr="true">color: rgb(255, 255, 255);</string>
  229. </property>
  230. <property name="text">
  231. <string>▼▼▼</string>
  232. </property>
  233. </widget>
  234. </item>
  235. <item>
  236. <widget class="QPushButton" name="pbt_triangle">
  237. <property name="minimumSize">
  238. <size>
  239. <width>47</width>
  240. <height>47</height>
  241. </size>
  242. </property>
  243. <property name="maximumSize">
  244. <size>
  245. <width>47</width>
  246. <height>47</height>
  247. </size>
  248. </property>
  249. <property name="text">
  250. <string/>
  251. </property>
  252. <property name="icon">
  253. <iconset resource="qrc.qrc">
  254. <normaloff>:/new/prefix1/images/ic_drawing_triangle.png</normaloff>:/new/prefix1/images/ic_drawing_triangle.png</iconset>
  255. </property>
  256. <property name="iconSize">
  257. <size>
  258. <width>16</width>
  259. <height>16</height>
  260. </size>
  261. </property>
  262. </widget>
  263. </item>
  264. <item>
  265. <widget class="QPushButton" name="pbt_circle">
  266. <property name="minimumSize">
  267. <size>
  268. <width>47</width>
  269. <height>47</height>
  270. </size>
  271. </property>
  272. <property name="maximumSize">
  273. <size>
  274. <width>47</width>
  275. <height>47</height>
  276. </size>
  277. </property>
  278. <property name="text">
  279. <string/>
  280. </property>
  281. <property name="icon">
  282. <iconset resource="qrc.qrc">
  283. <normaloff>:/new/prefix1/images/ic_drawing_round.png</normaloff>:/new/prefix1/images/ic_drawing_round.png</iconset>
  284. </property>
  285. </widget>
  286. </item>
  287. <item>
  288. <widget class="QPushButton" name="pushButton_8">
  289. <property name="minimumSize">
  290. <size>
  291. <width>47</width>
  292. <height>47</height>
  293. </size>
  294. </property>
  295. <property name="maximumSize">
  296. <size>
  297. <width>47</width>
  298. <height>47</height>
  299. </size>
  300. </property>
  301. <property name="text">
  302. <string/>
  303. </property>
  304. <property name="icon">
  305. <iconset resource="qrc.qrc">
  306. <normaloff>:/new/prefix1/images/ic_sidebar_checked.png</normaloff>:/new/prefix1/images/ic_sidebar_checked.png</iconset>
  307. </property>
  308. </widget>
  309. </item>
  310. <item>
  311. <widget class="QPushButton" name="pushButton_5">
  312. <property name="minimumSize">
  313. <size>
  314. <width>47</width>
  315. <height>47</height>
  316. </size>
  317. </property>
  318. <property name="maximumSize">
  319. <size>
  320. <width>47</width>
  321. <height>47</height>
  322. </size>
  323. </property>
  324. <property name="text">
  325. <string/>
  326. </property>
  327. <property name="icon">
  328. <iconset resource="qrc.qrc">
  329. <normaloff>:/new/prefix1/images/ic_sidebar_image.png</normaloff>:/new/prefix1/images/ic_sidebar_image.png</iconset>
  330. </property>
  331. </widget>
  332. </item>
  333. <item>
  334. <widget class="QPushButton" name="pushButton_Color">
  335. <property name="minimumSize">
  336. <size>
  337. <width>47</width>
  338. <height>47</height>
  339. </size>
  340. </property>
  341. <property name="maximumSize">
  342. <size>
  343. <width>47</width>
  344. <height>47</height>
  345. </size>
  346. </property>
  347. <property name="text">
  348. <string/>
  349. </property>
  350. <property name="icon">
  351. <iconset resource="qrc.qrc">
  352. <normaloff>:/new/prefix1/images/ic_sidebar_color.png</normaloff>:/new/prefix1/images/ic_sidebar_color.png</iconset>
  353. </property>
  354. </widget>
  355. </item>
  356. <item>
  357. <widget class="QPushButton" name="pbt_Blue">
  358. <property name="minimumSize">
  359. <size>
  360. <width>47</width>
  361. <height>47</height>
  362. </size>
  363. </property>
  364. <property name="maximumSize">
  365. <size>
  366. <width>47</width>
  367. <height>47</height>
  368. </size>
  369. </property>
  370. <property name="styleSheet">
  371. <string notr="true">background: #37A4F5;
  372. border-bottom-color: rgb(138, 80, 255);
  373. gridline-color: rgb(0, 0, 0);
  374. border-width: 9px;
  375. border-color: rgb(106, 106, 106);</string>
  376. </property>
  377. <property name="text">
  378. <string/>
  379. </property>
  380. </widget>
  381. </item>
  382. <item>
  383. <spacer name="verticalSpacer_2">
  384. <property name="orientation">
  385. <enum>Qt::Vertical</enum>
  386. </property>
  387. <property name="sizeType">
  388. <enum>QSizePolicy::Maximum</enum>
  389. </property>
  390. <property name="sizeHint" stdset="0">
  391. <size>
  392. <width>20</width>
  393. <height>1</height>
  394. </size>
  395. </property>
  396. </spacer>
  397. </item>
  398. <item>
  399. <widget class="QPushButton" name="pbt_Green">
  400. <property name="minimumSize">
  401. <size>
  402. <width>47</width>
  403. <height>47</height>
  404. </size>
  405. </property>
  406. <property name="maximumSize">
  407. <size>
  408. <width>47</width>
  409. <height>47</height>
  410. </size>
  411. </property>
  412. <property name="styleSheet">
  413. <string notr="true">background: #1DB954;
  414. border-bottom-color: rgb(138, 80, 255);
  415. gridline-color: rgb(0, 0, 0);
  416. border-width: 9px;
  417. border-color: rgb(106, 106, 106);</string>
  418. </property>
  419. <property name="text">
  420. <string/>
  421. </property>
  422. </widget>
  423. </item>
  424. <item>
  425. <widget class="QPushButton" name="pushButton_6">
  426. <property name="minimumSize">
  427. <size>
  428. <width>0</width>
  429. <height>8</height>
  430. </size>
  431. </property>
  432. <property name="maximumSize">
  433. <size>
  434. <width>16777215</width>
  435. <height>8</height>
  436. </size>
  437. </property>
  438. <property name="styleSheet">
  439. <string notr="true">color: rgb(255, 255, 255);</string>
  440. </property>
  441. <property name="text">
  442. <string>▼▼▼</string>
  443. </property>
  444. </widget>
  445. </item>
  446. <item>
  447. <widget class="QPushButton" name="pushButton_4">
  448. <property name="minimumSize">
  449. <size>
  450. <width>47</width>
  451. <height>47</height>
  452. </size>
  453. </property>
  454. <property name="maximumSize">
  455. <size>
  456. <width>47</width>
  457. <height>47</height>
  458. </size>
  459. </property>
  460. <property name="palette">
  461. <palette>
  462. <active>
  463. <colorrole role="WindowText">
  464. <brush brushstyle="SolidPattern">
  465. <color alpha="255">
  466. <red>255</red>
  467. <green>255</green>
  468. <blue>255</blue>
  469. </color>
  470. </brush>
  471. </colorrole>
  472. <colorrole role="Button">
  473. <brush brushstyle="SolidPattern">
  474. <color alpha="127">
  475. <red>0</red>
  476. <green>0</green>
  477. <blue>0</blue>
  478. </color>
  479. </brush>
  480. </colorrole>
  481. <colorrole role="Text">
  482. <brush brushstyle="SolidPattern">
  483. <color alpha="255">
  484. <red>255</red>
  485. <green>255</green>
  486. <blue>255</blue>
  487. </color>
  488. </brush>
  489. </colorrole>
  490. <colorrole role="ButtonText">
  491. <brush brushstyle="SolidPattern">
  492. <color alpha="255">
  493. <red>255</red>
  494. <green>255</green>
  495. <blue>255</blue>
  496. </color>
  497. </brush>
  498. </colorrole>
  499. <colorrole role="Base">
  500. <brush brushstyle="SolidPattern">
  501. <color alpha="127">
  502. <red>0</red>
  503. <green>0</green>
  504. <blue>0</blue>
  505. </color>
  506. </brush>
  507. </colorrole>
  508. <colorrole role="Window">
  509. <brush brushstyle="SolidPattern">
  510. <color alpha="127">
  511. <red>0</red>
  512. <green>0</green>
  513. <blue>0</blue>
  514. </color>
  515. </brush>
  516. </colorrole>
  517. <colorrole role="PlaceholderText">
  518. <brush brushstyle="NoBrush">
  519. <color alpha="128">
  520. <red>255</red>
  521. <green>255</green>
  522. <blue>255</blue>
  523. </color>
  524. </brush>
  525. </colorrole>
  526. </active>
  527. <inactive>
  528. <colorrole role="WindowText">
  529. <brush brushstyle="SolidPattern">
  530. <color alpha="255">
  531. <red>255</red>
  532. <green>255</green>
  533. <blue>255</blue>
  534. </color>
  535. </brush>
  536. </colorrole>
  537. <colorrole role="Button">
  538. <brush brushstyle="SolidPattern">
  539. <color alpha="127">
  540. <red>0</red>
  541. <green>0</green>
  542. <blue>0</blue>
  543. </color>
  544. </brush>
  545. </colorrole>
  546. <colorrole role="Text">
  547. <brush brushstyle="SolidPattern">
  548. <color alpha="255">
  549. <red>255</red>
  550. <green>255</green>
  551. <blue>255</blue>
  552. </color>
  553. </brush>
  554. </colorrole>
  555. <colorrole role="ButtonText">
  556. <brush brushstyle="SolidPattern">
  557. <color alpha="255">
  558. <red>255</red>
  559. <green>255</green>
  560. <blue>255</blue>
  561. </color>
  562. </brush>
  563. </colorrole>
  564. <colorrole role="Base">
  565. <brush brushstyle="SolidPattern">
  566. <color alpha="127">
  567. <red>0</red>
  568. <green>0</green>
  569. <blue>0</blue>
  570. </color>
  571. </brush>
  572. </colorrole>
  573. <colorrole role="Window">
  574. <brush brushstyle="SolidPattern">
  575. <color alpha="127">
  576. <red>0</red>
  577. <green>0</green>
  578. <blue>0</blue>
  579. </color>
  580. </brush>
  581. </colorrole>
  582. <colorrole role="PlaceholderText">
  583. <brush brushstyle="NoBrush">
  584. <color alpha="128">
  585. <red>255</red>
  586. <green>255</green>
  587. <blue>255</blue>
  588. </color>
  589. </brush>
  590. </colorrole>
  591. </inactive>
  592. <disabled>
  593. <colorrole role="WindowText">
  594. <brush brushstyle="SolidPattern">
  595. <color alpha="255">
  596. <red>255</red>
  597. <green>255</green>
  598. <blue>255</blue>
  599. </color>
  600. </brush>
  601. </colorrole>
  602. <colorrole role="Button">
  603. <brush brushstyle="SolidPattern">
  604. <color alpha="127">
  605. <red>0</red>
  606. <green>0</green>
  607. <blue>0</blue>
  608. </color>
  609. </brush>
  610. </colorrole>
  611. <colorrole role="Text">
  612. <brush brushstyle="SolidPattern">
  613. <color alpha="255">
  614. <red>255</red>
  615. <green>255</green>
  616. <blue>255</blue>
  617. </color>
  618. </brush>
  619. </colorrole>
  620. <colorrole role="ButtonText">
  621. <brush brushstyle="SolidPattern">
  622. <color alpha="255">
  623. <red>255</red>
  624. <green>255</green>
  625. <blue>255</blue>
  626. </color>
  627. </brush>
  628. </colorrole>
  629. <colorrole role="Base">
  630. <brush brushstyle="SolidPattern">
  631. <color alpha="127">
  632. <red>0</red>
  633. <green>0</green>
  634. <blue>0</blue>
  635. </color>
  636. </brush>
  637. </colorrole>
  638. <colorrole role="Window">
  639. <brush brushstyle="SolidPattern">
  640. <color alpha="127">
  641. <red>0</red>
  642. <green>0</green>
  643. <blue>0</blue>
  644. </color>
  645. </brush>
  646. </colorrole>
  647. <colorrole role="PlaceholderText">
  648. <brush brushstyle="NoBrush">
  649. <color alpha="128">
  650. <red>255</red>
  651. <green>255</green>
  652. <blue>255</blue>
  653. </color>
  654. </brush>
  655. </colorrole>
  656. </disabled>
  657. </palette>
  658. </property>
  659. <property name="font">
  660. <font>
  661. <pointsize>10</pointsize>
  662. <weight>75</weight>
  663. <bold>true</bold>
  664. </font>
  665. </property>
  666. <property name="styleSheet">
  667. <string notr="true">color: rgb(255, 255, 255);</string>
  668. </property>
  669. <property name="text">
  670. <string>选择</string>
  671. </property>
  672. </widget>
  673. </item>
  674. <item>
  675. <widget class="QPushButton" name="pushButton_9">
  676. <property name="minimumSize">
  677. <size>
  678. <width>47</width>
  679. <height>47</height>
  680. </size>
  681. </property>
  682. <property name="maximumSize">
  683. <size>
  684. <width>47</width>
  685. <height>47</height>
  686. </size>
  687. </property>
  688. <property name="text">
  689. <string/>
  690. </property>
  691. <property name="icon">
  692. <iconset resource="qrc.qrc">
  693. <normaloff>:/new/prefix1/images/ic_turn left.png</normaloff>:/new/prefix1/images/ic_turn left.png</iconset>
  694. </property>
  695. </widget>
  696. </item>
  697. <item>
  698. <widget class="QToolButton" name="toolButton_10">
  699. <property name="minimumSize">
  700. <size>
  701. <width>47</width>
  702. <height>47</height>
  703. </size>
  704. </property>
  705. <property name="maximumSize">
  706. <size>
  707. <width>47</width>
  708. <height>47</height>
  709. </size>
  710. </property>
  711. <property name="text">
  712. <string/>
  713. </property>
  714. <property name="icon">
  715. <iconset resource="qrc.qrc">
  716. <normaloff>:/new/prefix1/images/ic_turn right.png</normaloff>:/new/prefix1/images/ic_turn right.png</iconset>
  717. </property>
  718. <property name="popupMode">
  719. <enum>QToolButton::MenuButtonPopup</enum>
  720. </property>
  721. <property name="arrowType">
  722. <enum>Qt::UpArrow</enum>
  723. </property>
  724. </widget>
  725. </item>
  726. <item>
  727. <spacer name="verticalSpacer">
  728. <property name="orientation">
  729. <enum>Qt::Vertical</enum>
  730. </property>
  731. <property name="sizeHint" stdset="0">
  732. <size>
  733. <width>47</width>
  734. <height>40</height>
  735. </size>
  736. </property>
  737. </spacer>
  738. </item>
  739. </layout>
  740. </widget>
  741. <widget class="PaintView" name="graphicsView">
  742. <property name="geometry">
  743. <rect>
  744. <x>10</x>
  745. <y>10</y>
  746. <width>781</width>
  747. <height>641</height>
  748. </rect>
  749. </property>
  750. </widget>
  751. <action name="saveAction">
  752. <property name="icon">
  753. <iconset resource="qrc.qrc">
  754. <normaloff>:/new/prefix1/images/save.png</normaloff>:/new/prefix1/images/save.png</iconset>
  755. </property>
  756. <property name="text">
  757. <string>保存</string>
  758. </property>
  759. </action>
  760. <action name="openAction">
  761. <property name="icon">
  762. <iconset resource="qrc.qrc">
  763. <normaloff>:/new/prefix1/images/open.ico</normaloff>:/new/prefix1/images/open.ico</iconset>
  764. </property>
  765. <property name="text">
  766. <string>打开</string>
  767. </property>
  768. <property name="toolTip">
  769. <string>打开</string>
  770. </property>
  771. </action>
  772. </widget>
  773. <customwidgets>
  774. <customwidget>
  775. <class>PaintView</class>
  776. <extends>QGraphicsView</extends>
  777. <header location="global">../GradeSystem/UI/GradeGraphics/PaintView.h</header>
  778. </customwidget>
  779. </customwidgets>
  780. <resources>
  781. <include location="qrc.qrc"/>
  782. </resources>
  783. <connections/>
  784. </ui>