Bläddra i källkod

Nouvel écran d'édition des attaques dans l'édition des combattants

unknown 10 år sedan
förälder
incheckning
e46e24e6c1

+ 52 - 22
lib/EcranEditionCombattant.py

@@ -1,11 +1,13 @@
 #from __future__ import unicode_literals
 # -*- coding: utf-8 -*-
 from __future__ import division
+import sys
 
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 from Combattant import Combattant
 from ui.ecran_editionCombattant import Ui_edc_fenetre
+from frameAttaque import FrameAttaque
 from outilsSvg import *
 from VueEditionForme import VueEditionForme
 import regles
@@ -19,6 +21,7 @@ class EcranEditionCombattant(QDialog):
         """initialisation de la fenetre"""
         super (EcranEditionCombattant, self).__init__()
         self.pixGraphique = None
+        self._compteurAttaque = 0
         self.createWidgets()
         
         if combattant == None:
@@ -48,6 +51,7 @@ class EcranEditionCombattant(QDialog):
         #construction de l'interface
         self.ui = Ui_edc_fenetre()
         self.ui.setupUi(self)
+        
         self.connect(self.ui.edc_nom, SIGNAL("textEdited(QString)"), self.majActivationEnregistrer)
         self.connect(self.ui.edc_nom, SIGNAL("textEdited(QString)"), self.majEtiquetteVueForme)
 
@@ -67,21 +71,21 @@ class EcranEditionCombattant(QDialog):
         self.ui.edc_listeAttributs.setColumnWidth(1, (0.4*self.ui.edc_listeAttributs.width()))
         self.connect(self.ui.edc_listeAttributs, SIGNAL("cellChanged(int,int)"), self.listeAttributCelluleModifiee, Qt.UniqueConnection)
 
-
-        self.connect(self.ui.edc_attaque_ajouter, SIGNAL("clicked()"), self.nouvelleAttaque)
-        self.connect(self.ui.edc_attaque_supprimer, SIGNAL("clicked()"), self.supprimerAttaque)
-
 ##        self.ui.listeInventaireCombattant.setColumnWidth(0, (0.2*self.ui.listeInventaireCombattant.width()))
 ##        self.ui.listeInventaireCombattant.setColumnWidth(1, (0.8*self.ui.listeInventaireCombattant.width()))
 ##        self.connect(self.ui.listeInventaireCombattant, SIGNAL("clicked()"), self.listeInventaireCelluleModifiee)
 ##        self.connect(self.ui.supprimerInventaireCombattant, SIGNAL("clicked()"), self.supprimerLigneListeInventaire)
 ##        self.connect(self.ui.ajouterInventaireCombattant, SIGNAL("clicked()"), self.ajouterLigneListeInventaire)
+
+    def layoutAtt(self):
+        return self.ui.edc_deroulementAttaques_layout
         
     def ouverture(self):
         """premier affichage: on met a jour les champs"""
        
         #page_nom
-        self.ui.edc_nom.majTexte(self.combattant.nom)
+##        self.ui.edc_nom.majTexte(self.combattant.nom)
+        self.ui.edc_nom.majTexte("test")
         if self.combattant.logo:
             self.ui.edc_logo.chargerImage(self.combattant.logo)
         else:
@@ -104,12 +108,12 @@ class EcranEditionCombattant(QDialog):
         #page attributs
         self.majListeAttributs()
 
-        #page attaques
-        print "charge", self.combattant.attaques
-        self.ui.edc_attaque_panneau.construire(self)
-        self.ui.edc_attaque_liste.charger(self, self.combattant.attaques)
-        
-
+        #page attaques: chargement des attaques du combattant, puis panneau 'nouvelle attaque'
+        index = 0
+        self.layoutAtt().setAlignment(Qt.AlignTop)
+        for attaque in self.combattant.attaques:
+            self.attaqueNouvelle(attaque)
+        self.attaqueNouvelle()
 
         #page inventaire
         #self.majListeInventaire()
@@ -212,15 +216,22 @@ class EcranEditionCombattant(QDialog):
             self.combattant.couleur = couleur
             self.vueForme.majCouleur(couleur)
 
-    def nouvelleAttaque(self):
+    def attaqueNouvelle(self, attaque = None):
         """ajoute une nouvelle ligne a la liste des attaques"""
-        self.ui.edc_attaque_liste.nouvelle()
-
-    def supprimerAttaque(self):
+        #on ajoute de suite un panneau 'nouvelle attaque en dessous'
+        self._compteurAttaque += 1
+        panneau = FrameAttaque(self._compteurAttaque)
+        if attaque:
+            panneau.chargerAttaque(attaque)
+        panneau.setObjectName(QString("att_frame_{}".format(self._compteurAttaque)))
+        self.connect(panneau, SIGNAL("attaqueNouvelle()"), self.attaqueNouvelle)
+        self.connect(panneau, SIGNAL("attaqueSupprimer(int)"), self.attaqueSupprimer)
+        self.layoutAtt().addWidget(panneau)        
+
+    def attaqueSupprimer(self, index):
         """supprime la ligne selectionnee de la liste des attaques"""
-        if self.ui.edc_attaque_liste.ligneSelectionnee():
-            self.ui.edc_attaque_panneau.reinit()
-            self.ui.edc_attaque_liste.supprimer()
+        panneau = self.findChild(QFrame, "att_frame_{}".format(index))
+        self.layoutAtt().removeWidget(panneau)
 
     def enregistrer(self):
         """enregistre le terrain cree/edite"""
@@ -248,8 +259,14 @@ class EcranEditionCombattant(QDialog):
         #dans listeAttributCelluleModifiee
 
         #page attaque
-        print "svg", self.ui.edc_attaque_liste.listeAttaques()
-        self.combattant.attaques = self.ui.edc_attaque_liste.listeAttaques()
+        listeAttaques = []
+        for i in range(0, self.layoutAtt().count()):
+            panneau = self.layoutAtt().itemAt(i).widget()
+            if panneau != 0:
+                attaque = panneau.attaque()
+                if attaque:
+                    listeAttaques.append(attaque)
+        self.combattant.attaques = listeAttaques
 
         #page inventaire
         #a voir...
@@ -278,8 +295,6 @@ class EcranEditionCombattant(QDialog):
         self.combattant = None
         self.done(0)
 
-
-
 ##    def majListeInventaire(self):
 ##        """met a jour la liste de l'inventaire de la Combattant"""
 ##        self.disconnect(self.ui.listeInventaireCombattant, SIGNAL("cellChanged(int,int)"), self.listeInventaireCelluleModifiee)
@@ -349,3 +364,18 @@ class EcranEditionCombattant(QDialog):
 ##        del self.combattant.inventaire[str(self.ui.listeInventaireCombattant.item(ligne, 1).text().toUtf8())]
 ##        self.ui.listeInventaireCombattant.removeRow(ligne)
 ##        self.connect(self.ui.listeInventaireCombattant, SIGNAL("cellChanged(int,int)"), self.listeInventaireCelluleModifiee)        
+
+
+if __name__ == "__main__":
+   app = QApplication(sys.argv)
+   #settrace(trace_calls)
+   ecran = EcranEditionCombattant()
+   ecran.show()
+   r = app.exec_()
+   exit(r)      
+
+
+
+
+
+

BIN
lib/biblio/combattant


+ 216 - 0
lib/frameAttaque.py

@@ -0,0 +1,216 @@
+#from __future__ import unicode_literals
+# -*- coding: utf-8 -*-
+"""Panneau de creation/edition d'une attaque
+"""
+import sys
+from PyQt4.QtCore import *
+from PyQt4.QtGui import *
+from ui.ecran_panneauAttaques import Ui_att_frame
+from Actions import *
+import regles
+from ui.dm import *
+
+class FrameAttaque(QFrame):
+    """Panneau de creation/edition d'une attaque
+        a inserer dans le layout de l'onglet attaques
+        de l'ecran d'edition des combattants"""
+    def __init__(self, idAtt, parent=None):
+        super (FrameAttaque, self).__init__(parent)
+        self.idAtt = idAtt
+        self.enCreation = False
+        self.createWidgets()
+
+    def createWidgets(self):
+        """construction de l'interface"""
+        self.ui = Ui_att_frame()
+        self.ui.setupUi(self)
+        self.ui.att_forme.setVisible(False)
+        self.ui.att_forme_e.setVisible(False)
+        self.ui.att_rayon.setVisible(False)
+        self.ui.att_rayon_e.setVisible(False)
+        self.ui.att_voile.setAttribute(Qt.WA_TransparentForMouseEvents)
+        
+        self.connect(self.ui.att_type, SIGNAL("activated(int)"), self.majAffichage)
+        self.connect(self.ui.att_type, SIGNAL("activated(int)"), self.signalerNouvelleAttaque)
+        self.connect(self.ui.att_forme, SIGNAL("activated(int)"), self.majAffichage)
+        
+        self.connect(self.ui.att_nom, SIGNAL("textEdited(const QString&)"), self.signalerNouvelleAttaque)
+        self.connect(self.ui.att_supprimer, SIGNAL("clicked()"), self.signalerSuppressionAttaque)
+
+        self.construireListeAttributs()
+
+    def signalerNouvelleAttaque(self):
+        """on signale a la fenetre principale qu'une nouvelle attaque est creee"""
+        if not self.enCreation:
+            self.emit(SIGNAL("attaqueNouvelle()"))
+            self.enCreation = True
+            self.majAffichage()
+
+    def signalerSuppressionAttaque(self):
+        """on signale a la fenetre principale qu'une nouvelle attaque est creee"""
+        if self.enCreation:
+            self.enCreation = False
+            self.reinitialiser()
+            self.emit(SIGNAL("attaqueSupprimer(int)"), self.idAtt) 
+
+    def majAffichage(self):
+        if self.enCreation: self.ui.att_nom.setPlaceholderText(QString(""))
+        self.ui.att_voile.setVisible(not self.enCreation)
+        self.ui.att_forme.setVisible(self.enCreation and self.ui.att_type.currentIndex() == 2)
+        self.ui.att_forme_e.setVisible(self.enCreation and self.ui.att_type.currentIndex() == 2)
+        self.ui.att_rayon.setVisible(self.enCreation and self.ui.att_type.currentIndex() == 2 and self.ui.att_forme.currentIndex() == 1)
+        self.ui.att_rayon_e.setVisible(self.enCreation and self.ui.att_type.currentIndex() == 2 and self.ui.att_forme.currentIndex() == 1)
+            
+        self.ui.att_supprimer.setEnabled(self.enCreation)
+
+    def attaque(self):
+        """retourne l'attaque representee"""
+        attaque = None
+        if self.enCreation:
+            if self.ui.att_type.currentIndex() == 0:
+                attaque = Cac()
+            elif self.ui.att_type.currentIndex() == 1:
+                attaque = Distance()
+            elif self.ui.att_type.currentIndex() == 2:
+                if self.ui.att_forme.currentIndex() == 0:
+                    attaque = Ligne()
+                elif self.ui.att_forme.currentIndex() == 1:
+                    attaque = Disque()
+                    attaque.majRayon(self.ui.att_rayon.value())
+                elif self.ui.att_forme.currentIndex() == 2:
+                    attaque = Cone()
+
+            nom = self.ui.att_nom.texte()
+            if len(nom) == 0: nom = "..."
+            attaque.majNom(nom)
+            attaque.majPortee(self.ui.att_portee.value())
+            attaque.majAttributs(self.attributs())
+            attaque.majNotes(self.ui.att_notes.texte())
+        return attaque         
+
+
+    def chargerAttaque(self, attaque = None):
+        """met a jour le contenu avec les donnees de l'attaque en param"""
+        if attaque:
+            if isinstance(attaque, Cac):
+                self.ui.att_type.setCurrentIndex(0)
+            elif isinstance(attaque, Distance):
+                self.ui.att_type.setCurrentIndex(1)
+            elif isinstance(attaque, Zone):
+                self.ui.att_type.setCurrentIndex(2)
+                if isinstance(attaque, Ligne):
+                    self.ui.att_forme.setCurrentIndex(0)
+                elif isinstance(attaque, Disque):
+                    self.ui.att_forme.setCurrentIndex(1)
+                    self.ui.att_rayon.setValue(attaque.rayon())
+                elif isinstance(attaque, Cone):
+                    self.ui.att_forme.setCurrentIndex(2)
+            self.ui.att_nom.majTexte(attaque.nom())
+            self.ui.att_portee.setValue(attaque.portee())
+            self.chargerAttributs(attaque.attributs())
+            self.ui.att_notes.majTexte(attaque.notes())
+
+            self.enCreation = True
+            self.majAffichage()
+
+    def reinitialiser(self):
+        self.ui.att_type.setCurrentIndex(0)
+        self.ui.att_nom.majTexte("")
+        self.ui.att_portee.setValue(1)
+        self.ui.att_forme.setCurrentIndex(0)
+        self.ui.att_rayon.setValue(1)
+        self.ui.att_notes.majTexte("")
+        for i in range(0, self.ui.att_layout_attributs.count()):
+            layout = self.ui.att_layout_attributs.itemAt(i).layout()
+            widget = layout.itemAt(1).widget()
+            if widget != 0:
+                if str(widget.objectName()[-6:]) == "_champ":
+                    widget.clear()
+        self.majAffichage()
+    
+    def construireListeAttributs(self):
+        """cree les champs dedies a la saisie des attributs dans la grille dediee"""
+        self.ui.att_layout_attributs.setSpacing(4)
+        self.ui.att_layout_attributs.setMargin(0)
+        ligne = 0
+        largeurLigne = 0
+        colonne = 0
+        for nomAttribut in regles.ordreAttributsAttaques():
+            lay = QHBoxLayout()
+            lay.setMargin(0)
+            lay.setSpacing(2)
+            lay.setSizeConstraint(QLayout.SetMinimumSize)
+            
+            etiquette = DmLabel()
+            etiquette.majTexte(nomAttribut)        
+            etiquette.setObjectName("{}_etiquette".format(nomAttribut))
+            lay.addWidget(etiquette)
+            
+            champ = DmLineEdit()
+            champ.setMinimumSize(QSize(60, 20))
+            champ.setMaximumSize(QSize(60, 20))
+            champ.majTexte(regles.listeAttributsAttaques()[nomAttribut])
+            champ.setObjectName("{}_champ".format(nomAttribut))
+            self.connect(champ, SIGNAL("textChanged()"), self.controlerAttribut)
+            lay.addWidget(champ)
+
+            largeur = 85
+            if (largeurLigne + largeur) > (0.9*self.ui.att_panneau.width()):
+                ligne += 1
+                colonne = 0
+                largeurLigne = 0
+            self.ui.att_layout_attributs.addLayout(lay, ligne, colonne) 
+            largeurLigne += largeur
+            colonne += 1
+
+        nouvelleH = 100 + (ligne*50)
+        self.setMaximumHeight(nouvelleH)
+        self.setMinimumHeight(nouvelleH)
+        self.ui.att_panneau.setGeometry(0, 0, 471, (nouvelleH-1))
+        self.ui.att_voile.setGeometry(0, 0, 471, (nouvelleH-1))
+        
+
+    def chargerAttributs(self, attributs):
+        """charge le dictionnaire d'attributs demande"""
+        for i in range(0, self.ui.att_layout_attributs.count()):
+            layout = self.ui.att_layout_attributs.itemAt(i).layout()
+            widget = layout.itemAt(1).widget()
+            if widget != 0:
+                if str(widget.objectName()[-6:]) == "_champ":
+                    attr = str(widget.objectName()[:-6])
+                    widget.majTexte(attributs[attr])
+
+    def attributs(self):
+        """recupere les attributs saisis dans la grille dediee"""
+        attributs = regles.listeAttributsAttaques()
+        for i in range(0, self.ui.att_layout_attributs.count()):
+            layout = self.ui.att_layout_attributs.itemAt(i).layout()
+            widget = layout.itemAt(1).widget()
+            if widget != 0 and widget != None:
+                if str(widget.objectName()[-6:]) == "_champ":
+                    attr = str(widget.objectName()[:-6])
+                    attributs[attr] = widget.texte()
+        return attributs
+
+    def controlerAttribut(self):
+        emetteur = self.sender().objectName()
+        index = colonne - 10
+        attribut = regles.ordreAttributsAttaques()[index]
+        valeurAttribut = regles.listeControleAttaques()[attribut].controler(str(self.data(ligne, colonne).toString()))
+        if valeurAttribut != None:
+            attaque.attributs[attribut] = valeurAttribut
+        else:
+            self.majData(ligne, colonne, attaque.attributs[attribut])
+
+
+if __name__ == "__main__":
+   app = QApplication(sys.argv)
+   ecran = FrameAttaque(0)
+   ecran.show()
+   r = app.exec_()
+   exit(r)  
+
+
+
+
+

+ 100 - 0
lib/ui/champSaisie.ui

@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>Frame</class>
+ <widget class="QFrame" name="Frame">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>103</width>
+    <height>24</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Frame</string>
+  </property>
+  <property name="frameShape">
+   <enum>QFrame::StyledPanel</enum>
+  </property>
+  <property name="frameShadow">
+   <enum>QFrame::Raised</enum>
+  </property>
+  <layout class="QHBoxLayout" name="horizontalLayout">
+   <property name="spacing">
+    <number>5</number>
+   </property>
+   <property name="sizeConstraint">
+    <enum>QLayout::SetMinimumSize</enum>
+   </property>
+   <property name="leftMargin">
+    <number>1</number>
+   </property>
+   <property name="topMargin">
+    <number>1</number>
+   </property>
+   <property name="rightMargin">
+    <number>1</number>
+   </property>
+   <property name="bottomMargin">
+    <number>1</number>
+   </property>
+   <item>
+    <widget class="QLabel" name="label">
+     <property name="text">
+      <string>Etiquette</string>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <widget class="DmLineEdit" name="lineEdit">
+     <property name="palette">
+      <palette>
+       <active>
+        <colorrole role="Base">
+         <brush brushstyle="SolidPattern">
+          <color alpha="255">
+           <red>248</red>
+           <green>248</green>
+           <blue>248</blue>
+          </color>
+         </brush>
+        </colorrole>
+       </active>
+       <inactive>
+        <colorrole role="Base">
+         <brush brushstyle="SolidPattern">
+          <color alpha="255">
+           <red>248</red>
+           <green>248</green>
+           <blue>248</blue>
+          </color>
+         </brush>
+        </colorrole>
+       </inactive>
+       <disabled>
+        <colorrole role="Base">
+         <brush brushstyle="SolidPattern">
+          <color alpha="255">
+           <red>240</red>
+           <green>240</green>
+           <blue>240</blue>
+          </color>
+         </brush>
+        </colorrole>
+       </disabled>
+      </palette>
+     </property>
+    </widget>
+   </item>
+  </layout>
+ </widget>
+ <customwidgets>
+  <customwidget>
+   <class>DmLineEdit</class>
+   <extends>QLineEdit</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+ </customwidgets>
+ <resources/>
+ <connections/>
+</ui>

+ 1 - 1
lib/ui/convertAttaques.cmd

@@ -1 +1 @@
-pyuic4 -x editionAttaques.ui -o ecran_editionAttaques.py
+pyuic4 -x panneauAttaques.ui -o ecran_panneauAttaques.py

+ 0 - 446
lib/ui/creationPlateau_original.ui

@@ -1,446 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>creationPlateau</class>
- <widget class="QDialog" name="creationPlateau">
-  <property name="geometry">
-   <rect>
-    <x>0</x>
-    <y>0</y>
-    <width>631</width>
-    <height>323</height>
-   </rect>
-  </property>
-  <property name="windowTitle">
-   <string>Dialog</string>
-  </property>
-  <widget class="QLabel" name="label_6">
-   <property name="geometry">
-    <rect>
-     <x>10</x>
-     <y>80</y>
-     <width>61</width>
-     <height>16</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Chapitre : </string>
-   </property>
-  </widget>
-  <widget class="QCheckBox" name="toutAfficherPlateau">
-   <property name="geometry">
-    <rect>
-     <x>549</x>
-     <y>21</y>
-     <width>16</width>
-     <height>20</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string/>
-   </property>
-  </widget>
-  <widget class="QTableWidget" name="listPlateau">
-   <property name="geometry">
-    <rect>
-     <x>280</x>
-     <y>50</y>
-     <width>311</width>
-     <height>191</height>
-    </rect>
-   </property>
-   <property name="frameShape">
-    <enum>QFrame::WinPanel</enum>
-   </property>
-   <property name="selectionBehavior">
-    <enum>QAbstractItemView::SelectRows</enum>
-   </property>
-   <property name="showGrid">
-    <bool>true</bool>
-   </property>
-   <property name="gridStyle">
-    <enum>Qt::SolidLine</enum>
-   </property>
-   <property name="cornerButtonEnabled">
-    <bool>true</bool>
-   </property>
-   <attribute name="horizontalHeaderVisible">
-    <bool>true</bool>
-   </attribute>
-   <attribute name="horizontalHeaderDefaultSectionSize">
-    <number>80</number>
-   </attribute>
-   <attribute name="verticalHeaderVisible">
-    <bool>false</bool>
-   </attribute>
-   <attribute name="verticalHeaderDefaultSectionSize">
-    <number>24</number>
-   </attribute>
-   <column>
-    <property name="text">
-     <string>index</string>
-    </property>
-   </column>
-   <column>
-    <property name="text">
-     <string>Chapitre</string>
-    </property>
-   </column>
-   <column>
-    <property name="text">
-     <string>Nom</string>
-    </property>
-   </column>
-   <column>
-    <property name="text">
-     <string>Creation</string>
-    </property>
-   </column>
-   <column>
-    <property name="text">
-     <string>Sauvegarde</string>
-    </property>
-   </column>
-   <column>
-    <property name="text">
-     <string>Public</string>
-    </property>
-   </column>
-   <column>
-    <property name="text">
-     <string>tri</string>
-    </property>
-   </column>
-  </widget>
-  <widget class="QLabel" name="label_7">
-   <property name="geometry">
-    <rect>
-     <x>280</x>
-     <y>20</y>
-     <width>181</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <property name="font">
-    <font>
-     <weight>75</weight>
-     <bold>true</bold>
-    </font>
-   </property>
-   <property name="text">
-    <string>Charger un plateau du chapitre:</string>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label_5">
-   <property name="geometry">
-    <rect>
-     <x>10</x>
-     <y>210</y>
-     <width>141</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Couleur initiale des cases : </string>
-   </property>
-  </widget>
-  <widget class="QLineEdit" name="nomPlateau">
-   <property name="geometry">
-    <rect>
-     <x>62</x>
-     <y>50</y>
-     <width>191</width>
-     <height>20</height>
-    </rect>
-   </property>
-  </widget>
-  <widget class="QSpinBox" name="hauteurPlateau">
-   <property name="geometry">
-    <rect>
-     <x>200</x>
-     <y>170</y>
-     <width>51</width>
-     <height>22</height>
-    </rect>
-   </property>
-   <property name="minimum">
-    <number>5</number>
-   </property>
-   <property name="maximum">
-    <number>300</number>
-   </property>
-   <property name="singleStep">
-    <number>1</number>
-   </property>
-   <property name="value">
-    <number>25</number>
-   </property>
-  </widget>
-  <widget class="QGroupBox" name="groupBox">
-   <property name="geometry">
-    <rect>
-     <x>10</x>
-     <y>110</y>
-     <width>241</width>
-     <height>51</height>
-    </rect>
-   </property>
-   <property name="title">
-    <string>Forme des cases</string>
-   </property>
-   <widget class="QRadioButton" name="formeCase_hexagone">
-    <property name="geometry">
-     <rect>
-      <x>10</x>
-      <y>20</y>
-      <width>82</width>
-      <height>17</height>
-     </rect>
-    </property>
-    <property name="text">
-     <string>Hexagones</string>
-    </property>
-    <property name="checked">
-     <bool>true</bool>
-    </property>
-   </widget>
-   <widget class="QRadioButton" name="formeCase_carres">
-    <property name="geometry">
-     <rect>
-      <x>130</x>
-      <y>20</y>
-      <width>82</width>
-      <height>17</height>
-     </rect>
-    </property>
-    <property name="text">
-     <string>Carrés</string>
-    </property>
-   </widget>
-  </widget>
-  <widget class="QSpinBox" name="chapitreChargementPlateau">
-   <property name="geometry">
-    <rect>
-     <x>470</x>
-     <y>20</y>
-     <width>41</width>
-     <height>22</height>
-    </rect>
-   </property>
-   <property name="minimum">
-    <number>1</number>
-   </property>
-  </widget>
-  <widget class="QPushButton" name="supprimerPlateau">
-   <property name="enabled">
-    <bool>false</bool>
-   </property>
-   <property name="geometry">
-    <rect>
-     <x>280</x>
-     <y>240</y>
-     <width>121</width>
-     <height>31</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Supprimer</string>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label_4">
-   <property name="geometry">
-    <rect>
-     <x>60</x>
-     <y>20</y>
-     <width>181</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <property name="font">
-    <font>
-     <weight>75</weight>
-     <bold>true</bold>
-    </font>
-   </property>
-   <property name="text">
-    <string>Créer un nouveau plateau</string>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label_3">
-   <property name="geometry">
-    <rect>
-     <x>10</x>
-     <y>50</y>
-     <width>46</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Nom : </string>
-   </property>
-  </widget>
-  <widget class="QSpinBox" name="largeurPlateau">
-   <property name="geometry">
-    <rect>
-     <x>70</x>
-     <y>170</y>
-     <width>51</width>
-     <height>22</height>
-    </rect>
-   </property>
-   <property name="minimum">
-    <number>5</number>
-   </property>
-   <property name="maximum">
-    <number>300</number>
-   </property>
-   <property name="singleStep">
-    <number>1</number>
-   </property>
-   <property name="value">
-    <number>50</number>
-   </property>
-  </widget>
-  <widget class="QPushButton" name="selectionCouleur">
-   <property name="geometry">
-    <rect>
-     <x>190</x>
-     <y>210</y>
-     <width>61</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Modifier</string>
-   </property>
-  </widget>
-  <widget class="QPushButton" name="chargerPlateau">
-   <property name="enabled">
-    <bool>false</bool>
-   </property>
-   <property name="geometry">
-    <rect>
-     <x>450</x>
-     <y>240</y>
-     <width>141</width>
-     <height>31</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Charger ce plateau</string>
-   </property>
-  </widget>
-  <widget class="QPushButton" name="creerPlateau">
-   <property name="enabled">
-    <bool>false</bool>
-   </property>
-   <property name="geometry">
-    <rect>
-     <x>50</x>
-     <y>240</y>
-     <width>141</width>
-     <height>31</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Creer un nouveau plateau</string>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label_2">
-   <property name="geometry">
-    <rect>
-     <x>140</x>
-     <y>170</y>
-     <width>46</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Hauteur</string>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label">
-   <property name="geometry">
-    <rect>
-     <x>10</x>
-     <y>170</y>
-     <width>46</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Largeur</string>
-   </property>
-  </widget>
-  <widget class="QSpinBox" name="chapitrePlateau">
-   <property name="geometry">
-    <rect>
-     <x>71</x>
-     <y>80</y>
-     <width>41</width>
-     <height>22</height>
-    </rect>
-   </property>
-   <property name="minimum">
-    <number>1</number>
-   </property>
-  </widget>
-  <widget class="QLabel" name="couleurCasesPlateau">
-   <property name="geometry">
-    <rect>
-     <x>150</x>
-     <y>210</y>
-     <width>31</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <property name="frameShape">
-    <enum>QFrame::Box</enum>
-   </property>
-   <property name="frameShadow">
-    <enum>QFrame::Sunken</enum>
-   </property>
-   <property name="text">
-    <string/>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label_8">
-   <property name="geometry">
-    <rect>
-     <x>520</x>
-     <y>0</y>
-     <width>71</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <property name="font">
-    <font>
-     <italic>true</italic>
-    </font>
-   </property>
-   <property name="text">
-    <string>Tout afficher:</string>
-   </property>
-  </widget>
-  <widget class="QPushButton" name="chargerPlateauEC">
-   <property name="enabled">
-    <bool>false</bool>
-   </property>
-   <property name="geometry">
-    <rect>
-     <x>360</x>
-     <y>280</y>
-     <width>141</width>
-     <height>31</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Charger le plus récent</string>
-   </property>
-   <property name="default">
-    <bool>false</bool>
-   </property>
-  </widget>
- </widget>
- <resources/>
- <connections/>
-</ui>

+ 123 - 195
lib/ui/dm.py

@@ -3,10 +3,18 @@
 """ensemble des widgets surchargés"""
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
-from lib.outilsSvg import *
-import lib.regles as regles
-from lib.Actions import *
-
+try:
+    from lib.outilsSvg import *
+    import lib.regles as regles
+    from lib.Actions import *
+except:
+    try:
+        from outilsSvg import *
+        import regles as regles
+        from Actions import *
+    except:
+        pass
+        
 class DmLabel(QLabel):
     """surcharge de QLabel"""
     def __init__(self, parent = None):
@@ -132,7 +140,7 @@ class DmComboBox(QComboBox):
     def valeurActuelle(self):
         """renvoie sous forme de QVariant la valeur en cours"""
         return self.itemData(self.currentIndex())
-    
+
 class DmTableWidget(QTableWidget):
     """surcharge de QTableWidget"""
     def __init__(self, parent = None):
@@ -339,116 +347,116 @@ class DmTableAttributsPi(DmTableWidget):
         return objet
 
 
