dial_editerPartie.ui 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ept_fenetre</class>
  4. <widget class="QDialog" name="ept_fenetre">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>555</width>
  10. <height>480</height>
  11. </rect>
  12. </property>
  13. <property name="minimumSize">
  14. <size>
  15. <width>555</width>
  16. <height>430</height>
  17. </size>
  18. </property>
  19. <property name="maximumSize">
  20. <size>
  21. <width>555</width>
  22. <height>480</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>Paramètres de la partie</string>
  32. </property>
  33. <widget class="QLabel" name="label">
  34. <property name="geometry">
  35. <rect>
  36. <x>10</x>
  37. <y>10</y>
  38. <width>71</width>
  39. <height>31</height>
  40. </rect>
  41. </property>
  42. <property name="text">
  43. <string>Nom :</string>
  44. </property>
  45. </widget>
  46. <widget class="DmLineEdit" name="ept_nom">
  47. <property name="geometry">
  48. <rect>
  49. <x>60</x>
  50. <y>10</y>
  51. <width>471</width>
  52. <height>31</height>
  53. </rect>
  54. </property>
  55. <property name="palette">
  56. <palette>
  57. <active>
  58. <colorrole role="Base">
  59. <brush brushstyle="SolidPattern">
  60. <color alpha="255">
  61. <red>249</red>
  62. <green>249</green>
  63. <blue>249</blue>
  64. </color>
  65. </brush>
  66. </colorrole>
  67. </active>
  68. <inactive>
  69. <colorrole role="Base">
  70. <brush brushstyle="SolidPattern">
  71. <color alpha="255">
  72. <red>249</red>
  73. <green>249</green>
  74. <blue>249</blue>
  75. </color>
  76. </brush>
  77. </colorrole>
  78. </inactive>
  79. <disabled>
  80. <colorrole role="Base">
  81. <brush brushstyle="SolidPattern">
  82. <color alpha="255">
  83. <red>240</red>
  84. <green>240</green>
  85. <blue>240</blue>
  86. </color>
  87. </brush>
  88. </colorrole>
  89. </disabled>
  90. </palette>
  91. </property>
  92. </widget>
  93. <widget class="QTabWidget" name="ept_onglets">
  94. <property name="geometry">
  95. <rect>
  96. <x>10</x>
  97. <y>90</y>
  98. <width>531</width>
  99. <height>331</height>
  100. </rect>
  101. </property>
  102. <property name="currentIndex">
  103. <number>0</number>
  104. </property>
  105. <widget class="QWidget" name="tab_2">
  106. <attribute name="title">
  107. <string>Chapitres</string>
  108. </attribute>
  109. <widget class="DmTableWidget" name="ept_ch_liste">
  110. <property name="geometry">
  111. <rect>
  112. <x>10</x>
  113. <y>10</y>
  114. <width>151</width>
  115. <height>281</height>
  116. </rect>
  117. </property>
  118. <property name="palette">
  119. <palette>
  120. <active>
  121. <colorrole role="Base">
  122. <brush brushstyle="SolidPattern">
  123. <color alpha="255">
  124. <red>249</red>
  125. <green>249</green>
  126. <blue>249</blue>
  127. </color>
  128. </brush>
  129. </colorrole>
  130. <colorrole role="Highlight">
  131. <brush brushstyle="SolidPattern">
  132. <color alpha="100">
  133. <red>200</red>
  134. <green>100</green>
  135. <blue>100</blue>
  136. </color>
  137. </brush>
  138. </colorrole>
  139. </active>
  140. <inactive>
  141. <colorrole role="Base">
  142. <brush brushstyle="SolidPattern">
  143. <color alpha="255">
  144. <red>249</red>
  145. <green>249</green>
  146. <blue>249</blue>
  147. </color>
  148. </brush>
  149. </colorrole>
  150. <colorrole role="Highlight">
  151. <brush brushstyle="SolidPattern">
  152. <color alpha="100">
  153. <red>200</red>
  154. <green>100</green>
  155. <blue>100</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. <colorrole role="Highlight">
  171. <brush brushstyle="SolidPattern">
  172. <color alpha="255">
  173. <red>51</red>
  174. <green>153</green>
  175. <blue>255</blue>
  176. </color>
  177. </brush>
  178. </colorrole>
  179. </disabled>
  180. </palette>
  181. </property>
  182. <property name="editTriggers">
  183. <set>QAbstractItemView::NoEditTriggers</set>
  184. </property>
  185. <property name="selectionMode">
  186. <enum>QAbstractItemView::SingleSelection</enum>
  187. </property>
  188. <property name="selectionBehavior">
  189. <enum>QAbstractItemView::SelectRows</enum>
  190. </property>
  191. <attribute name="horizontalHeaderVisible">
  192. <bool>false</bool>
  193. </attribute>
  194. <attribute name="horizontalHeaderStretchLastSection">
  195. <bool>true</bool>
  196. </attribute>
  197. <attribute name="verticalHeaderVisible">
  198. <bool>false</bool>
  199. </attribute>
  200. <column>
  201. <property name="text">
  202. <string>idCh</string>
  203. </property>
  204. </column>
  205. <column>
  206. <property name="text">
  207. <string>nomCh</string>
  208. </property>
  209. </column>
  210. </widget>
  211. <widget class="QPushButton" name="ept_ch_nouveau">
  212. <property name="geometry">
  213. <rect>
  214. <x>360</x>
  215. <y>262</y>
  216. <width>151</width>
  217. <height>31</height>
  218. </rect>
  219. </property>
  220. <property name="text">
  221. <string>Nouveau chapitre</string>
  222. </property>
  223. </widget>
  224. <widget class="QStackedWidget" name="ept_ch_panneaux">
  225. <property name="geometry">
  226. <rect>
  227. <x>170</x>
  228. <y>10</y>
  229. <width>341</width>
  230. <height>241</height>
  231. </rect>
  232. </property>
  233. </widget>
  234. </widget>
  235. <widget class="QWidget" name="tab_3">
  236. <attribute name="title">
  237. <string>Règles</string>
  238. </attribute>
  239. </widget>
  240. <widget class="QWidget" name="tab_4">
  241. <attribute name="title">
  242. <string>Joueurs</string>
  243. </attribute>
  244. </widget>
  245. <widget class="QWidget" name="tab_5">
  246. <attribute name="title">
  247. <string>Paramètres</string>
  248. </attribute>
  249. </widget>
  250. </widget>
  251. <widget class="QPushButton" name="ept_enregistrer">
  252. <property name="enabled">
  253. <bool>false</bool>
  254. </property>
  255. <property name="geometry">
  256. <rect>
  257. <x>410</x>
  258. <y>430</y>
  259. <width>131</width>
  260. <height>31</height>
  261. </rect>
  262. </property>
  263. <property name="text">
  264. <string>Enregistrer</string>
  265. </property>
  266. <property name="autoDefault">
  267. <bool>false</bool>
  268. </property>
  269. <property name="default">
  270. <bool>true</bool>
  271. </property>
  272. </widget>
  273. <widget class="QPushButton" name="ept_annuler">
  274. <property name="geometry">
  275. <rect>
  276. <x>10</x>
  277. <y>430</y>
  278. <width>121</width>
  279. <height>31</height>
  280. </rect>
  281. </property>
  282. <property name="text">
  283. <string>Annuler</string>
  284. </property>
  285. <property name="autoDefault">
  286. <bool>false</bool>
  287. </property>
  288. </widget>
  289. <widget class="DmComboBox" name="ept_ch_choix">
  290. <property name="geometry">
  291. <rect>
  292. <x>160</x>
  293. <y>47</y>
  294. <width>371</width>
  295. <height>27</height>
  296. </rect>
  297. </property>
  298. </widget>
  299. <widget class="QLabel" name="label_2">
  300. <property name="geometry">
  301. <rect>
  302. <x>30</x>
  303. <y>50</y>
  304. <width>121</width>
  305. <height>21</height>
  306. </rect>
  307. </property>
  308. <property name="text">
  309. <string>Chapitre en cours : </string>
  310. </property>
  311. </widget>
  312. </widget>
  313. <customwidgets>
  314. <customwidget>
  315. <class>DmTableWidget</class>
  316. <extends>QTableWidget</extends>
  317. <header>dm.h</header>
  318. </customwidget>
  319. <customwidget>
  320. <class>DmLineEdit</class>
  321. <extends>QLineEdit</extends>
  322. <header location="global">dm.h</header>
  323. </customwidget>
  324. <customwidget>
  325. <class>DmComboBox</class>
  326. <extends>QComboBox</extends>
  327. <header>dm.h</header>
  328. </customwidget>
  329. </customwidgets>
  330. <resources/>
  331. <connections>
  332. <connection>
  333. <sender>ept_ch_liste</sender>
  334. <signal>cellClicked(int,int)</signal>
  335. <receiver>ept_ch_panneaux</receiver>
  336. <slot>setCurrentIndex(int)</slot>
  337. <hints>
  338. <hint type="sourcelabel">
  339. <x>99</x>
  340. <y>222</y>
  341. </hint>
  342. <hint type="destinationlabel">
  343. <x>354</x>
  344. <y>202</y>
  345. </hint>
  346. </hints>
  347. </connection>
  348. </connections>
  349. </ui>