editionObjet.ui 9.8 KB

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