-class DmTableListeAttaques(DmTableWidget):
-    """liste des attaques du combattant"""
-    def __init__(self, parent = None):
-        super(DmTableListeAttaques, self).__init__(parent)
-        self.panneau = None
-        self._listeAttaques = []
-        self.connect(self, SIGNAL("currentCellChanged(int, int, int, int)"), self.selectionChangee)
-
-    def listeAttaques(self):
-        #on recupere les donnees de l'attaque en cours avant d'exporter la liste
-        self.enregistrerPanneau(self.ligneSelectionnee())
-        return self._listeAttaques
-
-    def attaqueSelectionnee(self):
-        """renvoie l'attaque selectionnee"""
-        retour = None
-        if len(self._listeAttaques) > 0 and self.ligneSelectionnee() != None:
-            retour = self._listeAttaques[self.ligneSelectionnee()]
-        return retour
-
-    def majAttaque(self, index, nouvelle):
-        """met a jour les donnees de l'attaque en position x"""
-        self._listeAttaques[index] = nouvelle
-
-    def charger(self, fenetre, listeAttaques):
-        self.panneau = fenetre.ui.edc_attaque_panneau
-        self._listeAttaques = listeAttaques
-        self.peupler()
-        self.selectionner(0, 0)
-        self.majPanneau()
-        
-    def peupler(self):
-        self.vider()
-        for attaque in self._listeAttaques:
-            ligne = self.nouvelleLigneFin()
-            self.setItem(ligne, 0, QTableWidgetItem(attaque.icone(), QString.fromUtf8(attaque.nom())))      
-
-    def majPanneau(self):
-        """met a jour les donnees du panneau"""
-        self.panneau.chargerAttaque(self.attaqueSelectionnee())
-
-    def enregistrerPanneau(self, ligne):
-        """enregistre les donnees du panneau sur l'attaque de la ligne"""
-        attaque = self.panneau.attaque()
-        if attaque:
-            self._listeAttaques[ligne] = attaque
-        self.peupler()
-
-    def nouvelle(self):
-        attaque = Cac()
-        self._listeAttaques.append(attaque)
-        self.peupler()
-        self.selectionner(self.rowCount(), 0)
-        
-    def supprimer(self):
-        """supprime l'attaque actuellement selectionnee"""
-##        ligne = self.ligneSelectionnee()
-        self._listeAttaques.remove(self.attaqueSelectionnee())
-        self.peupler()
-##        self.selectionner(ligne, 0)
-##        self.removeRow(self.ligneSelectionnee())
-
-    def selectionChangee(self, ancienneLigne, ancienneColonne, ligne, colonne):
-        self.enregistrerPanneau(ancienneLigne)
-        self.panneau.chargerAttaque(None)
-        self.majPanneau()
-##        self.emit(SIGNAL("selectionChangee(int, int)"), ancienneLigne, ligne)
-        
-
-
-class DmTableAttributsAttaque(DmTableWidget):
-    """table contenant les attributs (selon regles) d'une attaque"""
-    def __init__(self, parent = None):
-        super(DmTableAttributsAttaque, self).__init__(parent)
-        self._constr = False
-
-    def attributs(self):
-        """retourne un dictionnaire contenant les attributs"""
-        dico = {}
-        for ligne in self.lignes():
-            nomAttr = regles.ordreAttributsAttaques()[ligne]
-            dico[nomAttr] = regles.attributAttaque(nomAttr).controler(self.texte(ligne, 1))
-        return dico
-
-    def construire(self):
-        """cree les lignes et remplit la colonne des noms d'attributs"""
-        for nomAttribut in regles.ordreAttributsAttaques():
-            attribut = regles.attributAttaque(nomAttribut)
-            ligne = self.nouvelleLigneFin()
-            self.majTexte(ligne, 0, attribut.nom)
-            self.majTexte(ligne, 1, "")
-        self._constr = True
-            
-    def charger(self, attributs):
-        """charge les attributs d'une attaque"""
-        self.decharger()
-        for ligne in self.lignes():
-            attr = regles.ordreAttributsAttaques()[ligne]
-            valeur = attributs[attr]
-            self.majTexte(ligne, 1, valeur)
-
-    def decharger(self):
-        """efface les valeurs de la colonne des valeurs,
-            mais laisse intacte la colonne des noms d'attributs"""
-        if not self._constr:
-            self.contruire()
-        else:
-            for ligne in self.lignes():
-                self.majTexte(ligne, 1, "")
-        
+##class DmTableListeAttaques(DmTableWidget):
+##    """liste des attaques du combattant"""
+##    def __init__(self, parent = None):
+##        super(DmTableListeAttaques, self).__init__(parent)
+##        self.panneau = None
+##        self._listeAttaques = []
+##        self.connect(self, SIGNAL("currentCellChanged(int, int, int, int)"), self.selectionChangee)
+##
+##    def listeAttaques(self):
+##        #on recupere les donnees de l'attaque en cours avant d'exporter la liste
+##        self.enregistrerPanneau(self.ligneSelectionnee())
+##        return self._listeAttaques
+##
+##    def attaqueSelectionnee(self):
+##        """renvoie l'attaque selectionnee"""
+##        retour = None
+##        if len(self._listeAttaques) > 0 and self.ligneSelectionnee() != None:
+##            retour = self._listeAttaques[self.ligneSelectionnee()]
+##        return retour
+##
+##    def majAttaque(self, index, nouvelle):
+##        """met a jour les donnees de l'attaque en position x"""
+##        self._listeAttaques[index] = nouvelle
+##
+##    def charger(self, fenetre, listeAttaques):
+##        self.panneau = fenetre.ui.edc_attaque_panneau
+##        self._listeAttaques = listeAttaques
+##        self.peupler()
+##        self.selectionner(0, 0)
+##        self.majPanneau()
+##        
+##    def peupler(self):
+##        self.vider()
+##        for attaque in self._listeAttaques:
+##            ligne = self.nouvelleLigneFin()
+##            self.setItem(ligne, 0, QTableWidgetItem(attaque.icone(), QString.fromUtf8(attaque.nom())))      
+##
+##    def majPanneau(self):
+##        """met a jour les donnees du panneau"""
+##        self.panneau.chargerAttaque(self.attaqueSelectionnee())
+##
+##    def enregistrerPanneau(self, ligne):
+##        """enregistre les donnees du panneau sur l'attaque de la ligne"""
+##        attaque = self.panneau.attaque()
+##        if attaque:
+##            self._listeAttaques[ligne] = attaque
+##        self.peupler()
+##
+##    def nouvelle(self):
+##        attaque = Cac()
+##        self._listeAttaques.append(attaque)
+##        self.peupler()
+##        self.selectionner(self.rowCount(), 0)
+##        
+##    def supprimer(self):
+##        """supprime l'attaque actuellement selectionnee"""
+####        ligne = self.ligneSelectionnee()
+##        self._listeAttaques.remove(self.attaqueSelectionnee())
+##        self.peupler()
+####        self.selectionner(ligne, 0)
+####        self.removeRow(self.ligneSelectionnee())
+##
+##    def selectionChangee(self, ancienneLigne, ancienneColonne, ligne, colonne):
+##        self.enregistrerPanneau(ancienneLigne)
+##        self.panneau.chargerAttaque(None)
+##        self.majPanneau()
+####        self.emit(SIGNAL("selectionChangee(int, int)"), ancienneLigne, ligne)
+##        
+##
+##
+##class DmTableAttributsAttaque(DmTableWidget):
+##    """table contenant les attributs (selon regles) d'une attaque"""
+##    def __init__(self, parent = None):
+##        super(DmTableAttributsAttaque, self).__init__(parent)
+##        self._constr = False
+##
+##    def attributs(self):
+##        """retourne un dictionnaire contenant les attributs"""
+##        dico = {}
+##        for ligne in self.lignes():
+##            nomAttr = regles.ordreAttributsAttaques()[ligne]
+##            dico[nomAttr] = regles.attributAttaque(nomAttr).controler(self.texte(ligne, 1))
+##        return dico
+##
+##    def construire(self):
+##        """cree les lignes et remplit la colonne des noms d'attributs"""
+##        for nomAttribut in regles.ordreAttributsAttaques():
+##            attribut = regles.attributAttaque(nomAttribut)
+##            ligne = self.nouvelleLigneFin()
+##            self.majTexte(ligne, 0, attribut.nom)
+##            self.majTexte(ligne, 1, "")
+##        self._constr = True
+##            
+##    def charger(self, attributs):
+##        """charge les attributs d'une attaque"""
+##        self.decharger()
+##        for ligne in self.lignes():
+##            attr = regles.ordreAttributsAttaques()[ligne]
+##            valeur = attributs[attr]
+##            self.majTexte(ligne, 1, valeur)
+##
+##    def decharger(self):
+##        """efface les valeurs de la colonne des valeurs,
+##            mais laisse intacte la colonne des noms d'attributs"""
+##        if not self._constr:
+##            self.contruire()
+##        else:
+##            for ligne in self.lignes():
+##                self.majTexte(ligne, 1, "")
+##        
 
 
 class DmTableMenu(QTableWidget):
@@ -511,86 +519,6 @@ class DmFrame(QFrame):
     def __init__(self, parent = None):
         super(DmFrame, self).__init__(parent)
 
-class DmEdcPanneauAttaque(DmFrame):
-    """frame contenant les donnees de l'attaque actuellement
-        affichee lors de la creation de combattant"""
-    def __init__(self, parent = None):
-        super(DmEdcPanneauAttaque, self).__init__(parent)
-        self.fenetre = None
-
-    def construire(self, fenetre):
-        self.fenetre = fenetre
-        self.fenetre.ui.edc_attaque_attributs.vider()
-        self.fenetre.ui.edc_attaque_attributs.construire()
-        self.chargerAttaque(None)
-##        self.connect(self.fenetre.ui.edc_attaque_liste, SIGNAL("selectionChangee(int, int)"), self.listeSelectionChangee)
-
-    def chargerAttaque(self, attaque = None):
-        """met a jour le contenu avec les donnees de l'attaque en param"""
-        if attaque:
-            self.setEnabled(True)
-            if isinstance(attaque, Cac):
-                self.fenetre.ui.edc_attaque_type.setCurrentIndex(0)
-            elif isinstance(attaque, Distance):
-                self.fenetre.ui.edc_attaque_type.setCurrentIndex(1)
-            elif isinstance(attaque, Zone):
-                self.fenetre.ui.edc_attaque_type.setCurrentIndex(2)
-                self.fenetre.ui.edc_attaque_forme.setVisible(True)
-                self.fenetre.ui.edc_attaque_forme_e.setVisible(True)
-                if isinstance(attaque, Ligne):
-                    self.fenetre.ui.edc_attaque_forme.setCurrentIndex(0)
-                elif isinstance(attaque, Disque):
-                    self.fenetre.ui.edc_attaque_forme.setCurrentIndex(1)
-                    self.fenetre.ui.edc_attaque_rayon.setValue(attaque.rayon())
-                    self.fenetre.ui.edc_attaque_rayon.setVisible(True)
-                    self.fenetre.ui.edc_attaque_rayon_e.setVisible(True)
-                elif isinstance(attaque, Cone):
-                    self.fenetre.ui.edc_attaque_forme.setCurrentIndex(2)
-                    
-            self.fenetre.ui.edc_attaque_nom.majTexte(attaque.nom())
-            self.fenetre.ui.edc_attaque_portee.setValue(attaque.portee())
-            self.fenetre.ui.edc_attaque_attributs.charger(attaque.attributs())
-            self.fenetre.ui.edc_attaque_notes.majTexte(attaque.notes())
-        else:
-            self.fenetre.ui.edc_attaque_type.setCurrentIndex(0)
-            self.fenetre.ui.edc_attaque_nom.majTexte("")
-            self.fenetre.ui.edc_attaque_portee.setValue(1)
-            self.fenetre.ui.edc_attaque_forme.setCurrentIndex(0)
-            self.fenetre.ui.edc_attaque_forme.setVisible(False)
-            self.fenetre.ui.edc_attaque_forme_e.setVisible(False)
-            self.fenetre.ui.edc_attaque_rayon.setValue(1)
-            self.fenetre.ui.edc_attaque_rayon.setVisible(False)
-            self.fenetre.ui.edc_attaque_rayon_e.setVisible(False)
-            self.fenetre.ui.edc_attaque_attributs.decharger()
-            self.fenetre.ui.edc_attaque_notes.majTexte("")
-            self.setEnabled(False)
-
-    def attaque(self):
-        """retourne l'attaque en cours"""
-        attaque = None
-        if self.isEnabled():
-            if self.fenetre.ui.edc_attaque_type.currentIndex() == 0:
-                attaque = Cac()
-            elif self.fenetre.ui.edc_attaque_type.currentIndex() == 1:
-                attaque = Distance()
-            elif self.fenetre.ui.edc_attaque_type.currentIndex() == 2:
-                if self.fenetre.ui.edc_attaque_forme.currentIndex() == 0:
-                    attaque = Ligne()
-                elif self.fenetre.ui.edc_attaque_forme.currentIndex() == 1:
-                    attaque = Disque()
-                    attaque.majRayon(self.fenetre.ui.edc_attaque_rayon.value())
-                elif self.fenetre.ui.edc_attaque_forme.currentIndex() == 2:
-                    attaque = Cone()
-
-            nom = self.fenetre.ui.edc_attaque_nom.texte()
-            if len(nom) == 0: nom = "Attaque"
-            attaque.majNom(nom)
-            attaque.majPortee(self.fenetre.ui.edc_attaque_portee.value())
-            attaque.majAttributs(self.fenetre.ui.edc_attaque_attributs.attributs())
-            attaque.majNotes(self.fenetre.ui.edc_attaque_notes.texte())
-        return attaque 
-
-
 
 
         

+ 0 - 0
lib/ui/dmtableattaques.py → lib/ui/dmtableattaques_tableAttaques.py


+ 20 - 234
lib/ui/ecran_editionCombattant.py

@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file 'editionCombattant.ui'
 #
-# Created: Thu Jun 11 16:01:01 2015
+# Created: Wed Jun 17 13:39:16 2015
 #      by: PyQt4 UI code generator 4.10.4
 #
 # WARNING! All changes made in this file will be lost!
@@ -547,215 +547,18 @@ class Ui_edc_fenetre(object):
         self.edc_pages.addWidget(self.page_attr)
         self.page_att = QtGui.QWidget()
         self.page_att.setObjectName(_fromUtf8("page_att"))
