editionObjet.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>eo_fenetre</class>
  4. <widget class="QDialog" name="eo_fenetre">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>498</width>
  10. <height>263</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 / éditer un objet</string>
  20. </property>
  21. <widget class="DmLineEdit" name="eo_nom">
  22. <property name="geometry">
  23. <rect>
  24. <x>140</x>
  25. <y>18</y>
  26. <width>321</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. </widget>
  68. <widget class="QLabel" name="label">
  69. <property name="geometry">
  70. <rect>
  71. <x>100</x>
  72. <y>20</y>
  73. <width>41</width>
  74. <height>21</height>
  75. </rect>
  76. </property>
  77. <property name="text">
  78. <string>Nom: </string>
  79. </property>
  80. </widget>
  81. <widget class="QSpinBox" name="eo_quantite">
  82. <property name="geometry">
  83. <rect>
  84. <x>200</x>
  85. <y>80</y>
  86. <width>91</width>
  87. <height>31</height>
  88. </rect>
  89. </property>
  90. <property name="palette">
  91. <palette>
  92. <active>
  93. <colorrole role="Base">
  94. <brush brushstyle="SolidPattern">
  95. <color alpha="255">
  96. <red>248</red>
  97. <green>248</green>
  98. <blue>248</blue>
  99. </color>
  100. </brush>
  101. </colorrole>
  102. </active>
  103. <inactive>
  104. <colorrole role="Base">
  105. <brush brushstyle="SolidPattern">
  106. <color alpha="255">
  107. <red>248</red>
  108. <green>248</green>
  109. <blue>248</blue>
  110. </color>
  111. </brush>
  112. </colorrole>
  113. </inactive>
  114. <disabled>
  115. <colorrole role="Base">
  116. <brush brushstyle="SolidPattern">
  117. <color alpha="255">
  118. <red>240</red>
  119. <green>240</green>
  120. <blue>240</blue>
  121. </color>
  122. </brush>
  123. </colorrole>
  124. </disabled>
  125. </palette>
  126. </property>
  127. <property name="maximum">
  128. <number>1000000</number>
  129. </property>
  130. <property name="value">
  131. <number>1</number>
  132. </property>
  133. </widget>
  134. <widget class="QLabel" name="label_2">
  135. <property name="geometry">
  136. <rect>
  137. <x>120</x>
  138. <y>80</y>
  139. <width>71</width>
  140. <height>31</height>
  141. </rect>
  142. </property>
  143. <property name="text">
  144. <string>Quantité : </string>
  145. </property>
  146. </widget>
  147. <widget class="QDoubleSpinBox" name="eo_poids">
  148. <property name="geometry">
  149. <rect>
  150. <x>150</x>
  151. <y>140</y>
  152. <width>71</width>
  153. <height>31</height>
  154. </rect>
  155. </property>
  156. <property name="palette">
  157. <palette>
  158. <active>
  159. <colorrole role="Base">
  160. <brush brushstyle="SolidPattern">
  161. <color alpha="255">
  162. <red>248</red>
  163. <green>248</green>
  164. <blue>248</blue>
  165. </color>
  166. </brush>
  167. </colorrole>
  168. </active>
  169. <inactive>
  170. <colorrole role="Base">
  171. <brush brushstyle="SolidPattern">
  172. <color alpha="255">
  173. <red>248</red>
  174. <green>248</green>
  175. <blue>248</blue>
  176. </color>
  177. </brush>
  178. </colorrole>
  179. </inactive>
  180. <disabled>
  181. <colorrole role="Base">
  182. <brush brushstyle="SolidPattern">
  183. <color alpha="255">
  184. <red>240</red>
  185. <green>240</green>
  186. <blue>240</blue>
  187. </color>
  188. </brush>
  189. </colorrole>
  190. </disabled>
  191. </palette>
  192. </property>
  193. <property name="decimals">
  194. <number>2</number>
  195. </property>
  196. <property name="maximum">
  197. <double>99999999.989999994635582</double>
  198. </property>
  199. <property name="singleStep">
  200. <double>1.000000000000000</double>
  201. </property>
  202. </widget>
  203. <widget class="QLabel" name="label_3">
  204. <property name="geometry">
  205. <rect>
  206. <x>30</x>
  207. <y>140</y>
  208. <width>101</width>
  209. <height>31</height>
  210. </rect>
  211. </property>
  212. <property name="text">
  213. <string>Poids d'un objet : </string>
  214. </property>
  215. </widget>
  216. <widget class="QLabel" name="label_4">
  217. <property name="geometry">
  218. <rect>
  219. <x>250</x>
  220. <y>140</y>
  221. <width>111</width>
  222. <height>31</height>
  223. </rect>
  224. </property>
  225. <property name="text">
  226. <string>Valeur d'un objet : </string>
  227. </property>
  228. </widget>
  229. <widget class="QDoubleSpinBox" name="eo_valeur">
  230. <property name="geometry">
  231. <rect>
  232. <x>370</x>
  233. <y>140</y>
  234. <width>71</width>
  235. <height>31</height>
  236. </rect>
  237. </property>
  238. <property name="palette">
  239. <palette>
  240. <active>
  241. <colorrole role="Base">
  242. <brush brushstyle="SolidPattern">
  243. <color alpha="255">
  244. <red>248</red>
  245. <green>248</green>
  246. <blue>248</blue>
  247. </color>
  248. </brush>
  249. </colorrole>
  250. </active>
  251. <inactive>
  252. <colorrole role="Base">
  253. <brush brushstyle="SolidPattern">
  254. <color alpha="255">
  255. <red>248</red>
  256. <green>248</green>
  257. <blue>248</blue>
  258. </color>
  259. </brush>
  260. </colorrole>
  261. </inactive>
  262. <disabled>
  263. <colorrole role="Base">
  264. <brush brushstyle="SolidPattern">
  265. <color alpha="255">
  266. <red>240</red>
  267. <green>240</green>
  268. <blue>240</blue>
  269. </color>
  270. </brush>
  271. </colorrole>
  272. </disabled>
  273. </palette>
  274. </property>
  275. <property name="maximum">
  276. <double>999999999.990000009536743</double>
  277. </property>
  278. </widget>
  279. <widget class="QCheckBox" name="eo_consommable">
  280. <property name="geometry">
  281. <rect>
  282. <x>310</x>
  283. <y>180</y>
  284. <width>161</width>
  285. <height>17</height>
  286. </rect>
  287. </property>
  288. <property name="text">
  289. <string>Disparait à l'utilisation ? </string>
  290. </property>
  291. </widget>
  292. <widget class="QPushButton" name="eo_enregistrer">
  293. <property name="geometry">
  294. <rect>
  295. <x>350</x>
  296. <y>220</y>
  297. <width>111</width>
  298. <height>31</height>
  299. </rect>
  300. </property>
  301. <property name="text">
  302. <string>Enregistrer</string>
  303. </property>
  304. </widget>
  305. <widget class="QPushButton" name="eo_annuler">
  306. <property name="geometry">
  307. <rect>
  308. <x>230</x>
  309. <y>220</y>
  310. <width>111</width>
  311. <height>31</height>
  312. </rect>
  313. </property>
  314. <property name="text">
  315. <string>Annuler</string>
  316. </property>
  317. </widget>
  318. <widget class="QComboBox" name="eo_type">
  319. <property name="geometry">
  320. <rect>
  321. <x>20</x>
  322. <y>10</y>
  323. <width>61</width>
  324. <height>51</height>
  325. </rect>
  326. </property>
  327. <property name="font">
  328. <font>
  329. <weight>75</weight>
  330. <bold>true</bold>
  331. </font>
  332. </property>
  333. <property name="currentIndex">
  334. <number>0</number>
  335. </property>
  336. <property name="iconSize">
  337. <size>
  338. <width>24</width>
  339. <height>24</height>
  340. </size>
  341. </property>
  342. <item>
  343. <property name="text">
  344. <string/>
  345. </property>
  346. <property name="icon">
  347. <iconset resource="ressource.qrc">
  348. <normaloff>:/interface/32/ressource/pieces_32.png</normaloff>:/interface/32/ressource/pieces_32.png</iconset>
  349. </property>
  350. </item>
  351. <item>
  352. <property name="text">
  353. <string/>
  354. </property>
  355. <property name="icon">
  356. <iconset resource="ressource.qrc">
  357. <normaloff>:/interface/32/ressource/armes_32.png</normaloff>:/interface/32/ressource/armes_32.png</iconset>
  358. </property>
  359. </item>
  360. <item>
  361. <property name="text">
  362. <string/>
  363. </property>
  364. <property name="icon">
  365. <iconset resource="ressource.qrc">
  366. <normaloff>:/interface/32/ressource/chimie_32.png</normaloff>:/interface/32/ressource/chimie_32.png</iconset>
  367. </property>
  368. </item>
  369. <item>
  370. <property name="text">
  371. <string/>
  372. </property>
  373. <property name="icon">
  374. <iconset resource="ressource.qrc">
  375. <normaloff>:/interface/32/ressource/diamant_32.png</normaloff>:/interface/32/ressource/diamant_32.png</iconset>
  376. </property>
  377. </item>
  378. <item>
  379. <property name="text">
  380. <string/>
  381. </property>
  382. <property name="icon">
  383. <iconset resource="ressource.qrc">
  384. <normaloff>:/interface/32/ressource/boiteOutils_32.png</normaloff>:/interface/32/ressource/boiteOutils_32.png</iconset>
  385. </property>
  386. </item>
  387. </widget>
  388. <widget class="QPushButton" name="eo_ajouter">
  389. <property name="geometry">
  390. <rect>
  391. <x>350</x>
  392. <y>80</y>
  393. <width>31</width>
  394. <height>31</height>
  395. </rect>
  396. </property>
  397. <property name="font">
  398. <font>
  399. <pointsize>11</pointsize>
  400. <weight>75</weight>
  401. <bold>true</bold>
  402. </font>
  403. </property>
  404. <property name="text">
  405. <string>+</string>
  406. </property>
  407. </widget>
  408. <widget class="QPushButton" name="eo_retirer">
  409. <property name="geometry">
  410. <rect>
  411. <x>310</x>
  412. <y>80</y>
  413. <width>31</width>
  414. <height>31</height>
  415. </rect>
  416. </property>
  417. <property name="font">
  418. <font>
  419. <pointsize>13</pointsize>
  420. <weight>75</weight>
  421. <bold>true</bold>
  422. </font>
  423. </property>
  424. <property name="text">
  425. <string>-</string>
  426. </property>
  427. </widget>
  428. <widget class="DmLabel" name="eo_monnaie">
  429. <property name="geometry">
  430. <rect>
  431. <x>445</x>
  432. <y>143</y>
  433. <width>51</width>
  434. <height>20</height>
  435. </rect>
  436. </property>
  437. <property name="text">
  438. <string>po</string>
  439. </property>
  440. </widget>
  441. <widget class="QPushButton" name="eo_supprimer">
  442. <property name="geometry">
  443. <rect>
  444. <x>20</x>
  445. <y>220</y>
  446. <width>111</width>
  447. <height>31</height>
  448. </rect>
  449. </property>
  450. <property name="text">
  451. <string>Supprimer</string>
  452. </property>
  453. </widget>
  454. </widget>
  455. <customwidgets>
  456. <customwidget>
  457. <class>DmLabel</class>
  458. <extends>QLabel</extends>
  459. <header location="global">dm.h</header>
  460. </customwidget>
  461. <customwidget>
  462. <class>DmLineEdit</class>
  463. <extends>QLineEdit</extends>
  464. <header location="global">dm.h</header>
  465. </customwidget>
  466. </customwidgets>
  467. <resources>
  468. <include location="ressource.qrc"/>
  469. </resources>
  470. <connections/>
  471. </ui>