creerPlateau.ui 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>crp_fenetre</class>
  4. <widget class="QDialog" name="crp_fenetre">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>480</width>
  10. <height>311</height>
  11. </rect>
  12. </property>
  13. <property name="minimumSize">
  14. <size>
  15. <width>480</width>
  16. <height>311</height>
  17. </size>
  18. </property>
  19. <property name="maximumSize">
  20. <size>
  21. <width>480</width>
  22. <height>311</height>
  23. </size>
  24. </property>
  25. <property name="font">
  26. <font>
  27. <family>Verdana</family>
  28. </font>
  29. </property>
  30. <property name="windowTitle">
  31. <string>Créer un plateau</string>
  32. </property>
  33. <widget class="QSpinBox" name="crp_hauteur">
  34. <property name="geometry">
  35. <rect>
  36. <x>265</x>
  37. <y>78</y>
  38. <width>51</width>
  39. <height>31</height>
  40. </rect>
  41. </property>
  42. <property name="palette">
  43. <palette>
  44. <active>
  45. <colorrole role="Base">
  46. <brush brushstyle="SolidPattern">
  47. <color alpha="255">
  48. <red>248</red>
  49. <green>248</green>
  50. <blue>248</blue>
  51. </color>
  52. </brush>
  53. </colorrole>
  54. </active>
  55. <inactive>
  56. <colorrole role="Base">
  57. <brush brushstyle="SolidPattern">
  58. <color alpha="255">
  59. <red>248</red>
  60. <green>248</green>
  61. <blue>248</blue>
  62. </color>
  63. </brush>
  64. </colorrole>
  65. </inactive>
  66. <disabled>
  67. <colorrole role="Base">
  68. <brush brushstyle="SolidPattern">
  69. <color alpha="255">
  70. <red>240</red>
  71. <green>240</green>
  72. <blue>240</blue>
  73. </color>
  74. </brush>
  75. </colorrole>
  76. </disabled>
  77. </palette>
  78. </property>
  79. <property name="font">
  80. <font>
  81. <pointsize>10</pointsize>
  82. </font>
  83. </property>
  84. <property name="minimum">
  85. <number>5</number>
  86. </property>
  87. <property name="maximum">
  88. <number>300</number>
  89. </property>
  90. <property name="singleStep">
  91. <number>1</number>
  92. </property>
  93. <property name="value">
  94. <number>30</number>
  95. </property>
  96. </widget>
  97. <widget class="QPushButton" name="crp_ok">
  98. <property name="enabled">
  99. <bool>false</bool>
  100. </property>
  101. <property name="geometry">
  102. <rect>
  103. <x>350</x>
  104. <y>270</y>
  105. <width>111</width>
  106. <height>30</height>
  107. </rect>
  108. </property>
  109. <property name="font">
  110. <font>
  111. <pointsize>10</pointsize>
  112. </font>
  113. </property>
  114. <property name="text">
  115. <string>Ok</string>
  116. </property>
  117. <property name="default">
  118. <bool>true</bool>
  119. </property>
  120. </widget>
  121. <widget class="QLabel" name="label_7">
  122. <property name="geometry">
  123. <rect>
  124. <x>30</x>
  125. <y>50</y>
  126. <width>151</width>
  127. <height>21</height>
  128. </rect>
  129. </property>
  130. <property name="font">
  131. <font>
  132. <pointsize>10</pointsize>
  133. </font>
  134. </property>
  135. <property name="text">
  136. <string>Dimensions (L x H) : </string>
  137. </property>
  138. </widget>
  139. <widget class="DmLineEdit" name="crp_nom">
  140. <property name="geometry">
  141. <rect>
  142. <x>60</x>
  143. <y>10</y>
  144. <width>281</width>
  145. <height>31</height>
  146. </rect>
  147. </property>
  148. <property name="palette">
  149. <palette>
  150. <active>
  151. <colorrole role="Base">
  152. <brush brushstyle="SolidPattern">
  153. <color alpha="255">
  154. <red>248</red>
  155. <green>248</green>
  156. <blue>248</blue>
  157. </color>
  158. </brush>
  159. </colorrole>
  160. </active>
  161. <inactive>
  162. <colorrole role="Base">
  163. <brush brushstyle="SolidPattern">
  164. <color alpha="255">
  165. <red>248</red>
  166. <green>248</green>
  167. <blue>248</blue>
  168. </color>
  169. </brush>
  170. </colorrole>
  171. </inactive>
  172. <disabled>
  173. <colorrole role="Base">
  174. <brush brushstyle="SolidPattern">
  175. <color alpha="255">
  176. <red>240</red>
  177. <green>240</green>
  178. <blue>240</blue>
  179. </color>
  180. </brush>
  181. </colorrole>
  182. </disabled>
  183. </palette>
  184. </property>
  185. <property name="font">
  186. <font>
  187. <pointsize>10</pointsize>
  188. </font>
  189. </property>
  190. </widget>
  191. <widget class="QLabel" name="label_10">
  192. <property name="geometry">
  193. <rect>
  194. <x>10</x>
  195. <y>10</y>
  196. <width>51</width>
  197. <height>31</height>
  198. </rect>
  199. </property>
  200. <property name="font">
  201. <font>
  202. <pointsize>10</pointsize>
  203. </font>
  204. </property>
  205. <property name="text">
  206. <string>Nom : </string>
  207. </property>
  208. </widget>
  209. <widget class="QSpinBox" name="crp_largeur">
  210. <property name="geometry">
  211. <rect>
  212. <x>175</x>
  213. <y>78</y>
  214. <width>51</width>
  215. <height>31</height>
  216. </rect>
  217. </property>
  218. <property name="palette">
  219. <palette>
  220. <active>
  221. <colorrole role="Base">
  222. <brush brushstyle="SolidPattern">
  223. <color alpha="255">
  224. <red>248</red>
  225. <green>248</green>
  226. <blue>248</blue>
  227. </color>
  228. </brush>
  229. </colorrole>
  230. </active>
  231. <inactive>
  232. <colorrole role="Base">
  233. <brush brushstyle="SolidPattern">
  234. <color alpha="255">
  235. <red>248</red>
  236. <green>248</green>
  237. <blue>248</blue>
  238. </color>
  239. </brush>
  240. </colorrole>
  241. </inactive>
  242. <disabled>
  243. <colorrole role="Base">
  244. <brush brushstyle="SolidPattern">
  245. <color alpha="255">
  246. <red>240</red>
  247. <green>240</green>
  248. <blue>240</blue>
  249. </color>
  250. </brush>
  251. </colorrole>
  252. </disabled>
  253. </palette>
  254. </property>
  255. <property name="font">
  256. <font>
  257. <pointsize>10</pointsize>
  258. </font>
  259. </property>
  260. <property name="minimum">
  261. <number>5</number>
  262. </property>
  263. <property name="maximum">
  264. <number>300</number>
  265. </property>
  266. <property name="singleStep">
  267. <number>1</number>
  268. </property>
  269. <property name="value">
  270. <number>50</number>
  271. </property>
  272. </widget>
  273. <widget class="QSpinBox" name="crp_chapitre">
  274. <property name="geometry">
  275. <rect>
  276. <x>410</x>
  277. <y>10</y>
  278. <width>51</width>
  279. <height>31</height>
  280. </rect>
  281. </property>
  282. <property name="palette">
  283. <palette>
  284. <active>
  285. <colorrole role="Base">
  286. <brush brushstyle="SolidPattern">
  287. <color alpha="255">
  288. <red>248</red>
  289. <green>248</green>
  290. <blue>248</blue>
  291. </color>
  292. </brush>
  293. </colorrole>
  294. </active>
  295. <inactive>
  296. <colorrole role="Base">
  297. <brush brushstyle="SolidPattern">
  298. <color alpha="255">
  299. <red>248</red>
  300. <green>248</green>
  301. <blue>248</blue>
  302. </color>
  303. </brush>
  304. </colorrole>
  305. </inactive>
  306. <disabled>
  307. <colorrole role="Base">
  308. <brush brushstyle="SolidPattern">
  309. <color alpha="255">
  310. <red>240</red>
  311. <green>240</green>
  312. <blue>240</blue>
  313. </color>
  314. </brush>
  315. </colorrole>
  316. </disabled>
  317. </palette>
  318. </property>
  319. <property name="font">
  320. <font>
  321. <pointsize>10</pointsize>
  322. </font>
  323. </property>
  324. <property name="minimum">
  325. <number>1</number>
  326. </property>
  327. </widget>
  328. <widget class="QGroupBox" name="crp_formes">
  329. <property name="geometry">
  330. <rect>
  331. <x>150</x>
  332. <y>126</y>
  333. <width>311</width>
  334. <height>41</height>
  335. </rect>
  336. </property>
  337. <property name="font">
  338. <font>
  339. <pointsize>10</pointsize>
  340. </font>
  341. </property>
  342. <property name="title">
  343. <string/>
  344. </property>
  345. <property name="flat">
  346. <bool>true</bool>
  347. </property>
  348. <widget class="QRadioButton" name="crp_formeHexa">
  349. <property name="geometry">
  350. <rect>
  351. <x>80</x>
  352. <y>10</y>
  353. <width>111</width>
  354. <height>31</height>
  355. </rect>
  356. </property>
  357. <property name="font">
  358. <font>
  359. <pointsize>9</pointsize>
  360. </font>
  361. </property>
  362. <property name="text">
  363. <string>Hexagonales</string>
  364. </property>
  365. <property name="checked">
  366. <bool>true</bool>
  367. </property>
  368. </widget>
  369. <widget class="QRadioButton" name="crp_formeCarree">
  370. <property name="geometry">
  371. <rect>
  372. <x>220</x>
  373. <y>10</y>
  374. <width>81</width>
  375. <height>31</height>
  376. </rect>
  377. </property>
  378. <property name="font">
  379. <font>
  380. <pointsize>9</pointsize>
  381. </font>
  382. </property>
  383. <property name="text">
  384. <string>Carrées</string>
  385. </property>
  386. </widget>
  387. <widget class="QLabel" name="label_2">
  388. <property name="geometry">
  389. <rect>
  390. <x>0</x>
  391. <y>10</y>
  392. <width>61</width>
  393. <height>31</height>
  394. </rect>
  395. </property>
  396. <property name="text">
  397. <string>Cases : </string>
  398. </property>
  399. </widget>
  400. </widget>
  401. <widget class="QLabel" name="label_6">
  402. <property name="geometry">
  403. <rect>
  404. <x>360</x>
  405. <y>10</y>
  406. <width>51</width>
  407. <height>31</height>
  408. </rect>
  409. </property>
  410. <property name="font">
  411. <font>
  412. <pointsize>9</pointsize>
  413. <weight>50</weight>
  414. <bold>false</bold>
  415. </font>
  416. </property>
  417. <property name="text">
  418. <string>Chap. :</string>
  419. </property>
  420. </widget>
  421. <widget class="QLabel" name="label">
  422. <property name="geometry">
  423. <rect>
  424. <x>240</x>
  425. <y>80</y>
  426. <width>21</width>
  427. <height>31</height>
  428. </rect>
  429. </property>
  430. <property name="font">
  431. <font>
  432. <pointsize>9</pointsize>
  433. </font>
  434. </property>
  435. <property name="text">
  436. <string>x</string>
  437. </property>
  438. </widget>
  439. <widget class="QPushButton" name="crp_chercherModele">
  440. <property name="enabled">
  441. <bool>false</bool>
  442. </property>
  443. <property name="geometry">
  444. <rect>
  445. <x>10</x>
  446. <y>270</y>
  447. <width>141</width>
  448. <height>30</height>
  449. </rect>
  450. </property>
  451. <property name="font">
  452. <font>
  453. <pointsize>10</pointsize>
  454. </font>
  455. </property>
  456. <property name="text">
  457. <string>Utiliser un modèle</string>
  458. </property>
  459. <property name="default">
  460. <bool>true</bool>
  461. </property>
  462. </widget>
  463. <widget class="QToolButton" name="crp_couleur">
  464. <property name="geometry">
  465. <rect>
  466. <x>30</x>
  467. <y>136</y>
  468. <width>51</width>
  469. <height>31</height>
  470. </rect>
  471. </property>
  472. <property name="text">
  473. <string>...</string>
  474. </property>
  475. <property name="icon">
  476. <iconset resource="ressource.qrc">
  477. <normaloff>:/interface/16/ressource/palette_16.png</normaloff>:/interface/16/ressource/palette_16.png</iconset>
  478. </property>
  479. </widget>
  480. <widget class="QComboBox" name="crp_listeDimensions">
  481. <property name="geometry">
  482. <rect>
  483. <x>30</x>
  484. <y>78</y>
  485. <width>131</width>
  486. <height>31</height>
  487. </rect>
  488. </property>
  489. <property name="currentIndex">
  490. <number>1</number>
  491. </property>
  492. <property name="maxVisibleItems">
  493. <number>9</number>
  494. </property>
  495. <item>
  496. <property name="text">
  497. <string>Paysage - Petit</string>
  498. </property>
  499. </item>
  500. <item>
  501. <property name="text">
  502. <string>Paysage - Moyen</string>
  503. </property>
  504. </item>
  505. <item>
  506. <property name="text">
  507. <string>Paysage - Grand</string>
  508. </property>
  509. </item>
  510. <item>
  511. <property name="text">
  512. <string>Portrait - Petit</string>
  513. </property>
  514. </item>
  515. <item>
  516. <property name="text">
  517. <string>Portrait - Moyen</string>
  518. </property>
  519. </item>
  520. <item>
  521. <property name="text">
  522. <string>Portrait - Grand</string>
  523. </property>
  524. </item>
  525. <item>
  526. <property name="text">
  527. <string>Carré - Petit</string>
  528. </property>
  529. </item>
  530. <item>
  531. <property name="text">
  532. <string>Carré - Moyen</string>
  533. </property>
  534. </item>
  535. <item>
  536. <property name="text">
  537. <string>Carré - Grand</string>
  538. </property>
  539. </item>
  540. <item>
  541. <property name="text">
  542. <string>Personnalisé</string>
  543. </property>
  544. </item>
  545. </widget>
  546. <widget class="Line" name="line">
  547. <property name="geometry">
  548. <rect>
  549. <x>30</x>
  550. <y>119</y>
  551. <width>131</width>
  552. <height>16</height>
  553. </rect>
  554. </property>
  555. <property name="orientation">
  556. <enum>Qt::Horizontal</enum>
  557. </property>
  558. </widget>
  559. <widget class="DmTextEdit" name="crp_presentation">
  560. <property name="geometry">
  561. <rect>
  562. <x>28</x>
  563. <y>209</y>
  564. <width>421</width>
  565. <height>41</height>
  566. </rect>
  567. </property>
  568. <property name="palette">
  569. <palette>
  570. <active>
  571. <colorrole role="Base">
  572. <brush brushstyle="SolidPattern">
  573. <color alpha="255">
  574. <red>249</red>
  575. <green>249</green>
  576. <blue>249</blue>
  577. </color>
  578. </brush>
  579. </colorrole>
  580. </active>
  581. <inactive>
  582. <colorrole role="Base">
  583. <brush brushstyle="SolidPattern">
  584. <color alpha="255">
  585. <red>249</red>
  586. <green>249</green>
  587. <blue>249</blue>
  588. </color>
  589. </brush>
  590. </colorrole>
  591. </inactive>
  592. <disabled>
  593. <colorrole role="Base">
  594. <brush brushstyle="SolidPattern">
  595. <color alpha="255">
  596. <red>240</red>
  597. <green>240</green>
  598. <blue>240</blue>
  599. </color>
  600. </brush>
  601. </colorrole>
  602. </disabled>
  603. </palette>
  604. </property>
  605. </widget>
  606. <widget class="QLabel" name="label_3">
  607. <property name="geometry">
  608. <rect>
  609. <x>30</x>
  610. <y>190</y>
  611. <width>151</width>
  612. <height>21</height>
  613. </rect>
  614. </property>
  615. <property name="font">
  616. <font>
  617. <pointsize>8</pointsize>
  618. </font>
  619. </property>
  620. <property name="text">
  621. <string>Texte de présentation : </string>
  622. </property>
  623. </widget>
  624. <widget class="QCheckBox" name="crp_plafond">
  625. <property name="geometry">
  626. <rect>
  627. <x>340</x>
  628. <y>80</y>
  629. <width>81</width>
  630. <height>31</height>
  631. </rect>
  632. </property>
  633. <property name="text">
  634. <string> Plafond : </string>
  635. </property>
  636. </widget>
  637. <widget class="QSpinBox" name="crp_zP">
  638. <property name="enabled">
  639. <bool>false</bool>
  640. </property>
  641. <property name="geometry">
  642. <rect>
  643. <x>420</x>
  644. <y>80</y>
  645. <width>41</width>
  646. <height>31</height>
  647. </rect>
  648. </property>
  649. <property name="palette">
  650. <palette>
  651. <active>
  652. <colorrole role="Base">
  653. <brush brushstyle="SolidPattern">
  654. <color alpha="255">
  655. <red>249</red>
  656. <green>249</green>
  657. <blue>249</blue>
  658. </color>
  659. </brush>
  660. </colorrole>
  661. </active>
  662. <inactive>
  663. <colorrole role="Base">
  664. <brush brushstyle="SolidPattern">
  665. <color alpha="255">
  666. <red>249</red>
  667. <green>249</green>
  668. <blue>249</blue>
  669. </color>
  670. </brush>
  671. </colorrole>
  672. </inactive>
  673. <disabled>
  674. <colorrole role="Base">
  675. <brush brushstyle="SolidPattern">
  676. <color alpha="255">
  677. <red>240</red>
  678. <green>240</green>
  679. <blue>240</blue>
  680. </color>
  681. </brush>
  682. </colorrole>
  683. </disabled>
  684. </palette>
  685. </property>
  686. <property name="value">
  687. <number>6</number>
  688. </property>
  689. </widget>
  690. <widget class="Line" name="line_2">
  691. <property name="geometry">
  692. <rect>
  693. <x>30</x>
  694. <y>170</y>
  695. <width>431</width>
  696. <height>16</height>
  697. </rect>
  698. </property>
  699. <property name="orientation">
  700. <enum>Qt::Horizontal</enum>
  701. </property>
  702. </widget>
  703. </widget>
  704. <customwidgets>
  705. <customwidget>
  706. <class>DmLineEdit</class>
  707. <extends>QLineEdit</extends>
  708. <header location="global">dm.h</header>
  709. </customwidget>
  710. <customwidget>
  711. <class>DmTextEdit</class>
  712. <extends>QTextEdit</extends>
  713. <header location="global">dm.h</header>
  714. </customwidget>
  715. </customwidgets>
  716. <resources>
  717. <include location="ressource.qrc"/>
  718. </resources>
  719. <connections/>
  720. </ui>