-        self.edc_attaque_ajouter = QtGui.QToolButton(self.page_att)
-        self.edc_attaque_ajouter.setGeometry(QtCore.QRect(130, 380, 31, 31))
-        icon9 = QtGui.QIcon()
-        icon9.addPixmap(QtGui.QPixmap(_fromUtf8("img/plus.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.edc_attaque_ajouter.setIcon(icon9)
-        self.edc_attaque_ajouter.setObjectName(_fromUtf8("edc_attaque_ajouter"))
-        self.edc_attaque_liste = DmTableListeAttaques(self.page_att)
-        self.edc_attaque_liste.setGeometry(QtCore.QRect(10, 10, 151, 361))
-        palette = QtGui.QPalette()
-        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
-        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
-        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
-        self.edc_attaque_liste.setPalette(palette)
-        font = QtGui.QFont()
-        font.setPointSize(8)
-        self.edc_attaque_liste.setFont(font)
-        self.edc_attaque_liste.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
-        self.edc_attaque_liste.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
-        self.edc_attaque_liste.setGridStyle(QtCore.Qt.DotLine)
-        self.edc_attaque_liste.setObjectName(_fromUtf8("edc_attaque_liste"))
-        self.edc_attaque_liste.setColumnCount(1)
-        self.edc_attaque_liste.setRowCount(0)
-        item = QtGui.QTableWidgetItem()
-        self.edc_attaque_liste.setHorizontalHeaderItem(0, item)
-        self.edc_attaque_liste.horizontalHeader().setVisible(False)
-        self.edc_attaque_liste.horizontalHeader().setStretchLastSection(True)
-        self.edc_attaque_liste.verticalHeader().setVisible(False)
-        self.edc_attaque_supprimer = QtGui.QToolButton(self.page_att)
-        self.edc_attaque_supprimer.setGeometry(QtCore.QRect(90, 380, 31, 31))
-        icon10 = QtGui.QIcon()
-        icon10.addPixmap(QtGui.QPixmap(_fromUtf8("img/corbeille.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.edc_attaque_supprimer.setIcon(icon10)
-        self.edc_attaque_supprimer.setObjectName(_fromUtf8("edc_attaque_supprimer"))
-        self.edc_attaque_panneau = DmEdcPanneauAttaque(self.page_att)
-        self.edc_attaque_panneau.setEnabled(True)
-        self.edc_attaque_panneau.setGeometry(QtCore.QRect(170, 10, 311, 401))
-        self.edc_attaque_panneau.setFrameShape(QtGui.QFrame.StyledPanel)
-        self.edc_attaque_panneau.setFrameShadow(QtGui.QFrame.Sunken)
-        self.edc_attaque_panneau.setObjectName(_fromUtf8("edc_attaque_panneau"))
-        self.edc_attaque_nom = DmLineEdit(self.edc_attaque_panneau)
-        self.edc_attaque_nom.setGeometry(QtCore.QRect(60, 10, 241, 31))
-        palette = QtGui.QPalette()
-        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
-        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
-        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
-        self.edc_attaque_nom.setPalette(palette)
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        self.edc_attaque_nom.setFont(font)
-        self.edc_attaque_nom.setObjectName(_fromUtf8("edc_attaque_nom"))
-        self.edc_attaque_type = DmComboBox(self.edc_attaque_panneau)
-        self.edc_attaque_type.setGeometry(QtCore.QRect(10, 10, 41, 31))
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        self.edc_attaque_type.setFont(font)
-        self.edc_attaque_type.setObjectName(_fromUtf8("edc_attaque_type"))
-        icon11 = QtGui.QIcon()
-        icon11.addPixmap(QtGui.QPixmap(_fromUtf8("img/curseurEpee.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.edc_attaque_type.addItem(icon11, _fromUtf8(""))
-        icon12 = QtGui.QIcon()
-        icon12.addPixmap(QtGui.QPixmap(_fromUtf8("img/arc.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.edc_attaque_type.addItem(icon12, _fromUtf8(""))
-        icon13 = QtGui.QIcon()
-        icon13.addPixmap(QtGui.QPixmap(_fromUtf8("img/bombe.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.edc_attaque_type.addItem(icon13, _fromUtf8(""))
-        self.label_6 = QtGui.QLabel(self.edc_attaque_panneau)
-        self.label_6.setGeometry(QtCore.QRect(10, 50, 51, 31))
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        self.label_6.setFont(font)
-        self.label_6.setObjectName(_fromUtf8("label_6"))
-        self.edc_attaque_portee = QtGui.QSpinBox(self.edc_attaque_panneau)
-        self.edc_attaque_portee.setGeometry(QtCore.QRect(60, 50, 41, 31))
-        palette = QtGui.QPalette()
-        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
-        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
-        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
-        self.edc_attaque_portee.setPalette(palette)
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        self.edc_attaque_portee.setFont(font)
-        self.edc_attaque_portee.setMinimum(1)
-        self.edc_attaque_portee.setMaximum(999)
-        self.edc_attaque_portee.setProperty("value", 1)
-        self.edc_attaque_portee.setObjectName(_fromUtf8("edc_attaque_portee"))
-        self.edc_attaque_rayon = QtGui.QSpinBox(self.edc_attaque_panneau)
-        self.edc_attaque_rayon.setGeometry(QtCore.QRect(260, 50, 41, 31))
-        palette = QtGui.QPalette()
-        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
-        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
-        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
-        self.edc_attaque_rayon.setPalette(palette)
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        self.edc_attaque_rayon.setFont(font)
-        self.edc_attaque_rayon.setMinimum(1)
-        self.edc_attaque_rayon.setProperty("value", 1)
-        self.edc_attaque_rayon.setObjectName(_fromUtf8("edc_attaque_rayon"))
-        self.edc_attaque_rayon_e = QtGui.QLabel(self.edc_attaque_panneau)
-        self.edc_attaque_rayon_e.setGeometry(QtCore.QRect(210, 50, 51, 31))
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        self.edc_attaque_rayon_e.setFont(font)
-        self.edc_attaque_rayon_e.setObjectName(_fromUtf8("edc_attaque_rayon_e"))
-        self.edc_attaque_notes = DmTextEdit(self.edc_attaque_panneau)
-        self.edc_attaque_notes.setGeometry(QtCore.QRect(10, 350, 291, 41))
-        palette = QtGui.QPalette()
-        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
-        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
-        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
-        self.edc_attaque_notes.setPalette(palette)
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        self.edc_attaque_notes.setFont(font)
-        self.edc_attaque_notes.setObjectName(_fromUtf8("edc_attaque_notes"))
-        self.label_19 = QtGui.QLabel(self.edc_attaque_panneau)
-        self.label_19.setGeometry(QtCore.QRect(10, 330, 131, 21))
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        self.label_19.setFont(font)
-        self.label_19.setObjectName(_fromUtf8("label_19"))
-        self.edc_attaque_attributs = DmTableAttributsAttaque(self.edc_attaque_panneau)
-        self.edc_attaque_attributs.setGeometry(QtCore.QRect(10, 110, 291, 211))
-        palette = QtGui.QPalette()
-        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
-        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
-        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
-        self.edc_attaque_attributs.setPalette(palette)
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        font.setPointSize(8)
-        self.edc_attaque_attributs.setFont(font)
-        self.edc_attaque_attributs.setGridStyle(QtCore.Qt.DotLine)
-        self.edc_attaque_attributs.setObjectName(_fromUtf8("edc_attaque_attributs"))
-        self.edc_attaque_attributs.setColumnCount(2)
-        self.edc_attaque_attributs.setRowCount(0)
-        item = QtGui.QTableWidgetItem()
-        self.edc_attaque_attributs.setHorizontalHeaderItem(0, item)
-        item = QtGui.QTableWidgetItem()
-        item.setTextAlignment(QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
-        self.edc_attaque_attributs.setHorizontalHeaderItem(1, item)
-        self.edc_attaque_attributs.horizontalHeader().setVisible(False)
-        self.edc_attaque_attributs.horizontalHeader().setDefaultSectionSize(180)
-        self.edc_attaque_attributs.horizontalHeader().setMinimumSectionSize(50)
-        self.edc_attaque_attributs.horizontalHeader().setStretchLastSection(True)
-        self.edc_attaque_attributs.verticalHeader().setVisible(False)
-        self.label = QtGui.QLabel(self.edc_attaque_panneau)
-        self.label.setGeometry(QtCore.QRect(10, 90, 101, 16))
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        self.label.setFont(font)
-        self.label.setObjectName(_fromUtf8("label"))
-        self.edc_attaque_forme = DmComboBox(self.edc_attaque_panneau)
-        self.edc_attaque_forme.setGeometry(QtCore.QRect(160, 50, 41, 31))
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        self.edc_attaque_forme.setFont(font)
-        self.edc_attaque_forme.setObjectName(_fromUtf8("edc_attaque_forme"))
-        icon14 = QtGui.QIcon()
-        icon14.addPixmap(QtGui.QPixmap(_fromUtf8("img/formeLigne.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.edc_attaque_forme.addItem(icon14, _fromUtf8(""))
-        icon15 = QtGui.QIcon()
-        icon15.addPixmap(QtGui.QPixmap(_fromUtf8("img/formeEllipsePlein.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.edc_attaque_forme.addItem(icon15, _fromUtf8(""))
-        icon16 = QtGui.QIcon()
-        icon16.addPixmap(QtGui.QPixmap(_fromUtf8("img/cone.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.edc_attaque_forme.addItem(icon16, _fromUtf8(""))
-        self.edc_attaque_forme_e = QtGui.QLabel(self.edc_attaque_panneau)
-        self.edc_attaque_forme_e.setGeometry(QtCore.QRect(110, 50, 51, 31))
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        self.edc_attaque_forme_e.setFont(font)
-        self.edc_attaque_forme_e.setObjectName(_fromUtf8("edc_attaque_forme_e"))
+        self.edc_deroulementAttaques = QtGui.QScrollArea(self.page_att)
+        self.edc_deroulementAttaques.setGeometry(QtCore.QRect(0, 0, 491, 431))
+        self.edc_deroulementAttaques.setWidgetResizable(True)
+        self.edc_deroulementAttaques.setObjectName(_fromUtf8("edc_deroulementAttaques"))
+        self.scrollAreaWidgetContents = QtGui.QWidget()
+        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 489, 429))
+        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
+        self.edc_deroulementAttaques_layout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
+        self.edc_deroulementAttaques_layout.setSpacing(1)
+        self.edc_deroulementAttaques_layout.setMargin(3)
+        self.edc_deroulementAttaques_layout.setObjectName(_fromUtf8("edc_deroulementAttaques_layout"))
+        self.edc_deroulementAttaques.setWidget(self.scrollAreaWidgetContents)
         self.edc_pages.addWidget(self.page_att)
         self.page_invent = QtGui.QWidget()
         self.page_invent.setObjectName(_fromUtf8("page_invent"))
@@ -793,9 +596,9 @@ class Ui_edc_fenetre(object):
         self.edc_listeInventaire.verticalHeader().setVisible(False)
         self.edc_inventaire_supprimer = QtGui.QToolButton(self.page_invent)
         self.edc_inventaire_supprimer.setGeometry(QtCore.QRect(380, 360, 21, 20))
-        icon17 = QtGui.QIcon()
-        icon17.addPixmap(QtGui.QPixmap(_fromUtf8("img/gomme.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.edc_inventaire_supprimer.setIcon(icon17)
+        icon9 = QtGui.QIcon()
+        icon9.addPixmap(QtGui.QPixmap(_fromUtf8("img/gomme.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.edc_inventaire_supprimer.setIcon(icon9)
         self.edc_inventaire_supprimer.setObjectName(_fromUtf8("edc_inventaire_supprimer"))
         self.label_24 = QtGui.QLabel(self.page_invent)
         self.label_24.setGeometry(QtCore.QRect(20, 20, 131, 20))
@@ -805,7 +608,9 @@ class Ui_edc_fenetre(object):
         self.label_24.setObjectName(_fromUtf8("label_24"))
         self.edc_inventaire_nouveau = QtGui.QToolButton(self.page_invent)
         self.edc_inventaire_nouveau.setGeometry(QtCore.QRect(350, 360, 21, 20))
-        self.edc_inventaire_nouveau.setIcon(icon9)
+        icon10 = QtGui.QIcon()
+        icon10.addPixmap(QtGui.QPixmap(_fromUtf8("img/plus.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.edc_inventaire_nouveau.setIcon(icon10)
         self.edc_inventaire_nouveau.setObjectName(_fromUtf8("edc_inventaire_nouveau"))
         self.edc_pages.addWidget(self.page_invent)
         self.page_notes = QtGui.QWidget()
@@ -1216,25 +1021,6 @@ class Ui_edc_fenetre(object):
         item = self.edc_listeAttributs.horizontalHeaderItem(1)
         item.setText(_translate("edc_fenetre", "Valeur", None))
         self.label_18.setText(_translate("edc_fenetre", "Attributs / caractéristiques :  ", None))
-        self.edc_attaque_ajouter.setText(_translate("edc_fenetre", "...", None))
-        item = self.edc_attaque_liste.horizontalHeaderItem(0)
-        item.setText(_translate("edc_fenetre", "att", None))
-        self.edc_attaque_supprimer.setText(_translate("edc_fenetre", "...", None))
-        self.edc_attaque_type.setItemText(0, _translate("edc_fenetre", "Corps-à-corps", None))
-        self.edc_attaque_type.setItemText(1, _translate("edc_fenetre", "A Distance", None))
-        self.edc_attaque_type.setItemText(2, _translate("edc_fenetre", "Zone", None))
-        self.label_6.setText(_translate("edc_fenetre", "Portée :", None))
-        self.edc_attaque_rayon_e.setText(_translate("edc_fenetre", "Rayon :", None))
-        self.label_19.setText(_translate("edc_fenetre", "Description / Notes :", None))
-        item = self.edc_attaque_attributs.horizontalHeaderItem(0)
-        item.setText(_translate("edc_fenetre", "attr", None))
-        item = self.edc_attaque_attributs.horizontalHeaderItem(1)
-        item.setText(_translate("edc_fenetre", "val", None))
-        self.label.setText(_translate("edc_fenetre", "Attributs :", None))
-        self.edc_attaque_forme.setItemText(0, _translate("edc_fenetre", "Ligne", None))
-        self.edc_attaque_forme.setItemText(1, _translate("edc_fenetre", "Disque", None))
-        self.edc_attaque_forme.setItemText(2, _translate("edc_fenetre", "Cone", None))
-        self.edc_attaque_forme_e.setText(_translate("edc_fenetre", "Forme :", None))
         item = self.edc_listeInventaire.horizontalHeaderItem(0)
         item.setText(_translate("edc_fenetre", "nombre", None))
         item = self.edc_listeInventaire.horizontalHeaderItem(1)
@@ -1261,7 +1047,7 @@ class Ui_edc_fenetre(object):
         self.edc_enregistrer.setText(_translate("edc_fenetre", "Enregistrer", None))
         self.edc_annuler.setText(_translate("edc_fenetre", "Annuler", None))
 
-from dm import DmTableListeAttaques, DmLineEdit, DmTableAttributsAttaque, DmEdcPanneauAttaque, DmLabelChoixImage, DmTableMenu, DmTextEdit, DmComboBox
+from dm import DmLabelChoixImage, DmTableMenu, DmLineEdit
 
 if __name__ == "__main__":
     import sys

+ 254 - 0
lib/ui/ecran_panneauAttaques.py

@@ -0,0 +1,254 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'panneauAttaques.ui'
+#
+# Created: Wed Jun 17 14:10:06 2015
+#      by: PyQt4 UI code generator 4.10.4
+#
+# WARNING! All changes made in this file will be lost!
+
+from PyQt4 import QtCore, QtGui
+
+try:
+    _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+    def _fromUtf8(s):
+        return s
+
+try:
+    _encoding = QtGui.QApplication.UnicodeUTF8
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig, _encoding)
+except AttributeError:
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig)
+
+class Ui_att_frame(object):
+    def setupUi(self, att_frame):
+        att_frame.setObjectName(_fromUtf8("att_frame"))
+        att_frame.resize(471, 112)
+        att_frame.setMinimumSize(QtCore.QSize(471, 0))
+        att_frame.setMaximumSize(QtCore.QSize(471, 1000))
+        att_frame.setFrameShape(QtGui.QFrame.StyledPanel)
+        att_frame.setFrameShadow(QtGui.QFrame.Raised)
+        self.att_panneau = DmEdcPanneauAttaque(att_frame)
+        self.att_panneau.setEnabled(True)
+        self.att_panneau.setGeometry(QtCore.QRect(0, 0, 471, 111))
+        self.att_panneau.setMinimumSize(QtCore.QSize(0, 0))
+        self.att_panneau.setFrameShape(QtGui.QFrame.StyledPanel)
+        self.att_panneau.setFrameShadow(QtGui.QFrame.Sunken)
+        self.att_panneau.setObjectName(_fromUtf8("att_panneau"))
+        self.att_nom = DmLineEdit(self.att_panneau)
+        self.att_nom.setGeometry(QtCore.QRect(60, 10, 371, 21))
+        palette = QtGui.QPalette()
+        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
+        self.att_nom.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.att_nom.setFont(font)
+        self.att_nom.setObjectName(_fromUtf8("att_nom"))
+        self.att_type = DmComboBox(self.att_panneau)
+        self.att_type.setGeometry(QtCore.QRect(10, 10, 41, 41))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.att_type.setFont(font)
+        self.att_type.setObjectName(_fromUtf8("att_type"))
+        icon = QtGui.QIcon()
+        icon.addPixmap(QtGui.QPixmap(_fromUtf8("img/curseurEpee.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.att_type.addItem(icon, _fromUtf8(""))
+        self.att_type.setItemText(0, _fromUtf8(""))
+        icon1 = QtGui.QIcon()
+        icon1.addPixmap(QtGui.QPixmap(_fromUtf8("img/arc.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.att_type.addItem(icon1, _fromUtf8(""))
+        self.att_type.setItemText(1, _fromUtf8(""))
+        icon2 = QtGui.QIcon()
+        icon2.addPixmap(QtGui.QPixmap(_fromUtf8("img/bombe.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.att_type.addItem(icon2, _fromUtf8(""))
+        self.att_type.setItemText(2, _fromUtf8(""))
+        self.att_portee_e = QtGui.QLabel(self.att_panneau)
+        self.att_portee_e.setGeometry(QtCore.QRect(90, 34, 51, 21))
+        self.att_portee_e.setMinimumSize(QtCore.QSize(51, 21))
+        self.att_portee_e.setMaximumSize(QtCore.QSize(51, 21))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.att_portee_e.setFont(font)
+        self.att_portee_e.setObjectName(_fromUtf8("att_portee_e"))
+        self.att_portee = QtGui.QSpinBox(self.att_panneau)
+        self.att_portee.setGeometry(QtCore.QRect(140, 34, 41, 21))
+        self.att_portee.setMinimumSize(QtCore.QSize(41, 21))
+        self.att_portee.setMaximumSize(QtCore.QSize(41, 21))
+        palette = QtGui.QPalette()
+        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
+        self.att_portee.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.att_portee.setFont(font)
+        self.att_portee.setMinimum(1)
+        self.att_portee.setMaximum(999)
+        self.att_portee.setProperty("value", 1)
+        self.att_portee.setObjectName(_fromUtf8("att_portee"))
+        self.att_rayon = QtGui.QSpinBox(self.att_panneau)
+        self.att_rayon.setGeometry(QtCore.QRect(360, 34, 41, 21))
+        self.att_rayon.setMinimumSize(QtCore.QSize(41, 21))
+        self.att_rayon.setMaximumSize(QtCore.QSize(41, 21))
+        palette = QtGui.QPalette()
+        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
+        self.att_rayon.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.att_rayon.setFont(font)
+        self.att_rayon.setMinimum(1)
+        self.att_rayon.setProperty("value", 1)
+        self.att_rayon.setObjectName(_fromUtf8("att_rayon"))
+        self.att_rayon_e = QtGui.QLabel(self.att_panneau)
+        self.att_rayon_e.setGeometry(QtCore.QRect(310, 34, 51, 21))
+        self.att_rayon_e.setMinimumSize(QtCore.QSize(51, 21))
+        self.att_rayon_e.setMaximumSize(QtCore.QSize(51, 21))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.att_rayon_e.setFont(font)
+        self.att_rayon_e.setObjectName(_fromUtf8("att_rayon_e"))
+        self.att_notes = DmTextEdit(self.att_panneau)
+        self.att_notes.setGeometry(QtCore.QRect(10, 57, 451, 31))
+        palette = QtGui.QPalette()
+        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(248, 248, 248))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
+        self.att_notes.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.att_notes.setFont(font)
+        self.att_notes.setObjectName(_fromUtf8("att_notes"))
+        self.att_forme = DmComboBox(self.att_panneau)
+        self.att_forme.setGeometry(QtCore.QRect(250, 34, 41, 21))
+        self.att_forme.setMinimumSize(QtCore.QSize(41, 21))
+        self.att_forme.setMaximumSize(QtCore.QSize(41, 21))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.att_forme.setFont(font)
+        self.att_forme.setObjectName(_fromUtf8("att_forme"))
+        icon3 = QtGui.QIcon()
+        icon3.addPixmap(QtGui.QPixmap(_fromUtf8("img/formeLigne.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.att_forme.addItem(icon3, _fromUtf8(""))
+        icon4 = QtGui.QIcon()
+        icon4.addPixmap(QtGui.QPixmap(_fromUtf8("img/formeEllipsePlein.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.att_forme.addItem(icon4, _fromUtf8(""))
+        icon5 = QtGui.QIcon()
+        icon5.addPixmap(QtGui.QPixmap(_fromUtf8("img/cone.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.att_forme.addItem(icon5, _fromUtf8(""))
+        self.att_forme_e = QtGui.QLabel(self.att_panneau)
+        self.att_forme_e.setGeometry(QtCore.QRect(200, 34, 51, 21))
+        self.att_forme_e.setMinimumSize(QtCore.QSize(51, 21))
+        self.att_forme_e.setMaximumSize(QtCore.QSize(51, 21))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.att_forme_e.setFont(font)
+        self.att_forme_e.setObjectName(_fromUtf8("att_forme_e"))
+        self.gridLayoutWidget = QtGui.QWidget(self.att_panneau)
+        self.gridLayoutWidget.setGeometry(QtCore.QRect(10, 90, 451, 16))
+        self.gridLayoutWidget.setObjectName(_fromUtf8("gridLayoutWidget"))
+        self.att_layout_attributs = QtGui.QGridLayout(self.gridLayoutWidget)
+        self.att_layout_attributs.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
+        self.att_layout_attributs.setContentsMargins(-1, 1, -1, -1)
+        self.att_layout_attributs.setHorizontalSpacing(4)
+        self.att_layout_attributs.setVerticalSpacing(1)
+        self.att_layout_attributs.setObjectName(_fromUtf8("att_layout_attributs"))
+        self.att_supprimer = QtGui.QToolButton(self.att_panneau)
+        self.att_supprimer.setEnabled(False)
+        self.att_supprimer.setGeometry(QtCore.QRect(440, 10, 25, 21))
+        icon6 = QtGui.QIcon()
+        icon6.addPixmap(QtGui.QPixmap(_fromUtf8("img/btnFermer.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.att_supprimer.setIcon(icon6)
+        self.att_supprimer.setObjectName(_fromUtf8("att_supprimer"))
+        self.att_voile = QtGui.QLabel(self.att_panneau)
+        self.att_voile.setEnabled(True)
+        self.att_voile.setGeometry(QtCore.QRect(0, 0, 471, 111))
+        palette = QtGui.QPalette()
+        brush = QtGui.QBrush(QtGui.QColor(200, 200, 200, 70))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
+        brush = QtGui.QBrush(QtGui.QColor(200, 200, 200, 70))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(200, 200, 200, 70))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush)
+        brush = QtGui.QBrush(QtGui.QColor(200, 200, 200, 70))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
+        brush = QtGui.QBrush(QtGui.QColor(200, 200, 200, 70))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(200, 200, 200, 70))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush)
+        brush = QtGui.QBrush(QtGui.QColor(200, 200, 200, 70))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
+        brush = QtGui.QBrush(QtGui.QColor(200, 200, 200, 70))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(200, 200, 200, 70))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush)
+        self.att_voile.setPalette(palette)
+        self.att_voile.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu)
+        self.att_voile.setStyleSheet(_fromUtf8("background-color: rgba(200, 200, 200, 70);"))
+        self.att_voile.setText(_fromUtf8(""))
+        self.att_voile.setObjectName(_fromUtf8("att_voile"))
+
+        self.retranslateUi(att_frame)
+        QtCore.QMetaObject.connectSlotsByName(att_frame)
+
+    def retranslateUi(self, att_frame):
+        att_frame.setWindowTitle(_translate("att_frame", "Frame", None))
+        self.att_nom.setPlaceholderText(_translate("att_frame", "(Nouvelle attaque...)", None))
+        self.att_portee_e.setText(_translate("att_frame", "Portée :", None))
+        self.att_rayon_e.setText(_translate("att_frame", "Rayon :", None))
+        self.att_forme.setItemText(0, _translate("att_frame", "Ligne", None))
+        self.att_forme.setItemText(1, _translate("att_frame", "Disque", None))
+        self.att_forme.setItemText(2, _translate("att_frame", "Cone", None))
+        self.att_forme_e.setText(_translate("att_frame", "Forme :", None))
+        self.att_supprimer.setText(_translate("att_frame", "...", None))
+
+from dm import DmTextEdit, DmLineEdit, DmComboBox, DmEdcPanneauAttaque
+
+if __name__ == "__main__":
+    import sys
+    app = QtGui.QApplication(sys.argv)
+    att_frame = QtGui.QFrame()
+    ui = Ui_att_frame()
+    ui.setupUi(att_frame)
+    att_frame.show()
+    sys.exit(app.exec_())
+

+ 0 - 1008
lib/ui/editionCombattant - Copie.ui

@@ -1,1008 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>editionCombattant</class>
- <widget class="QDialog" name="editionCombattant">
-  <property name="geometry">
-   <rect>
-    <x>0</x>
-    <y>0</y>
-    <width>712</width>
-    <height>559</height>
-   </rect>
-  </property>
-  <property name="windowTitle">
-   <string>Dialog</string>
-  </property>
-  <widget class="QLabel" name="affichageCouleurCombattant">
-   <property name="geometry">
-    <rect>
-     <x>110</x>
-     <y>50</y>
-     <width>51</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <property name="frameShape">
-    <enum>QFrame::Box</enum>
-   </property>
-   <property name="frameShadow">
-    <enum>QFrame::Sunken</enum>
-   </property>
-   <property name="text">
-    <string/>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label_11">
-   <property name="geometry">
-    <rect>
-     <x>30</x>
-     <y>120</y>
-     <width>141</width>
-     <height>20</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Image (.png, .jpg) : ...img\</string>
-   </property>
-  </widget>
-  <widget class="QPushButton" name="annulerCombattant">
-   <property name="geometry">
-    <rect>
-     <x>490</x>
-     <y>520</y>
-     <width>81</width>
-     <height>23</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Annuler</string>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label_3">
-   <property name="geometry">
-    <rect>
-     <x>30</x>
-     <y>20</y>
-     <width>46</width>
-     <height>16</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Id : </string>
-   </property>
-  </widget>
-  <widget class="QLineEdit" name="imgLogoCombattant">
-   <property name="geometry">
-    <rect>
-     <x>180</x>
-     <y>90</y>
-     <width>191</width>
-     <height>20</height>
-    </rect>
-   </property>
-  </widget>
-  <widget class="QDoubleSpinBox" name="hauteurCombattant">
-   <property name="geometry">
-    <rect>
-     <x>560</x>
-     <y>50</y>
-     <width>41</width>
-     <height>22</height>
-    </rect>
-   </property>
-   <property name="prefix">
-    <string/>
-   </property>
-   <property name="decimals">
-    <number>0</number>
-   </property>
-   <property name="minimum">
-    <double>1.000000000000000</double>
-   </property>
-   <property name="maximum">
-    <double>50.000000000000000</double>
-   </property>
-   <property name="singleStep">
-    <double>1.000000000000000</double>
-   </property>
-   <property name="value">
-    <double>1.000000000000000</double>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label_10">
-   <property name="geometry">
-    <rect>
-     <x>470</x>
-     <y>50</y>
-     <width>81</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Taille (en cases) : </string>
-   </property>
-  </widget>
-  <widget class="QCheckBox" name="volCombattant">
-   <property name="geometry">
-    <rect>
-     <x>560</x>
-     <y>90</y>
-     <width>61</width>
-     <height>17</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Vole</string>
-   </property>
-   <property name="checked">
-    <bool>false</bool>
-   </property>
-  </widget>
-  <widget class="QLineEdit" name="idCombattant">
-   <property name="enabled">
-    <bool>false</bool>
-   </property>
-   <property name="geometry">
-    <rect>
-     <x>52</x>
-     <y>20</y>
-     <width>31</width>
-     <height>20</height>
-    </rect>
-   </property>
-  </widget>
-  <widget class="QLineEdit" name="nomCombattant">
-   <property name="geometry">
-    <rect>
-     <x>122</x>
-     <y>20</y>
-     <width>281</width>
-     <height>20</height>
-    </rect>
-   </property>
-  </widget>
-  <widget class="QDoubleSpinBox" name="deplacementCombattant">
-   <property name="geometry">
-    <rect>
-     <x>560</x>
-     <y>20</y>
-     <width>41</width>
-     <height>22</height>
-    </rect>
-   </property>
-   <property name="prefix">
-    <string/>
-   </property>
-   <property name="decimals">
-    <number>0</number>
-   </property>
-   <property name="singleStep">
-    <double>1.000000000000000</double>
-   </property>
-   <property name="value">
-    <double>1.000000000000000</double>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label_2">
-   <property name="geometry">
-    <rect>
-     <x>130</x>
-     <y>90</y>
-     <width>71</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>...img\</string>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label">
-   <property name="geometry">
-    <rect>
-     <x>30</x>
-     <y>90</y>
-     <width>141</width>
-     <height>20</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Logo (.png, .jpg) : </string>
-   </property>
-  </widget>
-  <widget class="QPushButton" name="enregistrerCombattant">
-   <property name="enabled">
-    <bool>false</bool>
-   </property>
-   <property name="geometry">
-    <rect>
-     <x>120</x>
-     <y>520</y>
-     <width>101</width>
-     <height>23</height>
-    </rect>
-   </property>
-   <property name="font">
-    <font>
-     <weight>75</weight>
-     <bold>true</bold>
-    </font>
-   </property>
-   <property name="text">
-    <string>Enregistrer</string>
-   </property>
-  </widget>
-  <widget class="QLineEdit" name="imgTextureCombattant">
-   <property name="geometry">
-    <rect>
-     <x>180</x>
-     <y>120</y>
-     <width>191</width>
-     <height>20</height>
-    </rect>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label_4">
-   <property name="geometry">
-    <rect>
-     <x>90</x>
-     <y>20</y>
-     <width>46</width>
-     <height>16</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Nom : </string>
-   </property>
-  </widget>
-  <widget class="QPushButton" name="couleurCombattant">
-   <property name="geometry">
-    <rect>
-     <x>20</x>
-     <y>50</y>
-     <width>75</width>
-     <height>23</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Couleur</string>
-   </property>
-  </widget>
-  <widget class="QPushButton" name="supprimerCombattant">
-   <property name="enabled">
-    <bool>false</bool>
-   </property>
-   <property name="geometry">
-    <rect>
-     <x>400</x>
-     <y>520</y>
-     <width>75</width>
-     <height>23</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Supprimer</string>
-   </property>
-  </widget>
-  <widget class="QLabel" name="label_6">
-   <property name="geometry">
-    <rect>
-     <x>480</x>
-     <y>20</y>
-     <width>81</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string>Déplacement : </string>
-   </property>
-  </widget>
-  <widget class="QTabWidget" name="ongletsCreation">
-   <property name="geometry">
-    <rect>
-     <x>20</x>
-     <y>160</y>
-     <width>681</width>
-     <height>351</height>
-    </rect>
-   </property>
-   <property name="currentIndex">
-    <number>0</number>
-   </property>
-   <widget class="QWidget" name="tabForme">
-    <attribute name="title">
-     <string>Forme et apparence</string>
-    </attribute>
-    <widget class="QGroupBox" name="groupBox_2">
-     <property name="geometry">
-      <rect>
-       <x>490</x>
-       <y>20</y>
-       <width>171</width>
-       <height>291</height>
-      </rect>
-     </property>
-     <property name="title">
-      <string>Texte</string>
-     </property>
-     <widget class="QCheckBox" name="txtAfficherCombattant">
-      <property name="geometry">
-       <rect>
-        <x>100</x>
-        <y>10</y>
-        <width>21</width>
-        <height>21</height>
-       </rect>
-      </property>
-      <property name="text">
-       <string/>
-      </property>
-      <property name="checked">
-       <bool>true</bool>
-      </property>
-     </widget>
-     <widget class="QSlider" name="txtPosYCombattant">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>180</y>
-        <width>141</width>
-        <height>19</height>
-       </rect>
-      </property>
-      <property name="minimum">
-       <number>-1000</number>
-      </property>
-      <property name="maximum">
-       <number>1000</number>
-      </property>
-      <property name="orientation">
-       <enum>Qt::Horizontal</enum>
-      </property>
-     </widget>
-     <widget class="QLabel" name="label_17">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>70</y>
-        <width>111</width>
-        <height>20</height>
-       </rect>
-      </property>
-      <property name="text">
-       <string>Taille de la police</string>
-      </property>
-     </widget>
-     <widget class="QLabel" name="label_19">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>120</y>
-        <width>111</width>
-        <height>20</height>
-       </rect>
-      </property>
-      <property name="text">
-       <string>Position (X)</string>
-      </property>
-     </widget>
-     <widget class="QSlider" name="txtTaillePoliceCombattant">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>90</y>
-        <width>141</width>
-        <height>19</height>
-       </rect>
-      </property>
-      <property name="minimum">
-       <number>8</number>
-      </property>
-      <property name="maximum">
-       <number>99</number>
-      </property>
-      <property name="value">
-       <number>20</number>
-      </property>
-      <property name="orientation">
-       <enum>Qt::Horizontal</enum>
-      </property>
-     </widget>
-     <widget class="QSlider" name="txtRotationCombattant">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>50</y>
-        <width>141</width>
-        <height>19</height>
-       </rect>
-      </property>
-      <property name="minimum">
-       <number>-180</number>
-      </property>
-      <property name="maximum">
-       <number>180</number>
-      </property>
-      <property name="orientation">
-       <enum>Qt::Horizontal</enum>
-      </property>
-     </widget>
-     <widget class="QLabel" name="label_20">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>30</y>
-        <width>111</width>
-        <height>20</height>
-       </rect>
-      </property>
-      <property name="text">
-       <string>Rotation</string>
-      </property>
-     </widget>
-     <widget class="QSlider" name="txtPosXCombattant">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>140</y>
-        <width>141</width>
-        <height>19</height>
-       </rect>
-      </property>
-      <property name="minimum">
-       <number>-800</number>
-      </property>
-      <property name="maximum">
-       <number>800</number>
-      </property>
-      <property name="orientation">
-       <enum>Qt::Horizontal</enum>
-      </property>
-     </widget>
-     <widget class="QLabel" name="label_21">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>160</y>
-        <width>111</width>
-        <height>20</height>
-       </rect>
-      </property>
-      <property name="text">
-       <string>Position (Y)</string>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="txtReinitCombattant">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>260</y>
-        <width>111</width>
-        <height>20</height>
-       </rect>
-      </property>
-      <property name="text">
-       <string>Ré-initialiser</string>
-      </property>
-     </widget>
-     <widget class="QCheckBox" name="txtGrasCombattant">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>210</y>
-        <width>41</width>
-        <height>21</height>
-       </rect>
-      </property>
-      <property name="text">
-       <string>Gras</string>
-      </property>
-     </widget>
-    </widget>
-    <widget class="QGroupBox" name="groupBox">
-     <property name="geometry">
-      <rect>
-       <x>310</x>
-       <y>20</y>
-       <width>171</width>
-       <height>291</height>
-      </rect>
-     </property>
-     <property name="title">
-      <string>Image</string>
-     </property>
-     <widget class="QCheckBox" name="imgAfficherCombattant">
-      <property name="geometry">
-       <rect>
-        <x>100</x>
-        <y>10</y>
-        <width>21</width>
-        <height>21</height>
-       </rect>
-      </property>
-      <property name="text">
-       <string/>
-      </property>
-      <property name="checked">
-       <bool>true</bool>
-      </property>
-     </widget>
-     <widget class="QSlider" name="imgPosYCombattant">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>200</y>
-        <width>141</width>
-        <height>19</height>
-       </rect>
-      </property>
-      <property name="minimum">
-       <number>-400</number>
-      </property>
-      <property name="maximum">
-       <number>400</number>
-      </property>
-      <property name="orientation">
-       <enum>Qt::Horizontal</enum>
-      </property>
-     </widget>
-     <widget class="QLabel" name="label_12">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>60</y>
-        <width>111</width>
-        <height>20</height>
-       </rect>
-      </property>
-      <property name="text">
-       <string>Taille (X)</string>
-      </property>
-     </widget>
-     <widget class="QLabel" name="label_13">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>100</y>
-        <width>111</width>
-        <height>20</height>
-       </rect>
-      </property>
-      <property name="text">
-       <string>Taille (Y)</string>
-      </property>
-     </widget>
-     <widget class="QLabel" name="label_14">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>140</y>
-        <width>111</width>
-        <height>20</height>
-       </rect>
-      </property>
-      <property name="text">
-       <string>Position (X)</string>
-      </property>
-     </widget>
-     <widget class="QSlider" name="imgTailleXCombattant">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>80</y>
-        <width>141</width>
-        <height>19</height>
-       </rect>
-      </property>
-      <property name="minimum">
-       <number>0</number>
-      </property>
-      <property name="value">
-       <number>10</number>
-      </property>
-      <property name="orientation">
-       <enum>Qt::Horizontal</enum>
-      </property>
-     </widget>
-     <widget class="QSlider" name="imgRotationCombattant">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>40</y>
-        <width>141</width>
-        <height>19</height>
-       </rect>
-      </property>
-      <property name="minimum">
-       <number>-180</number>
-      </property>
-      <property name="maximum">
-       <number>180</number>
-      </property>
-      <property name="orientation">
-       <enum>Qt::Horizontal</enum>
-      </property>
-     </widget>
-     <widget class="QLabel" name="label_16">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>20</y>
-        <width>111</width>
-        <height>20</height>
-       </rect>
-      </property>
-      <property name="text">
-       <string>Rotation</string>
-      </property>
-     </widget>
-     <widget class="QSlider" name="imgPosXCombattant">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>160</y>
-        <width>141</width>
-        <height>19</height>
-       </rect>
-      </property>
-      <property name="minimum">
-       <number>-400</number>
-      </property>
-      <property name="maximum">
-       <number>400</number>
-      </property>
-      <property name="orientation">
-       <enum>Qt::Horizontal</enum>
-      </property>
-     </widget>
-     <widget class="QLabel" name="label_15">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>180</y>
-        <width>111</width>
-        <height>20</height>
-       </rect>
-      </property>
-      <property name="text">
-       <string>Position (Y)</string>
-      </property>
-     </widget>
-     <widget class="QSlider" name="imgTailleYCombattant">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>120</y>
-        <width>141</width>
-        <height>19</height>
-       </rect>
-      </property>
-      <property name="minimum">
-       <number>0</number>
-      </property>
-      <property name="value">
-       <number>10</number>
-      </property>
-      <property name="orientation">
-       <enum>Qt::Horizontal</enum>
-      </property>
-     </widget>
-     <widget class="QPushButton" name="imgReinitCombattant">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>260</y>
-        <width>111</width>
-        <height>20</height>
-       </rect>
-      </property>
-      <property name="text">
-       <string>Ré-initialiser</string>
-      </property>
-     </widget>
-     <widget class="QCheckBox" name="imgPivoteCombattant">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>220</y>
-        <width>101</width>
-        <height>17</height>
-       </rect>
-      </property>
-      <property name="text">
-       <string>Image pivote</string>
-      </property>
-     </widget>
-     <widget class="QCheckBox" name="imgMasqueCombattant">
-      <property name="geometry">
-       <rect>
-        <x>10</x>
-        <y>240</y>
-        <width>101</width>
-        <height>17</height>
-       </rect>
-      </property>
-      <property name="text">
-       <string>Masque auto.</string>
-      </property>
-     </widget>
-    </widget>
-    <widget class="QGraphicsView" name="vueForme">
-     <property name="geometry">
-      <rect>
-       <x>20</x>
-       <y>20</y>
-       <width>281</width>
-       <height>291</height>
-      </rect>
-     </property>
-     <property name="renderHints">
-      <set>QPainter::Antialiasing|QPainter::HighQualityAntialiasing|QPainter::TextAntialiasing</set>
-     </property>
-    </widget>
-   </widget>
-   <widget class="QWidget" name="tabAttributs">
-    <attribute name="title">
-     <string>Attributs et inventaire</string>
-    </attribute>
-    <widget class="QTableWidget" name="listeAttributs">
-     <property name="geometry">
-      <rect>
-       <x>10</x>
-       <y>30</y>
-       <width>191</width>
-       <height>261</height>
-      </rect>
-     </property>
-     <property name="palette">
-      <palette>
-       <active>
-        <colorrole role="Base">
-         <brush brushstyle="SolidPattern">
-          <color alpha="150">
-           <red>255</red>
-           <green>255</green>
-           <blue>255</blue>
-          </color>
-         </brush>
-        </colorrole>
-       </active>
-       <inactive>
-        <colorrole role="Base">
-         <brush brushstyle="SolidPattern">
-          <color alpha="150">
-           <red>255</red>
-           <green>255</green>
-           <blue>255</blue>
-          </color>
-         </brush>
-        </colorrole>
-       </inactive>
-       <disabled>
-        <colorrole role="Base">
-         <brush brushstyle="SolidPattern">
-          <color alpha="255">
-           <red>240</red>
-           <green>240</green>
-           <blue>240</blue>
-          </color>
-         </brush>
-        </colorrole>
-       </disabled>
-      </palette>
-     </property>
-     <property name="frameShape">
-      <enum>QFrame::WinPanel</enum>
-     </property>
-     <property name="horizontalScrollBarPolicy">
-      <enum>Qt::ScrollBarAlwaysOff</enum>
-     </property>
-     <property name="editTriggers">
-      <set>QAbstractItemView::AllEditTriggers</set>
-     </property>
-     <property name="alternatingRowColors">
-      <bool>true</bool>
-     </property>
-     <property name="selectionMode">
-      <enum>QAbstractItemView::NoSelection</enum>
-     </property>
-     <property name="showGrid">
-      <bool>true</bool>
-     </property>
-     <attribute name="horizontalHeaderVisible">
-      <bool>false</bool>
-     </attribute>
-     <attribute name="horizontalHeaderDefaultSectionSize">
-      <number>50</number>
-     </attribute>
-     <attribute name="verticalHeaderVisible">
-      <bool>false</bool>
-     </attribute>
-     <column>
-      <property name="text">
-       <string>Nouvelle colonne</string>
-      </property>
-     </column>
-     <column>
-      <property name="text">
-       <string>Valeur</string>
-      </property>
-     </column>
-    </widget>
-    <widget class="QLabel" name="label_18">
-     <property name="geometry">
-      <rect>
-       <x>10</x>
-       <y>2</y>
-       <width>221</width>
-       <height>16</height>
-      </rect>
-     </property>
-     <property name="text">
-      <string>Attributs / caractéristiques :  </string>
-     </property>
-    </widget>
-    <widget class="QTableWidget" name="listeInventaireCombattant">
-     <property name="geometry">
-      <rect>
-       <x>230</x>
-       <y>30</y>
-       <width>291</width>
-       <height>131</height>
-      </rect>
-     </property>
-     <property name="palette">
-      <palette>
-       <active>
-        <colorrole role="Base">
-         <brush brushstyle="SolidPattern">
-          <color alpha="150">
-           <red>255</red>
-           <green>255</green>
-           <blue>255</blue>
-          </color>
-         </brush>
-        </colorrole>
-       </active>
-       <inactive>
-        <colorrole role="Base">
-         <brush brushstyle="SolidPattern">
-          <color alpha="150">
-           <red>255</red>
-           <green>255</green>
-           <blue>255</blue>
-          </color>
-         </brush>
-        </colorrole>
-       </inactive>
-       <disabled>
-        <colorrole role="Base">
-         <brush brushstyle="SolidPattern">
-          <color alpha="255">
-           <red>240</red>
-           <green>240</green>
-           <blue>240</blue>
-          </color>
-         </brush>
-        </colorrole>
-       </disabled>
-      </palette>
-     </property>
-     <property name="frameShape">
-      <enum>QFrame::WinPanel</enum>
-     </property>
-     <property name="horizontalScrollBarPolicy">
-      <enum>Qt::ScrollBarAlwaysOff</enum>
-     </property>
-     <property name="editTriggers">
-      <set>QAbstractItemView::AllEditTriggers</set>
-     </property>
-     <property name="alternatingRowColors">
-      <bool>true</bool>
-     </property>
-     <property name="selectionMode">
-      <enum>QAbstractItemView::NoSelection</enum>
-     </property>
-     <property name="showGrid">
-      <bool>true</bool>
-     </property>
-     <attribute name="horizontalHeaderVisible">
-      <bool>false</bool>
-     </attribute>
-     <attribute name="horizontalHeaderDefaultSectionSize">
-      <number>50</number>
-     </attribute>
-     <attribute name="verticalHeaderVisible">
-      <bool>false</bool>
-     </attribute>
-     <column>
-      <property name="text">
-       <string>nombre</string>
-      </property>
-     </column>
-     <column>
-      <property name="text">
-       <string>objet</string>
-      </property>
-     </column>
-    </widget>
-    <widget class="QLabel" name="label_22">
-     <property name="geometry">
-      <rect>
-       <x>230</x>
-       <y>10</y>
-       <width>221</width>
-       <height>16</height>
-      </rect>
-     </property>
-     <property name="text">
-      <string>Inventaire de base :</string>
-     </property>
-    </widget>
-    <widget class="QTextEdit" name="notesCombattant">
-     <property name="geometry">
-      <rect>
-       <x>230</x>
-       <y>200</y>
-       <width>291</width>
-       <height>91</height>
-      </rect>
-     </property>
-    </widget>
-    <widget class="QLabel" name="label_23">
-     <property name="geometry">
-      <rect>
-       <x>230</x>
-       <y>180</y>
-       <width>46</width>
-       <height>13</height>
-      </rect>
-     </property>
-     <property name="text">
-      <string>Notes :</string>
-     </property>
-    </widget>
-    <widget class="QToolButton" name="ajouterInventaireCombattant">
-     <property name="geometry">
-      <rect>
-       <x>470</x>
-       <y>10</y>
-       <width>21</width>
-       <height>20</height>
-      </rect>
-     </property>
-     <property name="text">
-      <string>...</string>
-     </property>
-     <property name="icon">
-      <iconset>
-       <normaloff>img/plus.png</normaloff>img/plus.png</iconset>
-     </property>
-    </widget>
-    <widget class="QToolButton" name="supprimerInventaireCombattant">
-     <property name="geometry">
-      <rect>
-       <x>500</x>
-       <y>10</y>
-       <width>21</width>
-       <height>20</height>
-      </rect>
-     </property>
-     <property name="text">
-      <string>...</string>
-     </property>
-     <property name="icon">
-      <iconset>
-       <normaloff>img/gomme.png</normaloff>img/gomme.png</iconset>
-     </property>
-    </widget>
-   </widget>
-   <widget class="QWidget" name="tabAttaques">
-    <attribute name="title">
-     <string>Attaques</string>
-    </attribute>
-   </widget>
-  </widget>
- </widget>
- <resources/>
- <connections/>
-</ui>

+ 23 - 624
lib/ui/editionCombattant.ui

@@ -1493,619 +1493,44 @@ image</string>
           </widget>
          </widget>
          <widget class="QWidget" name="page_att">
-          <widget class="QToolButton" name="edc_attaque_ajouter">
+          <widget class="QScrollArea" name="edc_deroulementAttaques">
            <property name="geometry">
             <rect>
-             <x>130</x>
-             <y>380</y>
-             <width>31</width>
-             <height>31</height>
+             <x>0</x>
+             <y>0</y>
+             <width>491</width>
+             <height>431</height>
             </rect>
            </property>
-           <property name="text">
-            <string>...</string>
-           </property>
-           <property name="icon">
-            <iconset>
-             <normaloff>img/plus.png</normaloff>img/plus.png</iconset>
-           </property>
-          </widget>
-          <widget class="DmTableListeAttaques" name="edc_attaque_liste">
-           <property name="geometry">
-            <rect>
-             <x>10</x>
-             <y>10</y>
-             <width>151</width>
-             <height>361</height>
-            </rect>
-           </property>
-           <property name="palette">
-            <palette>
-             <active>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </active>
-             <inactive>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </inactive>
-             <disabled>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>240</red>
-                 <green>240</green>
-                 <blue>240</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </disabled>
-            </palette>
-           </property>
-           <property name="font">
-            <font>
-             <pointsize>8</pointsize>
-            </font>
-           </property>
-           <property name="horizontalScrollBarPolicy">
-            <enum>Qt::ScrollBarAlwaysOff</enum>
-           </property>
-           <property name="editTriggers">
-            <set>QAbstractItemView::DoubleClicked</set>
-           </property>
-           <property name="selectionMode">
-            <enum>QAbstractItemView::SingleSelection</enum>
-           </property>
-           <property name="selectionBehavior">
-            <enum>QAbstractItemView::SelectRows</enum>
-           </property>
-           <property name="gridStyle">
-            <enum>Qt::DotLine</enum>
-           </property>
-           <attribute name="horizontalHeaderVisible">
-            <bool>false</bool>
-           </attribute>
-           <attribute name="horizontalHeaderStretchLastSection">
-            <bool>true</bool>
-           </attribute>
-           <attribute name="verticalHeaderVisible">
-            <bool>false</bool>
-           </attribute>
-           <column>
-            <property name="text">
-             <string>att</string>
-            </property>
-           </column>
-          </widget>
-          <widget class="QToolButton" name="edc_attaque_supprimer">
-           <property name="geometry">
-            <rect>
-             <x>90</x>
-             <y>380</y>
-             <width>31</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="text">
-            <string>...</string>
-           </property>
-           <property name="icon">
-            <iconset>
-             <normaloff>img/corbeille.png</normaloff>img/corbeille.png</iconset>
-           </property>
-          </widget>
-          <widget class="DmEdcPanneauAttaque" name="edc_attaque_panneau">
-           <property name="enabled">
+           <property name="widgetResizable">
             <bool>true</bool>
            </property>
-           <property name="geometry">
-            <rect>
-             <x>170</x>
-             <y>10</y>
-             <width>311</width>
-             <height>401</height>
-            </rect>
-           </property>
-           <property name="frameShape">
-            <enum>QFrame::StyledPanel</enum>
-           </property>
-           <property name="frameShadow">
-            <enum>QFrame::Sunken</enum>
-           </property>
-           <widget class="DmLineEdit" name="edc_attaque_nom">
-            <property name="geometry">
-             <rect>
-              <x>60</x>
-              <y>10</y>
-              <width>241</width>
-              <height>31</height>
-             </rect>
-            </property>
-            <property name="palette">
-             <palette>
-              <active>
-               <colorrole role="Base">
-                <brush brushstyle="SolidPattern">
-                 <color alpha="255">
-                  <red>248</red>
-                  <green>248</green>
-                  <blue>248</blue>
-                 </color>
-                </brush>
-               </colorrole>
-              </active>
-              <inactive>
-               <colorrole role="Base">
-                <brush brushstyle="SolidPattern">
-                 <color alpha="255">
-                  <red>248</red>
-                  <green>248</green>
-                  <blue>248</blue>
-                 </color>
-                </brush>
-               </colorrole>
-              </inactive>
-              <disabled>
-               <colorrole role="Base">
-                <brush brushstyle="SolidPattern">
-                 <color alpha="255">
-                  <red>240</red>
-                  <green>240</green>
-                  <blue>240</blue>
-                 </color>
-                </brush>
-               </colorrole>
-              </disabled>
-             </palette>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-             </font>
-            </property>
-           </widget>
-           <widget class="DmComboBox" name="edc_attaque_type">
-            <property name="geometry">
-             <rect>
-              <x>10</x>
-              <y>10</y>
-              <width>41</width>
-              <height>31</height>
-             </rect>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-             </font>
-            </property>
-            <item>
-             <property name="text">
-              <string>Corps-à-corps</string>
-             </property>
-             <property name="icon">
-              <iconset>
-               <normaloff>img/curseurEpee.png</normaloff>img/curseurEpee.png</iconset>
-             </property>
-            </item>
-            <item>
-             <property name="text">
-              <string>A Distance</string>
-             </property>
-             <property name="icon">
-              <iconset>
-               <normaloff>img/arc.png</normaloff>img/arc.png</iconset>
-             </property>
-            </item>
-            <item>
-             <property name="text">
-              <string>Zone</string>
-             </property>
-             <property name="icon">
-              <iconset>
-               <normaloff>img/bombe.png</normaloff>img/bombe.png</iconset>
-             </property>
-            </item>
-           </widget>
-           <widget class="QLabel" name="label_6">
-            <property name="geometry">
-             <rect>
-              <x>210</x>
-              <y>50</y>
-              <width>51</width>
-              <height>31</height>
-             </rect>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-             </font>
-            </property>
-            <property name="text">
-             <string>Portée :</string>
-            </property>
-           </widget>
-           <widget class="QSpinBox" name="edc_attaque_portee">
-            <property name="geometry">
-             <rect>
-              <x>260</x>
-              <y>50</y>
-              <width>41</width>
-              <height>31</height>
-             </rect>
-            </property>
-            <property name="palette">
-             <palette>
-              <active>
-               <colorrole role="Base">
-                <brush brushstyle="SolidPattern">
-                 <color alpha="255">
-                  <red>248</red>
-                  <green>248</green>
-                  <blue>248</blue>
-                 </color>
-                </brush>
-               </colorrole>
-              </active>
-              <inactive>
-               <colorrole role="Base">
-                <brush brushstyle="SolidPattern">
-                 <color alpha="255">
-                  <red>248</red>
-                  <green>248</green>
-                  <blue>248</blue>
-                 </color>
-                </brush>
-               </colorrole>
-              </inactive>
-              <disabled>
-               <colorrole role="Base">
-                <brush brushstyle="SolidPattern">
-                 <color alpha="255">
-                  <red>240</red>
-                  <green>240</green>
-                  <blue>240</blue>
-                 </color>
-                </brush>
-               </colorrole>
-              </disabled>
-             </palette>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-             </font>
-            </property>
-            <property name="minimum">
-             <number>1</number>
-            </property>
-            <property name="maximum">
-             <number>999</number>
-            </property>
-            <property name="value">
-             <number>1</number>
-            </property>
-           </widget>
-           <widget class="QSpinBox" name="edc_attaque_rayon">
-            <property name="geometry">
-             <rect>
-              <x>160</x>
-              <y>50</y>
-              <width>41</width>
-              <height>31</height>
-             </rect>
-            </property>
-            <property name="palette">
-             <palette>
-              <active>
-               <colorrole role="Base">
-                <brush brushstyle="SolidPattern">
-                 <color alpha="255">
-                  <red>248</red>
-                  <green>248</green>
-                  <blue>248</blue>
-                 </color>
-                </brush>
-               </colorrole>
-              </active>
-              <inactive>
-               <colorrole role="Base">
-                <brush brushstyle="SolidPattern">
-                 <color alpha="255">
-                  <red>248</red>
-                  <green>248</green>
-                  <blue>248</blue>
-                 </color>
-                </brush>
-               </colorrole>
-              </inactive>
-              <disabled>
-               <colorrole role="Base">
-                <brush brushstyle="SolidPattern">
-                 <color alpha="255">
-                  <red>240</red>
-                  <green>240</green>
-                  <blue>240</blue>
-                 </color>
-                </brush>
-               </colorrole>
-              </disabled>
-             </palette>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-             </font>
-            </property>
-            <property name="minimum">
-             <number>1</number>
-            </property>
-            <property name="value">
-             <number>1</number>
-            </property>
-           </widget>
-           <widget class="QLabel" name="edc_attaque_rayon_e">
-            <property name="geometry">
-             <rect>
-              <x>110</x>
-              <y>50</y>
-              <width>51</width>
-              <height>31</height>
-             </rect>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-             </font>
-            </property>
-            <property name="text">
-             <string>Rayon :</string>
-            </property>
-           </widget>
-           <widget class="DmTextEdit" name="edc_attaque_notes">
-            <property name="geometry">
-             <rect>
-              <x>10</x>
-              <y>350</y>
-              <width>291</width>
-              <height>41</height>
-             </rect>
-            </property>
-            <property name="palette">
-             <palette>
-              <active>
-               <colorrole role="Base">
-                <brush brushstyle="SolidPattern">
-                 <color alpha="255">
-                  <red>248</red>
-                  <green>248</green>
-                  <blue>248</blue>
-                 </color>
-                </brush>
-               </colorrole>
-              </active>
-              <inactive>
-               <colorrole role="Base">
-                <brush brushstyle="SolidPattern">
-                 <color alpha="255">
-                  <red>248</red>
-                  <green>248</green>
-                  <blue>248</blue>
-                 </color>
-                </brush>
-               </colorrole>
-              </inactive>
-              <disabled>
-               <colorrole role="Base">
-                <brush brushstyle="SolidPattern">
-                 <color alpha="255">
-                  <red>240</red>
-                  <green>240</green>
-                  <blue>240</blue>
-                 </color>
-                </brush>
-               </colorrole>
-              </disabled>
-             </palette>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-             </font>
-            </property>
-           </widget>
-           <widget class="QLabel" name="label_19">
+           <widget class="QWidget" name="scrollAreaWidgetContents">
             <property name="geometry">
              <rect>
-              <x>10</x>
-              <y>330</y>
-              <width>131</width>
-              <height>21</height>
+              <x>0</x>
+              <y>0</y>
+              <width>489</width>
+              <height>429</height>
              </rect>
             </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-             </font>
-            </property>
-            <property name="text">
-             <string>Description / Notes :</string>
-            </property>
-           </widget>
-           <widget class="DmTableAttributsAttaque" name="edc_attaque_attributs">
-            <property name="geometry">
-             <rect>
-              <x>10</x>
-              <y>110</y>
-              <width>291</width>
-              <height>211</height>
-             </rect>
-            </property>
-            <property name="palette">
-             <palette>
-              <active>
-               <colorrole role="Base">
-                <brush brushstyle="SolidPattern">
-                 <color alpha="255">
-                  <red>248</red>
-                  <green>248</green>
-                  <blue>248</blue>
-                 </color>
-                </brush>
-               </colorrole>
-              </active>
-              <inactive>
-               <colorrole role="Base">
-                <brush brushstyle="SolidPattern">
-                 <color alpha="255">
-                  <red>248</red>
-                  <green>248</green>
-                  <blue>248</blue>
-                 </color>
-                </brush>
-               </colorrole>
-              </inactive>
-              <disabled>
-               <colorrole role="Base">
-                <brush brushstyle="SolidPattern">
-                 <color alpha="255">
-                  <red>240</red>
-                  <green>240</green>
-                  <blue>240</blue>
-                 </color>
-                </brush>
-               </colorrole>
-              </disabled>
-             </palette>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-              <pointsize>8</pointsize>
-             </font>
-            </property>
-            <property name="gridStyle">
-             <enum>Qt::DotLine</enum>
-            </property>
-            <attribute name="horizontalHeaderVisible">
-             <bool>false</bool>
-            </attribute>
-            <attribute name="horizontalHeaderDefaultSectionSize">
-             <number>180</number>
-            </attribute>
-            <attribute name="horizontalHeaderMinimumSectionSize">
-             <number>50</number>
-            </attribute>
-            <attribute name="horizontalHeaderStretchLastSection">
-             <bool>true</bool>
-            </attribute>
-            <attribute name="verticalHeaderVisible">
-             <bool>false</bool>
-            </attribute>
-            <column>
-             <property name="text">
-              <string>attr</string>
-             </property>
-            </column>
-            <column>
-             <property name="text">
-              <string>val</string>
-             </property>
-             <property name="textAlignment">
-              <set>AlignLeft|AlignVCenter</set>
-             </property>
-            </column>
-           </widget>
-           <widget class="QLabel" name="label">
-            <property name="geometry">
-             <rect>
-              <x>10</x>
-              <y>90</y>
-              <width>101</width>
-              <height>16</height>
-             </rect>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-             </font>
-            </property>
-            <property name="text">
-             <string>Attributs :</string>
-            </property>
-           </widget>
-           <widget class="DmComboBox" name="edc_attaque_forme">
-            <property name="geometry">
-             <rect>
-              <x>60</x>
-              <y>50</y>
-              <width>41</width>
-              <height>31</height>
-             </rect>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-             </font>
-            </property>
-            <item>
-             <property name="text">
-              <string>Ligne</string>
+            <layout class="QVBoxLayout" name="edc_deroulementAttaques_layout">
+             <property name="spacing">
+              <number>1</number>
              </property>
-             <property name="icon">
-              <iconset>
-               <normaloff>img/formeLigne.png</normaloff>img/formeLigne.png</iconset>
+             <property name="leftMargin">
+              <number>3</number>
              </property>
-            </item>
-            <item>
-             <property name="text">
-              <string>Disque</string>
+             <property name="topMargin">
+              <number>3</number>
              </property>
-             <property name="icon">
-              <iconset>
-               <normaloff>img/formeEllipsePlein.png</normaloff>img/formeEllipsePlein.png</iconset>
+             <property name="rightMargin">
+              <number>3</number>
              </property>
-            </item>
-            <item>
-             <property name="text">
-              <string>Cone</string>
+             <property name="bottomMargin">
+              <number>3</number>
              </property>
-             <property name="icon">
-              <iconset>
-               <normaloff>img/cone.png</normaloff>img/cone.png</iconset>
-             </property>
-            </item>
-           </widget>
-           <widget class="QLabel" name="edc_attaque_forme_e">
-            <property name="geometry">
-             <rect>
-              <x>10</x>
-              <y>50</y>
-              <width>51</width>
-              <height>31</height>
-             </rect>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-             </font>
-            </property>
-            <property name="text">
-             <string>Forme :</string>
-            </property>
+            </layout>
            </widget>
           </widget>
          </widget>
@@ -3290,32 +2715,6 @@ parlées : </string>
    <extends>QLineEdit</extends>
    <header location="global">dm.h</header>
   </customwidget>
-  <customwidget>
-   <class>DmTextEdit</class>
-   <extends>QTextEdit</extends>
-   <header>dm.h</header>
-  </customwidget>
-  <customwidget>
-   <class>DmComboBox</class>
-   <extends>QComboBox</extends>
-   <header location="global">dm.h</header>
-  </customwidget>
-  <customwidget>
-   <class>DmEdcPanneauAttaque</class>
-   <extends>QFrame</extends>
-   <header location="global">dm.h</header>
-   <container>1</container>
-  </customwidget>
-  <customwidget>
-   <class>DmTableAttributsAttaque</class>
-   <extends>QTableWidget</extends>
-   <header location="global">dm.h</header>
-  </customwidget>
-  <customwidget>
-   <class>DmTableListeAttaques</class>
-   <extends>QTableWidget</extends>
-   <header location="global">dm.h</header>
-  </customwidget>
  </customwidgets>
  <resources/>
  <connections>

+ 3339 - 0
lib/ui/editionCombattant_svgAttaquesAvecPanneau.ui

@@ -0,0 +1,3339 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>edc_fenetre</class>
+ <widget class="QDialog" name="edc_fenetre">
+  <property name="windowModality">
+   <enum>Qt::ApplicationModal</enum>
+  </property>
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>677</width>
+    <height>484</height>
+   </rect>
+  </property>
+  <property name="minimumSize">
+   <size>
+    <width>0</width>
+    <height>484</height>
+   </size>
+  </property>
+  <property name="maximumSize">
+   <size>
+    <width>16777215</width>
+    <height>10000</height>
+   </size>
+  </property>
+  <property name="windowTitle">
+   <string>Creation / Edition de combattant</string>
+  </property>
+  <layout class="QHBoxLayout" name="horizontalLayout_2">
+   <property name="leftMargin">
+    <number>0</number>
+   </property>
+   <property name="topMargin">
+    <number>0</number>
+   </property>
+   <property name="bottomMargin">
+    <number>0</number>
+   </property>
+   <item>
+    <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,1">
+     <property name="spacing">
+      <number>3</number>
+     </property>
+     <item>
+      <widget class="DmTableMenu" name="edc_menu">
+       <property name="sizePolicy">
+        <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
+         <horstretch>0</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
+       <property name="minimumSize">
+        <size>
+         <width>170</width>
+         <height>484</height>
+        </size>
+       </property>
+       <property name="maximumSize">
+        <size>
+         <width>170</width>
+         <height>484</height>
+        </size>
+       </property>
+       <property name="palette">
+        <palette>
+         <active>
+          <colorrole role="WindowText">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>6</red>
+             <green>6</green>
+             <blue>6</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Mid">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>190</red>
+             <green>190</green>
+             <blue>190</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Text">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>255</red>
+             <green>255</green>
+             <blue>255</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Base">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>140</red>
+             <green>140</green>
+             <blue>140</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Highlight">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>240</red>
+             <green>240</green>
+             <blue>240</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="HighlightedText">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>7</red>
+             <green>7</green>
+             <blue>7</blue>
+            </color>
+           </brush>
+          </colorrole>
+         </active>
+         <inactive>
+          <colorrole role="WindowText">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>6</red>
+             <green>6</green>
+             <blue>6</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Mid">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>190</red>
+             <green>190</green>
+             <blue>190</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Text">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>255</red>
+             <green>255</green>
+             <blue>255</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Base">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>140</red>
+             <green>140</green>
+             <blue>140</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Highlight">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>240</red>
+             <green>240</green>
+             <blue>240</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="HighlightedText">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>7</red>
+             <green>7</green>
+             <blue>7</blue>
+            </color>
+           </brush>
+          </colorrole>
+         </inactive>
+         <disabled>
+          <colorrole role="WindowText">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>120</red>
+             <green>120</green>
+             <blue>120</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Mid">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>190</red>
+             <green>190</green>
+             <blue>190</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Text">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>120</red>
+             <green>120</green>
+             <blue>120</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Base">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>240</red>
+             <green>240</green>
+             <blue>240</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Highlight">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>51</red>
+             <green>153</green>
+             <blue>255</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="HighlightedText">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>7</red>
+             <green>7</green>
+             <blue>7</blue>
+            </color>
+           </brush>
+          </colorrole>
+         </disabled>
+        </palette>
+       </property>
+       <property name="font">
+        <font>
+         <family>Candara</family>
+         <pointsize>13</pointsize>
+         <weight>50</weight>
+         <bold>false</bold>
+        </font>
+       </property>
+       <property name="focusPolicy">
+        <enum>Qt::NoFocus</enum>
+       </property>
+       <property name="frameShape">
+        <enum>QFrame::StyledPanel</enum>
+       </property>
+       <property name="frameShadow">
+        <enum>QFrame::Sunken</enum>
+       </property>
+       <property name="lineWidth">
+        <number>0</number>
+       </property>
+       <property name="verticalScrollBarPolicy">
+        <enum>Qt::ScrollBarAlwaysOff</enum>
+       </property>
+       <property name="horizontalScrollBarPolicy">
+        <enum>Qt::ScrollBarAlwaysOff</enum>
+       </property>
+       <property name="editTriggers">
+        <set>QAbstractItemView::NoEditTriggers</set>
+       </property>
+       <property name="showDropIndicator" stdset="0">
+        <bool>false</bool>
+       </property>
+       <property name="dragDropOverwriteMode">
+        <bool>false</bool>
+       </property>
+       <property name="selectionMode">
+        <enum>QAbstractItemView::SingleSelection</enum>
+       </property>
+       <property name="selectionBehavior">
+        <enum>QAbstractItemView::SelectRows</enum>
+       </property>
+       <property name="iconSize">
+        <size>
+         <width>30</width>
+         <height>30</height>
+        </size>
+       </property>
+       <property name="showGrid">
+        <bool>false</bool>
+       </property>
+       <property name="gridStyle">
+        <enum>Qt::SolidLine</enum>
+       </property>
+       <property name="cornerButtonEnabled">
+        <bool>false</bool>
+       </property>
+       <attribute name="horizontalHeaderVisible">
+        <bool>false</bool>
+       </attribute>
+       <attribute name="horizontalHeaderDefaultSectionSize">
+        <number>10</number>
+       </attribute>
+       <attribute name="horizontalHeaderHighlightSections">
+        <bool>false</bool>
+       </attribute>
+       <attribute name="horizontalHeaderStretchLastSection">
+        <bool>true</bool>
+       </attribute>
+       <attribute name="verticalHeaderVisible">
+        <bool>false</bool>
+       </attribute>
+       <attribute name="verticalHeaderDefaultSectionSize">
+        <number>80</number>
+       </attribute>
+       <attribute name="verticalHeaderHighlightSections">
+        <bool>false</bool>
+       </attribute>
+       <row>
+        <property name="text">
+         <string>1</string>
+        </property>
+       </row>
+       <row>
+        <property name="text">
+         <string>2</string>
+        </property>
+       </row>
+       <row>
+        <property name="text">
+         <string>3</string>
+        </property>
+       </row>
+       <row>
+        <property name="text">
+         <string>4</string>
+        </property>
+       </row>
+       <row>
+        <property name="text">
+         <string>5</string>
+        </property>
+       </row>
+       <row>
+        <property name="text">
+         <string>6</string>
+        </property>
+       </row>
+       <column>
+        <property name="text">
+         <string>inutile</string>
+        </property>
+       </column>
+       <column>
+        <property name="text">
+         <string>menus</string>
+        </property>
+       </column>
+       <item row="0" column="0">
+        <property name="text">
+         <string/>
+        </property>
+        <property name="flags">
+         <set>ItemIsSelectable</set>
+        </property>
+       </item>
+       <item row="0" column="1">
+        <property name="text">
+         <string> NOM ET APPARENCE </string>
+        </property>
+        <property name="textAlignment">
+         <set>AlignHCenter|AlignVCenter|AlignCenter</set>
+        </property>
+        <property name="icon">
+         <iconset>
+          <normaloff>img/oeil.png</normaloff>img/oeil.png</iconset>
+        </property>
+        <property name="flags">
+         <set>ItemIsSelectable|ItemIsEnabled|ItemIsTristate</set>
+        </property>
+       </item>
+       <item row="1" column="0">
+        <property name="text">
+         <string/>
+        </property>
+        <property name="flags">
+         <set>ItemIsSelectable</set>
+        </property>
+       </item>
+       <item row="1" column="1">
+        <property name="text">
+         <string> TAILLE ET DEPLACEMENT </string>
+        </property>
+        <property name="textAlignment">
+         <set>AlignHCenter|AlignVCenter|AlignCenter</set>
+        </property>
+        <property name="icon">
+         <iconset>
+          <normaloff>img/btnZonePlacement.png</normaloff>img/btnZonePlacement.png</iconset>
+        </property>
+        <property name="flags">
+         <set>ItemIsSelectable|ItemIsUserCheckable|ItemIsEnabled</set>
+        </property>
+       </item>
+       <item row="2" column="0">
+        <property name="text">
+         <string/>
+        </property>
+        <property name="flags">
+         <set>ItemIsSelectable</set>
+        </property>
+       </item>
+       <item row="2" column="1">
+        <property name="text">
+         <string> ATTRIBUTS ET CAPACITES</string>
+        </property>
+        <property name="textAlignment">
+         <set>AlignHCenter|AlignVCenter|AlignCenter</set>
+        </property>
+        <property name="icon">
+         <iconset>
+          <normaloff>img/profil.png</normaloff>img/profil.png</iconset>
+        </property>
+        <property name="flags">
+         <set>ItemIsSelectable|ItemIsEnabled</set>
+        </property>
+       </item>
+       <item row="3" column="0">
+        <property name="text">
+         <string/>
+        </property>
+        <property name="flags">
+         <set>ItemIsSelectable</set>
+        </property>
+       </item>
+       <item row="3" column="1">
+        <property name="text">
+         <string> ATTAQUES </string>
+        </property>
+        <property name="textAlignment">
+         <set>AlignHCenter|AlignVCenter|AlignCenter</set>
+        </property>
+        <property name="icon">
+         <iconset>
+          <normaloff>img/attaque.png</normaloff>img/attaque.png</iconset>
+        </property>
+        <property name="flags">
+         <set>ItemIsSelectable|ItemIsEnabled</set>
+        </property>
+       </item>
+       <item row="4" column="0">
+        <property name="text">
+         <string/>
+        </property>
+        <property name="flags">
+         <set>ItemIsSelectable</set>
+        </property>
+       </item>
+       <item row="4" column="1">
+        <property name="text">
+         <string> INVENTAIRE </string>
+        </property>
+        <property name="textAlignment">
+         <set>AlignHCenter|AlignVCenter|AlignCenter</set>
+        </property>
+        <property name="icon">
+         <iconset>
+          <normaloff>img/sac.png</normaloff>img/sac.png</iconset>
+        </property>
+        <property name="flags">
+         <set>ItemIsSelectable|ItemIsEnabled</set>
+        </property>
+       </item>
+       <item row="5" column="0">
+        <property name="text">
+         <string/>
+        </property>
+        <property name="flags">
+         <set>ItemIsSelectable|ItemIsEnabled</set>
+        </property>
+       </item>
+       <item row="5" column="1">
+        <property name="text">
+         <string> NOTES </string>
+        </property>
+        <property name="textAlignment">
+         <set>AlignHCenter|AlignVCenter|AlignCenter</set>
+        </property>
+        <property name="icon">
+         <iconset>
+          <normaloff>img/note.png</normaloff>img/note.png</iconset>
+        </property>
+        <property name="flags">
+         <set>ItemIsSelectable|ItemIsEnabled</set>
+        </property>
+       </item>
+      </widget>
+     </item>
+     <item>
+      <layout class="QVBoxLayout" name="verticalLayout">
+       <item>
+        <widget class="QStackedWidget" name="edc_pages">
+         <property name="minimumSize">
+          <size>
+           <width>392</width>
+           <height>0</height>
+          </size>
+         </property>
+         <property name="font">
+          <font>
+           <family>Verdana</family>
+          </font>
+         </property>
+         <property name="currentIndex">
+          <number>3</number>
+         </property>
+         <widget class="QWidget" name="page_nom">
+          <widget class="DmLineEdit" name="edc_nom">
+           <property name="geometry">
+            <rect>
+             <x>160</x>
+             <y>10</y>
+             <width>271</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+          </widget>
+          <widget class="DmLabelChoixImage" name="edc_logo">
+           <property name="geometry">
+            <rect>
+             <x>20</x>
+             <y>10</y>
+             <width>71</width>
+             <height>71</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>7</pointsize>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::Box</enum>
+           </property>
+           <property name="frameShadow">
+            <enum>QFrame::Sunken</enum>
+           </property>
+           <property name="text">
+            <string>Choisissez 
+un fichier
+image</string>
+           </property>
+           <property name="alignment">
+            <set>Qt::AlignCenter</set>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_8">
+           <property name="geometry">
+            <rect>
+             <x>110</x>
+             <y>15</y>
+             <width>131</width>
+             <height>21</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>8</pointsize>
+            </font>
+           </property>
+           <property name="text">
+            <string>Nom : </string>
+           </property>
+          </widget>
+          <widget class="QFrame" name="frame_2">
+           <property name="geometry">
+            <rect>
+             <x>110</x>
+             <y>60</y>
+             <width>371</width>
+             <height>361</height>
+            </rect>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::WinPanel</enum>
+           </property>
+           <property name="frameShadow">
+            <enum>QFrame::Raised</enum>
+           </property>
+           <widget class="QGraphicsView" name="edc_vueForme">
+            <property name="geometry">
+             <rect>
+              <x>10</x>
+              <y>10</y>
+              <width>311</width>
+              <height>321</height>
+             </rect>
+            </property>
+            <property name="palette">
+             <palette>
+              <active>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>244</red>
+                  <green>244</green>
+                  <blue>244</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </active>
+              <inactive>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>244</red>
+                  <green>244</green>
+                  <blue>244</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </inactive>
+              <disabled>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>240</red>
+                  <green>240</green>
+                  <blue>240</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </disabled>
+             </palette>
+            </property>
+            <property name="frameShape">
+             <enum>QFrame::NoFrame</enum>
+            </property>
+            <property name="frameShadow">
+             <enum>QFrame::Raised</enum>
+            </property>
+            <property name="renderHints">
+             <set>QPainter::Antialiasing|QPainter::HighQualityAntialiasing|QPainter::TextAntialiasing</set>
+            </property>
+           </widget>
+           <widget class="QToolButton" name="edc_image">
+            <property name="geometry">
+             <rect>
+              <x>330</x>
+              <y>260</y>
+              <width>31</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="text">
+             <string>...</string>
+            </property>
+            <property name="icon">
+             <iconset>
+              <normaloff>img/portrait.png</normaloff>img/portrait.png</iconset>
+            </property>
+            <property name="iconSize">
+             <size>
+              <width>22</width>
+              <height>22</height>
+             </size>
+            </property>
+           </widget>
+           <widget class="QToolButton" name="edc_couleur">
+            <property name="geometry">
+             <rect>
+              <x>330</x>
+              <y>220</y>
+              <width>31</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="text">
+             <string>...</string>
+            </property>
+            <property name="icon">
+             <iconset>
+              <normaloff>img/btnCouleurs.png</normaloff>img/btnCouleurs.png</iconset>
+            </property>
+           </widget>
+           <widget class="QToolButton" name="edc_aideForme">
+            <property name="geometry">
+             <rect>
+              <x>330</x>
+              <y>300</y>
+              <width>31</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="text">
+             <string>...</string>
+            </property>
+            <property name="icon">
+             <iconset>
+              <normaloff>img/aide.png</normaloff>img/aide.png</iconset>
+            </property>
+           </widget>
+           <widget class="QRadioButton" name="edc_casesHexa">
+            <property name="geometry">
+             <rect>
+              <x>30</x>
+              <y>330</y>
+              <width>131</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="text">
+             <string>Cases hexagonales</string>
+            </property>
+            <property name="checked">
+             <bool>true</bool>
+            </property>
+           </widget>
+           <widget class="QRadioButton" name="edc_casesCarrees">
+            <property name="geometry">
+             <rect>
+              <x>170</x>
+              <y>330</y>
+              <width>111</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="text">
+             <string>Cases carrées</string>
+            </property>
+           </widget>
+          </widget>
+         </widget>
+         <widget class="QWidget" name="page_dep">
+          <widget class="QLabel" name="label_9">
+           <property name="geometry">
+            <rect>
+             <x>70</x>
+             <y>100</y>
+             <width>391</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::NoFrame</enum>
+           </property>
+           <property name="text">
+            <string>Nombre de cases que la créature peut parcourir en un tour : </string>
+           </property>
+          </widget>
+          <widget class="QDoubleSpinBox" name="edc_depMarche">
+           <property name="geometry">
+            <rect>
+             <x>240</x>
+             <y>140</y>
+             <width>51</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="prefix">
+            <string/>
+           </property>
+           <property name="decimals">
+            <number>0</number>
+           </property>
+           <property name="singleStep">
+            <double>1.000000000000000</double>
+           </property>
+           <property name="value">
+            <double>8.000000000000000</double>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_10">
+           <property name="geometry">
+            <rect>
+             <x>130</x>
+             <y>140</y>
+             <width>101</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::NoFrame</enum>
+           </property>
+           <property name="text">
+            <string>Marche / Course</string>
+           </property>
+          </widget>
+          <widget class="QDoubleSpinBox" name="edc_depNage">
+           <property name="geometry">
+            <rect>
+             <x>240</x>
+             <y>180</y>
+             <width>51</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="prefix">
+            <string/>
+           </property>
+           <property name="decimals">
+            <number>0</number>
+           </property>
+           <property name="singleStep">
+            <double>1.000000000000000</double>
+           </property>
+           <property name="value">
+            <double>4.000000000000000</double>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_11">
+           <property name="geometry">
+            <rect>
+             <x>130</x>
+             <y>180</y>
+             <width>81</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::NoFrame</enum>
+           </property>
+           <property name="text">
+            <string>Nage    </string>
+           </property>
+          </widget>
+          <widget class="QDoubleSpinBox" name="edc_depEscalade">
+           <property name="geometry">
+            <rect>
+             <x>240</x>
+             <y>220</y>
+             <width>51</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="prefix">
+            <string/>
+           </property>
+           <property name="decimals">
+            <number>0</number>
+           </property>
+           <property name="singleStep">
+            <double>1.000000000000000</double>
+           </property>
+           <property name="value">
+            <double>2.000000000000000</double>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_12">
+           <property name="geometry">
+            <rect>
+             <x>130</x>
+             <y>220</y>
+             <width>91</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::NoFrame</enum>
+           </property>
+           <property name="text">
+            <string>Escalade </string>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_13">
+           <property name="geometry">
+            <rect>
+             <x>130</x>
+             <y>260</y>
+             <width>61</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::NoFrame</enum>
+           </property>
+           <property name="text">
+            <string>Vol      </string>
+           </property>
+          </widget>
+          <widget class="QDoubleSpinBox" name="edc_depVol">
+           <property name="geometry">
+            <rect>
+             <x>240</x>
+             <y>260</y>
+             <width>51</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="prefix">
+            <string/>
+           </property>
+           <property name="decimals">
+            <number>0</number>
+           </property>
+           <property name="singleStep">
+            <double>1.000000000000000</double>
+           </property>
+           <property name="value">
+            <double>0.000000000000000</double>
+           </property>
+          </widget>
+          <widget class="QDoubleSpinBox" name="edc_saut">
+           <property name="geometry">
+            <rect>
+             <x>310</x>
+             <y>320</y>
+             <width>51</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="prefix">
+            <string/>
+           </property>
+           <property name="decimals">
+            <number>0</number>
+           </property>
+           <property name="singleStep">
+            <double>1.000000000000000</double>
+           </property>
+           <property name="value">
+            <double>5.000000000000000</double>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_14">
+           <property name="geometry">
+            <rect>
+             <x>70</x>
+             <y>320</y>
+             <width>231</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::NoFrame</enum>
+           </property>
+           <property name="text">
+            <string>Hauteur maximum pour les sauts : </string>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_2">
+           <property name="geometry">
+            <rect>
+             <x>80</x>
+             <y>140</y>
+             <width>31</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+           <property name="pixmap">
+            <pixmap>img/btnZonePlacement.png</pixmap>
+           </property>
+           <property name="scaledContents">
+            <bool>false</bool>
+           </property>
+           <property name="alignment">
+            <set>Qt::AlignCenter</set>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_3">
+           <property name="geometry">
+            <rect>
+             <x>80</x>
+             <y>180</y>
+             <width>31</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+           <property name="pixmap">
+            <pixmap>img/nage_24.png</pixmap>
+           </property>
+           <property name="scaledContents">
+            <bool>false</bool>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_4">
+           <property name="geometry">
+            <rect>
+             <x>80</x>
+             <y>220</y>
+             <width>31</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+           <property name="pixmap">
+            <pixmap>img/escalade_24.png</pixmap>
+           </property>
+           <property name="scaledContents">
+            <bool>false</bool>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_5">
+           <property name="geometry">
+            <rect>
+             <x>80</x>
+             <y>260</y>
+             <width>31</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+           <property name="pixmap">
+            <pixmap>img/plume_24.png</pixmap>
+           </property>
+           <property name="scaledContents">
+            <bool>false</bool>
+           </property>
+          </widget>
+          <widget class="QDoubleSpinBox" name="edc_taille">
+           <property name="geometry">
+            <rect>
+             <x>310</x>
+             <y>60</y>
+             <width>51</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="prefix">
+            <string/>
+           </property>
+           <property name="decimals">
+            <number>0</number>
+           </property>
+           <property name="singleStep">
+            <double>1.000000000000000</double>
+           </property>
+           <property name="value">
+            <double>2.000000000000000</double>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_15">
+           <property name="geometry">
+            <rect>
+             <x>70</x>
+             <y>60</y>
+             <width>231</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::NoFrame</enum>
+           </property>
+           <property name="text">
+            <string>Taille de la créature (en cases) : </string>
+           </property>
+          </widget>
+         </widget>
+         <widget class="QWidget" name="page_attr">
+          <widget class="QTableWidget" name="edc_listeAttributs">
+           <property name="geometry">
+            <rect>
+             <x>20</x>
+             <y>50</y>
+             <width>171</width>
+             <height>351</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="150">
+                 <red>255</red>
+                 <green>255</green>
+                 <blue>255</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="150">
+                 <red>255</red>
+                 <green>255</green>
+                 <blue>255</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::WinPanel</enum>
+           </property>
+           <property name="horizontalScrollBarPolicy">
+            <enum>Qt::ScrollBarAlwaysOff</enum>
+           </property>
+           <property name="editTriggers">
+            <set>QAbstractItemView::AllEditTriggers</set>
+           </property>
+           <property name="alternatingRowColors">
+            <bool>true</bool>
+           </property>
+           <property name="selectionMode">
+            <enum>QAbstractItemView::NoSelection</enum>
+           </property>
+           <property name="showGrid">
+            <bool>true</bool>
+           </property>
+           <attribute name="horizontalHeaderVisible">
+            <bool>false</bool>
+           </attribute>
+           <attribute name="horizontalHeaderDefaultSectionSize">
+            <number>50</number>
+           </attribute>
+           <attribute name="verticalHeaderVisible">
+            <bool>false</bool>
+           </attribute>
+           <column>
+            <property name="text">
+             <string>Nouvelle colonne</string>
+            </property>
+           </column>
+           <column>
+            <property name="text">
+             <string>Valeur</string>
+            </property>
+           </column>
+          </widget>
+          <widget class="QLabel" name="label_18">
+           <property name="geometry">
+            <rect>
+             <x>20</x>
+             <y>20</y>
+             <width>171</width>
+             <height>16</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="text">
+            <string>Attributs / caractéristiques :  </string>
+           </property>
+          </widget>
+         </widget>
+         <widget class="QWidget" name="page_att">
+          <widget class="QToolButton" name="edc_attaque_ajouter">
+           <property name="geometry">
+            <rect>
+             <x>130</x>
+             <y>380</y>
+             <width>31</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="text">
+            <string>...</string>
+           </property>
+           <property name="icon">
+            <iconset>
+             <normaloff>img/plus.png</normaloff>img/plus.png</iconset>
+           </property>
+          </widget>
+          <widget class="DmTableListeAttaques" name="edc_attaque_liste">
+           <property name="geometry">
+            <rect>
+             <x>10</x>
+             <y>10</y>
+             <width>151</width>
+             <height>361</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <pointsize>8</pointsize>
+            </font>
+           </property>
+           <property name="horizontalScrollBarPolicy">
+            <enum>Qt::ScrollBarAlwaysOff</enum>
+           </property>
+           <property name="editTriggers">
+            <set>QAbstractItemView::DoubleClicked</set>
+           </property>
+           <property name="selectionMode">
+            <enum>QAbstractItemView::SingleSelection</enum>
+           </property>
+           <property name="selectionBehavior">
+            <enum>QAbstractItemView::SelectRows</enum>
+           </property>
+           <property name="gridStyle">
+            <enum>Qt::DotLine</enum>
+           </property>
+           <attribute name="horizontalHeaderVisible">
+            <bool>false</bool>
+           </attribute>
+           <attribute name="horizontalHeaderStretchLastSection">
+            <bool>true</bool>
+           </attribute>
+           <attribute name="verticalHeaderVisible">
+            <bool>false</bool>
+           </attribute>
+           <column>
+            <property name="text">
+             <string>att</string>
+            </property>
+           </column>
+          </widget>
+          <widget class="QToolButton" name="edc_attaque_supprimer">
+           <property name="geometry">
+            <rect>
+             <x>90</x>
+             <y>380</y>
+             <width>31</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="text">
+            <string>...</string>
+           </property>
+           <property name="icon">
+            <iconset>
+             <normaloff>img/corbeille.png</normaloff>img/corbeille.png</iconset>
+           </property>
+          </widget>
+          <widget class="DmEdcPanneauAttaque" name="edc_attaque_panneau">
+           <property name="enabled">
+            <bool>true</bool>
+           </property>
+           <property name="geometry">
+            <rect>
+             <x>170</x>
+             <y>10</y>
+             <width>311</width>
+             <height>401</height>
+            </rect>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::StyledPanel</enum>
+           </property>
+           <property name="frameShadow">
+            <enum>QFrame::Sunken</enum>
+           </property>
+           <widget class="DmLineEdit" name="edc_attaque_nom">
+            <property name="geometry">
+             <rect>
+              <x>60</x>
+              <y>10</y>
+              <width>241</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="palette">
+             <palette>
+              <active>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>248</red>
+                  <green>248</green>
+                  <blue>248</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </active>
+              <inactive>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>248</red>
+                  <green>248</green>
+                  <blue>248</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </inactive>
+              <disabled>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>240</red>
+                  <green>240</green>
+                  <blue>240</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </disabled>
+             </palette>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+             </font>
+            </property>
+           </widget>
+           <widget class="DmComboBox" name="edc_attaque_type">
+            <property name="geometry">
+             <rect>
+              <x>10</x>
+              <y>10</y>
+              <width>41</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+             </font>
+            </property>
+            <item>
+             <property name="text">
+              <string>Corps-à-corps</string>
+             </property>
+             <property name="icon">
+              <iconset>
+               <normaloff>img/curseurEpee.png</normaloff>img/curseurEpee.png</iconset>
+             </property>
+            </item>
+            <item>
+             <property name="text">
+              <string>A Distance</string>
+             </property>
+             <property name="icon">
+              <iconset>
+               <normaloff>img/arc.png</normaloff>img/arc.png</iconset>
+             </property>
+            </item>
+            <item>
+             <property name="text">
+              <string>Zone</string>
+             </property>
+             <property name="icon">
+              <iconset>
+               <normaloff>img/bombe.png</normaloff>img/bombe.png</iconset>
+             </property>
+            </item>
+           </widget>
+           <widget class="QLabel" name="label_6">
+            <property name="geometry">
+             <rect>
+              <x>210</x>
+              <y>50</y>
+              <width>51</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+             </font>
+            </property>
+            <property name="text">
+             <string>Portée :</string>
+            </property>
+           </widget>
+           <widget class="QSpinBox" name="edc_attaque_portee">
+            <property name="geometry">
+             <rect>
+              <x>260</x>
+              <y>50</y>
+              <width>41</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="palette">
+             <palette>
+              <active>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>248</red>
+                  <green>248</green>
+                  <blue>248</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </active>
+              <inactive>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>248</red>
+                  <green>248</green>
+                  <blue>248</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </inactive>
+              <disabled>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>240</red>
+                  <green>240</green>
+                  <blue>240</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </disabled>
+             </palette>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+             </font>
+            </property>
+            <property name="minimum">
+             <number>1</number>
+            </property>
+            <property name="maximum">
+             <number>999</number>
+            </property>
+            <property name="value">
+             <number>1</number>
+            </property>
+           </widget>
+           <widget class="QSpinBox" name="edc_attaque_rayon">
+            <property name="geometry">
+             <rect>
+              <x>160</x>
+              <y>50</y>
+              <width>41</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="palette">
+             <palette>
+              <active>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>248</red>
+                  <green>248</green>
+                  <blue>248</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </active>
+              <inactive>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>248</red>
+                  <green>248</green>
+                  <blue>248</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </inactive>
+              <disabled>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>240</red>
+                  <green>240</green>
+                  <blue>240</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </disabled>
+             </palette>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+             </font>
+            </property>
+            <property name="minimum">
+             <number>1</number>
+            </property>
+            <property name="value">
+             <number>1</number>
+            </property>
+           </widget>
+           <widget class="QLabel" name="edc_attaque_rayon_e">
+            <property name="geometry">
+             <rect>
+              <x>110</x>
+              <y>50</y>
+              <width>51</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+             </font>
+            </property>
+            <property name="text">
+             <string>Rayon :</string>
+            </property>
+           </widget>
+           <widget class="DmTextEdit" name="edc_attaque_notes">
+            <property name="geometry">
+             <rect>
+              <x>10</x>
+              <y>350</y>
+              <width>291</width>
+              <height>41</height>
+             </rect>
+            </property>
+            <property name="palette">
+             <palette>
+              <active>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>248</red>
+                  <green>248</green>
+                  <blue>248</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </active>
+              <inactive>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>248</red>
+                  <green>248</green>
+                  <blue>248</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </inactive>
+              <disabled>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>240</red>
+                  <green>240</green>
+                  <blue>240</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </disabled>
+             </palette>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+             </font>
+            </property>
+           </widget>
+           <widget class="QLabel" name="label_19">
+            <property name="geometry">
+             <rect>
+              <x>10</x>
+              <y>330</y>
+              <width>131</width>
+              <height>21</height>
+             </rect>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+             </font>
+            </property>
+            <property name="text">
+             <string>Description / Notes :</string>
+            </property>
+           </widget>
+           <widget class="DmTableAttributsAttaque" name="edc_attaque_attributs">
+            <property name="geometry">
+             <rect>
+              <x>10</x>
+              <y>110</y>
+              <width>291</width>
+              <height>211</height>
+             </rect>
+            </property>
+            <property name="palette">
+             <palette>
+              <active>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>248</red>
+                  <green>248</green>
+                  <blue>248</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </active>
+              <inactive>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>248</red>
+                  <green>248</green>
+                  <blue>248</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </inactive>
+              <disabled>
+               <colorrole role="Base">
+                <brush brushstyle="SolidPattern">
+                 <color alpha="255">
+                  <red>240</red>
+                  <green>240</green>
+                  <blue>240</blue>
+                 </color>
+                </brush>
+               </colorrole>
+              </disabled>
+             </palette>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+              <pointsize>8</pointsize>
+             </font>
+            </property>
+            <property name="gridStyle">
+             <enum>Qt::DotLine</enum>
+            </property>
+            <attribute name="horizontalHeaderVisible">
+             <bool>false</bool>
+            </attribute>
+            <attribute name="horizontalHeaderDefaultSectionSize">
+             <number>180</number>
+            </attribute>
+            <attribute name="horizontalHeaderMinimumSectionSize">
+             <number>50</number>
+            </attribute>
+            <attribute name="horizontalHeaderStretchLastSection">
+             <bool>true</bool>
+            </attribute>
+            <attribute name="verticalHeaderVisible">
+             <bool>false</bool>
+            </attribute>
+            <column>
+             <property name="text">
+              <string>attr</string>
+             </property>
+            </column>
+            <column>
+             <property name="text">
+              <string>val</string>
+             </property>
+             <property name="textAlignment">
+              <set>AlignLeft|AlignVCenter</set>
+             </property>
+            </column>
+           </widget>
+           <widget class="QLabel" name="label">
+            <property name="geometry">
+             <rect>
+              <x>10</x>
+              <y>90</y>
+              <width>101</width>
+              <height>16</height>
+             </rect>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+             </font>
+            </property>
+            <property name="text">
+             <string>Attributs :</string>
+            </property>
+           </widget>
+           <widget class="DmComboBox" name="edc_attaque_forme">
+            <property name="geometry">
+             <rect>
+              <x>60</x>
+              <y>50</y>
+              <width>41</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+             </font>
+            </property>
+            <item>
+             <property name="text">
+              <string>Ligne</string>
+             </property>
+             <property name="icon">
+              <iconset>
+               <normaloff>img/formeLigne.png</normaloff>img/formeLigne.png</iconset>
+             </property>
+            </item>
+            <item>
+             <property name="text">
+              <string>Disque</string>
+             </property>
+             <property name="icon">
+              <iconset>
+               <normaloff>img/formeEllipsePlein.png</normaloff>img/formeEllipsePlein.png</iconset>
+             </property>
+            </item>
+            <item>
+             <property name="text">
+              <string>Cone</string>
+             </property>
+             <property name="icon">
+              <iconset>
+               <normaloff>img/cone.png</normaloff>img/cone.png</iconset>
+             </property>
+            </item>
+           </widget>
+           <widget class="QLabel" name="edc_attaque_forme_e">
+            <property name="geometry">
+             <rect>
+              <x>10</x>
+              <y>50</y>
+              <width>51</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+             </font>
+            </property>
+            <property name="text">
+             <string>Forme :</string>
+            </property>
+           </widget>
+          </widget>
+         </widget>
+         <widget class="QWidget" name="page_invent">
+          <widget class="QTableWidget" name="edc_listeInventaire">
+           <property name="geometry">
+            <rect>
+             <x>20</x>
+             <y>50</y>
+             <width>381</width>
+             <height>311</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="150">
+                 <red>255</red>
+                 <green>255</green>
+                 <blue>255</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="150">
+                 <red>255</red>
+                 <green>255</green>
+                 <blue>255</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::WinPanel</enum>
+           </property>
+           <property name="horizontalScrollBarPolicy">
+            <enum>Qt::ScrollBarAlwaysOff</enum>
+           </property>
+           <property name="editTriggers">
+            <set>QAbstractItemView::AllEditTriggers</set>
+           </property>
+           <property name="alternatingRowColors">
+            <bool>true</bool>
+           </property>
+           <property name="selectionMode">
+            <enum>QAbstractItemView::NoSelection</enum>
+           </property>
+           <property name="showGrid">
+            <bool>true</bool>
+           </property>
+           <attribute name="horizontalHeaderVisible">
+            <bool>false</bool>
+           </attribute>
+           <attribute name="horizontalHeaderDefaultSectionSize">
+            <number>50</number>
+           </attribute>
+           <attribute name="verticalHeaderVisible">
+            <bool>false</bool>
+           </attribute>
+           <column>
+            <property name="text">
+             <string>nombre</string>
+            </property>
+           </column>
+           <column>
+            <property name="text">
+             <string>objet</string>
+            </property>
+           </column>
+          </widget>
+          <widget class="QToolButton" name="edc_inventaire_supprimer">
+           <property name="geometry">
+            <rect>
+             <x>380</x>
+             <y>360</y>
+             <width>21</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="text">
+            <string>...</string>
+           </property>
+           <property name="icon">
+            <iconset>
+             <normaloff>img/gomme.png</normaloff>img/gomme.png</iconset>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_24">
+           <property name="geometry">
+            <rect>
+             <x>20</x>
+             <y>20</y>
+             <width>131</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="text">
+            <string>Inventaire :</string>
+           </property>
+          </widget>
+          <widget class="QToolButton" name="edc_inventaire_nouveau">
+           <property name="geometry">
+            <rect>
+             <x>350</x>
+             <y>360</y>
+             <width>21</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="text">
+            <string>...</string>
+           </property>
+           <property name="icon">
+            <iconset>
+             <normaloff>img/plus.png</normaloff>img/plus.png</iconset>
+           </property>
+          </widget>
+         </widget>
+         <widget class="QWidget" name="page_notes">
+          <widget class="QLabel" name="label_23">
+           <property name="geometry">
+            <rect>
+             <x>20</x>
+             <y>240</y>
+             <width>151</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="text">
+            <string>Notes :</string>
+           </property>
+          </widget>
+          <widget class="QTextEdit" name="edc_notes">
+           <property name="geometry">
+            <rect>
+             <x>20</x>
+             <y>270</y>
+             <width>411</width>
+             <height>171</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+          </widget>
+          <widget class="DmLineEdit" name="edc_detail_age">
+           <property name="geometry">
+            <rect>
+             <x>350</x>
+             <y>20</y>
+             <width>81</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_16">
+           <property name="geometry">
+            <rect>
+             <x>300</x>
+             <y>19</y>
+             <width>41</width>
+             <height>21</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>8</pointsize>
+            </font>
+           </property>
+           <property name="text">
+            <string>Age : </string>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_17">
+           <property name="geometry">
+            <rect>
+             <x>300</x>
+             <y>49</y>
+             <width>41</width>
+             <height>21</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>8</pointsize>
+            </font>
+           </property>
+           <property name="text">
+            <string>Sexe : </string>
+           </property>
+          </widget>
+          <widget class="DmLineEdit" name="edc_detail_sexe">
+           <property name="geometry">
+            <rect>
+             <x>350</x>
+             <y>49</y>
+             <width>81</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+          </widget>
+          <widget class="DmLineEdit" name="edc_detail_yeux">
+           <property name="geometry">
+            <rect>
+             <x>100</x>
+             <y>140</y>
+             <width>91</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_37">
+           <property name="geometry">
+            <rect>
+             <x>20</x>
+             <y>140</y>
+             <width>71</width>
+             <height>21</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>8</pointsize>
+            </font>
+           </property>
+           <property name="text">
+            <string>Yeux :</string>
+           </property>
+          </widget>
+          <widget class="DmLineEdit" name="edc_detail_peau">
+           <property name="geometry">
+            <rect>
+             <x>100</x>
+             <y>170</y>
+             <width>91</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_38">
+           <property name="geometry">
+            <rect>
+             <x>20</x>
+             <y>170</y>
+             <width>61</width>
+             <height>21</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>8</pointsize>
+            </font>
+           </property>
+           <property name="text">
+            <string>Peau :</string>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_39">
+           <property name="geometry">
+            <rect>
+             <x>210</x>
+             <y>140</y>
+             <width>101</width>
+             <height>21</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>8</pointsize>
+            </font>
+           </property>
+           <property name="text">
+            <string>Poils /Cheveux :</string>
+           </property>
+          </widget>
+          <widget class="DmLineEdit" name="edc_detail_cheveux">
+           <property name="geometry">
+            <rect>
+             <x>320</x>
+             <y>140</y>
+             <width>91</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+          </widget>
+          <widget class="DmLineEdit" name="edc_detail_lieuNaissance">
+           <property name="geometry">
+            <rect>
+             <x>100</x>
+             <y>110</y>
+             <width>171</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_40">
+           <property name="geometry">
+            <rect>
+             <x>20</x>
+             <y>100</y>
+             <width>71</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>8</pointsize>
+            </font>
+           </property>
+           <property name="text">
+            <string>Lieu de
+naissance :</string>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_41">
+           <property name="geometry">
+            <rect>
+             <x>300</x>
+             <y>79</y>
+             <width>41</width>
+             <height>21</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>8</pointsize>
+            </font>
+           </property>
+           <property name="text">
+            <string>Poids : </string>
+           </property>
+          </widget>
+          <widget class="DmLineEdit" name="edc_detail_poids">
+           <property name="geometry">
+            <rect>
+             <x>350</x>
+             <y>80</y>
+             <width>81</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_43">
+           <property name="geometry">
+            <rect>
+             <x>20</x>
+             <y>20</y>
+             <width>61</width>
+             <height>21</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>8</pointsize>
+            </font>
+           </property>
+           <property name="text">
+            <string>Espèce : </string>
+           </property>
+          </widget>
+          <widget class="DmLineEdit" name="edc_detail_espece">
+           <property name="geometry">
+            <rect>
+             <x>100</x>
+             <y>21</y>
+             <width>171</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_44">
+           <property name="geometry">
+            <rect>
+             <x>20</x>
+             <y>49</y>
+             <width>81</width>
+             <height>21</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>8</pointsize>
+            </font>
+           </property>
+           <property name="text">
+            <string>Profession : </string>
+           </property>
+          </widget>
+          <widget class="DmLineEdit" name="edc_detail_profession">
+           <property name="geometry">
+            <rect>
+             <x>100</x>
+             <y>50</y>
+             <width>171</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_45">
+           <property name="geometry">
+            <rect>
+             <x>300</x>
+             <y>109</y>
+             <width>41</width>
+             <height>21</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>8</pointsize>
+            </font>
+           </property>
+           <property name="text">
+            <string>Taille : </string>
+           </property>
+          </widget>
+          <widget class="DmLineEdit" name="edc_detail_taille">
+           <property name="geometry">
+            <rect>
+             <x>350</x>
+             <y>109</y>
+             <width>81</width>
+             <height>21</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+          </widget>
+          <widget class="DmLineEdit" name="edc_detail_religion">
+           <property name="geometry">
+            <rect>
+             <x>100</x>
+             <y>80</y>
+             <width>171</width>
+             <height>21</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_42">
+           <property name="geometry">
+            <rect>
+             <x>20</x>
+             <y>70</y>
+             <width>81</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>8</pointsize>
+            </font>
+           </property>
+           <property name="text">
+            <string>Religion /
+Croyances :</string>
+           </property>
+          </widget>
+          <widget class="DmLineEdit" name="edc_detail_langues">
+           <property name="geometry">
+            <rect>
+             <x>100</x>
+             <y>200</y>
+             <width>331</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_47">
+           <property name="geometry">
+            <rect>
+             <x>20</x>
+             <y>190</y>
+             <width>61</width>
+             <height>41</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>8</pointsize>
+            </font>
+           </property>
+           <property name="text">
+            <string>Langues
+parlées : </string>
+           </property>
+          </widget>
+         </widget>
+        </widget>
+       </item>
+       <item>
+        <widget class="QFrame" name="frame">
+         <property name="minimumSize">
+          <size>
+           <width>392</width>
+           <height>50</height>
+          </size>
+         </property>
+         <property name="maximumSize">
+          <size>
+           <width>16777215</width>
+           <height>50</height>
+          </size>
+         </property>
+         <property name="font">
+          <font>
+           <family>Verdana</family>
+          </font>
+         </property>
+         <property name="frameShape">
+          <enum>QFrame::StyledPanel</enum>
+         </property>
+         <property name="frameShadow">
+          <enum>QFrame::Raised</enum>
+         </property>
+         <widget class="QPushButton" name="edc_enregistrer">
+          <property name="enabled">
+           <bool>false</bool>
+          </property>
+          <property name="geometry">
+           <rect>
+            <x>370</x>
+            <y>10</y>
+            <width>111</width>
+            <height>31</height>
+           </rect>
+          </property>
+          <property name="font">
+           <font>
+            <family>Verdana</family>
+            <weight>75</weight>
+            <bold>true</bold>
+           </font>
+          </property>
+          <property name="text">
+           <string>Enregistrer</string>
+          </property>
+         </widget>
+         <widget class="QPushButton" name="edc_annuler">
+          <property name="geometry">
+           <rect>
+            <x>10</x>
+            <y>10</y>
+            <width>81</width>
+            <height>31</height>
+           </rect>
+          </property>
+          <property name="font">
+           <font>
+            <family>Verdana</family>
+           </font>
+          </property>
+          <property name="text">
+           <string>Annuler</string>
+          </property>
+         </widget>
+        </widget>
+       </item>
+      </layout>
+     </item>
+    </layout>
+   </item>
+  </layout>
+ </widget>
+ <customwidgets>
+  <customwidget>
+   <class>DmTableMenu</class>
+   <extends>QTableWidget</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmLabelChoixImage</class>
+   <extends>QLabel</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmLineEdit</class>
+   <extends>QLineEdit</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmTextEdit</class>
+   <extends>QTextEdit</extends>
+   <header>dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmComboBox</class>
+   <extends>QComboBox</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmEdcPanneauAttaque</class>
+   <extends>QFrame</extends>
+   <header location="global">dm.h</header>
+   <container>1</container>
+  </customwidget>
+  <customwidget>
+   <class>DmTableAttributsAttaque</class>
+   <extends>QTableWidget</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmTableListeAttaques</class>
+   <extends>QTableWidget</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+ </customwidgets>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>edc_menu</sender>
+   <signal>cellClicked(int,int)</signal>
+   <receiver>edc_pages</receiver>
+   <slot>setCurrentIndex(int)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>80</x>
+     <y>164</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>312</x>
+     <y>164</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
+</ui>

+ 0 - 4220
lib/ui/mainwindow_svg.ui

@@ -1,4220 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>principal</class>
- <widget class="QMainWindow" name="principal">
-  <property name="geometry">
-   <rect>
-    <x>0</x>
-    <y>0</y>
-    <width>1225</width>
-    <height>742</height>
-   </rect>
-  </property>
-  <property name="minimumSize">
-   <size>
-    <width>882</width>
-    <height>623</height>
-   </size>
-  </property>
-  <property name="acceptDrops">
-   <bool>true</bool>
-  </property>
-  <property name="windowTitle">
-   <string>Bienvenue sur le Dé-Monde</string>
-  </property>
-  <widget class="QWidget" name="baseWidget">
-   <layout class="QHBoxLayout" name="horizontalLayout">
-    <item>
-     <widget class="QTabWidget" name="tabWidget">
-      <property name="enabled">
-       <bool>true</bool>
-      </property>
-      <property name="minimumSize">
-       <size>
-        <width>641</width>
-        <height>561</height>
-       </size>
-      </property>
-      <property name="acceptDrops">
-       <bool>true</bool>
-      </property>
-      <property name="currentIndex">
-       <number>0</number>
-      </property>
-      <widget class="QWidget" name="Combats_tab">
-       <attribute name="title">
-        <string>Combats</string>
-       </attribute>
-       <layout class="QHBoxLayout" name="horizontalLayout_3">
-        <item>
-         <layout class="QHBoxLayout" name="layoutCombat" stretch="0,4,1">
-          <property name="spacing">
-           <number>0</number>
-          </property>
-          <property name="sizeConstraint">
-           <enum>QLayout::SetMaximumSize</enum>
-          </property>
-          <item>
-           <widget class="QFrame" name="panneauInfosPlateau_2">
-            <layout class="QVBoxLayout" name="panneauInfosPlateau" stretch="0,0,0">
-             <property name="spacing">
-              <number>0</number>
-             </property>
-             <item>
-              <widget class="QLabel" name="combatTour">
-               <property name="minimumSize">
-                <size>
-                 <width>80</width>
-                 <height>20</height>
-                </size>
-               </property>
-               <property name="maximumSize">
-                <size>
-                 <width>110</width>
-                 <height>20</height>
-                </size>
-               </property>
-               <property name="font">
-                <font>
-                 <pointsize>10</pointsize>
-                 <weight>75</weight>
-                 <bold>true</bold>
-                </font>
-               </property>
-               <property name="frameShape">
-                <enum>QFrame::WinPanel</enum>
-               </property>
-               <property name="frameShadow">
-                <enum>QFrame::Sunken</enum>
-               </property>
-               <property name="text">
-                <string>Tour: 1</string>
-               </property>
-               <property name="alignment">
-                <set>Qt::AlignCenter</set>
-               </property>
-              </widget>
-             </item>
-             <item>
-              <widget class="QTableWidget" name="infoOrdreJeu">
-               <property name="minimumSize">
-                <size>
-                 <width>80</width>
-                 <height>208</height>
-                </size>
-               </property>
-               <property name="maximumSize">
-                <size>
-                 <width>110</width>
-                 <height>16777215</height>
-                </size>
-               </property>
-               <property name="palette">
-                <palette>
-                 <active>
-                  <colorrole role="Base">
-                   <brush brushstyle="SolidPattern">
-                    <color alpha="120">
-                     <red>255</red>
-                     <green>255</green>
-                     <blue>255</blue>
-                    </color>
-                   </brush>
-                  </colorrole>
-                 </active>
-                 <inactive>
-                  <colorrole role="Base">
-                   <brush brushstyle="SolidPattern">
-                    <color alpha="120">
-                     <red>255</red>
-                     <green>255</green>
-                     <blue>255</blue>
-                    </color>
-                   </brush>
-                  </colorrole>
-                 </inactive>
-                 <disabled>
-                  <colorrole role="Base">
-                   <brush brushstyle="SolidPattern">
-                    <color alpha="255">
-                     <red>240</red>
-                     <green>240</green>
-                     <blue>240</blue>
-                    </color>
-                   </brush>
-                  </colorrole>
-                 </disabled>
-                </palette>
-               </property>
-               <property name="frameShape">
-                <enum>QFrame::WinPanel</enum>
-               </property>
-               <property name="editTriggers">
-                <set>QAbstractItemView::NoEditTriggers</set>
-               </property>
-               <property name="dragDropOverwriteMode">
-                <bool>false</bool>
-               </property>
-               <property name="alternatingRowColors">
-                <bool>false</bool>
-               </property>
-               <property name="selectionMode">
-                <enum>QAbstractItemView::SingleSelection</enum>
-               </property>
-               <property name="selectionBehavior">
-                <enum>QAbstractItemView::SelectItems</enum>
-               </property>
-               <property name="textElideMode">
-                <enum>Qt::ElideMiddle</enum>
-               </property>
-               <property name="sortingEnabled">
-                <bool>true</bool>
-               </property>
-               <property name="cornerButtonEnabled">
-                <bool>false</bool>
-               </property>
-               <attribute name="horizontalHeaderVisible">
-                <bool>false</bool>
-               </attribute>
-               <attribute name="horizontalHeaderDefaultSectionSize">
-                <number>100</number>
-               </attribute>
-               <attribute name="verticalHeaderVisible">
-                <bool>false</bool>
-               </attribute>
-               <column>
-                <property name="text">
-                 <string>num</string>
-                </property>
-               </column>
-               <column>
-                <property name="text">
-                 <string>nom</string>
-                </property>
-               </column>
-               <column>
-                <property name="text">
-                 <string>ordre</string>
-                </property>
-               </column>
-              </widget>
-             </item>
-             <item>
-              <widget class="QFrame" name="frame_2">
-               <property name="minimumSize">
-                <size>
-                 <width>80</width>
-                 <height>330</height>
-                </size>
-               </property>
-               <property name="maximumSize">
-                <size>
-                 <width>110</width>
-                 <height>415</height>
-                </size>
-               </property>
-               <property name="frameShape">
-                <enum>QFrame::StyledPanel</enum>
-               </property>
-               <property name="frameShadow">
-                <enum>QFrame::Raised</enum>
-               </property>
-               <widget class="QGroupBox" name="infoCase">
-                <property name="geometry">
-                 <rect>
-                  <x>0</x>
-                  <y>240</y>
-                  <width>80</width>
-                  <height>90</height>
-                 </rect>
-                </property>
-                <property name="minimumSize">
-                 <size>
-                  <width>80</width>
-                  <height>90</height>
-                 </size>
-                </property>
-                <property name="maximumSize">
-                 <size>
-                  <width>110</width>
-                  <height>16777215</height>
-                 </size>
-                </property>
-                <property name="title">
-                 <string/>
-                </property>
-                <widget class="QLabel" name="infoPionEnCours_depRestant_2">
-                 <property name="geometry">
-                  <rect>
-                   <x>10</x>
-                   <y>120</y>
-                   <width>71</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="text">
-                  <string>Dep.: 0 </string>
-                 </property>
-                 <property name="margin">
-                  <number>1</number>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_aJoue_2">
-                 <property name="geometry">
-                  <rect>
-                   <x>10</x>
-                   <y>140</y>
-                   <width>61</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="text">
-                  <string>A joué: Non</string>
-                 </property>
-                 <property name="margin">
-                  <number>1</number>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_endormi_2">
-                 <property name="geometry">
-                  <rect>
-                   <x>0</x>
-                   <y>180</y>
-                   <width>21</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="toolTip">
-                  <string>Endormi</string>
-                 </property>
-                 <property name="text">
-                  <string>end</string>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_paralyse_2">
-                 <property name="geometry">
-                  <rect>
-                   <x>20</x>
-                   <y>180</y>
-                   <width>21</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="toolTip">
-                  <string>Paralysé</string>
-                 </property>
-                 <property name="text">
-                  <string>par</string>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_entrave_2">
-                 <property name="geometry">
-                  <rect>
-                   <x>40</x>
-                   <y>180</y>
-                   <width>21</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="toolTip">
-                  <string>Entravé</string>
-                 </property>
-                 <property name="text">
-                  <string>ent</string>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_mort_2">
-                 <property name="geometry">
-                  <rect>
-                   <x>60</x>
-                   <y>180</y>
-                   <width>21</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="toolTip">
-                  <string>Mort</string>
-                 </property>
-                 <property name="text">
-                  <string>mrt</string>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_evanoui_2">
-                 <property name="geometry">
-                  <rect>
-                   <x>0</x>
-                   <y>160</y>
-                   <width>21</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="toolTip">
-                  <string>Evanoui</string>
-                 </property>
-                 <property name="text">
-                  <string>evn</string>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_brule_2">
-                 <property name="geometry">
-                  <rect>
-                   <x>20</x>
-                   <y>160</y>
-                   <width>21</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="toolTip">
-                  <string>Brûle</string>
-                 </property>
-                 <property name="text">
-                  <string>bru</string>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_mouille_2">
-                 <property name="geometry">
-                  <rect>
-                   <x>40</x>
-                   <y>160</y>
-                   <width>21</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="toolTip">
-                  <string>Mouillé</string>
-                 </property>
-                 <property name="text">
-                  <string>mou</string>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_vol_2">
-                 <property name="geometry">
-                  <rect>
-                   <x>60</x>
-                   <y>160</y>
-                   <width>21</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="toolTip">
-                  <string>En Vol</string>
-                 </property>
-                 <property name="text">
-                  <string>vol</string>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoCaseEnCours_terrain">
-                 <property name="geometry">
-                  <rect>
-                   <x>10</x>
-                   <y>0</y>
-                   <width>61</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="text">
-                  <string>terrain</string>
-                 </property>
-                 <property name="margin">
-                  <number>1</number>
-                 </property>
-                 <property name="indent">
-                  <number>-1</number>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoCaseEnCours_coord">
-                 <property name="geometry">
-                  <rect>
-                   <x>10</x>
-                   <y>20</y>
-                   <width>61</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="text">
-                  <string>coord</string>
-                 </property>
-                 <property name="margin">
-                  <number>1</number>
-                 </property>
-                 <property name="indent">
-                  <number>-1</number>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoCaseEnCours_effetNom">
-                 <property name="geometry">
-                  <rect>
-                   <x>35</x>
-                   <y>60</y>
-                   <width>41</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="text">
-                  <string>effet</string>
-                 </property>
-                 <property name="margin">
-                  <number>1</number>
-                 </property>
-                 <property name="indent">
-                  <number>-1</number>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoCaseEnCours_effetImg">
-                 <property name="geometry">
-                  <rect>
-                   <x>10</x>
-                   <y>60</y>
-                   <width>21</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="text">
-                  <string>img</string>
-                 </property>
-                 <property name="margin">
-                  <number>1</number>
-                 </property>
-                 <property name="indent">
-                  <number>-1</number>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoCaseEnCours_altitude">
-                 <property name="geometry">
-                  <rect>
-                   <x>10</x>
-                   <y>40</y>
-                   <width>61</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="text">
-                  <string>alt</string>
-                 </property>
-                 <property name="margin">
-                  <number>1</number>
-                 </property>
-                 <property name="indent">
-                  <number>-1</number>
-                 </property>
-                </widget>
-               </widget>
-               <widget class="QGroupBox" name="infoDecor">
-                <property name="enabled">
-                 <bool>true</bool>
-                </property>
-                <property name="geometry">
-                 <rect>
-                  <x>0</x>
-                  <y>150</y>
-                  <width>80</width>
-                  <height>91</height>
-                 </rect>
-                </property>
-                <property name="minimumSize">
-                 <size>
-                  <width>80</width>
-                  <height>91</height>
-                 </size>
-                </property>
-                <property name="maximumSize">
-                 <size>
-                  <width>110</width>
-                  <height>16777215</height>
-                 </size>
-                </property>
-                <property name="title">
-                 <string/>
-                </property>
-                <widget class="QLabel" name="infoDecorEnCours_nom">
-                 <property name="geometry">
-                  <rect>
-                   <x>10</x>
-                   <y>0</y>
-                   <width>61</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="text">
-                  <string>nom</string>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoDecorEnCours_image">
-                 <property name="geometry">
-                  <rect>
-                   <x>10</x>
-                   <y>20</y>
-                   <width>41</width>
-                   <height>31</height>
-                  </rect>
-                 </property>
-                 <property name="frameShape">
-                  <enum>QFrame::StyledPanel</enum>
-                 </property>
-                 <property name="text">
-                  <string/>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoDecorEnCours_hauteur">
-                 <property name="geometry">
-                  <rect>
-                   <x>10</x>
-                   <y>50</y>
-                   <width>61</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="text">
-                  <string>hauteur</string>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoDecorEnCours_brule">
-                 <property name="geometry">
-                  <rect>
-                   <x>0</x>
-                   <y>70</y>
-                   <width>21</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="text">
-                  <string>TextLabel</string>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoDecorEnCours_detruit">
-                 <property name="geometry">
-                  <rect>
-                   <x>20</x>
-                   <y>70</y>
-                   <width>21</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="text">
-                  <string>TextLabel</string>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoDecorEnCours_verrouille">
-                 <property name="geometry">
-                  <rect>
-                   <x>40</x>
-                   <y>70</y>
-                   <width>21</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="text">
-                  <string>TextLabel</string>
-                 </property>
-                </widget>
-               </widget>
-               <widget class="QGroupBox" name="infoPion">
-                <property name="geometry">
-                 <rect>
-                  <x>0</x>
-                  <y>0</y>
-                  <width>80</width>
-                  <height>151</height>
-                 </rect>
-                </property>
-                <property name="minimumSize">
-                 <size>
-                  <width>80</width>
-                  <height>151</height>
-                 </size>
-                </property>
-                <property name="maximumSize">
-                 <size>
-                  <width>110</width>
-                  <height>16777215</height>
-                 </size>
-                </property>
-                <property name="title">
-                 <string/>
-                </property>
-                <widget class="QLabel" name="infoPionEnCours_sante">
-                 <property name="geometry">
-                  <rect>
-                   <x>10</x>
-                   <y>70</y>
-                   <width>61</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="text">
-                  <string>sante</string>
-                 </property>
-                 <property name="margin">
-                  <number>1</number>
-                 </property>
-                 <property name="indent">
-                  <number>-1</number>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_depRestant">
-                 <property name="geometry">
-                  <rect>
-                   <x>10</x>
-                   <y>90</y>
-                   <width>61</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="text">
-                  <string>dep</string>
-                 </property>
-                 <property name="margin">
-                  <number>1</number>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_image">
-                 <property name="geometry">
-                  <rect>
-                   <x>10</x>
-                   <y>20</y>
-                   <width>61</width>
-                   <height>51</height>
-                  </rect>
-                 </property>
-                 <property name="frameShape">
-                  <enum>QFrame::StyledPanel</enum>
-                 </property>
-                 <property name="text">
-                  <string/>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_endormi">
-                 <property name="geometry">
-                  <rect>
-                   <x>0</x>
-                   <y>130</y>
-                   <width>16</width>
-                   <height>16</height>
-                  </rect>
-                 </property>
-                 <property name="toolTip">
-                  <string>Endormi</string>
-                 </property>
-                 <property name="text">
-                  <string/>
-                 </property>
-                 <property name="pixmap">
-                  <pixmap>img/etatEndormi.png</pixmap>
-                 </property>
-                 <property name="scaledContents">
-                  <bool>false</bool>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_paralyse">
-                 <property name="geometry">
-                  <rect>
-                   <x>20</x>
-                   <y>130</y>
-                   <width>16</width>
-                   <height>16</height>
-                  </rect>
-                 </property>
-                 <property name="toolTip">
-                  <string>Paralysé</string>
-                 </property>
-                 <property name="text">
-                  <string/>
-                 </property>
-                 <property name="pixmap">
-                  <pixmap>img/etatParalyse.png</pixmap>
-                 </property>
-                 <property name="scaledContents">
-                  <bool>true</bool>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_entrave">
-                 <property name="geometry">
-                  <rect>
-                   <x>40</x>
-                   <y>130</y>
-                   <width>21</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="toolTip">
-                  <string>Entravé</string>
-                 </property>
-                 <property name="text">
-                  <string/>
-                 </property>
-                 <property name="pixmap">
-                  <pixmap>img/etatEntrave.png</pixmap>
-                 </property>
-                 <property name="scaledContents">
-                  <bool>false</bool>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_mort">
-                 <property name="geometry">
-                  <rect>
-                   <x>60</x>
-                   <y>130</y>
-                   <width>16</width>
-                   <height>16</height>
-                  </rect>
-                 </property>
-                 <property name="toolTip">
-                  <string>Mort</string>
-                 </property>
-                 <property name="text">
-                  <string/>
-                 </property>
-                 <property name="pixmap">
-                  <pixmap>img/etatMort.png</pixmap>
-                 </property>
-                 <property name="scaledContents">
-                  <bool>false</bool>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_etourdi">
-                 <property name="geometry">
-                  <rect>
-                   <x>0</x>
-                   <y>111</y>
-                   <width>16</width>
-                   <height>16</height>
-                  </rect>
-                 </property>
-                 <property name="toolTip">
-                  <string>Evanoui</string>
-                 </property>
-                 <property name="text">
-                  <string/>
-                 </property>
-                 <property name="pixmap">
-                  <pixmap>img/etatEtourdi.png</pixmap>
-                 </property>
-                 <property name="scaledContents">
-                  <bool>false</bool>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_brule">
-                 <property name="geometry">
-                  <rect>
-                   <x>20</x>
-                   <y>110</y>
-                   <width>16</width>
-                   <height>16</height>
-                  </rect>
-                 </property>
-                 <property name="toolTip">
-                  <string>Brûle</string>
-                 </property>
-                 <property name="text">
-                  <string/>
-                 </property>
-                 <property name="pixmap">
-                  <pixmap>img/etatFeu.png</pixmap>
-                 </property>
-                 <property name="scaledContents">
-                  <bool>false</bool>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_mouille">
-                 <property name="geometry">
-                  <rect>
-                   <x>40</x>
-                   <y>110</y>
-                   <width>21</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="toolTip">
-                  <string>Mouillé</string>
-                 </property>
-                 <property name="text">
-                  <string/>
-                 </property>
-                 <property name="pixmap">
-                  <pixmap>img/etatEau.png</pixmap>
-                 </property>
-                 <property name="scaledContents">
-                  <bool>false</bool>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_vol">
-                 <property name="geometry">
-                  <rect>
-                   <x>60</x>
-                   <y>110</y>
-                   <width>21</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="toolTip">
-                  <string>En Vol</string>
-                 </property>
-                 <property name="text">
-                  <string/>
-                 </property>
-                 <property name="pixmap">
-                  <pixmap>img/etatVol.png</pixmap>
-                 </property>
-                 <property name="scaledContents">
-                  <bool>false</bool>
-                 </property>
-                </widget>
-                <widget class="QLabel" name="infoPionEnCours_nom">
-                 <property name="geometry">
-                  <rect>
-                   <x>10</x>
-                   <y>0</y>
-                   <width>61</width>
-                   <height>21</height>
-                  </rect>
-                 </property>
-                 <property name="text">
-                  <string>nom</string>
-                 </property>
-                 <property name="margin">
-                  <number>1</number>
-                 </property>
-                 <property name="indent">
-                  <number>-1</number>
-                 </property>
-                </widget>
-               </widget>
-              </widget>
-             </item>
-            </layout>
-           </widget>
-          </item>
-          <item>
-           <layout class="QVBoxLayout" name="layoutCombatCentre" stretch="0,0,0">
-            <property name="spacing">
-             <number>0</number>
-            </property>
-            <item>
-             <widget class="QLabel" name="nomPlateau">
-              <property name="minimumSize">
-               <size>
-                <width>0</width>
-                <height>24</height>
-               </size>
-              </property>
-              <property name="maximumSize">
-               <size>
-                <width>16777215</width>
-                <height>24</height>
-               </size>
-              </property>
-              <property name="font">
-               <font>
-                <family>Georgia</family>
-                <pointsize>9</pointsize>
-                <weight>75</weight>
-                <bold>true</bold>
-               </font>
-              </property>
-              <property name="text">
-               <string>nom</string>
-              </property>
-              <property name="scaledContents">
-               <bool>true</bool>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-              <property name="wordWrap">
-               <bool>true</bool>
-              </property>
-             </widget>
-            </item>
-            <item>
-             <widget class="QGraphicsView" name="vuePlateau">
-              <property name="minimumSize">
-               <size>
-                <width>0</width>
-                <height>0</height>
-               </size>
-              </property>
-              <property name="acceptDrops">
-               <bool>true</bool>
-              </property>
-              <property name="verticalScrollBarPolicy">
-               <enum>Qt::ScrollBarAsNeeded</enum>
-              </property>
-              <property name="horizontalScrollBarPolicy">
-               <enum>Qt::ScrollBarAsNeeded</enum>
-              </property>
-              <property name="renderHints">
-               <set>QPainter::Antialiasing|QPainter::HighQualityAntialiasing|QPainter::TextAntialiasing</set>
-              </property>
-              <property name="dragMode">
-               <enum>QGraphicsView::NoDrag</enum>
-              </property>
-              <property name="transformationAnchor">
-               <enum>QGraphicsView::NoAnchor</enum>
-              </property>
-              <property name="resizeAnchor">
-               <enum>QGraphicsView::NoAnchor</enum>
-              </property>
-              <property name="viewportUpdateMode">
-               <enum>QGraphicsView::MinimalViewportUpdate</enum>
-              </property>
-             </widget>
-            </item>
-            <item>
-             <widget class="QFrame" name="barreBasCombat">
-              <property name="frameShape">
-               <enum>QFrame::StyledPanel</enum>
-              </property>
-              <property name="frameShadow">
-               <enum>QFrame::Raised</enum>
-              </property>
-              <layout class="QHBoxLayout" name="horizontalLayout_2">
-               <item>
-                <widget class="QToolButton" name="combatDeplacement">
-                 <property name="minimumSize">
-                  <size>
-                   <width>23</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="maximumSize">
-                  <size>
-                   <width>46</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="text">
-                  <string/>
-                 </property>
-                 <property name="icon">
-                  <iconset>
-                   <normaloff>img/btnZonePlacement.png</normaloff>img/btnZonePlacement.png</iconset>
-                 </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QToolButton" name="combatAttaqueCaC">
-                 <property name="minimumSize">
-                  <size>
-                   <width>23</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="maximumSize">
-                  <size>
-                   <width>46</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="text">
-                  <string>...</string>
-                 </property>
-                 <property name="icon">
-                  <iconset>
-                   <normaloff>img/curseurEpee.png</normaloff>img/curseurEpee.png</iconset>
-                 </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QToolButton" name="combatAttaqueDist">
-                 <property name="minimumSize">
-                  <size>
-                   <width>23</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="maximumSize">
-                  <size>
-                   <width>46</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="text">
-                  <string>...</string>
-                 </property>
-                 <property name="icon">
-                  <iconset>
-                   <normaloff>img/arc.png</normaloff>img/arc.png</iconset>
-                 </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QToolButton" name="combatAttaqueZone">
-                 <property name="minimumSize">
-                  <size>
-                   <width>23</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="maximumSize">
-                  <size>
-                   <width>46</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="text">
-                  <string>...</string>
-                 </property>
-                 <property name="icon">
-                  <iconset>
-                   <normaloff>img/bombe.png</normaloff>img/bombe.png</iconset>
-                 </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QToolButton" name="combatVol">
-                 <property name="minimumSize">
-                  <size>
-                   <width>23</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="maximumSize">
-                  <size>
-                   <width>46</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="text">
-                  <string>...</string>
-                 </property>
-                 <property name="icon">
-                  <iconset>
-                   <normaloff>img/etatVol.png</normaloff>img/etatVol.png</iconset>
-                 </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QSpinBox" name="combatVol_altitude">
-                 <property name="minimumSize">
-                  <size>
-                   <width>40</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="maximumSize">
-                  <size>
-                   <width>60</width>
-                   <height>16777215</height>
-                  </size>
-                 </property>
-                 <property name="font">
-                  <font>
-                   <pointsize>12</pointsize>
-                   <weight>75</weight>
-                   <bold>true</bold>
-                  </font>
-                 </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QToolButton" name="combatZone_ligne">
-                 <property name="minimumSize">
-                  <size>
-                   <width>23</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="maximumSize">
-                  <size>
-                   <width>46</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="text">
-                  <string/>
-                 </property>
-                 <property name="icon">
-                  <iconset>
-                   <normaloff>img/formeLigne.png</normaloff>img/formeLigne.png</iconset>
-                 </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QToolButton" name="combatZone_disque">
-                 <property name="minimumSize">
-                  <size>
-                   <width>23</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="maximumSize">
-                  <size>
-                   <width>46</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="text">
-                  <string/>
-                 </property>
-                 <property name="icon">
-                  <iconset>
-                   <normaloff>img/formeEllipsePlein.png</normaloff>img/formeEllipsePlein.png</iconset>
-                 </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QSpinBox" name="combatZone_disqueRayon">
-                 <property name="minimumSize">
-                  <size>
-                   <width>40</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="font">
-                  <font>
-                   <pointsize>12</pointsize>
-                   <weight>75</weight>
-                   <italic>false</italic>
-                   <bold>true</bold>
-                  </font>
-                 </property>
-                 <property name="minimum">
-                  <number>1</number>
-                 </property>
-                 <property name="maximum">
-                  <number>30</number>
-                 </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QToolButton" name="combatZone_cone">
-                 <property name="minimumSize">
-                  <size>
-                   <width>23</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="maximumSize">
-                  <size>
-                   <width>46</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="text">
-                  <string/>
-                 </property>
-                 <property name="icon">
-                  <iconset>
-                   <normaloff>img/cone.png</normaloff>img/cone.png</iconset>
-                 </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QToolButton" name="combatRetour">
-                 <property name="minimumSize">
-                  <size>
-                   <width>23</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="maximumSize">
-                  <size>
-                   <width>46</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="text">
-                  <string/>
-                 </property>
-                 <property name="icon">
-                  <iconset>
-                   <normaloff>img/retour.png</normaloff>img/retour.png</iconset>
-                 </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QLabel" name="combatPionSelectionne_img">
-                 <property name="text">
-                  <string>logo</string>
-                 </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QLabel" name="combatPionSelectionne">
-                 <property name="text">
-                  <string>Pas de pion selectionné</string>
-                 </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QPushButton" name="combatPasserTour">
-                 <property name="minimumSize">
-                  <size>
-                   <width>0</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="maximumSize">
-                  <size>
-                   <width>16777215</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="text">
-                  <string>Finir le tour</string>
-                 </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QToolButton" name="combatInventaire">
-                 <property name="minimumSize">
-                  <size>
-                   <width>23</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="maximumSize">
-                  <size>
-                   <width>46</width>
-                   <height>44</height>
-                  </size>
-                 </property>
-                 <property name="text">
-                  <string>...</string>
-                 </property>
-                 <property name="icon">
-                  <iconset>
-                   <normaloff>img/sac.png</normaloff>img/sac.png</iconset>
-                 </property>
-                </widget>
-               </item>
-              </layout>
-             </widget>
-            </item>
-           </layout>
-          </item>
-          <item>
-           <layout class="QVBoxLayout" name="panneauOutilsPlateau" stretch="0,0,0">
-            <property name="spacing">
-             <number>0</number>
-            </property>
-            <item>
-             <layout class="QHBoxLayout" name="layoutBoutonsPlateau">
-              <property name="spacing">
-               <number>1</number>
-              </property>
-              <item>
-               <widget class="QPushButton" name="modeCombatPlateau">
-                <property name="minimumSize">
-                 <size>
-                  <width>34</width>
-                  <height>24</height>
-                 </size>
-                </property>
-                <property name="maximumSize">
-                 <size>
-                  <width>34</width>
-                  <height>24</height>
-                 </size>
-                </property>
-                <property name="toolTip">
-                 <string>Passer en mode Combat</string>
-                </property>
-                <property name="text">
-                 <string/>
-                </property>
-                <property name="icon">
-                 <iconset>
-                  <normaloff>img/btn_ModeCombat.png</normaloff>img/btn_ModeCombat.png</iconset>
-                </property>
-               </widget>
-              </item>
-              <item>
-               <widget class="QPushButton" name="modeCreationPlateau">
-                <property name="minimumSize">
-                 <size>
-                  <width>34</width>
-                  <height>24</height>
-                 </size>
-                </property>
-                <property name="maximumSize">
-                 <size>
-                  <width>34</width>
-                  <height>24</height>
-                 </size>
-                </property>
-                <property name="toolTip">
-                 <string>Passer en mode Création</string>
-                </property>
-                <property name="text">
-                 <string/>
-                </property>
-                <property name="icon">
-                 <iconset>
-                  <normaloff>img/btnCreation.png</normaloff>img/btnCreation.png</iconset>
-                </property>
-               </widget>
-              </item>
-              <item>
-               <widget class="QPushButton" name="sauverPlateau">
-                <property name="minimumSize">
-                 <size>
-                  <width>34</width>
-                  <height>24</height>
-                 </size>
-                </property>
-                <property name="maximumSize">
-                 <size>
-                  <width>34</width>
-                  <height>24</height>
-                 </size>
-                </property>
-                <property name="toolTip">
-                 <string>Enregistrer le plateau</string>
-                </property>
-                <property name="text">
-                 <string/>
-                </property>
-                <property name="icon">
-                 <iconset>
-                  <normaloff>img/btnEnregistrer.png</normaloff>img/btnEnregistrer.png</iconset>
-                </property>
-               </widget>
-              </item>
-              <item>
-               <widget class="QPushButton" name="fermerPlateau">
-                <property name="minimumSize">
-                 <size>
-                  <width>34</width>
-                  <height>24</height>
-                 </size>
-                </property>
-                <property name="maximumSize">
-                 <size>
-                  <width>34</width>
-                  <height>24</height>
-                 </size>
-                </property>
-                <property name="toolTip">
-                 <string>Fermer le plateau</string>
-                </property>
-                <property name="text">
-                 <string/>
-                </property>
-                <property name="icon">
-                 <iconset>
-                  <normaloff>img/btnFermer.png</normaloff>img/btnFermer.png</iconset>
-                </property>
-               </widget>
-              </item>
-             </layout>
-            </item>
-            <item>
-             <layout class="QHBoxLayout" name="layoutPanneauPlateau" stretch="0,1">
-              <property name="spacing">
-               <number>0</number>
-              </property>
-              <item>
-               <widget class="QToolBox" name="outilsEditionPlateau">
-                <property name="minimumSize">
-                 <size>
-                  <width>120</width>
-                  <height>0</height>
-                 </size>
-                </property>
-                <property name="maximumSize">
-                 <size>
-                  <width>120</width>
-                  <height>16777215</height>
-                 </size>
-                </property>
-                <property name="font">
-                 <font>
-                  <weight>50</weight>
-                  <italic>false</italic>
-                  <bold>false</bold>
-                  <underline>false</underline>
-                 </font>
-                </property>
-                <property name="autoFillBackground">
-                 <bool>true</bool>
-                </property>
-                <property name="frameShape">
-                 <enum>QFrame::StyledPanel</enum>
-                </property>
-                <property name="frameShadow">
-                 <enum>QFrame::Sunken</enum>
-                </property>
-                <property name="lineWidth">
-                 <number>1</number>
-                </property>
-                <property name="midLineWidth">
-                 <number>0</number>
-                </property>
-                <property name="currentIndex">
-                 <number>0</number>
-                </property>
-                <property name="tabSpacing">
-                 <number>2</number>
-                </property>
-                <widget class="QWidget" name="editPlateau_Terrain">
-                 <property name="geometry">
-                  <rect>
-                   <x>0</x>
-                   <y>0</y>
-                   <width>118</width>
-                   <height>491</height>
-                  </rect>
-                 </property>
-                 <attribute name="label">
-                  <string>Terrains</string>
-                 </attribute>
-                 <widget class="QPushButton" name="terrainCouleur">
-                  <property name="geometry">
-                   <rect>
-                    <x>80</x>
-                    <y>190</y>
-                    <width>31</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="contextMenuPolicy">
-                   <enum>Qt::DefaultContextMenu</enum>
-                  </property>
-                  <property name="toolTip">
-                   <string>Autres couleurs</string>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/btnCouleurs.png</normaloff>img/btnCouleurs.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QTableWidget" name="listTerrains">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>260</y>
-                    <width>101</width>
-                    <height>151</height>
-                   </rect>
-                  </property>
-                  <property name="minimumSize">
-                   <size>
-                    <width>81</width>
-                    <height>0</height>
-                   </size>
-                  </property>
-                  <property name="horizontalScrollBarPolicy">
-                   <enum>Qt::ScrollBarAlwaysOff</enum>
-                  </property>
-                  <property name="editTriggers">
-                   <set>QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked</set>
-                  </property>
-                  <property name="iconSize">
-                   <size>
-                    <width>2</width>
-                    <height>2</height>
-                   </size>
-                  </property>
-                  <property name="textElideMode">
-                   <enum>Qt::ElideMiddle</enum>
-                  </property>
-                  <property name="columnCount">
-                   <number>2</number>
-                  </property>
-                  <attribute name="horizontalHeaderVisible">
-                   <bool>false</bool>
-                  </attribute>
-                  <attribute name="verticalHeaderVisible">
-                   <bool>false</bool>
-                  </attribute>
-                  <column>
-                   <property name="text">
-                    <string>code</string>
-                   </property>
-                  </column>
-                  <column>
-                   <property name="text">
-                    <string>Terrain</string>
-                   </property>
-                   <property name="font">
-                    <font>
-                     <pointsize>9</pointsize>
-                    </font>
-                   </property>
-                  </column>
-                 </widget>
-                 <widget class="QPushButton" name="terrainNouveau">
-                  <property name="geometry">
-                   <rect>
-                    <x>90</x>
-                    <y>220</y>
-                    <width>21</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/plus.png</normaloff>img/plus.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QPushButton" name="terrainEdit">
-                  <property name="geometry">
-                   <rect>
-                    <x>70</x>
-                    <y>220</y>
-                    <width>21</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/editer.png</normaloff>img/editer.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="effFeu">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>438</y>
-                    <width>21</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Feu</string>
-                  </property>
-                  <property name="whatsThis">
-                   <string/>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/effFeu.jpg</normaloff>img/effFeu.jpg</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="effEau">
-                  <property name="geometry">
-                   <rect>
-                    <x>30</x>
-                    <y>438</y>
-                    <width>21</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Eau</string>
-                  </property>
-                  <property name="whatsThis">
-                   <string/>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/etatEau.png</normaloff>img/etatEau.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="effGlace">
-                  <property name="geometry">
-                   <rect>
-                    <x>50</x>
-                    <y>438</y>
-                    <width>21</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Glace</string>
-                  </property>
-                  <property name="whatsThis">
-                   <string/>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/effGlace.jpg</normaloff>img/effGlace.jpg</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="effPoison">
-                  <property name="geometry">
-                   <rect>
-                    <x>70</x>
-                    <y>438</y>
-                    <width>21</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Poison</string>
-                  </property>
-                  <property name="whatsThis">
-                   <string/>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/effPoison.png</normaloff>img/effPoison.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="effEffacer">
-                  <property name="geometry">
-                   <rect>
-                    <x>90</x>
-                    <y>438</y>
-                    <width>21</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Effacer</string>
-                  </property>
-                  <property name="whatsThis">
-                   <string/>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/gomme.png</normaloff>img/gomme.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QComboBox" name="listeCategoriesTerrains">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>241</y>
-                    <width>101</width>
-                    <height>20</height>
-                   </rect>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="formeLigne">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>40</y>
-                    <width>31</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Ligne</string>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/formeLigne.png</normaloff>img/formeLigne.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="formeRectVide">
-                  <property name="geometry">
-                   <rect>
-                    <x>40</x>
-                    <y>80</y>
-                    <width>31</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Rectangle (vide)</string>
-                  </property>
-                  <property name="statusTip">
-                   <string/>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/formeRectVide.png</normaloff>img/formeRectVide.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="formeRectPlein">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>80</y>
-                    <width>31</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Rectangle (plein)</string>
-                  </property>
-                  <property name="statusTip">
-                   <string/>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/formeRectPlein.png</normaloff>img/formeRectPlein.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="formeEllipseVide">
-                  <property name="geometry">
-                   <rect>
-                    <x>40</x>
-                    <y>60</y>
-                    <width>31</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Ellipse (vide)</string>
-                  </property>
-                  <property name="statusTip">
-                   <string/>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/formeEllipseVide.png</normaloff>img/formeEllipseVide.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="formeEllipsePlein">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>60</y>
-                    <width>31</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Ellipse (pleine)</string>
-                  </property>
-                  <property name="statusTip">
-                   <string/>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/formeEllipsePlein.png</normaloff>img/formeEllipsePlein.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="formeLigneOrientee">
-                  <property name="geometry">
-                   <rect>
-                    <x>40</x>
-                    <y>40</y>
-                    <width>31</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Frontière</string>
-                  </property>
-                  <property name="statusTip">
-                   <string/>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/formeLigneOrientee.png</normaloff>img/formeLigneOrientee.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QLabel" name="valeurEpaisseurPinceau">
-                  <property name="geometry">
-                   <rect>
-                    <x>80</x>
-                    <y>20</y>
-                    <width>16</width>
-                    <height>19</height>
-                   </rect>
-                  </property>
-                  <property name="minimumSize">
-                   <size>
-                    <width>16</width>
-                    <height>19</height>
-                   </size>
-                  </property>
-                  <property name="maximumSize">
-                   <size>
-                    <width>16</width>
-                    <height>19</height>
-                   </size>
-                  </property>
-                  <property name="font">
-                   <font>
-                    <pointsize>9</pointsize>
-                    <weight>75</weight>
-                    <bold>true</bold>
-                   </font>
-                  </property>
-                  <property name="text">
-                   <string>1</string>
-                  </property>
-                  <property name="alignment">
-                   <set>Qt::AlignCenter</set>
-                  </property>
-                 </widget>
-                 <widget class="QSlider" name="epaisseurPinceau">
-                  <property name="geometry">
-                   <rect>
-                    <x>90</x>
-                    <y>20</y>
-                    <width>20</width>
-                    <height>81</height>
-                   </rect>
-                  </property>
-                  <property name="minimum">
-                   <number>1</number>
-                  </property>
-                  <property name="maximum">
-                   <number>5</number>
-                  </property>
-                  <property name="value">
-                   <number>1</number>
-                  </property>
-                  <property name="orientation">
-                   <enum>Qt::Vertical</enum>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="formeSimple">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>20</y>
-                    <width>31</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Ligne</string>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/curseurPinceau.png</normaloff>img/curseurPinceau.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QDoubleSpinBox" name="altitudeCase">
-                  <property name="geometry">
-                   <rect>
-                    <x>60</x>
-                    <y>461</y>
-                    <width>51</width>
-                    <height>20</height>
-                   </rect>
-                  </property>
-                  <property name="decimals">
-                   <number>0</number>
-                  </property>
-                  <property name="minimum">
-                   <double>-200.000000000000000</double>
-                  </property>
-                  <property name="maximum">
-                   <double>200.000000000000000</double>
-                  </property>
-                  <property name="value">
-                   <double>0.000000000000000</double>
-                  </property>
-                 </widget>
-                 <widget class="QLabel" name="label_9">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>460</y>
-                    <width>51</width>
-                    <height>20</height>
-                   </rect>
-                  </property>
-                  <property name="font">
-                   <font>
-                    <italic>true</italic>
-                    <underline>false</underline>
-                   </font>
-                  </property>
-                  <property name="text">
-                   <string>Altitude :</string>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCouleurPerso1">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>130</y>
-                    <width>16</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCouleurPerso2">
-                  <property name="geometry">
-                   <rect>
-                    <x>30</x>
-                    <y>130</y>
-                    <width>16</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCouleurPerso3">
-                  <property name="geometry">
-                   <rect>
-                    <x>50</x>
-                    <y>130</y>
-                    <width>16</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCouleurPerso4">
-                  <property name="geometry">
-                   <rect>
-                    <x>70</x>
-                    <y>130</y>
-                    <width>16</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCouleurPerso5">
-                  <property name="geometry">
-                   <rect>
-                    <x>90</x>
-                    <y>130</y>
-                    <width>16</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCouleurPerso6">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>150</y>
-                    <width>16</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCouleurPerso7">
-                  <property name="geometry">
-                   <rect>
-                    <x>30</x>
-                    <y>150</y>
-                    <width>16</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCouleurPerso8">
-                  <property name="geometry">
-                   <rect>
-                    <x>50</x>
-                    <y>150</y>
-                    <width>16</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCouleurPerso9">
-                  <property name="geometry">
-                   <rect>
-                    <x>70</x>
-                    <y>150</y>
-                    <width>16</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCouleurPerso10">
-                  <property name="geometry">
-                   <rect>
-                    <x>90</x>
-                    <y>150</y>
-                    <width>16</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCouleurPerso11">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>170</y>
-                    <width>16</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCouleurPerso12">
-                  <property name="geometry">
-                   <rect>
-                    <x>30</x>
-                    <y>170</y>
-                    <width>16</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCouleurPerso13">
-                  <property name="geometry">
-                   <rect>
-                    <x>50</x>
-                    <y>170</y>
-                    <width>16</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCouleurPerso14">
-                  <property name="geometry">
-                   <rect>
-                    <x>70</x>
-                    <y>170</y>
-                    <width>16</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCouleurPerso15">
-                  <property name="geometry">
-                   <rect>
-                    <x>90</x>
-                    <y>170</y>
-                    <width>16</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCouleurPerso16">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>190</y>
-                    <width>16</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="terrainCopie">
-                  <property name="geometry">
-                   <rect>
-                    <x>40</x>
-                    <y>190</y>
-                    <width>31</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Ligne</string>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/curseurSeringue.png</normaloff>img/curseurSeringue.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QLabel" name="label_7">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>0</y>
-                    <width>91</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="font">
-                   <font>
-                    <italic>true</italic>
-                   </font>
-                  </property>
-                  <property name="text">
-                   <string>Forme du pinceau</string>
-                  </property>
-                 </widget>
-                 <widget class="QLabel" name="label_8">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>110</y>
-                    <width>81</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="font">
-                   <font>
-                    <italic>true</italic>
-                   </font>
-                  </property>
-                  <property name="text">
-                   <string>Couleur simple</string>
-                  </property>
-                 </widget>
-                 <widget class="QLabel" name="label_10">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>220</y>
-                    <width>61</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="font">
-                   <font>
-                    <italic>true</italic>
-                   </font>
-                  </property>
-                  <property name="text">
-                   <string>Terrains</string>
-                  </property>
-                 </widget>
-                 <widget class="QLabel" name="label_11">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>420</y>
-                    <width>91</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="font">
-                   <font>
-                    <italic>true</italic>
-                   </font>
-                  </property>
-                  <property name="text">
-                   <string>Effets spéciaux</string>
-                  </property>
-                 </widget>
-                </widget>
-                <widget class="QWidget" name="editPlateau_Decors">
-                 <property name="geometry">
-                  <rect>
-                   <x>0</x>
-                   <y>0</y>
-                   <width>98</width>
-                   <height>28</height>
-                  </rect>
-                 </property>
-                 <attribute name="label">
-                  <string>Décors</string>
-                 </attribute>
-                 <widget class="QPushButton" name="decorEdit">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>410</y>
-                    <width>51</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string>Editer</string>
-                  </property>
-                 </widget>
-                 <widget class="QTableWidget" name="listDecors">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>30</y>
-                    <width>101</width>
-                    <height>381</height>
-                   </rect>
-                  </property>
-                  <property name="minimumSize">
-                   <size>
-                    <width>81</width>
-                    <height>0</height>
-                   </size>
-                  </property>
-                  <property name="editTriggers">
-                   <set>QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked</set>
-                  </property>
-                  <property name="iconSize">
-                   <size>
-                    <width>2</width>
-                    <height>2</height>
-                   </size>
-                  </property>
-                  <property name="columnCount">
-                   <number>2</number>
-                  </property>
-                  <attribute name="horizontalHeaderVisible">
-                   <bool>false</bool>
-                  </attribute>
-                  <attribute name="verticalHeaderVisible">
-                   <bool>false</bool>
-                  </attribute>
-                  <column>
-                   <property name="text">
-                    <string>code</string>
-                   </property>
-                  </column>
-                  <column>
-                   <property name="text">
-                    <string>Decor</string>
-                   </property>
-                   <property name="font">
-                    <font>
-                     <pointsize>9</pointsize>
-                    </font>
-                   </property>
-                  </column>
-                 </widget>
-                 <widget class="QPushButton" name="decorNouveau">
-                  <property name="geometry">
-                   <rect>
-                    <x>60</x>
-                    <y>410</y>
-                    <width>51</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string>Nouveau</string>
-                  </property>
-                 </widget>
-                 <widget class="QComboBox" name="listeCategoriesDecors">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>10</y>
-                    <width>101</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="decorSupprimer">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>440</y>
-                    <width>31</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/gomme.png</normaloff>img/gomme.png</iconset>
-                  </property>
-                 </widget>
-                </widget>
-                <widget class="QWidget" name="editPlateau_Pions">
-                 <property name="geometry">
-                  <rect>
-                   <x>0</x>
-                   <y>0</y>
-                   <width>98</width>
-                   <height>28</height>
-                  </rect>
-                 </property>
-                 <attribute name="label">
-                  <string>Pions</string>
-                 </attribute>
-                 <widget class="QPushButton" name="pionCouleur">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>20</y>
-                    <width>31</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="contextMenuPolicy">
-                   <enum>Qt::DefaultContextMenu</enum>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/btnCouleurs.png</normaloff>img/btnCouleurs.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QPushButton" name="pionSimpleCreer">
-                  <property name="geometry">
-                   <rect>
-                    <x>60</x>
-                    <y>40</y>
-                    <width>51</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string>Créer</string>
-                  </property>
-                 </widget>
-                 <widget class="QTableWidget" name="listCreatures">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>90</y>
-                    <width>101</width>
-                    <height>351</height>
-                   </rect>
-                  </property>
-                  <property name="minimumSize">
-                   <size>
-                    <width>81</width>
-                    <height>0</height>
-                   </size>
-                  </property>
-                  <property name="editTriggers">
-                   <set>QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked</set>
-                  </property>
-                  <property name="iconSize">
-                   <size>
-                    <width>2</width>
-                    <height>2</height>
-                   </size>
-                  </property>
-                  <property name="columnCount">
-                   <number>2</number>
-                  </property>
-                  <attribute name="horizontalHeaderVisible">
-                   <bool>false</bool>
-                  </attribute>
-                  <attribute name="verticalHeaderVisible">
-                   <bool>false</bool>
-                  </attribute>
-                  <column>
-                   <property name="text">
-                    <string>code</string>
-                   </property>
-                  </column>
-                  <column>
-                   <property name="text">
-                    <string>Creature</string>
-                   </property>
-                   <property name="font">
-                    <font>
-                     <pointsize>9</pointsize>
-                    </font>
-                   </property>
-                  </column>
-                 </widget>
-                 <widget class="QPushButton" name="creatureEdit">
-                  <property name="geometry">
-                   <rect>
-                    <x>70</x>
-                    <y>70</y>
-                    <width>21</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/editer.png</normaloff>img/editer.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QPushButton" name="creatureNouveau">
-                  <property name="geometry">
-                   <rect>
-                    <x>90</x>
-                    <y>70</y>
-                    <width>21</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string/>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/plus.png</normaloff>img/plus.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QLabel" name="label_4">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>0</y>
-                    <width>61</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="font">
-                   <font>
-                    <weight>50</weight>
-                    <italic>true</italic>
-                    <bold>false</bold>
-                    <underline>false</underline>
-                   </font>
-                  </property>
-                  <property name="text">
-                   <string>Pion simple </string>
-                  </property>
-                 </widget>
-                 <widget class="QLineEdit" name="pionSimple_nom">
-                  <property name="geometry">
-                   <rect>
-                    <x>40</x>
-                    <y>20</y>
-                    <width>71</width>
-                    <height>20</height>
-                   </rect>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="pionSupprimer">
-                  <property name="geometry">
-                   <rect>
-                    <x>70</x>
-                    <y>450</y>
-                    <width>31</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/gomme.png</normaloff>img/gomme.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QLabel" name="label_12">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>70</y>
-                    <width>61</width>
-                    <height>16</height>
-                   </rect>
-                  </property>
-                  <property name="font">
-                   <font>
-                    <weight>50</weight>
-                    <italic>true</italic>
-                    <bold>false</bold>
-                    <underline>false</underline>
-                   </font>
-                  </property>
-                  <property name="text">
-                   <string>Créatures</string>
-                  </property>
-                 </widget>
-                 <widget class="QLabel" name="label_13">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>440</y>
-                    <width>61</width>
-                    <height>41</height>
-                   </rect>
-                  </property>
-                  <property name="font">
-                   <font>
-                    <weight>50</weight>
-                    <italic>true</italic>
-                    <bold>false</bold>
-                    <underline>false</underline>
-                   </font>
-                  </property>
-                  <property name="text">
-                   <string>Supprimer 
- pions :</string>
-                  </property>
-                 </widget>
-                </widget>
-                <widget class="QWidget" name="editPlateau_parametres">
-                 <property name="geometry">
-                  <rect>
-                   <x>0</x>
-                   <y>0</y>
-                   <width>98</width>
-                   <height>28</height>
-                  </rect>
-                 </property>
-                 <attribute name="label">
-                  <string>Autre</string>
-                 </attribute>
-                 <widget class="QToolButton" name="definirEntree">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>100</y>
-                    <width>41</width>
-                    <height>31</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Marquer l'entrée</string>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/btnEntree.png</normaloff>img/btnEntree.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="definirSortie">
-                  <property name="geometry">
-                   <rect>
-                    <x>70</x>
-                    <y>100</y>
-                    <width>41</width>
-                    <height>31</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Marquer la/les sortie(s)</string>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/btnSortie.png</normaloff>img/btnSortie.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="definirZonePlacement">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>140</y>
-                    <width>41</width>
-                    <height>31</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Définir la zone de placement des joueurs</string>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/btnZonePlacement.png</normaloff>img/btnZonePlacement.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QCommandLinkButton" name="publierPlateau">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>170</y>
-                    <width>101</width>
-                    <height>41</height>
-                   </rect>
-                  </property>
-                  <property name="toolTip">
-                   <string>Rendre le plateau publique</string>
-                  </property>
-                  <property name="text">
-                   <string>Publier</string>
-                  </property>
-                 </widget>
-                 <widget class="QTextEdit" name="notesMjPlateau">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>240</y>
-                    <width>101</width>
-                    <height>191</height>
-                   </rect>
-                  </property>
-                 </widget>
-                 <widget class="QLabel" name="label_5">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>220</y>
-                    <width>46</width>
-                    <height>13</height>
-                   </rect>
-                  </property>
-                  <property name="font">
-                   <font>
-                    <italic>true</italic>
-                   </font>
-                  </property>
-                  <property name="text">
-                   <string>Notes : </string>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="agrandirNotesMjPlateau">
-                  <property name="geometry">
-                   <rect>
-                    <x>90</x>
-                    <y>220</y>
-                    <width>25</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/agrandir.png</normaloff>img/agrandir.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QLabel" name="label_6">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>0</y>
-                    <width>61</width>
-                    <height>20</height>
-                   </rect>
-                  </property>
-                  <property name="font">
-                   <font>
-                    <italic>true</italic>
-                   </font>
-                  </property>
-                  <property name="text">
-                   <string>Caches</string>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="plateauCache1">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>20</y>
-                    <width>21</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string>1</string>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="plateauCache2">
-                  <property name="geometry">
-                   <rect>
-                    <x>30</x>
-                    <y>20</y>
-                    <width>21</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string>2</string>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="plateauCache3">
-                  <property name="geometry">
-                   <rect>
-                    <x>50</x>
-                    <y>20</y>
-                    <width>21</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string>3</string>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="plateauCache4">
-                  <property name="geometry">
-                   <rect>
-                    <x>70</x>
-                    <y>20</y>
-                    <width>21</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string>4</string>
-                  </property>
-                 </widget>
-                 <widget class="QToolButton" name="plateauCache5">
-                  <property name="geometry">
-                   <rect>
-                    <x>90</x>
-                    <y>20</y>
-                    <width>21</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string>5</string>
-                  </property>
-                 </widget>
-                 <widget class="QGroupBox" name="groupBox">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>40</y>
-                    <width>101</width>
-                    <height>51</height>
-                   </rect>
-                  </property>
-                  <property name="title">
-                   <string/>
-                  </property>
-                  <widget class="QCheckBox" name="cacheActif">
-                   <property name="geometry">
-                    <rect>
-                     <x>10</x>
-                     <y>0</y>
-                     <width>70</width>
-                     <height>17</height>
-                    </rect>
-                   </property>
-                   <property name="text">
-                    <string>Actif</string>
-                   </property>
-                  </widget>
-                  <widget class="QPushButton" name="cachePlacer">
-                   <property name="geometry">
-                    <rect>
-                     <x>10</x>
-                     <y>20</y>
-                     <width>81</width>
-                     <height>21</height>
-                    </rect>
-                   </property>
-                   <property name="text">
-                    <string>Placer</string>
-                   </property>
-                  </widget>
-                  <widget class="QToolButton" name="cacheVoir">
-                   <property name="geometry">
-                    <rect>
-                     <x>70</x>
-                     <y>0</y>
-                     <width>21</width>
-                     <height>19</height>
-                    </rect>
-                   </property>
-                   <property name="text">
-                    <string/>
-                   </property>
-                   <property name="icon">
-                    <iconset>
-                     <normaloff>img/oeil.png</normaloff>img/oeil.png</iconset>
-                   </property>
-                  </widget>
-                 </widget>
-                 <widget class="QPushButton" name="plateauRafraichir">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>440</y>
-                    <width>101</width>
-                    <height>23</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string>Rafraichir (debug)</string>
-                  </property>
-                 </widget>
-                </widget>
-               </widget>
-              </item>
-              <item>
-               <widget class="QToolBox" name="outilsCombatPlateau">
-                <property name="minimumSize">
-                 <size>
-                  <width>120</width>
-                  <height>0</height>
-                 </size>
-                </property>
-                <property name="maximumSize">
-                 <size>
-                  <width>120</width>
-                  <height>16777215</height>
-                 </size>
-                </property>
-                <property name="frameShape">
-                 <enum>QFrame::StyledPanel</enum>
-                </property>
-                <property name="frameShadow">
-                 <enum>QFrame::Sunken</enum>
-                </property>
-                <property name="currentIndex">
-                 <number>0</number>
-                </property>
-                <widget class="QWidget" name="page">
-                 <property name="geometry">
-                  <rect>
-                   <x>0</x>
-                   <y>0</y>
-                   <width>118</width>
-                   <height>529</height>
-                  </rect>
-                 </property>
-                 <attribute name="label">
-                  <string>Page 1</string>
-                 </attribute>
-                 <widget class="QTableWidget" name="listeAttributs">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>0</y>
-                    <width>101</width>
-                    <height>151</height>
-                   </rect>
-                  </property>
-                  <property name="palette">
-                   <palette>
-                    <active>
-                     <colorrole role="Base">
-                      <brush brushstyle="SolidPattern">
-                       <color alpha="150">
-                        <red>255</red>
-                        <green>255</green>
-                        <blue>255</blue>
-                       </color>
-                      </brush>
-                     </colorrole>
-                    </active>
-                    <inactive>
-                     <colorrole role="Base">
-                      <brush brushstyle="SolidPattern">
-                       <color alpha="150">
-                        <red>255</red>
-                        <green>255</green>
-                        <blue>255</blue>
-                       </color>
-                      </brush>
-                     </colorrole>
-                    </inactive>
-                    <disabled>
-                     <colorrole role="Base">
-                      <brush brushstyle="SolidPattern">
-                       <color alpha="255">
-                        <red>240</red>
-                        <green>240</green>
-                        <blue>240</blue>
-                       </color>
-                      </brush>
-                     </colorrole>
-                    </disabled>
-                   </palette>
-                  </property>
-                  <property name="frameShape">
-                   <enum>QFrame::WinPanel</enum>
-                  </property>
-                  <property name="horizontalScrollBarPolicy">
-                   <enum>Qt::ScrollBarAlwaysOff</enum>
-                  </property>
-                  <property name="editTriggers">
-                   <set>QAbstractItemView::AllEditTriggers</set>
-                  </property>
-                  <property name="alternatingRowColors">
-                   <bool>true</bool>
-                  </property>
-                  <property name="selectionMode">
-                   <enum>QAbstractItemView::NoSelection</enum>
-                  </property>
-                  <property name="showGrid">
-                   <bool>true</bool>
-                  </property>
-                  <attribute name="horizontalHeaderVisible">
-                   <bool>false</bool>
-                  </attribute>
-                  <attribute name="horizontalHeaderDefaultSectionSize">
-                   <number>50</number>
-                  </attribute>
-                  <attribute name="verticalHeaderVisible">
-                   <bool>false</bool>
-                  </attribute>
-                  <column>
-                   <property name="text">
-                    <string>Nouvelle colonne</string>
-                   </property>
-                  </column>
-                  <column>
-                   <property name="text">
-                    <string>Valeur</string>
-                   </property>
-                  </column>
-                 </widget>
-                 <widget class="QTextEdit" name="notesPion">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>420</y>
-                    <width>104</width>
-                    <height>51</height>
-                   </rect>
-                  </property>
-                  <property name="documentTitle">
-                   <string/>
-                  </property>
-                 </widget>
-                 <widget class="QGroupBox" name="panneauAttaqueEC">
-                  <property name="geometry">
-                   <rect>
-                    <x>2</x>
-                    <y>280</y>
-                    <width>115</width>
-                    <height>131</height>
-                   </rect>
-                  </property>
-                  <property name="title">
-                   <string/>
-                  </property>
-                  <widget class="QTextEdit" name="notesAttaqueEC">
-                   <property name="geometry">
-                    <rect>
-                     <x>10</x>
-                     <y>90</y>
-                     <width>100</width>
-                     <height>31</height>
-                    </rect>
-                   </property>
-                  </widget>
-                  <widget class="QTableWidget" name="listeAttributsAttaqueEC">
-                   <property name="geometry">
-                    <rect>
-                     <x>10</x>
-                     <y>10</y>
-                     <width>100</width>
-                     <height>81</height>
-                    </rect>
-                   </property>
-                   <property name="palette">
-                    <palette>
-                     <active>
-                      <colorrole role="Base">
-                       <brush brushstyle="SolidPattern">
-                        <color alpha="150">
-                         <red>255</red>
-                         <green>255</green>
-                         <blue>255</blue>
-                        </color>
-                       </brush>
-                      </colorrole>
-                     </active>
-                     <inactive>
-                      <colorrole role="Base">
-                       <brush brushstyle="SolidPattern">
-                        <color alpha="150">
-                         <red>255</red>
-                         <green>255</green>
-                         <blue>255</blue>
-                        </color>
-                       </brush>
-                      </colorrole>
-                     </inactive>
-                     <disabled>
-                      <colorrole role="Base">
-                       <brush brushstyle="SolidPattern">
-                        <color alpha="255">
-                         <red>240</red>
-                         <green>240</green>
-                         <blue>240</blue>
-                        </color>
-                       </brush>
-                      </colorrole>
-                     </disabled>
-                    </palette>
-                   </property>
-                   <property name="frameShape">
-                    <enum>QFrame::WinPanel</enum>
-                   </property>
-                   <property name="horizontalScrollBarPolicy">
-                    <enum>Qt::ScrollBarAlwaysOff</enum>
-                   </property>
-                   <property name="editTriggers">
-                    <set>QAbstractItemView::AllEditTriggers</set>
-                   </property>
-                   <property name="alternatingRowColors">
-                    <bool>true</bool>
-                   </property>
-                   <property name="selectionMode">
-                    <enum>QAbstractItemView::NoSelection</enum>
-                   </property>
-                   <property name="showGrid">
-                    <bool>true</bool>
-                   </property>
-                   <attribute name="horizontalHeaderVisible">
-                    <bool>false</bool>
-                   </attribute>
-                   <attribute name="horizontalHeaderDefaultSectionSize">
-                    <number>50</number>
-                   </attribute>
-                   <attribute name="verticalHeaderVisible">
-                    <bool>false</bool>
-                   </attribute>
-                   <column>
-                    <property name="text">
-                     <string>Nouvelle colonne</string>
-                    </property>
-                   </column>
-                   <column>
-                    <property name="text">
-                     <string>Valeur</string>
-                    </property>
-                   </column>
-                  </widget>
-                 </widget>
-                 <widget class="QPushButton" name="afficherGestionCombat">
-                  <property name="geometry">
-                   <rect>
-                    <x>9</x>
-                    <y>480</y>
-                    <width>105</width>
-                    <height>45</height>
-                   </rect>
-                  </property>
-                  <property name="minimumSize">
-                   <size>
-                    <width>80</width>
-                    <height>45</height>
-                   </size>
-                  </property>
-                  <property name="maximumSize">
-                   <size>
-                    <width>110</width>
-                    <height>45</height>
-                   </size>
-                  </property>
-                  <property name="font">
-                   <font>
-                    <weight>75</weight>
-                    <bold>true</bold>
-                   </font>
-                  </property>
-                  <property name="text">
-                   <string>Tableau 
-de bord</string>
-                  </property>
-                 </widget>
-                 <widget class="QTableWidget" name="listeAttaques">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>170</y>
-                    <width>101</width>
-                    <height>101</height>
-                   </rect>
-                  </property>
-                  <property name="palette">
-                   <palette>
-                    <active>
-                     <colorrole role="Base">
-                      <brush brushstyle="SolidPattern">
-                       <color alpha="255">
-                        <red>247</red>
-                        <green>247</green>
-                        <blue>247</blue>
-                       </color>
-                      </brush>
-                     </colorrole>
-                     <colorrole role="Highlight">
-                      <brush brushstyle="SolidPattern">
-                       <color alpha="150">
-                        <red>255</red>
-                        <green>170</green>
-                        <blue>0</blue>
-                       </color>
-                      </brush>
-                     </colorrole>
-                     <colorrole role="HighlightedText">
-                      <brush brushstyle="SolidPattern">
-                       <color alpha="255">
-                        <red>255</red>
-                        <green>255</green>
-                        <blue>255</blue>
-                       </color>
-                      </brush>
-                     </colorrole>
-                    </active>
-                    <inactive>
-                     <colorrole role="Base">
-                      <brush brushstyle="SolidPattern">
-                       <color alpha="255">
-                        <red>247</red>
-                        <green>247</green>
-                        <blue>247</blue>
-                       </color>
-                      </brush>
-                     </colorrole>
-                     <colorrole role="Highlight">
-                      <brush brushstyle="SolidPattern">
-                       <color alpha="150">
-                        <red>255</red>
-                        <green>170</green>
-                        <blue>0</blue>
-                       </color>
-                      </brush>
-                     </colorrole>
-                     <colorrole role="HighlightedText">
-                      <brush brushstyle="SolidPattern">
-                       <color alpha="255">
-                        <red>255</red>
-                        <green>255</green>
-                        <blue>255</blue>
-                       </color>
-                      </brush>
-                     </colorrole>
-                    </inactive>
-                    <disabled>
-                     <colorrole role="Base">
-                      <brush brushstyle="SolidPattern">
-                       <color alpha="255">
-                        <red>240</red>
-                        <green>240</green>
-                        <blue>240</blue>
-                       </color>
-                      </brush>
-                     </colorrole>
-                     <colorrole role="Highlight">
-                      <brush brushstyle="SolidPattern">
-                       <color alpha="255">
-                        <red>51</red>
-                        <green>153</green>
-                        <blue>255</blue>
-                       </color>
-                      </brush>
-                     </colorrole>
-                     <colorrole role="HighlightedText">
-                      <brush brushstyle="SolidPattern">
-                       <color alpha="255">
-                        <red>255</red>
-                        <green>255</green>
-                        <blue>255</blue>
-                       </color>
-                      </brush>
-                     </colorrole>
-                    </disabled>
-                   </palette>
-                  </property>
-                  <property name="frameShape">
-                   <enum>QFrame::Box</enum>
-                  </property>
-                  <property name="horizontalScrollBarPolicy">
-                   <enum>Qt::ScrollBarAlwaysOff</enum>
-                  </property>
-                  <property name="editTriggers">
-                   <set>QAbstractItemView::NoEditTriggers</set>
-                  </property>
-                  <property name="alternatingRowColors">
-                   <bool>true</bool>
-                  </property>
-                  <property name="selectionMode">
-                   <enum>QAbstractItemView::SingleSelection</enum>
-                  </property>
-                  <property name="selectionBehavior">
-                   <enum>QAbstractItemView::SelectRows</enum>
-                  </property>
-                  <property name="textElideMode">
-                   <enum>Qt::ElideMiddle</enum>
-                  </property>
-                  <property name="showGrid">
-                   <bool>false</bool>
-                  </property>
-                  <attribute name="horizontalHeaderVisible">
-                   <bool>false</bool>
-                  </attribute>
-                  <attribute name="horizontalHeaderDefaultSectionSize">
-                   <number>50</number>
-                  </attribute>
-                  <attribute name="verticalHeaderVisible">
-                   <bool>false</bool>
-                  </attribute>
-                  <column>
-                   <property name="text">
-                    <string>numAttaque</string>
-                   </property>
-                  </column>
-                  <column>
-                   <property name="text">
-                    <string>typeAttaque</string>
-                   </property>
-                  </column>
-                  <column>
-                   <property name="text">
-                    <string>nomAttaque</string>
-                   </property>
-                  </column>
-                 </widget>
-                 <widget class="QToolButton" name="editerAttaques">
-                  <property name="geometry">
-                   <rect>
-                    <x>90</x>
-                    <y>150</y>
-                    <width>21</width>
-                    <height>20</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string>...</string>
-                  </property>
-                  <property name="icon">
-                   <iconset>
-                    <normaloff>img/editer.png</normaloff>img/editer.png</iconset>
-                  </property>
-                 </widget>
-                 <widget class="QLabel" name="titreAttaques">
-                  <property name="geometry">
-                   <rect>
-                    <x>10</x>
-                    <y>150</y>
-                    <width>71</width>
-                    <height>21</height>
-                   </rect>
-                  </property>
-                  <property name="text">
-                   <string>Attaques : </string>
-                  </property>
-                 </widget>
-                </widget>
-                <widget class="QWidget" name="page_2">
-                 <property name="geometry">
-                  <rect>
-                   <x>0</x>
-                   <y>0</y>
-                   <width>98</width>
-                   <height>28</height>
-                  </rect>
-                 </property>
-                 <attribute name="label">
-                  <string>Page 2</string>
-                 </attribute>
-                </widget>
-               </widget>
-              </item>
-             </layout>
-            </item>
-            <item>
-             <layout class="QHBoxLayout" name="layoutAffichagePlateau" stretch="1,4">
-              <property name="spacing">
-               <number>2</number>
-              </property>
-              <item>
-               <widget class="QLabel" name="etiquetteModeAffichagePlateau">
-                <property name="maximumSize">
-                 <size>
-                  <width>50</width>
-                  <height>16777215</height>
-                 </size>
-                </property>
-                <property name="text">
-                 <string>Affichage:</string>
-                </property>
-               </widget>
-              </item>
-              <item>
-               <widget class="QComboBox" name="modeAffichagePlateau">
-                <property name="minimumSize">
-                 <size>
-                  <width>70</width>
-                  <height>20</height>
-                 </size>
-                </property>
-                <property name="maximumSize">
-                 <size>
-                  <width>70</width>
-                  <height>20</height>
-                 </size>
-                </property>
-                <item>
-                 <property name="text">
-                  <string>Normal</string>
-                 </property>
-                </item>
-                <item>
-                 <property name="text">
-                  <string>Altitude</string>
-                 </property>
-                </item>
-                <item>
-                 <property name="text">
-                  <string>Terrains</string>
-                 </property>
-                </item>
-                <item>
-                 <property name="text">
-                  <string>Tactique</string>
-                 </property>
-                </item>
-               </widget>
-              </item>
-             </layout>
-            </item>
-           </layout>
-          </item>
-         </layout>
-        </item>
-       </layout>
-       <zorder></zorder>
-      </widget>
-      <widget class="QWidget" name="Monde_tab">
-       <attribute name="title">
-        <string>Monde</string>
-       </attribute>
-       <widget class="QFrame" name="frame">
-        <property name="geometry">
-         <rect>
-          <x>0</x>
-          <y>0</y>
-          <width>71</width>
-          <height>531</height>
-         </rect>
-        </property>
-        <property name="palette">
-         <palette>
-          <active>
-           <colorrole role="Button">
-            <brush brushstyle="SolidPattern">
-             <color alpha="255">
-              <red>170</red>
-              <green>170</green>
-              <blue>255</blue>
-             </color>
-            </brush>
-           </colorrole>
-           <colorrole role="Base">
-            <brush brushstyle="SolidPattern">
-             <color alpha="255">
-              <red>170</red>
-              <green>0</green>
-              <blue>0</blue>
-             </color>
-            </brush>
-           </colorrole>
-          </active>
-          <inactive>
-           <colorrole role="Button">
-            <brush brushstyle="SolidPattern">
-             <color alpha="255">
-              <red>170</red>
-              <green>170</green>
-              <blue>255</blue>
-             </color>
-            </brush>
-           </colorrole>
-           <colorrole role="Base">
-            <brush brushstyle="SolidPattern">
-             <color alpha="255">
-              <red>170</red>
-              <green>0</green>
-              <blue>0</blue>
-             </color>
-            </brush>
-           </colorrole>
-          </inactive>
-          <disabled>
-           <colorrole role="Button">
-            <brush brushstyle="SolidPattern">
-             <color alpha="255">
-              <red>170</red>
-              <green>170</green>
-              <blue>255</blue>
-             </color>
-            </brush>
-           </colorrole>
-           <colorrole role="Base">
-            <brush brushstyle="SolidPattern">
-             <color alpha="255">
-              <red>240</red>
-              <green>240</green>
-              <blue>240</blue>
-             </color>
-            </brush>
-           </colorrole>
-          </disabled>
-         </palette>
-        </property>
-        <property name="frameShape">
-         <enum>QFrame::StyledPanel</enum>
-        </property>
-        <property name="frameShadow">
-         <enum>QFrame::Raised</enum>
-        </property>
-        <widget class="QPushButton" name="points">
-         <property name="geometry">
-          <rect>
-           <x>0</x>
-           <y>0</y>
-           <width>71</width>
-           <height>31</height>
-          </rect>
-         </property>
-         <property name="text">
-          <string>Points</string>
-         </property>
-        </widget>
-        <widget class="QPushButton" name="itineraire">
-         <property name="geometry">
-          <rect>
-           <x>0</x>
-           <y>30</y>
-           <width>71</width>
-           <height>31</height>
-          </rect>
-         </property>
-         <property name="text">
-          <string>Itinéraire</string>
-         </property>
-        </widget>
-        <widget class="QPushButton" name="texte_2">
-         <property name="geometry">
-          <rect>
-           <x>0</x>
-           <y>60</y>
-           <width>71</width>
-           <height>31</height>
-          </rect>
-         </property>
-         <property name="text">
-          <string>Texte</string>
-         </property>
-        </widget>
-        <widget class="QPushButton" name="dessin">
-         <property name="geometry">
-          <rect>
-           <x>0</x>
-           <y>90</y>
-           <width>71</width>
-           <height>31</height>
-          </rect>
-         </property>
-         <property name="text">
-          <string>Dessin</string>
-         </property>
-        </widget>
-        <widget class="QPushButton" name="supp">
-         <property name="geometry">
-          <rect>
-           <x>0</x>
-           <y>120</y>
-           <width>71</width>
-           <height>31</height>
-          </rect>
-         </property>
-         <property name="text">
-          <string>Supprimer</string>
-         </property>
-        </widget>
-       </widget>
-      </widget>
-      <widget class="QWidget" name="Groupe_tab">
-       <attribute name="title">
-        <string>Groupe</string>
-       </attribute>
-       <widget class="QListWidget" name="listePerso">
-        <property name="geometry">
-         <rect>
-          <x>10</x>
-          <y>10</y>
-          <width>961</width>
-          <height>91</height>
-         </rect>
-        </property>
-        <property name="palette">
-         <palette>
-          <active>
-           <colorrole role="Base">
-            <brush brushstyle="SolidPattern">
-             <color alpha="255">
-              <red>241</red>
-              <green>241</green>
-              <blue>241</blue>
-             </color>
-            </brush>
-           </colorrole>
-          </active>
-          <inactive>
-           <colorrole role="Base">
-            <brush brushstyle="SolidPattern">
-             <color alpha="255">
-              <red>241</red>
-              <green>241</green>
-              <blue>241</blue>
-             </color>
-            </brush>
-           </colorrole>
-          </inactive>
-          <disabled>
-           <colorrole role="Base">
-            <brush brushstyle="SolidPattern">
-             <color alpha="255">
-              <red>240</red>
-              <green>240</green>
-              <blue>240</blue>
-             </color>
-            </brush>
-           </colorrole>
-          </disabled>
-         </palette>
-        </property>
-        <property name="lineWidth">
-         <number>1</number>
-        </property>
-        <property name="verticalScrollBarPolicy">
-         <enum>Qt::ScrollBarAlwaysOff</enum>
-        </property>
-        <property name="editTriggers">
-         <set>QAbstractItemView::DoubleClicked</set>
-        </property>
-        <property name="flow">
-         <enum>QListView::LeftToRight</enum>
-        </property>
-        <property name="gridSize">
-         <size>
-          <width>0</width>
-          <height>0</height>
-         </size>
-        </property>
-        <property name="viewMode">
-         <enum>QListView::ListMode</enum>
-        </property>
-        <property name="modelColumn">
-         <number>0</number>
-        </property>
-        <property name="uniformItemSizes">
-         <bool>true</bool>
-        </property>
-        <item>
-         <property name="text">
-          <string>1</string>
-         </property>
-        </item>
-        <item>
-         <property name="text">
-          <string>2</string>
-         </property>
-        </item>
-       </widget>
-      </widget>
-     </widget>
-    </item>
-    <item>
-     <layout class="QVBoxLayout" name="layoutPanneauDroite" stretch="1,7,1,1,10,1,1">
-      <property name="sizeConstraint">
-       <enum>QLayout::SetFixedSize</enum>
-      </property>
-      <item>
-       <widget class="QLabel" name="label">
-        <property name="minimumSize">
-         <size>
-          <width>199</width>
-          <height>13</height>
-         </size>
-        </property>
-        <property name="maximumSize">
-         <size>
-          <width>259</width>
-          <height>16777215</height>
-         </size>
-        </property>
-        <property name="font">
-         <font>
-          <weight>75</weight>
-          <bold>true</bold>
-         </font>
-        </property>
-        <property name="text">
-         <string>Evenements</string>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <widget class="QListWidget" name="listEvenement">
-        <property name="sizePolicy">
-         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-          <horstretch>20</horstretch>
-          <verstretch>20</verstretch>
-         </sizepolicy>
-        </property>
-        <property name="minimumSize">
-         <size>
-          <width>199</width>
-          <height>73</height>
-         </size>
-        </property>
-        <property name="maximumSize">
-         <size>
-          <width>259</width>
-          <height>16777215</height>
-         </size>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <layout class="QHBoxLayout" name="layoutDes" stretch="1,1,3">
-        <property name="spacing">
-         <number>3</number>
-        </property>
-        <property name="sizeConstraint">
-         <enum>QLayout::SetDefaultConstraint</enum>
-        </property>
-        <property name="leftMargin">
-         <number>0</number>
-        </property>
-        <item>
-         <widget class="QPushButton" name="d20">
-          <property name="sizePolicy">
-           <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-           </sizepolicy>
-          </property>
-          <property name="minimumSize">
-           <size>
-            <width>53</width>
-            <height>23</height>
-           </size>
-          </property>
-          <property name="maximumSize">
-           <size>
-            <width>53</width>
-            <height>16777215</height>
-           </size>
-          </property>
-          <property name="text">
-           <string>D20</string>
-          </property>
-          <property name="autoDefault">
-           <bool>false</bool>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QPushButton" name="d100">
-          <property name="sizePolicy">
-           <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-           </sizepolicy>
-          </property>
-          <property name="minimumSize">
-           <size>
-            <width>52</width>
-            <height>23</height>
-           </size>
-          </property>
-          <property name="maximumSize">
-           <size>
-            <width>52</width>
-            <height>16777215</height>
-           </size>
-          </property>
-          <property name="text">
-           <string>D100</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QLineEdit" name="inJetDes">
-          <property name="minimumSize">
-           <size>
-            <width>86</width>
-            <height>20</height>
-           </size>
-          </property>
-          <property name="maximumSize">
-           <size>
-            <width>146</width>
-            <height>16777215</height>
-           </size>
-          </property>
-          <property name="whatsThis">
-           <string/>
-          </property>
-          <property name="inputMask">
-           <string/>
-          </property>
-          <property name="placeholderText">
-           <string>Autre lancer (ex: 1d4+6d6)</string>
-          </property>
-         </widget>
-        </item>
-       </layout>
-      </item>
-      <item>
-       <layout class="QHBoxLayout" name="layoutEnTeteChat" stretch="1,2">
-        <property name="spacing">
-         <number>6</number>
-        </property>
-        <property name="sizeConstraint">
-         <enum>QLayout::SetDefaultConstraint</enum>
-        </property>
-        <item>
-         <widget class="QLabel" name="label_3">
-          <property name="minimumSize">
-           <size>
-            <width>10</width>
-            <height>23</height>
-           </size>
-          </property>
-          <property name="maximumSize">
-           <size>
-            <width>161</width>
-            <height>16777215</height>
-           </size>
-          </property>
-          <property name="font">
-           <font>
-            <weight>75</weight>
-            <bold>true</bold>
-           </font>
-          </property>
-          <property name="text">
-           <string>Chat</string>
-          </property>
-         </widget>
-        </item>
-        <item>
-         <widget class="QPushButton" name="chatVoc">
-          <property name="sizePolicy">
-           <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-           </sizepolicy>
-          </property>
-          <property name="minimumSize">
-           <size>
-            <width>64</width>
-            <height>23</height>
-           </size>
-          </property>
-          <property name="maximumSize">
-           <size>
-            <width>90</width>
-            <height>16777215</height>
-           </size>
-          </property>
-          <property name="text">
-           <string>Chat vocal</string>
-          </property>
-         </widget>
-        </item>
-       </layout>
-      </item>
-      <item>
-       <widget class="QListWidget" name="listAffichage">
-        <property name="minimumSize">
-         <size>
-          <width>199</width>
-          <height>96</height>
-         </size>
-        </property>
-        <property name="maximumSize">
-         <size>
-          <width>259</width>
-          <height>16777215</height>
-         </size>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <widget class="QLineEdit" name="inChat">
-        <property name="minimumSize">
-         <size>
-          <width>199</width>
-          <height>20</height>
-         </size>
-        </property>
-        <property name="maximumSize">
-         <size>
-          <width>259</width>
-          <height>16777215</height>
-         </size>
-        </property>
-        <property name="placeholderText">
-         <string>Entrez votre message...</string>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <widget class="QTabWidget" name="tabStatutAppli">
-        <property name="minimumSize">
-         <size>
-          <width>201</width>
-          <height>151</height>
-         </size>
-        </property>
-        <property name="maximumSize">
-         <size>
-          <width>259</width>
-          <height>16777215</height>
-         </size>
-        </property>
-        <property name="currentIndex">
-         <number>0</number>
-        </property>
-        <widget class="QWidget" name="tabConnexion">
-         <attribute name="title">
-          <string>Connexion</string>
-         </attribute>
-         <layout class="QVBoxLayout" name="verticalLayout_2">
-          <item>
-           <widget class="QLabel" name="txtStatutCoPseudo">
-            <property name="minimumSize">
-             <size>
-              <width>179</width>
-              <height>13</height>
-             </size>
-            </property>
-            <property name="maximumSize">
-             <size>
-              <width>16777215</width>
-              <height>18</height>
-             </size>
-            </property>
-            <property name="text">
-             <string>Pseudo : </string>
-            </property>
-           </widget>
-          </item>
-          <item>
-           <widget class="QLabel" name="txtStatutCoServeur">
-            <property name="minimumSize">
-             <size>
-              <width>179</width>
-              <height>13</height>
-             </size>
-            </property>
-            <property name="maximumSize">
-             <size>
-              <width>16777215</width>
-              <height>18</height>
-             </size>
-            </property>
-            <property name="text">
-             <string>Serveur : Aucun serveur</string>
-            </property>
-           </widget>
-          </item>
-          <item>
-           <widget class="QLabel" name="txtStatutCoServeurVoc">
-            <property name="minimumSize">
-             <size>
-              <width>179</width>
-              <height>13</height>
-             </size>
-            </property>
-            <property name="maximumSize">
-             <size>
-              <width>16777215</width>
-              <height>17</height>
-             </size>
-            </property>
-            <property name="text">
-             <string>Serveur vocal : Aucun serveur vocal</string>
-            </property>
-           </widget>
-          </item>
-          <item>
-           <widget class="QLabel" name="txtStatutCoDebits">
-            <property name="minimumSize">
-             <size>
-              <width>179</width>
-              <height>0</height>
-             </size>
-            </property>
-            <property name="maximumSize">
-             <size>
-              <width>16777215</width>
-              <height>18</height>
-             </size>
-            </property>
-            <property name="text">
-             <string>Débits : E 0 ko/s  -  R 0 ko/s</string>
-            </property>
-           </widget>
-          </item>
-          <item>
-           <widget class="QPushButton" name="txtStatutCoEcranCo">
-            <property name="minimumSize">
-             <size>
-              <width>179</width>
-              <height>23</height>
-             </size>
-            </property>
-            <property name="maximumSize">
-             <size>
-              <width>345</width>
-              <height>23</height>
-             </size>
-            </property>
-            <property name="text">
-             <string>Ecran de connexion</string>
-            </property>
-           </widget>
-          </item>
-         </layout>
-        </widget>
-        <widget class="QWidget" name="tabJoueurs">
-         <attribute name="title">
-          <string>Joueurs</string>
-         </attribute>
-         <layout class="QVBoxLayout" name="verticalLayout">
-          <item>
-           <widget class="QListWidget" name="lstStatutJoueurs">
-            <property name="minimumSize">
-             <size>
-              <width>177</width>
-              <height>0</height>
-             </size>
-            </property>
-            <property name="font">
-             <font>
-              <family>Segoe UI Semibold</family>
-              <pointsize>10</pointsize>
-              <weight>50</weight>
-              <bold>false</bold>
-             </font>
-            </property>
-            <property name="frameShape">
-             <enum>QFrame::WinPanel</enum>
-            </property>
-           </widget>
-          </item>
-          <item>
-           <widget class="QLabel" name="label_2">
-            <property name="font">
-             <font>
-              <italic>true</italic>
-             </font>
-            </property>
-            <property name="text">
-             <string>Double-cliquer pour ouvrir un chat privé</string>
-            </property>
-            <property name="wordWrap">
-             <bool>false</bool>
-            </property>
-           </widget>
-          </item>
-         </layout>
-        </widget>
-        <widget class="QWidget" name="tabFichiers">
-         <attribute name="title">
-          <string>Fichiers</string>
-         </attribute>
-         <layout class="QGridLayout" name="gridLayout">
-          <item row="1" column="0">
-           <widget class="QPushButton" name="repReceptionFichiers">
-            <property name="minimumSize">
-             <size>
-              <width>85</width>
-              <height>23</height>
-             </size>
-            </property>
-            <property name="maximumSize">
-             <size>
-              <width>114</width>
-              <height>16777215</height>
-             </size>
-            </property>
-            <property name="text">
-             <string>Rep. recept.</string>
-            </property>
-           </widget>
-          </item>
-          <item row="1" column="1">
-           <widget class="QPushButton" name="envoiFichier">
-            <property name="minimumSize">
-             <size>
-              <width>86</width>
-              <height>23</height>
-             </size>
-            </property>
-            <property name="maximumSize">
-             <size>
-              <width>115</width>
-              <height>16777215</height>
-             </size>
-            </property>
-            <property name="text">
-             <string>Envoi fichier</string>
-            </property>
-           </widget>
-          </item>
-          <item row="0" column="0" colspan="2">
-           <widget class="QTreeWidget" name="listFichiers">
-            <property name="minimumSize">
-             <size>
-              <width>177</width>
-              <height>78</height>
-             </size>
-            </property>
-            <property name="maximumSize">
-             <size>
-              <width>235</width>
-              <height>16777215</height>
-             </size>
-            </property>
-            <property name="baseSize">
-             <size>
-              <width>0</width>
-              <height>0</height>
-             </size>
-            </property>
-            <property name="frameShape">
-             <enum>QFrame::WinPanel</enum>
-            </property>
-            <property name="indentation">
-             <number>2</number>
-            </property>
-            <property name="columnCount">
-             <number>3</number>
-            </property>
-            <attribute name="headerDefaultSectionSize">
-             <number>28</number>
-            </attribute>
-            <attribute name="headerMinimumSectionSize">
-             <number>27</number>
-            </attribute>
-            <column>
-             <property name="text">
-              <string>E/R</string>
-             </property>
-            </column>
-            <column>
-             <property name="text">
-              <string>%</string>
-             </property>
-            </column>
-            <column>
-             <property name="text">
-              <string>Fichier</string>
-             </property>
-            </column>
-           </widget>
-          </item>
-         </layout>
-        </widget>
-       </widget>
-      </item>
-     </layout>
-    </item>
-   </layout>
-  </widget>
-  <widget class="QMenuBar" name="menubar">
-   <property name="geometry">
-    <rect>
-     <x>0</x>
-     <y>0</y>
-     <width>1225</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <widget class="QMenu" name="menuFichier">
-    <property name="title">
-     <string>Fichier</string>
-    </property>
-    <addaction name="actionOuvrir"/>
-    <addaction name="actionEnregistrer"/>
-    <addaction name="separator"/>
-    <addaction name="actionQuitter"/>
-   </widget>
-   <widget class="QMenu" name="menuEditer">
-    <property name="title">
-     <string>Editer</string>
-    </property>
-    <addaction name="actionParam_tres"/>
-   </widget>
-   <widget class="QMenu" name="menuAide">
-    <property name="title">
-     <string>Aide</string>
-    </property>
-    <addaction name="actionA_propos_de_D_Monde"/>
-    <addaction name="actionLexique"/>
-   </widget>
-   <addaction name="menuFichier"/>
-   <addaction name="menuEditer"/>
-   <addaction name="menuAide"/>
-  </widget>
-  <widget class="QStatusBar" name="statusbar"/>
-  <action name="actionOuvrir">
-   <property name="text">
-    <string>Ouvrir</string>
-   </property>
-  </action>
-  <action name="actionEnregistrer">
-   <property name="text">
-    <string>Enregistrer</string>
-   </property>
-  </action>
-  <action name="actionQuitter">
-   <property name="text">
-    <string>Quitter</string>
-   </property>
-  </action>
-  <action name="actionA_propos_de_D_Monde">
-   <property name="text">
-    <string>A propos de DéMonde...</string>
-   </property>
-  </action>
-  <action name="actionParam_tres">
-   <property name="text">
-    <string>Paramètres</string>
-   </property>
-  </action>
-  <action name="actionLexique">
-   <property name="text">
-    <string>Lexique</string>
-   </property>
-  </action>
- </widget>
- <resources/>
- <connections/>
-</ui>

+ 678 - 0
lib/ui/panneauAttaques.ui

@@ -0,0 +1,678 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>att_frame</class>
+ <widget class="QFrame" name="att_frame">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>471</width>
+    <height>112</height>
+   </rect>
+  </property>
+  <property name="minimumSize">
+   <size>
+    <width>471</width>
+    <height>0</height>
+   </size>
+  </property>
+  <property name="maximumSize">
+   <size>
+    <width>471</width>
+    <height>1000</height>
+   </size>
+  </property>
+  <property name="windowTitle">
+   <string>Frame</string>
+  </property>
+  <property name="frameShape">
+   <enum>QFrame::StyledPanel</enum>
+  </property>
+  <property name="frameShadow">
+   <enum>QFrame::Raised</enum>
+  </property>
+  <widget class="DmEdcPanneauAttaque" name="att_panneau">
+   <property name="enabled">
+    <bool>true</bool>
+   </property>
+   <property name="geometry">
+    <rect>
+     <x>0</x>
+     <y>0</y>
+     <width>471</width>
+     <height>111</height>
+    </rect>
+   </property>
+   <property name="minimumSize">
+    <size>
+     <width>0</width>
+     <height>0</height>
+    </size>
+   </property>
+   <property name="frameShape">
+    <enum>QFrame::StyledPanel</enum>
+   </property>
+   <property name="frameShadow">
+    <enum>QFrame::Sunken</enum>
+   </property>
+   <widget class="DmLineEdit" name="att_nom">
+    <property name="geometry">
+     <rect>
+      <x>60</x>
+      <y>10</y>
+      <width>371</width>
+      <height>21</height>
+     </rect>
+    </property>
+    <property name="palette">
+     <palette>
+      <active>
+       <colorrole role="Base">
+        <brush brushstyle="SolidPattern">
+         <color alpha="255">
+          <red>248</red>
+          <green>248</green>
+          <blue>248</blue>
+         </color>
+        </brush>
+       </colorrole>
+      </active>
+      <inactive>
+       <colorrole role="Base">
+        <brush brushstyle="SolidPattern">
+         <color alpha="255">
+          <red>248</red>
+          <green>248</green>
+          <blue>248</blue>
+         </color>
+        </brush>
+       </colorrole>
+      </inactive>
+      <disabled>
+       <colorrole role="Base">
+        <brush brushstyle="SolidPattern">
+         <color alpha="255">
+          <red>240</red>
+          <green>240</green>
+          <blue>240</blue>
+         </color>
+        </brush>
+       </colorrole>
+      </disabled>
+     </palette>
+    </property>
+    <property name="font">
+     <font>
+      <family>Verdana</family>
+     </font>
+    </property>
+    <property name="placeholderText">
+     <string>(Nouvelle attaque...)</string>
+    </property>
+   </widget>
+   <widget class="DmComboBox" name="att_type">
+    <property name="geometry">
+     <rect>
+      <x>10</x>
+      <y>10</y>
+      <width>41</width>
+      <height>41</height>
+     </rect>
+    </property>
+    <property name="font">
+     <font>
+      <family>Verdana</family>
+     </font>
+    </property>
+    <item>
+     <property name="text">
+      <string/>
+     </property>
+     <property name="icon">
+      <iconset>
+       <normaloff>img/curseurEpee.png</normaloff>img/curseurEpee.png</iconset>
+     </property>
+    </item>
+    <item>
+     <property name="text">
+      <string/>
+     </property>
+     <property name="icon">
+      <iconset>
+       <normaloff>img/arc.png</normaloff>img/arc.png</iconset>
+     </property>
+    </item>
+    <item>
+     <property name="text">
+      <string/>
+     </property>
+     <property name="icon">
+      <iconset>
+       <normaloff>img/bombe.png</normaloff>img/bombe.png</iconset>
+     </property>
+    </item>
+   </widget>
+   <widget class="QLabel" name="att_portee_e">
+    <property name="geometry">
+     <rect>
+      <x>90</x>
+      <y>34</y>
+      <width>51</width>
+      <height>21</height>
+     </rect>
+    </property>
+    <property name="minimumSize">
+     <size>
+      <width>51</width>
+      <height>21</height>
+     </size>
+    </property>
+    <property name="maximumSize">
+     <size>
+      <width>51</width>
+      <height>21</height>
+     </size>
+    </property>
+    <property name="font">
+     <font>
+      <family>Verdana</family>
+     </font>
+    </property>
+    <property name="text">
+     <string>Portée :</string>
+    </property>
+   </widget>
+   <widget class="QSpinBox" name="att_portee">
+    <property name="geometry">
+     <rect>
+      <x>140</x>
+      <y>34</y>
+      <width>41</width>
+      <height>21</height>
+     </rect>
+    </property>
+    <property name="minimumSize">
+     <size>
+      <width>41</width>
+      <height>21</height>
+     </size>
+    </property>
+    <property name="maximumSize">
+     <size>
+      <width>41</width>
+      <height>21</height>
+     </size>
+    </property>
+    <property name="palette">
+     <palette>
+      <active>
+       <colorrole role="Base">
+        <brush brushstyle="SolidPattern">
+         <color alpha="255">
+          <red>248</red>
+          <green>248</green>
+          <blue>248</blue>
+         </color>
+        </brush>
+       </colorrole>
+      </active>
+      <inactive>
+       <colorrole role="Base">
+        <brush brushstyle="SolidPattern">
+         <color alpha="255">
+          <red>248</red>
+          <green>248</green>
+          <blue>248</blue>
+         </color>
+        </brush>
+       </colorrole>
+      </inactive>
+      <disabled>
+       <colorrole role="Base">
+        <brush brushstyle="SolidPattern">
+         <color alpha="255">
+          <red>240</red>
+          <green>240</green>
+          <blue>240</blue>
+         </color>
+        </brush>
+       </colorrole>
+      </disabled>
+     </palette>
+    </property>
+    <property name="font">
+     <font>
+      <family>Verdana</family>
+     </font>
+    </property>
+    <property name="minimum">
+     <number>1</number>
+    </property>
+    <property name="maximum">
+     <number>999</number>
+    </property>
+    <property name="value">
+     <number>1</number>
+    </property>
+   </widget>
+   <widget class="QSpinBox" name="att_rayon">
+    <property name="geometry">
+     <rect>
+      <x>360</x>
+      <y>34</y>
+      <width>41</width>
+      <height>21</height>
+     </rect>
+    </property>
+    <property name="minimumSize">
+     <size>
+      <width>41</width>
+      <height>21</height>
+     </size>
+    </property>
+    <property name="maximumSize">
+     <size>
+      <width>41</width>
+      <height>21</height>
+     </size>
+    </property>
+    <property name="palette">
+     <palette>
+      <active>
+       <colorrole role="Base">
+        <brush brushstyle="SolidPattern">
+         <color alpha="255">
+          <red>248</red>
+          <green>248</green>
+          <blue>248</blue>
+         </color>
+        </brush>
+       </colorrole>
+      </active>
+      <inactive>
+       <colorrole role="Base">
+        <brush brushstyle="SolidPattern">
+         <color alpha="255">
+          <red>248</red>
+          <green>248</green>
+          <blue>248</blue>
+         </color>
+        </brush>
+       </colorrole>
+      </inactive>
+      <disabled>
+       <colorrole role="Base">
+        <brush brushstyle="SolidPattern">
+         <color alpha="255">
+          <red>240</red>
+          <green>240</green>
+          <blue>240</blue>
+         </color>
+        </brush>
+       </colorrole>
+      </disabled>
+     </palette>
+    </property>
+    <property name="font">
+     <font>
+      <family>Verdana</family>
+     </font>
+    </property>
+    <property name="minimum">
+     <number>1</number>
+    </property>
+    <property name="value">
+     <number>1</number>
+    </property>
+   </widget>
+   <widget class="QLabel" name="att_rayon_e">
+    <property name="geometry">
+     <rect>
+      <x>310</x>
+      <y>34</y>
+      <width>51</width>
+      <height>21</height>
+     </rect>
+    </property>
+    <property name="minimumSize">
+     <size>
+      <width>51</width>
+      <height>21</height>
+     </size>
+    </property>
+    <property name="maximumSize">
+     <size>
+      <width>51</width>
+      <height>21</height>
+     </size>
+    </property>
+    <property name="font">
+     <font>
+      <family>Verdana</family>
+     </font>
+    </property>
+    <property name="text">
+     <string>Rayon :</string>
+    </property>
+   </widget>
+   <widget class="DmTextEdit" name="att_notes">
+    <property name="geometry">
+     <rect>
+      <x>10</x>
+      <y>57</y>
+      <width>451</width>
+      <height>31</height>
+     </rect>
+    </property>
+    <property name="palette">
+     <palette>
+      <active>
+       <colorrole role="Base">
+        <brush brushstyle="SolidPattern">
+         <color alpha="255">
+          <red>248</red>
+          <green>248</green>
+          <blue>248</blue>
+         </color>
+        </brush>
+       </colorrole>
+      </active>
+      <inactive>
+       <colorrole role="Base">
+        <brush brushstyle="SolidPattern">
+         <color alpha="255">
+          <red>248</red>
+          <green>248</green>
+          <blue>248</blue>
+         </color>
+        </brush>
+       </colorrole>
+      </inactive>
+      <disabled>
+       <colorrole role="Base">
+        <brush brushstyle="SolidPattern">
+         <color alpha="255">
+          <red>240</red>
+          <green>240</green>
+          <blue>240</blue>
+         </color>
+        </brush>
+       </colorrole>
+      </disabled>
+     </palette>
+    </property>
+    <property name="font">
+     <font>
+      <family>Verdana</family>
+     </font>
+    </property>
+   </widget>
+   <widget class="DmComboBox" name="att_forme">
+    <property name="geometry">
+     <rect>
+      <x>250</x>
+      <y>34</y>
+      <width>41</width>
+      <height>21</height>
+     </rect>
+    </property>
+    <property name="minimumSize">
+     <size>
+      <width>41</width>
+      <height>21</height>
+     </size>
+    </property>
+    <property name="maximumSize">
+     <size>
+      <width>41</width>
+      <height>21</height>
+     </size>
+    </property>
+    <property name="font">
+     <font>
+      <family>Verdana</family>
+     </font>
+    </property>
+    <item>
+     <property name="text">
+      <string>Ligne</string>
+     </property>
+     <property name="icon">
+      <iconset>
+       <normaloff>img/formeLigne.png</normaloff>img/formeLigne.png</iconset>
+     </property>
+    </item>
+    <item>
+     <property name="text">
+      <string>Disque</string>
+     </property>
+     <property name="icon">
+      <iconset>
+       <normaloff>img/formeEllipsePlein.png</normaloff>img/formeEllipsePlein.png</iconset>
+     </property>
+    </item>
+    <item>
+     <property name="text">
+      <string>Cone</string>
+     </property>
+     <property name="icon">
+      <iconset>
+       <normaloff>img/cone.png</normaloff>img/cone.png</iconset>
+     </property>
+    </item>
+   </widget>
+   <widget class="QLabel" name="att_forme_e">
+    <property name="geometry">
+     <rect>
+      <x>200</x>
+      <y>34</y>
+      <width>51</width>
+      <height>21</height>
+     </rect>
+    </property>
+    <property name="minimumSize">
+     <size>
+      <width>51</width>
+      <height>21</height>
+     </size>
+    </property>
+    <property name="maximumSize">
+     <size>
+      <width>51</width>
+      <height>21</height>
+     </size>
+    </property>
+    <property name="font">
+     <font>
+      <family>Verdana</family>
+     </font>
+    </property>
+    <property name="text">
+     <string>Forme :</string>
+    </property>
+   </widget>
+   <widget class="QWidget" name="gridLayoutWidget">
+    <property name="geometry">
+     <rect>
+      <x>10</x>
+      <y>90</y>
+      <width>451</width>
+      <height>16</height>
+     </rect>
+    </property>
+    <layout class="QGridLayout" name="att_layout_attributs">
+     <property name="sizeConstraint">
+      <enum>QLayout::SetMinimumSize</enum>
+     </property>
+     <property name="topMargin">
+      <number>1</number>
+     </property>
+     <property name="horizontalSpacing">
+      <number>4</number>
+     </property>
+     <property name="verticalSpacing">
+      <number>1</number>
+     </property>
+    </layout>
+   </widget>
+   <widget class="QToolButton" name="att_supprimer">
+    <property name="enabled">
+     <bool>false</bool>
+    </property>
+    <property name="geometry">
+     <rect>
+      <x>440</x>
+      <y>10</y>
+      <width>25</width>
+      <height>21</height>
+     </rect>
+    </property>
+    <property name="text">
+     <string>...</string>
+    </property>
+    <property name="icon">
+     <iconset>
+      <normaloff>img/btnFermer.png</normaloff>img/btnFermer.png</iconset>
+    </property>
+   </widget>
+   <widget class="QLabel" name="att_voile">
+    <property name="enabled">
+     <bool>true</bool>
+    </property>
+    <property name="geometry">
+     <rect>
+      <x>0</x>
+      <y>0</y>
+      <width>471</width>
+      <height>111</height>
+     </rect>
+    </property>
+    <property name="palette">
+     <palette>
+      <active>
+       <colorrole role="Button">
+        <brush brushstyle="SolidPattern">
+         <color alpha="70">
+          <red>200</red>
+          <green>200</green>
+          <blue>200</blue>
+         </color>
+        </brush>
+       </colorrole>
+       <colorrole role="Base">
+        <brush brushstyle="SolidPattern">
+         <color alpha="70">
+          <red>200</red>
+          <green>200</green>
+          <blue>200</blue>
+         </color>
+        </brush>
+       </colorrole>
+       <colorrole role="Window">
+        <brush brushstyle="SolidPattern">
+         <color alpha="70">
+          <red>200</red>
+          <green>200</green>
+          <blue>200</blue>
+         </color>
+        </brush>
+       </colorrole>
+      </active>
+      <inactive>
+       <colorrole role="Button">
+        <brush brushstyle="SolidPattern">
+         <color alpha="70">
+          <red>200</red>
+          <green>200</green>
+          <blue>200</blue>
+         </color>
+        </brush>
+       </colorrole>
+       <colorrole role="Base">
+        <brush brushstyle="SolidPattern">
+         <color alpha="70">
+          <red>200</red>
+          <green>200</green>
+          <blue>200</blue>
+         </color>
+        </brush>
+       </colorrole>
+       <colorrole role="Window">
+        <brush brushstyle="SolidPattern">
+         <color alpha="70">
+          <red>200</red>
+          <green>200</green>
+          <blue>200</blue>
+         </color>
+        </brush>
+       </colorrole>
+      </inactive>
+      <disabled>
+       <colorrole role="Button">
+        <brush brushstyle="SolidPattern">
+         <color alpha="70">
+          <red>200</red>
+          <green>200</green>
+          <blue>200</blue>
+         </color>
+        </brush>
+       </colorrole>
+       <colorrole role="Base">
+        <brush brushstyle="SolidPattern">
+         <color alpha="70">
+          <red>200</red>
+          <green>200</green>
+          <blue>200</blue>
+         </color>
+        </brush>
+       </colorrole>
+       <colorrole role="Window">
+        <brush brushstyle="SolidPattern">
+         <color alpha="70">
+          <red>200</red>
+          <green>200</green>
+          <blue>200</blue>
+         </color>
+        </brush>
+       </colorrole>
+      </disabled>
+     </palette>
+    </property>
+    <property name="contextMenuPolicy">
+     <enum>Qt::DefaultContextMenu</enum>
+    </property>
+    <property name="styleSheet">
+     <string notr="true">background-color: rgba(200, 200, 200, 70);</string>
+    </property>
+    <property name="text">
+     <string/>
+    </property>
+   </widget>
+  </widget>
+ </widget>
+ <customwidgets>
+  <customwidget>
+   <class>DmLineEdit</class>
+   <extends>QLineEdit</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmTextEdit</class>
+   <extends>QTextEdit</extends>
+   <header>dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmComboBox</class>
+   <extends>QComboBox</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmEdcPanneauAttaque</class>
+   <extends>QFrame</extends>
+   <header location="global">dm.h</header>
+   <container>1</container>
+  </customwidget>
+ </customwidgets>
+ <resources/>
+ <connections/>
+</ui>