creerPlateau.ui 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546
  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>485</width>
  10. <height>203</height>
  11. </rect>
  12. </property>
  13. <property name="font">
  14. <font>
  15. <family>Verdana</family>
  16. </font>
  17. </property>
  18. <property name="windowTitle">
  19. <string>Créer un plateau</string>
  20. </property>
  21. <widget class="QSpinBox" name="crp_hauteur">
  22. <property name="geometry">
  23. <rect>
  24. <x>410</x>
  25. <y>60</y>
  26. <width>51</width>
  27. <height>31</height>
  28. </rect>
  29. </property>
  30. <property name="palette">
  31. <palette>
  32. <active>
  33. <colorrole role="Base">
  34. <brush brushstyle="SolidPattern">
  35. <color alpha="255">
  36. <red>248</red>
  37. <green>248</green>
  38. <blue>248</blue>
  39. </color>
  40. </brush>
  41. </colorrole>
  42. </active>
  43. <inactive>
  44. <colorrole role="Base">
  45. <brush brushstyle="SolidPattern">
  46. <color alpha="255">
  47. <red>248</red>
  48. <green>248</green>
  49. <blue>248</blue>
  50. </color>
  51. </brush>
  52. </colorrole>
  53. </inactive>
  54. <disabled>
  55. <colorrole role="Base">
  56. <brush brushstyle="SolidPattern">
  57. <color alpha="255">
  58. <red>240</red>
  59. <green>240</green>
  60. <blue>240</blue>
  61. </color>
  62. </brush>
  63. </colorrole>
  64. </disabled>
  65. </palette>
  66. </property>
  67. <property name="font">
  68. <font>
  69. <pointsize>10</pointsize>
  70. </font>
  71. </property>
  72. <property name="minimum">
  73. <number>5</number>
  74. </property>
  75. <property name="maximum">
  76. <number>300</number>
  77. </property>
  78. <property name="singleStep">
  79. <number>1</number>
  80. </property>
  81. <property name="value">
  82. <number>25</number>
  83. </property>
  84. </widget>
  85. <widget class="QPushButton" name="crp_ok">
  86. <property name="enabled">
  87. <bool>false</bool>
  88. </property>
  89. <property name="geometry">
  90. <rect>
  91. <x>350</x>
  92. <y>150</y>
  93. <width>111</width>
  94. <height>30</height>
  95. </rect>
  96. </property>
  97. <property name="font">
  98. <font>
  99. <pointsize>10</pointsize>
  100. </font>
  101. </property>
  102. <property name="text">
  103. <string>Ok</string>
  104. </property>
  105. <property name="default">
  106. <bool>true</bool>
  107. </property>
  108. </widget>
  109. <widget class="QLabel" name="label_7">
  110. <property name="geometry">
  111. <rect>
  112. <x>180</x>
  113. <y>60</y>
  114. <width>151</width>
  115. <height>31</height>
  116. </rect>
  117. </property>
  118. <property name="font">
  119. <font>
  120. <pointsize>10</pointsize>
  121. </font>
  122. </property>
  123. <property name="text">
  124. <string>Dimensions (L x H) : </string>
  125. </property>
  126. </widget>
  127. <widget class="DmLineEdit" name="crp_nom">
  128. <property name="geometry">
  129. <rect>
  130. <x>60</x>
  131. <y>10</y>
  132. <width>281</width>
  133. <height>31</height>
  134. </rect>
  135. </property>
  136. <property name="palette">
  137. <palette>
  138. <active>
  139. <colorrole role="Base">
  140. <brush brushstyle="SolidPattern">
  141. <color alpha="255">
  142. <red>248</red>
  143. <green>248</green>
  144. <blue>248</blue>
  145. </color>
  146. </brush>
  147. </colorrole>
  148. </active>
  149. <inactive>
  150. <colorrole role="Base">
  151. <brush brushstyle="SolidPattern">
  152. <color alpha="255">
  153. <red>248</red>
  154. <green>248</green>
  155. <blue>248</blue>
  156. </color>
  157. </brush>
  158. </colorrole>
  159. </inactive>
  160. <disabled>
  161. <colorrole role="Base">
  162. <brush brushstyle="SolidPattern">
  163. <color alpha="255">
  164. <red>240</red>
  165. <green>240</green>
  166. <blue>240</blue>
  167. </color>
  168. </brush>
  169. </colorrole>
  170. </disabled>
  171. </palette>
  172. </property>
  173. <property name="font">
  174. <font>
  175. <pointsize>10</pointsize>
  176. </font>
  177. </property>
  178. </widget>
  179. <widget class="QLabel" name="label_10">
  180. <property name="geometry">
  181. <rect>
  182. <x>10</x>
  183. <y>10</y>
  184. <width>51</width>
  185. <height>31</height>
  186. </rect>
  187. </property>
  188. <property name="font">
  189. <font>
  190. <pointsize>10</pointsize>
  191. </font>
  192. </property>
  193. <property name="text">
  194. <string>Nom : </string>
  195. </property>
  196. </widget>
  197. <widget class="QSpinBox" name="crp_largeur">
  198. <property name="geometry">
  199. <rect>
  200. <x>320</x>
  201. <y>60</y>
  202. <width>51</width>
  203. <height>31</height>
  204. </rect>
  205. </property>
  206. <property name="palette">
  207. <palette>
  208. <active>
  209. <colorrole role="Base">
  210. <brush brushstyle="SolidPattern">
  211. <color alpha="255">
  212. <red>248</red>
  213. <green>248</green>
  214. <blue>248</blue>
  215. </color>
  216. </brush>
  217. </colorrole>
  218. </active>
  219. <inactive>
  220. <colorrole role="Base">
  221. <brush brushstyle="SolidPattern">
  222. <color alpha="255">
  223. <red>248</red>
  224. <green>248</green>
  225. <blue>248</blue>
  226. </color>
  227. </brush>
  228. </colorrole>
  229. </inactive>
  230. <disabled>
  231. <colorrole role="Base">
  232. <brush brushstyle="SolidPattern">
  233. <color alpha="255">
  234. <red>240</red>
  235. <green>240</green>
  236. <blue>240</blue>
  237. </color>
  238. </brush>
  239. </colorrole>
  240. </disabled>
  241. </palette>
  242. </property>
  243. <property name="font">
  244. <font>
  245. <pointsize>10</pointsize>
  246. </font>
  247. </property>
  248. <property name="minimum">
  249. <number>1</number>
  250. </property>
  251. <property name="maximum">
  252. <number>300</number>
  253. </property>
  254. <property name="singleStep">
  255. <number>1</number>
  256. </property>
  257. <property name="value">
  258. <number>50</number>
  259. </property>
  260. </widget>
  261. <widget class="QSpinBox" name="crp_chapitre">
  262. <property name="geometry">
  263. <rect>
  264. <x>410</x>
  265. <y>10</y>
  266. <width>51</width>
  267. <height>31</height>
  268. </rect>
  269. </property>
  270. <property name="palette">
  271. <palette>
  272. <active>
  273. <colorrole role="Base">
  274. <brush brushstyle="SolidPattern">
  275. <color alpha="255">
  276. <red>248</red>
  277. <green>248</green>
  278. <blue>248</blue>
  279. </color>
  280. </brush>
  281. </colorrole>
  282. </active>
  283. <inactive>
  284. <colorrole role="Base">
  285. <brush brushstyle="SolidPattern">
  286. <color alpha="255">
  287. <red>248</red>
  288. <green>248</green>
  289. <blue>248</blue>
  290. </color>
  291. </brush>
  292. </colorrole>
  293. </inactive>
  294. <disabled>
  295. <colorrole role="Base">
  296. <brush brushstyle="SolidPattern">
  297. <color alpha="255">
  298. <red>240</red>
  299. <green>240</green>
  300. <blue>240</blue>
  301. </color>
  302. </brush>
  303. </colorrole>
  304. </disabled>
  305. </palette>
  306. </property>
  307. <property name="font">
  308. <font>
  309. <pointsize>10</pointsize>
  310. </font>
  311. </property>
  312. <property name="minimum">
  313. <number>1</number>
  314. </property>
  315. </widget>
  316. <widget class="QGroupBox" name="groupBox">
  317. <property name="geometry">
  318. <rect>
  319. <x>30</x>
  320. <y>100</y>
  321. <width>311</width>
  322. <height>41</height>
  323. </rect>
  324. </property>
  325. <property name="font">
  326. <font>
  327. <pointsize>10</pointsize>
  328. </font>
  329. </property>
  330. <property name="title">
  331. <string/>
  332. </property>
  333. <property name="flat">
  334. <bool>true</bool>
  335. </property>
  336. <widget class="QRadioButton" name="crp_formeHexa">
  337. <property name="geometry">
  338. <rect>
  339. <x>80</x>
  340. <y>10</y>
  341. <width>111</width>
  342. <height>20</height>
  343. </rect>
  344. </property>
  345. <property name="font">
  346. <font>
  347. <pointsize>9</pointsize>
  348. </font>
  349. </property>
  350. <property name="text">
  351. <string>Hexagonales</string>
  352. </property>
  353. <property name="checked">
  354. <bool>true</bool>
  355. </property>
  356. </widget>
  357. <widget class="QRadioButton" name="crp_formeCarree">
  358. <property name="geometry">
  359. <rect>
  360. <x>220</x>
  361. <y>10</y>
  362. <width>81</width>
  363. <height>21</height>
  364. </rect>
  365. </property>
  366. <property name="font">
  367. <font>
  368. <pointsize>9</pointsize>
  369. </font>
  370. </property>
  371. <property name="text">
  372. <string>Carrées</string>
  373. </property>
  374. </widget>
  375. <widget class="QLabel" name="label_2">
  376. <property name="geometry">
  377. <rect>
  378. <x>0</x>
  379. <y>10</y>
  380. <width>61</width>
  381. <height>21</height>
  382. </rect>
  383. </property>
  384. <property name="text">
  385. <string>Cases : </string>
  386. </property>
  387. </widget>
  388. </widget>
  389. <widget class="QLabel" name="label_6">
  390. <property name="geometry">
  391. <rect>
  392. <x>360</x>
  393. <y>10</y>
  394. <width>51</width>
  395. <height>31</height>
  396. </rect>
  397. </property>
  398. <property name="font">
  399. <font>
  400. <pointsize>9</pointsize>
  401. <weight>50</weight>
  402. <bold>false</bold>
  403. </font>
  404. </property>
  405. <property name="text">
  406. <string>Chap. :</string>
  407. </property>
  408. </widget>
  409. <widget class="QLabel" name="label">
  410. <property name="geometry">
  411. <rect>
  412. <x>385</x>
  413. <y>62</y>
  414. <width>21</width>
  415. <height>31</height>
  416. </rect>
  417. </property>
  418. <property name="font">
  419. <font>
  420. <pointsize>9</pointsize>
  421. </font>
  422. </property>
  423. <property name="text">
  424. <string>x</string>
  425. </property>
  426. </widget>
  427. <widget class="QPushButton" name="crp_chercherModele">
  428. <property name="enabled">
  429. <bool>false</bool>
  430. </property>
  431. <property name="geometry">
  432. <rect>
  433. <x>30</x>
  434. <y>150</y>
  435. <width>141</width>
  436. <height>30</height>
  437. </rect>
  438. </property>
  439. <property name="font">
  440. <font>
  441. <pointsize>10</pointsize>
  442. </font>
  443. </property>
  444. <property name="text">
  445. <string>Utiliser un modèle</string>
  446. </property>
  447. <property name="default">
  448. <bool>true</bool>
  449. </property>
  450. </widget>
  451. <widget class="QToolButton" name="crp_couleur">
  452. <property name="geometry">
  453. <rect>
  454. <x>430</x>
  455. <y>100</y>
  456. <width>31</width>
  457. <height>31</height>
  458. </rect>
  459. </property>
  460. <property name="text">
  461. <string>...</string>
  462. </property>
  463. <property name="icon">
  464. <iconset resource="ressource.qrc">
  465. <normaloff>:/interface/16/ressource/palette_16.png</normaloff>:/interface/16/ressource/palette_16.png</iconset>
  466. </property>
  467. </widget>
  468. <widget class="QComboBox" name="crp_listeDimensions">
  469. <property name="geometry">
  470. <rect>
  471. <x>30</x>
  472. <y>60</y>
  473. <width>131</width>
  474. <height>31</height>
  475. </rect>
  476. </property>
  477. <property name="currentIndex">
  478. <number>0</number>
  479. </property>
  480. <property name="maxVisibleItems">
  481. <number>9</number>
  482. </property>
  483. <item>
  484. <property name="text">
  485. <string>Paysage - Petit</string>
  486. </property>
  487. </item>
  488. <item>
  489. <property name="text">
  490. <string>Paysage - Moyen</string>
  491. </property>
  492. </item>
  493. <item>
  494. <property name="text">
  495. <string>Paysage - Grand</string>
  496. </property>
  497. </item>
  498. <item>
  499. <property name="text">
  500. <string>Portrait - Petit</string>
  501. </property>
  502. </item>
  503. <item>
  504. <property name="text">
  505. <string>Portrait - Moyen</string>
  506. </property>
  507. </item>
  508. <item>
  509. <property name="text">
  510. <string>Portrait - Grand</string>
  511. </property>
  512. </item>
  513. <item>
  514. <property name="text">
  515. <string>Carré - Petit</string>
  516. </property>
  517. </item>
  518. <item>
  519. <property name="text">
  520. <string>Carré - Moyen</string>
  521. </property>
  522. </item>
  523. <item>
  524. <property name="text">
  525. <string>Carré - Grand</string>
  526. </property>
  527. </item>
  528. <item>
  529. <property name="text">
  530. <string>Personnalisé</string>
  531. </property>
  532. </item>
  533. </widget>
  534. </widget>
  535. <customwidgets>
  536. <customwidget>
  537. <class>DmLineEdit</class>
  538. <extends>QLineEdit</extends>
  539. <header location="global">dm.h</header>
  540. </customwidget>
  541. </customwidgets>
  542. <resources>
  543. <include location="ressource.qrc"/>
  544. </resources>
  545. <connections/>
  546. </ui>