Explorar el Código

Refonte de l'edition de combattant (partie 1)

Signed-off-by: unknown <olivier.massot@DSI5301067.cg67.fr>
unknown hace 10 años
padre
commit
e2a4e850ee

+ 9 - 5
lib/Combattant.py

@@ -16,15 +16,19 @@ class Combattant(Pion):
     def __init__(self, parent=None):
         super(Combattant, self).__init__()
         #caracs
-        self.id = "00"
-        
-        self.deplacement = 9
-        self.vol = 0
-        self.allonge = 1
+        self.id = None
+
+        self.taille = 2
+        self.depMarche = regles.valeurDefaut("depMarche")
+        self.depNage = regles.valeurDefaut("depNage")
+        self.depEscalade = regles.valeurDefaut("depEscalade")
+        self.depVol = regles.valeurDefaut("depVol")
+        self.saut = regles.valeurDefaut("saut")
         
         self.attaques = []   #liste des attaques pre-parametrees du pion
         self.listeAttributs = regles.listeAttributs()
         self.inventaire = {}
+        self.details = {}
         self.notes = ""        
 
         #caracs liees au combat:

+ 102 - 132
lib/EcranEditionCombattant.py

@@ -14,57 +14,49 @@ import regles
 
 class EcranEditionCombattant(QDialog):
     """interface de creation/edition de terrains"""
-    def __init__(self, combattant=None, formeCases = "H", parent=None):
+    def __init__(self, combattant=None, parent=None):
         """initialisation de la fenetre"""
         super (EcranEditionCombattant, self).__init__()
         self.pixGraphique = None
-        self.formeCases = formeCases
+        self.id = None
         self.createWidgets()
         
         if combattant == None:
             self.combattant = Combattant()
-            self.accesCreation()
         else:
             self.combattant = combattant
-            self.accesEdition()
-            
-        self.majAffichage("")
-        self.afficheListeAttaques()
-        self.majListeAttributs()
-##        self.majListeInventaire()
-        
+        self.ouverture()
+
+    def nouvelIdCombattant(self):
+        """renvoie un identifiant pour un nouveau terrain"""
+        dicoSvg = afficheSvg("lib\\biblio\\Combattant")
+        nouvelId = 1
+        while str(nouvelId) in dicoSvg.keys():
+            nouvelId += 1
+        return str(nouvelId)
+
+    def formeCases(self):
+        retour = ""
+        if self.ui.edc_casesHexa.isChecked():
+            retour = "H"
+        else:
+            retour = "C"
+        return retour
+
     def createWidgets(self):
         """construction de l'interface"""
         #construction de l'interface
         self.ui = Ui_editionCombattant()
         self.ui.setupUi(self)
-        self.connect(self.ui.enregistrerCombattant, SIGNAL("clicked()"), self.enregistrer)
-        self.connect(self.ui.annulerCombattant, SIGNAL("clicked()"), self.annuler)
-        self.connect(self.ui.supprimerCombattant, SIGNAL("clicked()"), self.supprimer)
-        self.connect(self.ui.idCombattant, SIGNAL("textEdited(QString)"), self.majAffichage)
-        self.connect(self.ui.nomCombattant, SIGNAL("textEdited(QString)"), self.majAffichage)
-        self.connect(self.ui.couleurCombattant, SIGNAL("clicked()"), self.selectionCouleur)
-
-        self.connect(self.ui.imgTextureCombattant, SIGNAL("textEdited(QString)"), self.majApercuImage)
-        self.connect(self.ui.imgLogoCombattant, SIGNAL("textEdited(QString)"), self.majApercuImage)
-        self.connect(self.ui.imgAfficherCombattant, SIGNAL("stateChanged(int)"), self.majApercuImage)
-        self.connect(self.ui.imgPivoteCombattant, SIGNAL("stateChanged(int)"), self.majApercuImage)
-        self.connect(self.ui.imgMasqueCombattant, SIGNAL("stateChanged(int)"), self.majApercuImage)
-        self.connect(self.ui.imgTailleXCombattant, SIGNAL("valueChanged(int)"), self.majApercuImage)
-        self.connect(self.ui.imgTailleYCombattant, SIGNAL("valueChanged(int)"), self.majApercuImage)
-        self.connect(self.ui.imgPosXCombattant, SIGNAL("valueChanged(int)"), self.majApercuImage)
-        self.connect(self.ui.imgPosYCombattant, SIGNAL("valueChanged(int)"), self.majApercuImage)
-        self.connect(self.ui.imgRotationCombattant, SIGNAL("valueChanged(int)"), self.majApercuImage)
-        self.connect(self.ui.imgReinitCombattant, SIGNAL("clicked()"), self.reinitImage)
-
-        self.connect(self.ui.nomCombattant, SIGNAL("textEdited(QString)"), self.majApercuTexte)
-        self.connect(self.ui.txtAfficherCombattant, SIGNAL("stateChanged(int)"), self.majApercuTexte)
-        self.connect(self.ui.txtTaillePoliceCombattant, SIGNAL("valueChanged(int)"), self.majApercuTexte)
-        self.connect(self.ui.txtGrasCombattant, SIGNAL("stateChanged(int)"), self.majApercuTexte)
-        self.connect(self.ui.txtPosXCombattant, SIGNAL("valueChanged(int)"), self.majApercuTexte)
-        self.connect(self.ui.txtPosYCombattant, SIGNAL("valueChanged(int)"), self.majApercuTexte)
-        self.connect(self.ui.txtRotationCombattant, SIGNAL("valueChanged(int)"), self.majApercuTexte)
-        self.connect(self.ui.txtReinitCombattant, SIGNAL("clicked()"), self.reinitTexte)
+        self.connect(self.ui.edp_nom, SIGNAL("textEdited(QString)"), self.majActivationEnregistrer)
+        self.connect(self.ui.edp_nom, SIGNAL("textEdited(QString)"), self.majApercuTexte)
+
+        self.connect(self.ui.edp_enregistrer, SIGNAL("clicked()"), self.enregistrer)
+        self.connect(self.ui.edp_annuler, SIGNAL("clicked()"), self.annuler)
+
+        self.connect(self.ui.edp_couleur, SIGNAL("clicked()"), self.selectionCouleur)
+        self.connect(self.ui.edp_image, SIGNAL("clicked()"), self.selectionImage)
+        self.connect(self.ui.edp_aideForme, SIGNAL("clicked()"), self.afficherAideForme)
 
         self.vueForme = VueEditionForme(self, self.formeCases)
         self.vueForme.creer()
@@ -78,66 +70,54 @@ class EcranEditionCombattant(QDialog):
 ##        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 accesEdition(self):
-        """ouverture en mode edition"""
-        self.ui.idCombattant.setEnabled(True)
-       
-        self.ui.idCombattant.setText(QString.fromUtf8(str(self.combattant.id)))
-        self.ui.nomCombattant.setText(QString.fromUtf8(str(self.combattant.nom)))
-        self.ui.notesCombattant.setText(QString.fromUtf8(str(self.combattant.notes)))
+
+
         
-        if self.combattant.couleur.isValid():
-            self.ui.affichageCouleurCombattant.setStyleSheet("QLabel {backGround:%s}" %(self.combattant.couleur.name()))
-        self.ui.imgLogoCombattant.setText(QString.fromUtf8(str(self.combattant.logo)))
-        self.ui.imgTextureCombattant.setText(QString.fromUtf8(str(self.combattant.img.nomFichier)))
-        self.ui.imgTailleXCombattant.setValue(self.combattant.img.kx)
-        self.ui.imgTailleYCombattant.setValue(self.combattant.img.ky)
-        self.ui.imgPosXCombattant.setValue(self.combattant.img.dx)
-        self.ui.imgPosYCombattant.setValue(self.combattant.img.dy)
-        self.ui.imgRotationCombattant.setValue(self.combattant.img.rotation)
-        self.ui.imgPivoteCombattant.setChecked(self.combattant.img.pivote)
-        self.ui.imgMasqueCombattant.setChecked(self.combattant.img.masqueAuto)
-
-        self.ui.txtTaillePoliceCombattant.setValue(self.combattant.etiquette.taille_police)
-        self.ui.txtGrasCombattant.setChecked(self.combattant.etiquette.gras)
-
-        self.ui.txtPosXCombattant.setValue(self.combattant.etiquette.dx)
-        self.ui.txtPosYCombattant.setValue(self.combattant.etiquette.dy)
-        self.ui.txtRotationCombattant.setValue(self.combattant.etiquette.rotation)
+    def ouverture(self):
+        """premier affichage: on met a jour les champs"""
+        #identifiant
+        if not self.id:
+            self.id = self.nouvelIdCombattant()
         
-        self.ui.deplacementCombattant.setValue(self.combattant.deplacement)
-        self.ui.hauteurCombattant.setValue(self.combattant.hauteur)
-        self.ui.volCombattant.setChecked(self.combattant.vol)
-   
-        self.vueForme.majForme(self.combattant.formeDef[self.formeCases])
-        self.ui.supprimerCombattant.setEnabled(True)
-        self.ui.idCombattant.setEnabled(False)
+        #page_nom
+        self.ui.edc_nom.majTexte(self.combattant.nom)
+        self.ui.edc_logo.chargerImage(self.combattant.logo)
+        self.vueForme.majForme(self.combattant.formeDef[self.formeCases()])
         self.majApercuImage()
         self.majApercuTexte()
 
-    def accesCreation(self):
-        """ouverture en mode creation"""
-        self.ui.idCombattant.setEnabled(True)
-        self.ui.idCombattant.setText(QString.fromUtf8(str(self.nouvelIdCombattant())))
-        self.ui.idCombattant.setEnabled(False)
-        self.majApercuImage()
-        self.majApercuTexte()
+        #page deplacements
+        self.ui.edc_taille.setValue(self.combattant.taille)
+        self.ui.edc_depMarche.setValue(self.combattant.depMarche)
+        self.ui.edc_depNage.setValue(self.combattant.depNage)
+        self.ui.edc_depEscalade.setValue(self.combattant.depEscalade)
+        self.ui.edc_depVol.setValue(self.combattant.depVol)
+        self.ui.edc_saut.setValue(self.combattant.saut)      
 
-    def majAffichage(self, txt):
-        """verifie la validite des saisies"""
-        self.ui.enregistrerCombattant.setEnabled(len(self.ui.idCombattant.text().toUtf8()) > 0 and len(self.ui.nomCombattant.text().toUtf8()) > 0)
+        #page attributs
+        self.majListeAttributs()
 
-    def afficheListeAttaques(self):
-        """insere la frame d'edition des attaques"""
-        tabAttaques = self.ui.ongletsCreation.widget(2)
+        #page attaques
+        tabAttaques = self.ui.pages.widget(3)
         editionAttaques = EcranEditionAttaques(self.combattant)
         editionAttaques.setParent(tabAttaques)
 
+        #page inventaire
+        #self.majListeInventaire()
+
+        #page_notes
+        for detail in self.combattant.details:
+            widget = self.ui.findchild(DmLineEdit, "edc_detail_{}".format(detail))
+            if widget:
+                widget.majTexte(self.combattant.details[detail])
+        self.ui.edc_notes.setText(self.combattant.notes)
+
+    def majActivationEnregistrer(self, txt):
+        """verifie la validite des saisies"""
+        self.ui.edc_enregistrer.setEnabled(len(self.ui.edc_nom.texte()) > 0)
+
     def majListeAttributs(self):
         """met a jour la liste des attributs de la Combattant"""
-        """met a jour la liste des attributs dans le panneau de combat"""
         self.disconnect(self.ui.listeAttributs, SIGNAL("cellChanged(int,int)"), self.listeAttributCelluleModifiee)
         
         #on vide la liste
@@ -289,69 +269,59 @@ class EcranEditionCombattant(QDialog):
         self.ui.txtRotationCombattant.setValue(0)
         self.majApercuTexte()        
 
-    def nouvelIdCombattant(self):
-        """renvoie un identifiant pour un nouveau terrain"""
-        dicoSvg = afficheSvg("lib\\biblio\\Combattant")
-        nouvelId = 1
-        while str(nouvelId) in dicoSvg.keys():
-            nouvelId += 1
-        return str(nouvelId)
-
     def selectionCouleur(self):
         """selectionne la couleur dans la boite de dialogue dediee"""
         couleur = QColorDialog(self).getColor(QColor("white"), self)
         if couleur.isValid():
             nomCouleur = couleur.name()
-            self.ui.affichageCouleurCombattant.setStyleSheet("QLabel {backGround:%s}" %(nomCouleur))
             self.combattant.couleur = couleur    
             
     def enregistrer(self):
         """enregistre le terrain cree/edite"""
-        self.combattant.id = str(self.ui.idCombattant.text().toUtf8())
-        self.combattant.nom = str(self.ui.nomCombattant.text().toUtf8())
-        self.combattant.logo = str(self.ui.imgLogoCombattant.text().toUtf8())
-        if len(str(self.ui.imgTextureCombattant.text().toUtf8())) > 0:
-            self.combattant.img.nomFichier = str(self.ui.imgTextureCombattant.text().toUtf8())
-            self.combattant.img.kx = self.ui.imgTailleXCombattant.value()
-            self.combattant.img.ky = self.ui.imgTailleYCombattant.value()
-            self.combattant.img.dx = self.ui.imgPosXCombattant.value()
-            self.combattant.img.dy = self.ui.imgPosYCombattant.value()
-            self.combattant.img.rotation = self.ui.imgRotationCombattant.value()
-            self.combattant.img.pivote = self.ui.imgPivoteCombattant.isChecked()
-            self.combattant.img.masqueAuto = self.ui.imgMasqueCombattant.isChecked()
-        else:
-            self.combattant.img.nomFichier = str(self.ui.imgLogoCombattant.text().toUtf8())
-            self.combattant.img.kx = 10
-            self.combattant.img.ky = 10
-            self.combattant.img.dx = 0
-            self.combattant.img.dy = 0
-            self.combattant.img.rotation = 0
-            self.combattant.img.pivote = False
-            self.combattant.img.masqueAuto = False
-
-        self.combattant.etiquette.taille_police = self.ui.txtTaillePoliceCombattant.value()
-        self.combattant.etiquette.gras = bool(self.ui.txtGrasCombattant.checkState())
-        self.combattant.etiquette.dx = self.ui.txtPosXCombattant.value()
-        self.combattant.etiquette.dy = self.ui.txtPosYCombattant.value()
-        self.combattant.etiquette.rotation = self.ui.txtRotationCombattant.value()
-
-        self.combattant.deplacement = int(self.ui.deplacementCombattant.value())
-        self.combattant.hauteur = int(self.ui.hauteurCombattant.value())
-        self.combattant.vol = self.ui.volCombattant.isChecked()
-
-        self.combattant.formeDef[self.formeCases] = self.vueForme.formeDef()
+        #page nom
+        self.combattant.id = self.id
+        self.combattant.nom = self.ui.edc_nom.texte()
+        self.combattant.logo = self.ui.edc_logo.image()
+        self.combattant.img = self.vueForme.image()
+        self.combattant.etiquette = self.vueForme.etiquette()
+        self.combattant.formeDef["H"] = self.vueForme.formeDef("H")
+        self.combattant.formeDef["C"] = self.vueForme.formeDef("C")
+
+        #page dep
+        self.combattant.taille = self.ui.edc_taille.value()
+        self.combattant.depMarche = self.ui.edc_depMarche.value()
+        self.combattant.depNage = self.ui.edc_depNage.value()
+        self.combattant.depEscalade = self.ui.edc_depEscalade.value()
+        self.combattant.depVol = self.ui.edc_depVol.value()
+        self.combattant.saut = self.ui.edc_saut.value()
 
+        #page attributs
+        #dans listeAttributCelluleModifiee
+
+        #page attaque
+        #dans EcranEditionAttaque
+
+        #page inventaire
+        #a voir...
+
+        #page notes
+        for detail in self.combattant.details:
+        widget = self.ui.findchild(DmLineEdit, "edc_detail_{}".format(detail))
+        if widget:
+            txt = widget.texte()
+            if len(txt) > 0:
+                self.combattant.details[detail] = txt
+        
         self.combattant.notes = str(self.ui.notesCombattant.toPlainText())
 
-        #attributs, attaques et inventaire enregistres lors de la modif des listes
         enregistrer(self.combattant.id, self.combattant, "lib\\biblio\\combattant")
         self.combattant = None
         self.done(1)
 
-    def supprimer(self):
-        """supprimer l'enregistrement de ce terrain"""
-        supprSvg("lib\\biblio\\combattant", self.combattant.id)
-        self.done(1)
+##    def supprimer(self):
+##        """supprimer l'enregistrement de ce terrain"""
+##        supprSvg("lib\\biblio\\combattant", self.combattant.id)
+##        self.done(1)
 
     def annuler(self):
         """annule la creation/edition"""

+ 252 - 90
lib/VueEditionForme.py

@@ -6,93 +6,139 @@ import os
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
+from Pion import ImgPion, EtiquettePion
+
 class VueEditionForme(QGraphicsScene):
     """vue graphique permettant d'afficher et de modifier la forme des creatures/decors"""
-    def __init__(self, fenetre, formeCases="H", parent=None):   
+    def __init__(self, fenetre, formeCases = "H", parent=None):   
         super(VueEditionForme, self).__init__()
         self.fenetre = fenetre
-        self.pixGraphique = None
-        self.text = None
-        self.largeurOriginale = 0
-        self.hauteurOriginale = 0
-        self.rotation = 0
-        self.cases = {}
-        self.formeCases = formeCases
+        
+        self._vefImage = VefImage(self)
+        self._vefEtiquette = VefEtiquette(self)
+        self._couleur = QColor("grey")
+
+        self._cases = {}
+        self._formeCases = formeCases
+       
+        self._l0 = 0
+        self._h0 = 0
+        self._rotation = 0
+
+    #acces aux donnees
+        
+    def vue(self):
+        """retourne la ref de la QGraphicsView"""
+        return self.fenetre.ui.vueForme
+
+    def chargerFormeDef(self, formeDef):
+        self._formeDef = formeDef
+        self._majFormeGraphique()
+
+    def formeDef(self):
+        """renvoie la definition de forme (selon la forme des cases actuelle)"""
+        retour = []
+        for coord in self._cases:
+            if self._cases[coord].estSelectionnee and coord != (0,0):
+                retour.append(coord)      
+        return retour      
+
+    def chargerEtiquetteDef(self, etiquetteDef):
+##        self._majEtiquette(txt)
+        self._vefEtiquette.charger(etiquetteDef)
+
+    def etiquetteDef(self):
+        return self._etiquette
+
+    def chargerImageDef(self, imgDef):
+##        self._majImage(sourceImg)
+        self._vefImage.charger(imgDef)
+
+    def imageDef(self):
+        return self._img
+    
+    def majCouleur(self, couleur):
+        """met a jour la couleur du pion"""
+        self._couleur = couleur
+        self._majCouleurGraphique()
 
+    def couleur(self):
+        return self._couleur
+
+    def formeCases(self):
+        return self._formeCases
+
+    #creation, suppression, mises a jour...
     def creer(self):
-        #cree les cases hexagonales
         for x in range(-5,6):
             for y in range(-5,6):
-                if self.formeCases == "H":
+                if self._formeCases == "H":
                      if 1 == (x % 2):
                           y += 0.5
                 c = CaseEditionForme(self)
-                c.creer(x, y, self.formeCases)
+                c.creer(x, y, self._formeCases)
                 self.cases[(x,y)] = c
                 
-        self.fenetre.ui.vueForme.setScene(self)    
-        self.fenetre.ui.vueForme.centerOn(self.fenetre.ui.vueForme.mapFromScene(QPointF(60,60)))   #centre la vue sur la case 0,0
-        self.fenetre.ui.vueForme.scale(0.25, 0.25)
-        
+        self.vue().setScene(self)    
+        self.vue().centerOn(self.vue().mapFromScene(QPointF(60,60)))   #centre la vue sur la case 0,0
+        self.vue().scale(0.25, 0.25)
 
-    def formeDef(self):
-        """liste definissant la forme"""
-        retour = []
-        for coord in self.cases:
-            if self.cases[coord].estSelectionnee and coord != (0,0):
-                retour.append(coord)      
-        return retour        
-
-    def majForme(self, formeDef):
-        """met a jour la forme sur le graphique"""
-        if formeDef:
-            for coord in formeDef:
-                if coord in self.cases:
-                    self.cases[coord].estSelectionnee = True
-                    self.cases[coord].setBrush(QColor("red"))
-
-    def majTexte(self, txt, taillePolice = 20, gras = False, dx = 0, dy = 0, rotation = 0):
-        if len(txt) > 0:
-            if not self.text:
-                self.text = QGraphicsSimpleTextItem()
-                self.addItem(self.text)
-            self.text.setText(QString.fromUtf8("1."+txt))
-            self.text.setPos(QPointF(dx-0.112*120, dy-0.275*120))
-            police = QFont("Georgia", taillePolice)
-            police.setBold(gras)
-            self.text.setFont(police)
-            self.text.setRotation(rotation)
-        else:
-            if self.text:
-                self.removeItem(self.text)
-
-    def majImage(self, img, kx = 10, ky = 10, dx = 0, dy = 0, rotation = 0, imgPivote = False, masqueAuto = False):
-        if len(img) > 0:
-            pix = QPixmap(QString.fromUtf8("img\\"+img))
-            if not pix.isNull():
-                if masqueAuto == True:
-                    pix.setMask(pix.createHeuristicMask())
-                if not self.pixGraphique:
-                    self.pixGraphique = QGraphicsPixmapItem()
-                    self.addItem(self.pixGraphique)
-                    self.pixGraphique.setZValue(10)
-                    if pix.height() >= pix.width():
-                        pix = pix.scaledToHeight(120*0.9, Qt.SmoothTransformation)
-                    else:
-                        pix = pix.scaledToWidth(120*0.9, Qt.SmoothTransformation)
-                    self.largeurOriginale = pix.width()
-                    self.hauteurOriginale = pix.height()    
-
-                pix = pix.scaled((kx/10)*self.largeurOriginale, (ky/10)*self.hauteurOriginale, Qt.IgnoreAspectRatio, Qt.SmoothTransformation)
-                deltaX = dx + 0.5*(120*1.1544 - self.largeurOriginale)
-                deltaY = dy + 0.5*(120 - self.hauteurOriginale)
-      
-                self.pixGraphique.setPixmap(pix)    
-                self.pixGraphique.setPos(QPointF(deltaX, deltaY))
-                self.pixGraphique.setRotation(rotation)
-        else:
-            if self.pixGraphique:
-                self.removeItem(self.pixGraphique)
+    def vider(self):
+        for coord in self._cases:
+            self.removeItem(self._cases[coord])
+
+    def _majFormeGraphique(self):
+        """met a jour la forme affichee sur le graphique"""
+        if self._formeDef:
+            for coord in self._formeDef:
+                if coord in self._cases:
+                    self._cases[coord].estSelectionnee = True
+                    self._cases[coord].setBrush(self._couleur)
+
+##    def _majEtiquette(self, txt, taillePolice = 20, gras = False, dx = 0, dy = 0, rotation = 0):
+##        if len(txt) > 0:
+##            if not self._etiquette:
+##                self._etiquette = QGraphicsSimpleTextItem()
+##                self.addItem(self._etiquette)
+##            self._etiquette.setText(QString.fromUtf8("1."+txt))
+##            self._etiquette.setPos(QPointF(dx-0.112*120, dy-0.275*120))
+##            police = QFont("Georgia", taillePolice)
+##            police.setBold(gras)
+##            self._etiquette.setFont(police)
+##            self._etiquette.setRotation(rotation)
+##            
+##        else:
+##            if self._etiquette:
+##                self.removeItem(self._etiquette)
+
+##    def _majImage(self, img, kx = 10, ky = 10, dx = 0, dy = 0, rotation = 0):
+##
+##        if len(img) > 0:
+##            pix = QPixmap(QString.fromUtf8("img\\"+img))
+##            if not pix.isNull():
+##                    
+##                if not self._imgGraphique:
+##                    self._imgGraphique = QGraphicsPixmapItem()
+##                    self.addItem(self._imgGraphique)
+##                    self._imgGraphique.setZValue(10)
+##                    
+##                    if pix.height() >= pix.width():
+##                        pix = pix.scaledToHeight(120*0.9, Qt.SmoothTransformation)
+##                    else:
+##                        pix = pix.scaledToWidth(120*0.9, Qt.SmoothTransformation)
+##                    self.largeurOriginale = pix.width()
+##                    self.hauteurOriginale = pix.height()    
+##
+##                pix = pix.scaled((kx/10)*self.l0, (ky/10)*self.h0, Qt.IgnoreAspectRatio, Qt.SmoothTransformation)
+##                deltaX = dx + 0.5*(120*1.1544 - self.l0)
+##                deltaY = dy + 0.5*(120 - self.h0)
+##      
+##                self._imgGraphique.setPixmap(pix)    
+##                self._imgGraphique.setPos(QPointF(deltaX, deltaY))
+##                self._imgGraphique.setRotation(rotation)
+##        else:
+##            if self._imgGraphique:
+##                self.removeItem(self._imgGraphique)
 
     def majSelection(self, coord):
          """met a jour l'affichage des cases selectionnees pour l'affichage de la forme"""
@@ -128,25 +174,29 @@ class VueEditionForme(QGraphicsScene):
                  self.cases[coord].estSelectionnee = True
                  self.cases[coord].setBrush(QColor("red"))
 
-class CaseEditionForme(QGraphicsPolygonItem):
+
+
+class VefCase(QGraphicsPolygonItem):
     """case utilisee dans une VueEditionForme()"""
-    def __init__(self, vueForme, parent=None):
+    def __init__(self, scene, parent=None):
         super(CaseEditionForme, self).__init__()
-        self.vue = vueForme
-        self.position = (0,0)
-        self.estSelectionnee = False
-        self.voisins = []
+        self.scene = scene
+        self._position = (0,0)
+        self._estSelectionnee = False
+        self._voisins = []
         
         #interactions graphiques
         self.setFlag(QGraphicsItem.ItemIsFocusable)
         self.setAcceptHoverEvents(True)
-        #self.setAcceptDrops(True)
 
-    def creer(self, x, y, formeCases="H"):
+    def estSelectionnee(self):
+        return self._estSelectionnee
+
+    def creer(self, x, y, couleur, formeCases="H"):
         """creation du polygone et enregistrement des donnees geometriques"""
-        self.position = (x, y)
+        self._position = (x, y)
         polygone = QPolygonF()
-        if self.vue.formeCases == "H":
+        if self.scene.formeCases == "H":
             polygone  << QPointF(((x*0.866)+0.2886)*120,  y*120) \
                       << QPointF(((x*0.866)+0.866)*120,   y*120) \
                       << QPointF(((x*0.866)+1.1547)*120, (y+0.5)*120) \
@@ -161,7 +211,7 @@ class CaseEditionForme(QGraphicsPolygonItem):
         self.setPolygon(polygone)
 
         #enregistrement des cases voisines:       
-        if self.vue.formeCases == "H":
+        if self.scene.formeCases() == "H":
             self.voisins.append((x, y+1))
             self.voisins.append((x, y-1))
             self.voisins.append((x-1, y+0.5))
@@ -182,17 +232,129 @@ class CaseEditionForme(QGraphicsPolygonItem):
         #text.setPos(QPointF(((x*0.866)+0.2886)*120,  y*120))
 
         #couleur de fond par defaut
-        if self.position == (0, 0):
-            self.setBrush(QColor("purple"))
+        if couleur.__class__.__name__ == "QColor":
+            if not couleur.isValid():
+                couleur = QColor("grey")
+        else:
+            couleur = QColor("grey")
+        
+        if self._position == (0, 0):
+            couleur.darker(150)
+            self.setBrush(couleur)
             self.estSelectionnee = True
         else:    
-            self.setBrush(QColor("white"))
+            self.setBrush(QColor(255,255,255,50))
         #creation de l'objet graphique sur le plateau
-        self.vue.addItem(self)
+        self.scene.addItem(self)
 
     def mousePressEvent(self, event):
         """evenement lors du clic souris"""
         super(CaseEditionForme, self).mousePressEvent(event)
         if event.button() == 1: #sur clic gauche
-            if self.position != (0, 0):
-                self.vue.majSelection(self.position)             
+            if self._position != (0, 0):
+                self.scene.majSelection(self._position)
+
+
+
+        
+
+
+
+
+class VefImage(QGraphicsPixmapItem):
+    """etiquette utilisee dans une VueEditionForme()"""
+    def __init__(self, scene, parent=None):
+        super(VefEtiquette, self).__init__()
+        self.scene = scene
+        self._def = ImgPion()
+        self._pix = None
+        self._l0 = 0
+        self._h0 = 0
+        self.setFlags(QGraphicsItem.ItemIsMovable | QGraphicsItem.ItemIsSelectable | \
+                      QGraphicsItem.ItemSendsGeometryChanges | QGraphicsItem.ItemIsFocusable)
+        
+    def charger(self, definition):
+        self._pix = None
+        self._l0 = 0
+        self._h0 = 0
+        self._def = definition
+        self.scene.addItem(self)
+        self.setZValue(10)
+        self.maj()
+
+    def definition(self):
+        return self._def
+
+    def _maj(self):
+        if self._pix == None:
+            if len(self._def.nomFichier) > 0:
+                self._pix = QPixmap(QString.fromUtf8(self._def.nomFichier))
+                if not self._pix.isNull():
+                    if self._pix.height() >= self._pix.width():
+                        self._pix = self._pix.scaledToHeight(120*0.9, Qt.SmoothTransformation)
+                    else:
+                        self._pix = self._pix.scaledToWidth(120*0.9, Qt.SmoothTransformation)
+                    self.l0 = self._pix.width()
+                    self.h0 = self._pix.height()
+                else:
+                    self._pix = None
+
+        if self._pix:
+            self._pix = self._pix.scaled((self._def.kx/10)*self._l0, (self._def.ky/10)*self._h0, \
+                                         Qt.IgnoreAspectRatio, Qt.SmoothTransformation)
+            deltaX = self._def.dx + 0.5*(120*1.1544 - self._l0)
+            deltaY = self._def.dy + 0.5*(120 - self._h0)
+
+            self.setPixmap(self._pix)    
+            self.setPos(QPointF(deltaX, deltaY))
+            self.setRotation(self._def.rotation)
+     
+
+##    def mousePressEvent(self, event):
+##        pass
+
+
+
+
+
+
+
+class VefEtiquette(QGraphicsTextItem):
+    """etiquette utilisee dans une VueEditionForme()"""
+    def __init__(self, scene, parent=None):
+        super(VefEtiquette, self).__init__()
+        self.scene = scene
+        self._def = EtiquettePion()
+        self.setFlags(QGraphicsItem.ItemIsMovable | QGraphicsItem.ItemIsSelectable | \
+                      QGraphicsItem.ItemSendsGeometryChanges | QGraphicsItem.ItemIsFocusable)
+        
+    def charger(self, definition):
+        self._def = definition
+        self.scene.addItem(self)
+        self.setZValue(10)
+        self.maj()
+
+    def definition(self):
+        return self._def
+
+    def _maj(self):
+        if len(self._def.txt) > 0:
+            self.setText(QString.fromUtf8(self._def.txt))
+            self.setPos(QPointF(self._def.dx-0.112*120, self._def.dy-0.275*120))
+            police = QFont("Georgia", self._def.taillePolice)
+            police.setBold(True)
+            self.setFont(police)
+        
+
+
+
+
+
+
+
+
+
+
+
+
+                

BIN
lib/biblio/combattant


+ 4 - 0
lib/regles.py

@@ -90,6 +90,10 @@ def attributAttaque(nomCourt):
         retour = None
     return retour    
 
+def valeurDefaut(self, nom):
+    """renvoie la valeur par defaut demandee"""
+    dico = {"depMarche": 9, "depNage": 6, "depEscalade" = 3, "depVol" = 0, "saut" = 6}
+
 class Attribut():
     """attribut des pions et personnages"""
     def __init__(self, nom, nomCourt, typ, mini, maxi, defaut, afficherCombat, combatSeulement, joueursSeulement):

+ 14 - 4
lib/ui/dm.py

@@ -24,9 +24,9 @@ class DmLabel(QLabel):
         self.setPixmap(pix)         
 
     def texte(self):
-        return str(self.text())
+        return str(self.text().toUtf8())
 
-class DmLabelChoixImage(QLabel):
+class DmLabelChoixImage(DmLabel):
     """surcharge de DmLabel,
         affiche une fenetre de selection de fichier, recupere une image,
         et l'affiche."""
@@ -68,11 +68,21 @@ class DmTextEdit(QTextEdit):
 
     def majTexte(self, txt):
         self.clear()
-        self.setText(QString.fromUtf8(txt))    
+        self.setText(QString.fromUtf8(str(txt)))    
 
     def texte(self):
-        return str(self.text())
+        return str(self.text().toUtf8())
 
+class DmLineEdit(QLineEdit):
+    def __init__(self, parent = None):
+        super(DmLineEdit, self).__init__(parent)    
+
+    def majTexte(self, txt):
+        self.clear()
+        self.setText(QString.fromUtf8(str(txt)))    
+
+    def texte(self):
+        return str(self.text().toUtf8())
 
 class DmGraphicsView(QGraphicsView):
     """surcharge de QGraphicsView"""

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1399 - 230
lib/ui/dmOngletsH.ui


+ 970 - 315
lib/ui/ecran_editionCombattant.py

@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file 'editionCombattant.ui'
 #
-# Created: Wed May 20 14:53:21 2015
+# Created: Fri Jun 05 10:52:33 2015
 #      by: PyQt4 UI code generator 4.10.4
 #
 # WARNING! All changes made in this file will be lost!
@@ -23,215 +23,488 @@ except AttributeError:
     def _translate(context, text, disambig):
         return QtGui.QApplication.translate(context, text, disambig)
 
-class Ui_editionCombattant(object):
-    def setupUi(self, editionCombattant):
-        editionCombattant.setObjectName(_fromUtf8("editionCombattant"))
-        editionCombattant.resize(712, 559)
-        self.affichageCouleurCombattant = QtGui.QLabel(editionCombattant)
-        self.affichageCouleurCombattant.setGeometry(QtCore.QRect(110, 50, 51, 21))
-        self.affichageCouleurCombattant.setFrameShape(QtGui.QFrame.Box)
-        self.affichageCouleurCombattant.setFrameShadow(QtGui.QFrame.Sunken)
-        self.affichageCouleurCombattant.setText(_fromUtf8(""))
-        self.affichageCouleurCombattant.setObjectName(_fromUtf8("affichageCouleurCombattant"))
-        self.label_11 = QtGui.QLabel(editionCombattant)
-        self.label_11.setGeometry(QtCore.QRect(30, 120, 141, 20))
-        self.label_11.setObjectName(_fromUtf8("label_11"))
-        self.annulerCombattant = QtGui.QPushButton(editionCombattant)
-        self.annulerCombattant.setGeometry(QtCore.QRect(490, 520, 81, 23))
-        self.annulerCombattant.setObjectName(_fromUtf8("annulerCombattant"))
-        self.label_3 = QtGui.QLabel(editionCombattant)
-        self.label_3.setGeometry(QtCore.QRect(30, 20, 46, 16))
-        self.label_3.setObjectName(_fromUtf8("label_3"))
-        self.imgLogoCombattant = QtGui.QLineEdit(editionCombattant)
-        self.imgLogoCombattant.setGeometry(QtCore.QRect(180, 90, 191, 20))
-        self.imgLogoCombattant.setObjectName(_fromUtf8("imgLogoCombattant"))
-        self.hauteurCombattant = QtGui.QDoubleSpinBox(editionCombattant)
-        self.hauteurCombattant.setGeometry(QtCore.QRect(560, 50, 41, 22))
-        self.hauteurCombattant.setPrefix(_fromUtf8(""))
-        self.hauteurCombattant.setDecimals(0)
-        self.hauteurCombattant.setMinimum(1.0)
-        self.hauteurCombattant.setMaximum(50.0)
-        self.hauteurCombattant.setSingleStep(1.0)
-        self.hauteurCombattant.setProperty("value", 1.0)
-        self.hauteurCombattant.setObjectName(_fromUtf8("hauteurCombattant"))
-        self.label_10 = QtGui.QLabel(editionCombattant)
-        self.label_10.setGeometry(QtCore.QRect(470, 50, 81, 21))
+class Ui_ecran_creationPion(object):
+    def setupUi(self, ecran_creationPion):
+        ecran_creationPion.setObjectName(_fromUtf8("ecran_creationPion"))
+        ecran_creationPion.setWindowModality(QtCore.Qt.ApplicationModal)
+        ecran_creationPion.resize(618, 484)
+        ecran_creationPion.setMinimumSize(QtCore.QSize(0, 484))
+        ecran_creationPion.setMaximumSize(QtCore.QSize(16777215, 10000))
+        self.horizontalLayout_2 = QtGui.QHBoxLayout(ecran_creationPion)
+        self.horizontalLayout_2.setContentsMargins(0, 0, -1, 0)
+        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
+        self.horizontalLayout = QtGui.QHBoxLayout()
+        self.horizontalLayout.setSpacing(3)
+        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
+        self.edc_menu = DmTableMenu(ecran_creationPion)
+        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Expanding)
+        sizePolicy.setHorizontalStretch(0)
+        sizePolicy.setVerticalStretch(0)
+        sizePolicy.setHeightForWidth(self.edc_menu.sizePolicy().hasHeightForWidth())
+        self.edc_menu.setSizePolicy(sizePolicy)
+        self.edc_menu.setMinimumSize(QtCore.QSize(170, 484))
+        self.edc_menu.setMaximumSize(QtCore.QSize(170, 484))
+        palette = QtGui.QPalette()
+        brush = QtGui.QBrush(QtGui.QColor(6, 6, 6))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
+        brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Mid, brush)
+        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Text, brush)
+        brush = QtGui.QBrush(QtGui.QColor(140, 140, 140))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Highlight, brush)
+        brush = QtGui.QBrush(QtGui.QColor(7, 7, 7))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.HighlightedText, brush)
+        brush = QtGui.QBrush(QtGui.QColor(6, 6, 6))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
+        brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Mid, brush)
+        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Text, brush)
+        brush = QtGui.QBrush(QtGui.QColor(140, 140, 140))
+        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.Inactive, QtGui.QPalette.Highlight, brush)
+        brush = QtGui.QBrush(QtGui.QColor(7, 7, 7))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.HighlightedText, brush)
+        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
+        brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Mid, brush)
+        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Text, brush)
+        brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(51, 153, 255))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Highlight, brush)
+        brush = QtGui.QBrush(QtGui.QColor(7, 7, 7))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.HighlightedText, brush)
+        self.edc_menu.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Candara"))
+        font.setPointSize(13)
+        font.setBold(False)
+        font.setWeight(50)
+        self.edc_menu.setFont(font)
+        self.edc_menu.setFocusPolicy(QtCore.Qt.NoFocus)
+        self.edc_menu.setFrameShape(QtGui.QFrame.StyledPanel)
+        self.edc_menu.setFrameShadow(QtGui.QFrame.Sunken)
+        self.edc_menu.setLineWidth(0)
+        self.edc_menu.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
+        self.edc_menu.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
+        self.edc_menu.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
+        self.edc_menu.setProperty("showDropIndicator", False)
+        self.edc_menu.setDragDropOverwriteMode(False)
+        self.edc_menu.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
+        self.edc_menu.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
+        self.edc_menu.setIconSize(QtCore.QSize(30, 30))
+        self.edc_menu.setShowGrid(False)
+        self.edc_menu.setGridStyle(QtCore.Qt.SolidLine)
+        self.edc_menu.setCornerButtonEnabled(False)
+        self.edc_menu.setObjectName(_fromUtf8("edc_menu"))
+        self.edc_menu.setColumnCount(2)
+        self.edc_menu.setRowCount(6)
+        item = QtGui.QTableWidgetItem()
+        self.edc_menu.setVerticalHeaderItem(0, item)
+        item = QtGui.QTableWidgetItem()
+        self.edc_menu.setVerticalHeaderItem(1, item)
+        item = QtGui.QTableWidgetItem()
+        self.edc_menu.setVerticalHeaderItem(2, item)
+        item = QtGui.QTableWidgetItem()
+        self.edc_menu.setVerticalHeaderItem(3, item)
+        item = QtGui.QTableWidgetItem()
+        self.edc_menu.setVerticalHeaderItem(4, item)
+        item = QtGui.QTableWidgetItem()
+        self.edc_menu.setVerticalHeaderItem(5, item)
+        item = QtGui.QTableWidgetItem()
+        self.edc_menu.setHorizontalHeaderItem(0, item)
+        item = QtGui.QTableWidgetItem()
+        self.edc_menu.setHorizontalHeaderItem(1, item)
+        item = QtGui.QTableWidgetItem()
+        item.setFlags(QtCore.Qt.ItemIsSelectable)
+        self.edc_menu.setItem(0, 0, item)
+        item = QtGui.QTableWidgetItem()
+        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
+        icon = QtGui.QIcon()
+        icon.addPixmap(QtGui.QPixmap(_fromUtf8("img/oeil.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        item.setIcon(icon)
+        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsEnabled|QtCore.Qt.ItemIsTristate)
+        self.edc_menu.setItem(0, 1, item)
+        item = QtGui.QTableWidgetItem()
+        item.setFlags(QtCore.Qt.ItemIsSelectable)
+        self.edc_menu.setItem(1, 0, item)
+        item = QtGui.QTableWidgetItem()
+        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
+        icon1 = QtGui.QIcon()
+        icon1.addPixmap(QtGui.QPixmap(_fromUtf8("img/btnZonePlacement.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        item.setIcon(icon1)
+        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsUserCheckable|QtCore.Qt.ItemIsEnabled)
+        self.edc_menu.setItem(1, 1, item)
+        item = QtGui.QTableWidgetItem()
+        item.setFlags(QtCore.Qt.ItemIsSelectable)
+        self.edc_menu.setItem(2, 0, item)
+        item = QtGui.QTableWidgetItem()
+        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
+        icon2 = QtGui.QIcon()
+        icon2.addPixmap(QtGui.QPixmap(_fromUtf8("img/profil.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        item.setIcon(icon2)
+        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsEnabled)
+        self.edc_menu.setItem(2, 1, item)
+        item = QtGui.QTableWidgetItem()
+        item.setFlags(QtCore.Qt.ItemIsSelectable)
+        self.edc_menu.setItem(3, 0, item)
+        item = QtGui.QTableWidgetItem()
+        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
+        icon3 = QtGui.QIcon()
+        icon3.addPixmap(QtGui.QPixmap(_fromUtf8("img/attaque.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        item.setIcon(icon3)
+        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsEnabled)
+        self.edc_menu.setItem(3, 1, item)
+        item = QtGui.QTableWidgetItem()
+        item.setFlags(QtCore.Qt.ItemIsSelectable)
+        self.edc_menu.setItem(4, 0, item)
+        item = QtGui.QTableWidgetItem()
+        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
+        icon4 = QtGui.QIcon()
+        icon4.addPixmap(QtGui.QPixmap(_fromUtf8("img/sac.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        item.setIcon(icon4)
+        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsEnabled)
+        self.edc_menu.setItem(4, 1, item)
+        item = QtGui.QTableWidgetItem()
+        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsEnabled)
+        self.edc_menu.setItem(5, 0, item)
+        item = QtGui.QTableWidgetItem()
+        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
+        icon5 = QtGui.QIcon()
+        icon5.addPixmap(QtGui.QPixmap(_fromUtf8("img/note.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        item.setIcon(icon5)
+        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsEnabled)
+        self.edc_menu.setItem(5, 1, item)
+        self.edc_menu.horizontalHeader().setVisible(False)
+        self.edc_menu.horizontalHeader().setDefaultSectionSize(10)
+        self.edc_menu.horizontalHeader().setHighlightSections(False)
+        self.edc_menu.horizontalHeader().setStretchLastSection(True)
+        self.edc_menu.verticalHeader().setVisible(False)
+        self.edc_menu.verticalHeader().setDefaultSectionSize(80)
+        self.edc_menu.verticalHeader().setHighlightSections(False)
+        self.horizontalLayout.addWidget(self.edc_menu)
+        self.verticalLayout = QtGui.QVBoxLayout()
+        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
+        self.edc_pages = QtGui.QStackedWidget(ecran_creationPion)
+        self.edc_pages.setMinimumSize(QtCore.QSize(392, 0))
+        self.edc_pages.setObjectName(_fromUtf8("edc_pages"))
+        self.page_nom = QtGui.QWidget()
+        self.page_nom.setObjectName(_fromUtf8("page_nom"))
+        self.edc_nom = QtGui.QLineEdit(self.page_nom)
+        self.edc_nom.setGeometry(QtCore.QRect(110, 40, 271, 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_nom.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_nom.setFont(font)
+        self.edc_nom.setObjectName(_fromUtf8("edc_nom"))
+        self.edc_logo = DmLabelChoixImage(self.page_nom)
+        self.edc_logo.setGeometry(QtCore.QRect(20, 10, 71, 71))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(7)
+        self.edc_logo.setFont(font)
+        self.edc_logo.setFrameShape(QtGui.QFrame.Box)
+        self.edc_logo.setFrameShadow(QtGui.QFrame.Sunken)
+        self.edc_logo.setAlignment(QtCore.Qt.AlignCenter)
+        self.edc_logo.setObjectName(_fromUtf8("edc_logo"))
+        self.label_8 = QtGui.QLabel(self.page_nom)
+        self.label_8.setGeometry(QtCore.QRect(110, 15, 131, 21))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(8)
+        self.label_8.setFont(font)
+        self.label_8.setObjectName(_fromUtf8("label_8"))
+        self.frame_2 = QtGui.QFrame(self.page_nom)
+        self.frame_2.setGeometry(QtCore.QRect(30, 90, 341, 331))
+        self.frame_2.setFrameShape(QtGui.QFrame.WinPanel)
+        self.frame_2.setFrameShadow(QtGui.QFrame.Raised)
+        self.frame_2.setObjectName(_fromUtf8("frame_2"))
+        self.edc_vueForme = QtGui.QGraphicsView(self.frame_2)
+        self.edc_vueForme.setGeometry(QtCore.QRect(10, 10, 281, 291))
+        palette = QtGui.QPalette()
+        brush = QtGui.QBrush(QtGui.QColor(244, 244, 244))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(244, 244, 244))
+        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_vueForme.setPalette(palette)
+        self.edc_vueForme.setFrameShape(QtGui.QFrame.NoFrame)
+        self.edc_vueForme.setFrameShadow(QtGui.QFrame.Raised)
+        self.edc_vueForme.setRenderHints(QtGui.QPainter.Antialiasing|QtGui.QPainter.HighQualityAntialiasing|QtGui.QPainter.TextAntialiasing)
+        self.edc_vueForme.setObjectName(_fromUtf8("edc_vueForme"))
+        self.edc_image = QtGui.QToolButton(self.frame_2)
+        self.edc_image.setGeometry(QtCore.QRect(300, 50, 31, 31))
+        icon6 = QtGui.QIcon()
+        icon6.addPixmap(QtGui.QPixmap(_fromUtf8("img/portrait.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.edc_image.setIcon(icon6)
+        self.edc_image.setIconSize(QtCore.QSize(22, 22))
+        self.edc_image.setObjectName(_fromUtf8("edc_image"))
+        self.edc_couleur = QtGui.QToolButton(self.frame_2)
+        self.edc_couleur.setGeometry(QtCore.QRect(300, 10, 31, 31))
+        icon7 = QtGui.QIcon()
+        icon7.addPixmap(QtGui.QPixmap(_fromUtf8("img/btnCouleurs.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.edc_couleur.setIcon(icon7)
+        self.edc_couleur.setObjectName(_fromUtf8("edc_couleur"))
+        self.edc_aideForme = QtGui.QToolButton(self.frame_2)
+        self.edc_aideForme.setGeometry(QtCore.QRect(300, 270, 31, 31))
+        icon8 = QtGui.QIcon()
+        icon8.addPixmap(QtGui.QPixmap(_fromUtf8("img/aide.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.edc_aideForme.setIcon(icon8)
+        self.edc_aideForme.setObjectName(_fromUtf8("edc_aideForme"))
+        self.edp_casesHexa = QtGui.QRadioButton(self.frame_2)
+        self.edp_casesHexa.setGeometry(QtCore.QRect(30, 300, 131, 31))
+        self.edp_casesHexa.setChecked(True)
+        self.edp_casesHexa.setObjectName(_fromUtf8("edp_casesHexa"))
+        self.edp_casesCarrees = QtGui.QRadioButton(self.frame_2)
+        self.edp_casesCarrees.setGeometry(QtCore.QRect(170, 300, 111, 31))
+        self.edp_casesCarrees.setObjectName(_fromUtf8("edp_casesCarrees"))
+        self.edc_pages.addWidget(self.page_nom)
+        self.page_dep = QtGui.QWidget()
+        self.page_dep.setObjectName(_fromUtf8("page_dep"))
+        self.label_9 = QtGui.QLabel(self.page_dep)
+        self.label_9.setGeometry(QtCore.QRect(50, 100, 391, 31))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.label_9.setFont(font)
+        self.label_9.setFrameShape(QtGui.QFrame.NoFrame)
+        self.label_9.setObjectName(_fromUtf8("label_9"))
+        self.edc_depMarche = QtGui.QDoubleSpinBox(self.page_dep)
+        self.edc_depMarche.setGeometry(QtCore.QRect(220, 140, 51, 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_depMarche.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_depMarche.setFont(font)
+        self.edc_depMarche.setPrefix(_fromUtf8(""))
+        self.edc_depMarche.setDecimals(0)
+        self.edc_depMarche.setSingleStep(1.0)
+        self.edc_depMarche.setProperty("value", 8.0)
+        self.edc_depMarche.setObjectName(_fromUtf8("edc_depMarche"))
+        self.label_10 = QtGui.QLabel(self.page_dep)
+        self.label_10.setGeometry(QtCore.QRect(110, 140, 101, 31))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.label_10.setFont(font)
+        self.label_10.setFrameShape(QtGui.QFrame.NoFrame)
         self.label_10.setObjectName(_fromUtf8("label_10"))
-        self.volCombattant = QtGui.QCheckBox(editionCombattant)
-        self.volCombattant.setGeometry(QtCore.QRect(560, 90, 61, 17))
-        self.volCombattant.setChecked(False)
-        self.volCombattant.setObjectName(_fromUtf8("volCombattant"))
-        self.idCombattant = QtGui.QLineEdit(editionCombattant)
-        self.idCombattant.setEnabled(False)
-        self.idCombattant.setGeometry(QtCore.QRect(52, 20, 31, 20))
-        self.idCombattant.setObjectName(_fromUtf8("idCombattant"))
-        self.nomCombattant = QtGui.QLineEdit(editionCombattant)
-        self.nomCombattant.setGeometry(QtCore.QRect(122, 20, 281, 20))
-        self.nomCombattant.setObjectName(_fromUtf8("nomCombattant"))
-        self.deplacementCombattant = QtGui.QDoubleSpinBox(editionCombattant)
-        self.deplacementCombattant.setGeometry(QtCore.QRect(560, 20, 41, 22))
-        self.deplacementCombattant.setPrefix(_fromUtf8(""))
-        self.deplacementCombattant.setDecimals(0)
-        self.deplacementCombattant.setSingleStep(1.0)
-        self.deplacementCombattant.setProperty("value", 1.0)
-        self.deplacementCombattant.setObjectName(_fromUtf8("deplacementCombattant"))
-        self.label_2 = QtGui.QLabel(editionCombattant)
-        self.label_2.setGeometry(QtCore.QRect(130, 90, 71, 21))
-        self.label_2.setObjectName(_fromUtf8("label_2"))
-        self.label = QtGui.QLabel(editionCombattant)
-        self.label.setGeometry(QtCore.QRect(30, 90, 141, 20))
-        self.label.setObjectName(_fromUtf8("label"))
-        self.enregistrerCombattant = QtGui.QPushButton(editionCombattant)
-        self.enregistrerCombattant.setEnabled(False)
-        self.enregistrerCombattant.setGeometry(QtCore.QRect(120, 520, 101, 23))
+        self.edc_depNage = QtGui.QDoubleSpinBox(self.page_dep)
+        self.edc_depNage.setGeometry(QtCore.QRect(220, 180, 51, 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_depNage.setPalette(palette)
         font = QtGui.QFont()
-        font.setBold(True)
-        font.setWeight(75)
-        self.enregistrerCombattant.setFont(font)
-        self.enregistrerCombattant.setObjectName(_fromUtf8("enregistrerCombattant"))
-        self.imgTextureCombattant = QtGui.QLineEdit(editionCombattant)
-        self.imgTextureCombattant.setGeometry(QtCore.QRect(180, 120, 191, 20))
-        self.imgTextureCombattant.setObjectName(_fromUtf8("imgTextureCombattant"))
-        self.label_4 = QtGui.QLabel(editionCombattant)
-        self.label_4.setGeometry(QtCore.QRect(90, 20, 46, 16))
-        self.label_4.setObjectName(_fromUtf8("label_4"))
-        self.couleurCombattant = QtGui.QPushButton(editionCombattant)
-        self.couleurCombattant.setGeometry(QtCore.QRect(20, 50, 75, 23))
-        self.couleurCombattant.setObjectName(_fromUtf8("couleurCombattant"))
-        self.supprimerCombattant = QtGui.QPushButton(editionCombattant)
-        self.supprimerCombattant.setEnabled(False)
-        self.supprimerCombattant.setGeometry(QtCore.QRect(400, 520, 75, 23))
-        self.supprimerCombattant.setObjectName(_fromUtf8("supprimerCombattant"))
-        self.label_6 = QtGui.QLabel(editionCombattant)
-        self.label_6.setGeometry(QtCore.QRect(480, 20, 81, 21))
-        self.label_6.setObjectName(_fromUtf8("label_6"))
-        self.ongletsCreation = QtGui.QTabWidget(editionCombattant)
-        self.ongletsCreation.setGeometry(QtCore.QRect(20, 160, 681, 351))
-        self.ongletsCreation.setObjectName(_fromUtf8("ongletsCreation"))
-        self.tabForme = QtGui.QWidget()
-        self.tabForme.setObjectName(_fromUtf8("tabForme"))
-        self.groupBox_2 = QtGui.QGroupBox(self.tabForme)
-        self.groupBox_2.setGeometry(QtCore.QRect(490, 20, 171, 291))
-        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
-        self.txtAfficherCombattant = QtGui.QCheckBox(self.groupBox_2)
-        self.txtAfficherCombattant.setGeometry(QtCore.QRect(100, 10, 21, 21))
-        self.txtAfficherCombattant.setText(_fromUtf8(""))
-        self.txtAfficherCombattant.setChecked(True)
-        self.txtAfficherCombattant.setObjectName(_fromUtf8("txtAfficherCombattant"))
-        self.txtPosYCombattant = QtGui.QSlider(self.groupBox_2)
-        self.txtPosYCombattant.setGeometry(QtCore.QRect(10, 180, 141, 19))
-        self.txtPosYCombattant.setMinimum(-1000)
-        self.txtPosYCombattant.setMaximum(1000)
-        self.txtPosYCombattant.setOrientation(QtCore.Qt.Horizontal)
-        self.txtPosYCombattant.setObjectName(_fromUtf8("txtPosYCombattant"))
-        self.label_17 = QtGui.QLabel(self.groupBox_2)
-        self.label_17.setGeometry(QtCore.QRect(10, 70, 111, 20))
-        self.label_17.setObjectName(_fromUtf8("label_17"))
-        self.label_19 = QtGui.QLabel(self.groupBox_2)
-        self.label_19.setGeometry(QtCore.QRect(10, 120, 111, 20))
-        self.label_19.setObjectName(_fromUtf8("label_19"))
-        self.txtTaillePoliceCombattant = QtGui.QSlider(self.groupBox_2)
-        self.txtTaillePoliceCombattant.setGeometry(QtCore.QRect(10, 90, 141, 19))
-        self.txtTaillePoliceCombattant.setMinimum(8)
-        self.txtTaillePoliceCombattant.setMaximum(99)
-        self.txtTaillePoliceCombattant.setProperty("value", 20)
-        self.txtTaillePoliceCombattant.setOrientation(QtCore.Qt.Horizontal)
-        self.txtTaillePoliceCombattant.setObjectName(_fromUtf8("txtTaillePoliceCombattant"))
-        self.txtRotationCombattant = QtGui.QSlider(self.groupBox_2)
-        self.txtRotationCombattant.setGeometry(QtCore.QRect(10, 50, 141, 19))
-        self.txtRotationCombattant.setMinimum(-180)
-        self.txtRotationCombattant.setMaximum(180)
-        self.txtRotationCombattant.setOrientation(QtCore.Qt.Horizontal)
-        self.txtRotationCombattant.setObjectName(_fromUtf8("txtRotationCombattant"))
-        self.label_20 = QtGui.QLabel(self.groupBox_2)
-        self.label_20.setGeometry(QtCore.QRect(10, 30, 111, 20))
-        self.label_20.setObjectName(_fromUtf8("label_20"))
-        self.txtPosXCombattant = QtGui.QSlider(self.groupBox_2)
-        self.txtPosXCombattant.setGeometry(QtCore.QRect(10, 140, 141, 19))
-        self.txtPosXCombattant.setMinimum(-800)
-        self.txtPosXCombattant.setMaximum(800)
-        self.txtPosXCombattant.setOrientation(QtCore.Qt.Horizontal)
-        self.txtPosXCombattant.setObjectName(_fromUtf8("txtPosXCombattant"))
-        self.label_21 = QtGui.QLabel(self.groupBox_2)
-        self.label_21.setGeometry(QtCore.QRect(10, 160, 111, 20))
-        self.label_21.setObjectName(_fromUtf8("label_21"))
-        self.txtReinitCombattant = QtGui.QPushButton(self.groupBox_2)
-        self.txtReinitCombattant.setGeometry(QtCore.QRect(10, 260, 111, 20))
-        self.txtReinitCombattant.setObjectName(_fromUtf8("txtReinitCombattant"))
-        self.txtGrasCombattant = QtGui.QCheckBox(self.groupBox_2)
-        self.txtGrasCombattant.setGeometry(QtCore.QRect(10, 210, 41, 21))
-        self.txtGrasCombattant.setObjectName(_fromUtf8("txtGrasCombattant"))
-        self.groupBox = QtGui.QGroupBox(self.tabForme)
-        self.groupBox.setGeometry(QtCore.QRect(310, 20, 171, 291))
-        self.groupBox.setObjectName(_fromUtf8("groupBox"))
-        self.imgAfficherCombattant = QtGui.QCheckBox(self.groupBox)
-        self.imgAfficherCombattant.setGeometry(QtCore.QRect(100, 10, 21, 21))
-        self.imgAfficherCombattant.setText(_fromUtf8(""))
-        self.imgAfficherCombattant.setChecked(True)
-        self.imgAfficherCombattant.setObjectName(_fromUtf8("imgAfficherCombattant"))
-        self.imgPosYCombattant = QtGui.QSlider(self.groupBox)
-        self.imgPosYCombattant.setGeometry(QtCore.QRect(10, 200, 141, 19))
-        self.imgPosYCombattant.setMinimum(-400)
-        self.imgPosYCombattant.setMaximum(400)
-        self.imgPosYCombattant.setOrientation(QtCore.Qt.Horizontal)
-        self.imgPosYCombattant.setObjectName(_fromUtf8("imgPosYCombattant"))
-        self.label_12 = QtGui.QLabel(self.groupBox)
-        self.label_12.setGeometry(QtCore.QRect(10, 60, 111, 20))
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_depNage.setFont(font)
+        self.edc_depNage.setPrefix(_fromUtf8(""))
+        self.edc_depNage.setDecimals(0)
+        self.edc_depNage.setSingleStep(1.0)
+        self.edc_depNage.setProperty("value", 4.0)
+        self.edc_depNage.setObjectName(_fromUtf8("edc_depNage"))
+        self.label_11 = QtGui.QLabel(self.page_dep)
+        self.label_11.setGeometry(QtCore.QRect(110, 180, 81, 31))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.label_11.setFont(font)
+        self.label_11.setFrameShape(QtGui.QFrame.NoFrame)
+        self.label_11.setObjectName(_fromUtf8("label_11"))
+        self.edc_depEscalade = QtGui.QDoubleSpinBox(self.page_dep)
+        self.edc_depEscalade.setGeometry(QtCore.QRect(220, 220, 51, 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_depEscalade.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_depEscalade.setFont(font)
+        self.edc_depEscalade.setPrefix(_fromUtf8(""))
+        self.edc_depEscalade.setDecimals(0)
+        self.edc_depEscalade.setSingleStep(1.0)
+        self.edc_depEscalade.setProperty("value", 2.0)
+        self.edc_depEscalade.setObjectName(_fromUtf8("edc_depEscalade"))
+        self.label_12 = QtGui.QLabel(self.page_dep)
+        self.label_12.setGeometry(QtCore.QRect(110, 220, 91, 31))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.label_12.setFont(font)
+        self.label_12.setFrameShape(QtGui.QFrame.NoFrame)
         self.label_12.setObjectName(_fromUtf8("label_12"))
-        self.label_13 = QtGui.QLabel(self.groupBox)
-        self.label_13.setGeometry(QtCore.QRect(10, 100, 111, 20))
+        self.label_13 = QtGui.QLabel(self.page_dep)
+        self.label_13.setGeometry(QtCore.QRect(110, 260, 61, 31))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.label_13.setFont(font)
+        self.label_13.setFrameShape(QtGui.QFrame.NoFrame)
         self.label_13.setObjectName(_fromUtf8("label_13"))
-        self.label_14 = QtGui.QLabel(self.groupBox)
-        self.label_14.setGeometry(QtCore.QRect(10, 140, 111, 20))
+        self.edc_depVol = QtGui.QDoubleSpinBox(self.page_dep)
+        self.edc_depVol.setGeometry(QtCore.QRect(220, 260, 51, 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_depVol.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_depVol.setFont(font)
+        self.edc_depVol.setPrefix(_fromUtf8(""))
+        self.edc_depVol.setDecimals(0)
+        self.edc_depVol.setSingleStep(1.0)
+        self.edc_depVol.setProperty("value", 0.0)
+        self.edc_depVol.setObjectName(_fromUtf8("edc_depVol"))
+        self.edc_saut = QtGui.QDoubleSpinBox(self.page_dep)
+        self.edc_saut.setGeometry(QtCore.QRect(290, 320, 51, 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_saut.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_saut.setFont(font)
+        self.edc_saut.setPrefix(_fromUtf8(""))
+        self.edc_saut.setDecimals(0)
+        self.edc_saut.setSingleStep(1.0)
+        self.edc_saut.setProperty("value", 5.0)
+        self.edc_saut.setObjectName(_fromUtf8("edc_saut"))
+        self.label_14 = QtGui.QLabel(self.page_dep)
+        self.label_14.setGeometry(QtCore.QRect(50, 320, 231, 31))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.label_14.setFont(font)
+        self.label_14.setFrameShape(QtGui.QFrame.NoFrame)
         self.label_14.setObjectName(_fromUtf8("label_14"))
-        self.imgTailleXCombattant = QtGui.QSlider(self.groupBox)
-        self.imgTailleXCombattant.setGeometry(QtCore.QRect(10, 80, 141, 19))
-        self.imgTailleXCombattant.setMinimum(0)
-        self.imgTailleXCombattant.setProperty("value", 10)
-        self.imgTailleXCombattant.setOrientation(QtCore.Qt.Horizontal)
-        self.imgTailleXCombattant.setObjectName(_fromUtf8("imgTailleXCombattant"))
-        self.imgRotationCombattant = QtGui.QSlider(self.groupBox)
-        self.imgRotationCombattant.setGeometry(QtCore.QRect(10, 40, 141, 19))
-        self.imgRotationCombattant.setMinimum(-180)
-        self.imgRotationCombattant.setMaximum(180)
-        self.imgRotationCombattant.setOrientation(QtCore.Qt.Horizontal)
-        self.imgRotationCombattant.setObjectName(_fromUtf8("imgRotationCombattant"))
-        self.label_16 = QtGui.QLabel(self.groupBox)
-        self.label_16.setGeometry(QtCore.QRect(10, 20, 111, 20))
-        self.label_16.setObjectName(_fromUtf8("label_16"))
-        self.imgPosXCombattant = QtGui.QSlider(self.groupBox)
-        self.imgPosXCombattant.setGeometry(QtCore.QRect(10, 160, 141, 19))
-        self.imgPosXCombattant.setMinimum(-400)
-        self.imgPosXCombattant.setMaximum(400)
-        self.imgPosXCombattant.setOrientation(QtCore.Qt.Horizontal)
-        self.imgPosXCombattant.setObjectName(_fromUtf8("imgPosXCombattant"))
-        self.label_15 = QtGui.QLabel(self.groupBox)
-        self.label_15.setGeometry(QtCore.QRect(10, 180, 111, 20))
+        self.label_2 = QtGui.QLabel(self.page_dep)
+        self.label_2.setGeometry(QtCore.QRect(60, 140, 31, 31))
+        self.label_2.setText(_fromUtf8(""))
+        self.label_2.setPixmap(QtGui.QPixmap(_fromUtf8("img/btnZonePlacement.png")))
+        self.label_2.setScaledContents(False)
+        self.label_2.setAlignment(QtCore.Qt.AlignCenter)
+        self.label_2.setObjectName(_fromUtf8("label_2"))
+        self.label_3 = QtGui.QLabel(self.page_dep)
+        self.label_3.setGeometry(QtCore.QRect(60, 180, 31, 31))
+        self.label_3.setText(_fromUtf8(""))
+        self.label_3.setPixmap(QtGui.QPixmap(_fromUtf8("img/nage_24.png")))
+        self.label_3.setScaledContents(False)
+        self.label_3.setObjectName(_fromUtf8("label_3"))
+        self.label_4 = QtGui.QLabel(self.page_dep)
+        self.label_4.setGeometry(QtCore.QRect(60, 220, 31, 31))
+        self.label_4.setText(_fromUtf8(""))
+        self.label_4.setPixmap(QtGui.QPixmap(_fromUtf8("img/escalade_24.png")))
+        self.label_4.setScaledContents(False)
+        self.label_4.setObjectName(_fromUtf8("label_4"))
+        self.label_5 = QtGui.QLabel(self.page_dep)
+        self.label_5.setGeometry(QtCore.QRect(60, 260, 31, 31))
+        self.label_5.setText(_fromUtf8(""))
+        self.label_5.setPixmap(QtGui.QPixmap(_fromUtf8("img/plume_24.png")))
+        self.label_5.setScaledContents(False)
+        self.label_5.setObjectName(_fromUtf8("label_5"))
+        self.edc_taille = QtGui.QDoubleSpinBox(self.page_dep)
+        self.edc_taille.setGeometry(QtCore.QRect(290, 60, 51, 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_taille.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_taille.setFont(font)
+        self.edc_taille.setPrefix(_fromUtf8(""))
+        self.edc_taille.setDecimals(0)
+        self.edc_taille.setSingleStep(1.0)
+        self.edc_taille.setProperty("value", 2.0)
+        self.edc_taille.setObjectName(_fromUtf8("edc_taille"))
+        self.label_15 = QtGui.QLabel(self.page_dep)
+        self.label_15.setGeometry(QtCore.QRect(50, 60, 231, 31))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.label_15.setFont(font)
+        self.label_15.setFrameShape(QtGui.QFrame.NoFrame)
         self.label_15.setObjectName(_fromUtf8("label_15"))
-        self.imgTailleYCombattant = QtGui.QSlider(self.groupBox)
-        self.imgTailleYCombattant.setGeometry(QtCore.QRect(10, 120, 141, 19))
-        self.imgTailleYCombattant.setMinimum(0)
-        self.imgTailleYCombattant.setProperty("value", 10)
-        self.imgTailleYCombattant.setOrientation(QtCore.Qt.Horizontal)
-        self.imgTailleYCombattant.setObjectName(_fromUtf8("imgTailleYCombattant"))
-        self.imgReinitCombattant = QtGui.QPushButton(self.groupBox)
-        self.imgReinitCombattant.setGeometry(QtCore.QRect(10, 260, 111, 20))
-        self.imgReinitCombattant.setObjectName(_fromUtf8("imgReinitCombattant"))
-        self.imgPivoteCombattant = QtGui.QCheckBox(self.groupBox)
-        self.imgPivoteCombattant.setGeometry(QtCore.QRect(10, 220, 101, 17))
-        self.imgPivoteCombattant.setObjectName(_fromUtf8("imgPivoteCombattant"))
-        self.imgMasqueCombattant = QtGui.QCheckBox(self.groupBox)
-        self.imgMasqueCombattant.setGeometry(QtCore.QRect(10, 240, 101, 17))
-        self.imgMasqueCombattant.setObjectName(_fromUtf8("imgMasqueCombattant"))
-        self.vueForme = QtGui.QGraphicsView(self.tabForme)
-        self.vueForme.setGeometry(QtCore.QRect(20, 20, 281, 291))
-        self.vueForme.setRenderHints(QtGui.QPainter.Antialiasing|QtGui.QPainter.HighQualityAntialiasing|QtGui.QPainter.TextAntialiasing)
-        self.vueForme.setObjectName(_fromUtf8("vueForme"))
-        self.ongletsCreation.addTab(self.tabForme, _fromUtf8(""))
-        self.tabAttributs = QtGui.QWidget()
-        self.tabAttributs.setObjectName(_fromUtf8("tabAttributs"))
-        self.listeAttributs = QtGui.QTableWidget(self.tabAttributs)
-        self.listeAttributs.setGeometry(QtCore.QRect(10, 30, 191, 261))
+        self.edc_pages.addWidget(self.page_dep)
+        self.page_attr = QtGui.QWidget()
+        self.page_attr.setObjectName(_fromUtf8("page_attr"))
+        self.edc_listeAttributs = QtGui.QTableWidget(self.page_attr)
+        self.edc_listeAttributs.setGeometry(QtCore.QRect(20, 50, 171, 351))
         palette = QtGui.QPalette()
         brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 150))
         brush.setStyle(QtCore.Qt.SolidPattern)
@@ -242,28 +515,40 @@ class Ui_editionCombattant(object):
         brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
         brush.setStyle(QtCore.Qt.SolidPattern)
         palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
-        self.listeAttributs.setPalette(palette)
-        self.listeAttributs.setFrameShape(QtGui.QFrame.WinPanel)
-        self.listeAttributs.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
-        self.listeAttributs.setEditTriggers(QtGui.QAbstractItemView.AllEditTriggers)
-        self.listeAttributs.setAlternatingRowColors(True)
-        self.listeAttributs.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
-        self.listeAttributs.setShowGrid(True)
-        self.listeAttributs.setObjectName(_fromUtf8("listeAttributs"))
-        self.listeAttributs.setColumnCount(2)
-        self.listeAttributs.setRowCount(0)
+        self.edc_listeAttributs.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_listeAttributs.setFont(font)
+        self.edc_listeAttributs.setFrameShape(QtGui.QFrame.WinPanel)
+        self.edc_listeAttributs.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
+        self.edc_listeAttributs.setEditTriggers(QtGui.QAbstractItemView.AllEditTriggers)
+        self.edc_listeAttributs.setAlternatingRowColors(True)
+        self.edc_listeAttributs.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
+        self.edc_listeAttributs.setShowGrid(True)
+        self.edc_listeAttributs.setObjectName(_fromUtf8("edc_listeAttributs"))
+        self.edc_listeAttributs.setColumnCount(2)
+        self.edc_listeAttributs.setRowCount(0)
         item = QtGui.QTableWidgetItem()
-        self.listeAttributs.setHorizontalHeaderItem(0, item)
+        self.edc_listeAttributs.setHorizontalHeaderItem(0, item)
         item = QtGui.QTableWidgetItem()
-        self.listeAttributs.setHorizontalHeaderItem(1, item)
-        self.listeAttributs.horizontalHeader().setVisible(False)
-        self.listeAttributs.horizontalHeader().setDefaultSectionSize(50)
-        self.listeAttributs.verticalHeader().setVisible(False)
-        self.label_18 = QtGui.QLabel(self.tabAttributs)
-        self.label_18.setGeometry(QtCore.QRect(10, 2, 221, 16))
+        self.edc_listeAttributs.setHorizontalHeaderItem(1, item)
+        self.edc_listeAttributs.horizontalHeader().setVisible(False)
+        self.edc_listeAttributs.horizontalHeader().setDefaultSectionSize(50)
+        self.edc_listeAttributs.verticalHeader().setVisible(False)
+        self.label_18 = QtGui.QLabel(self.page_attr)
+        self.label_18.setGeometry(QtCore.QRect(20, 20, 171, 16))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.label_18.setFont(font)
         self.label_18.setObjectName(_fromUtf8("label_18"))
-        self.listeInventaireCombattant = QtGui.QTableWidget(self.tabAttributs)
-        self.listeInventaireCombattant.setGeometry(QtCore.QRect(230, 30, 291, 131))
+        self.edc_pages.addWidget(self.page_attr)
+        self.page_att = QtGui.QWidget()
+        self.page_att.setObjectName(_fromUtf8("page_att"))
+        self.edc_pages.addWidget(self.page_att)
+        self.page_invent = QtGui.QWidget()
+        self.page_invent.setObjectName(_fromUtf8("page_invent"))
+        self.edc_listeInventaire = QtGui.QTableWidget(self.page_invent)
+        self.edc_listeInventaire.setGeometry(QtCore.QRect(20, 50, 381, 311))
         palette = QtGui.QPalette()
         brush = QtGui.QBrush(QtGui.QColor(255, 255, 255, 150))
         brush.setStyle(QtCore.Qt.SolidPattern)
@@ -274,107 +559,477 @@ class Ui_editionCombattant(object):
         brush = QtGui.QBrush(QtGui.QColor(240, 240, 240))
         brush.setStyle(QtCore.Qt.SolidPattern)
         palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
-        self.listeInventaireCombattant.setPalette(palette)
-        self.listeInventaireCombattant.setFrameShape(QtGui.QFrame.WinPanel)
-        self.listeInventaireCombattant.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
-        self.listeInventaireCombattant.setEditTriggers(QtGui.QAbstractItemView.AllEditTriggers)
-        self.listeInventaireCombattant.setAlternatingRowColors(True)
-        self.listeInventaireCombattant.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
-        self.listeInventaireCombattant.setShowGrid(True)
-        self.listeInventaireCombattant.setObjectName(_fromUtf8("listeInventaireCombattant"))
-        self.listeInventaireCombattant.setColumnCount(2)
-        self.listeInventaireCombattant.setRowCount(0)
+        self.edc_listeInventaire.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_listeInventaire.setFont(font)
+        self.edc_listeInventaire.setFrameShape(QtGui.QFrame.WinPanel)
+        self.edc_listeInventaire.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
+        self.edc_listeInventaire.setEditTriggers(QtGui.QAbstractItemView.AllEditTriggers)
+        self.edc_listeInventaire.setAlternatingRowColors(True)
+        self.edc_listeInventaire.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
+        self.edc_listeInventaire.setShowGrid(True)
+        self.edc_listeInventaire.setObjectName(_fromUtf8("edc_listeInventaire"))
+        self.edc_listeInventaire.setColumnCount(2)
+        self.edc_listeInventaire.setRowCount(0)
         item = QtGui.QTableWidgetItem()
-        self.listeInventaireCombattant.setHorizontalHeaderItem(0, item)
+        self.edc_listeInventaire.setHorizontalHeaderItem(0, item)
         item = QtGui.QTableWidgetItem()
-        self.listeInventaireCombattant.setHorizontalHeaderItem(1, item)
-        self.listeInventaireCombattant.horizontalHeader().setVisible(False)
-        self.listeInventaireCombattant.horizontalHeader().setDefaultSectionSize(50)
-        self.listeInventaireCombattant.verticalHeader().setVisible(False)
-        self.label_22 = QtGui.QLabel(self.tabAttributs)
-        self.label_22.setGeometry(QtCore.QRect(230, 10, 221, 16))
-        self.label_22.setObjectName(_fromUtf8("label_22"))
-        self.notesCombattant = QtGui.QTextEdit(self.tabAttributs)
-        self.notesCombattant.setGeometry(QtCore.QRect(230, 200, 291, 91))
-        self.notesCombattant.setObjectName(_fromUtf8("notesCombattant"))
-        self.label_23 = QtGui.QLabel(self.tabAttributs)
-        self.label_23.setGeometry(QtCore.QRect(230, 180, 46, 13))
+        self.edc_listeInventaire.setHorizontalHeaderItem(1, item)
+        self.edc_listeInventaire.horizontalHeader().setVisible(False)
+        self.edc_listeInventaire.horizontalHeader().setDefaultSectionSize(50)
+        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))
+        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))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.label_24.setFont(font)
+        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))
+        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()
+        self.page_notes.setObjectName(_fromUtf8("page_notes"))
+        self.label_23 = QtGui.QLabel(self.page_notes)
+        self.label_23.setGeometry(QtCore.QRect(20, 230, 151, 20))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.label_23.setFont(font)
         self.label_23.setObjectName(_fromUtf8("label_23"))
-        self.ajouterInventaireCombattant = QtGui.QToolButton(self.tabAttributs)
-        self.ajouterInventaireCombattant.setGeometry(QtCore.QRect(470, 10, 21, 20))
-        icon = QtGui.QIcon()
-        icon.addPixmap(QtGui.QPixmap(_fromUtf8("img/plus.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.ajouterInventaireCombattant.setIcon(icon)
-        self.ajouterInventaireCombattant.setObjectName(_fromUtf8("ajouterInventaireCombattant"))
-        self.supprimerInventaireCombattant = QtGui.QToolButton(self.tabAttributs)
-        self.supprimerInventaireCombattant.setGeometry(QtCore.QRect(500, 10, 21, 20))
-        icon1 = QtGui.QIcon()
-        icon1.addPixmap(QtGui.QPixmap(_fromUtf8("img/gomme.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.supprimerInventaireCombattant.setIcon(icon1)
-        self.supprimerInventaireCombattant.setObjectName(_fromUtf8("supprimerInventaireCombattant"))
-        self.ongletsCreation.addTab(self.tabAttributs, _fromUtf8(""))
-        self.tabAttaques = QtGui.QWidget()
-        self.tabAttaques.setObjectName(_fromUtf8("tabAttaques"))
-        self.ongletsCreation.addTab(self.tabAttaques, _fromUtf8(""))
+        self.edc_notes = QtGui.QTextEdit(self.page_notes)
+        self.edc_notes.setGeometry(QtCore.QRect(20, 257, 381, 171))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_notes.setFont(font)
+        self.edc_notes.setObjectName(_fromUtf8("edc_notes"))
+        self.edc_detail_age = QtGui.QLineEdit(self.page_notes)
+        self.edc_detail_age.setGeometry(QtCore.QRect(340, 21, 61, 20))
+        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_detail_age.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_detail_age.setFont(font)
+        self.edc_detail_age.setObjectName(_fromUtf8("edc_detail_age"))
+        self.label_16 = QtGui.QLabel(self.page_notes)
+        self.label_16.setGeometry(QtCore.QRect(290, 20, 41, 21))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(8)
+        self.label_16.setFont(font)
+        self.label_16.setObjectName(_fromUtf8("label_16"))
+        self.label_17 = QtGui.QLabel(self.page_notes)
+        self.label_17.setGeometry(QtCore.QRect(290, 50, 41, 21))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(8)
+        self.label_17.setFont(font)
+        self.label_17.setObjectName(_fromUtf8("label_17"))
+        self.edc_detail_sexe = QtGui.QLineEdit(self.page_notes)
+        self.edc_detail_sexe.setGeometry(QtCore.QRect(340, 50, 61, 20))
+        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_detail_sexe.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_detail_sexe.setFont(font)
+        self.edc_detail_sexe.setObjectName(_fromUtf8("edc_detail_sexe"))
+        self.edc_detail_yeux = QtGui.QLineEdit(self.page_notes)
+        self.edc_detail_yeux.setGeometry(QtCore.QRect(100, 140, 91, 20))
+        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_detail_yeux.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_detail_yeux.setFont(font)
+        self.edc_detail_yeux.setText(_fromUtf8(""))
+        self.edc_detail_yeux.setObjectName(_fromUtf8("edc_detail_yeux"))
+        self.label_37 = QtGui.QLabel(self.page_notes)
+        self.label_37.setGeometry(QtCore.QRect(20, 140, 71, 21))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(8)
+        self.label_37.setFont(font)
+        self.label_37.setObjectName(_fromUtf8("label_37"))
+        self.edc_detail_peau = QtGui.QLineEdit(self.page_notes)
+        self.edc_detail_peau.setGeometry(QtCore.QRect(100, 170, 91, 20))
+        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_detail_peau.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_detail_peau.setFont(font)
+        self.edc_detail_peau.setText(_fromUtf8(""))
+        self.edc_detail_peau.setObjectName(_fromUtf8("edc_detail_peau"))
+        self.label_38 = QtGui.QLabel(self.page_notes)
+        self.label_38.setGeometry(QtCore.QRect(20, 170, 61, 21))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(8)
+        self.label_38.setFont(font)
+        self.label_38.setObjectName(_fromUtf8("label_38"))
+        self.label_39 = QtGui.QLabel(self.page_notes)
+        self.label_39.setGeometry(QtCore.QRect(20, 190, 91, 31))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(8)
+        self.label_39.setFont(font)
+        self.label_39.setObjectName(_fromUtf8("label_39"))
+        self.edc_detail_cheveux = QtGui.QLineEdit(self.page_notes)
+        self.edc_detail_cheveux.setGeometry(QtCore.QRect(100, 200, 91, 20))
+        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_detail_cheveux.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_detail_cheveux.setFont(font)
+        self.edc_detail_cheveux.setText(_fromUtf8(""))
+        self.edc_detail_cheveux.setObjectName(_fromUtf8("edc_detail_cheveux"))
+        self.edc_detail_lieuNaissance = QtGui.QLineEdit(self.page_notes)
+        self.edc_detail_lieuNaissance.setGeometry(QtCore.QRect(100, 110, 171, 20))
+        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_detail_lieuNaissance.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_detail_lieuNaissance.setFont(font)
+        self.edc_detail_lieuNaissance.setText(_fromUtf8(""))
+        self.edc_detail_lieuNaissance.setObjectName(_fromUtf8("edc_detail_lieuNaissance"))
+        self.label_40 = QtGui.QLabel(self.page_notes)
+        self.label_40.setGeometry(QtCore.QRect(20, 100, 71, 31))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(8)
+        self.label_40.setFont(font)
+        self.label_40.setObjectName(_fromUtf8("label_40"))
+        self.label_41 = QtGui.QLabel(self.page_notes)
+        self.label_41.setGeometry(QtCore.QRect(290, 80, 41, 21))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(8)
+        self.label_41.setFont(font)
+        self.label_41.setObjectName(_fromUtf8("label_41"))
+        self.edc_detail_poids = QtGui.QLineEdit(self.page_notes)
+        self.edc_detail_poids.setGeometry(QtCore.QRect(340, 81, 61, 20))
+        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_detail_poids.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_detail_poids.setFont(font)
+        self.edc_detail_poids.setObjectName(_fromUtf8("edc_detail_poids"))
+        self.label_43 = QtGui.QLabel(self.page_notes)
+        self.label_43.setGeometry(QtCore.QRect(20, 20, 61, 21))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(8)
+        self.label_43.setFont(font)
+        self.label_43.setObjectName(_fromUtf8("label_43"))
+        self.edc_detail_espece = QtGui.QLineEdit(self.page_notes)
+        self.edc_detail_espece.setGeometry(QtCore.QRect(100, 21, 171, 20))
+        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_detail_espece.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_detail_espece.setFont(font)
+        self.edc_detail_espece.setText(_fromUtf8(""))
+        self.edc_detail_espece.setObjectName(_fromUtf8("edc_detail_espece"))
+        self.label_44 = QtGui.QLabel(self.page_notes)
+        self.label_44.setGeometry(QtCore.QRect(20, 49, 81, 21))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(8)
+        self.label_44.setFont(font)
+        self.label_44.setObjectName(_fromUtf8("label_44"))
+        self.edc_detail_profession = QtGui.QLineEdit(self.page_notes)
+        self.edc_detail_profession.setGeometry(QtCore.QRect(100, 50, 171, 20))
+        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_detail_profession.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_detail_profession.setFont(font)
+        self.edc_detail_profession.setText(_fromUtf8(""))
+        self.edc_detail_profession.setObjectName(_fromUtf8("edc_detail_profession"))
+        self.label_45 = QtGui.QLabel(self.page_notes)
+        self.label_45.setGeometry(QtCore.QRect(290, 110, 41, 21))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(8)
+        self.label_45.setFont(font)
+        self.label_45.setObjectName(_fromUtf8("label_45"))
+        self.edc_detail_taille = QtGui.QLineEdit(self.page_notes)
+        self.edc_detail_taille.setGeometry(QtCore.QRect(340, 110, 61, 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.edc_detail_taille.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_detail_taille.setFont(font)
+        self.edc_detail_taille.setText(_fromUtf8(""))
+        self.edc_detail_taille.setObjectName(_fromUtf8("edc_detail_taille"))
+        self.edc_detail_religion = QtGui.QLineEdit(self.page_notes)
+        self.edc_detail_religion.setGeometry(QtCore.QRect(100, 80, 171, 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.edc_detail_religion.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_detail_religion.setFont(font)
+        self.edc_detail_religion.setText(_fromUtf8(""))
+        self.edc_detail_religion.setObjectName(_fromUtf8("edc_detail_religion"))
+        self.label_42 = QtGui.QLabel(self.page_notes)
+        self.label_42.setGeometry(QtCore.QRect(20, 70, 81, 31))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(8)
+        self.label_42.setFont(font)
+        self.label_42.setObjectName(_fromUtf8("label_42"))
+        self.edc_detail_langues = QtGui.QLineEdit(self.page_notes)
+        self.edc_detail_langues.setGeometry(QtCore.QRect(210, 170, 191, 51))
+        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_detail_langues.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_detail_langues.setFont(font)
+        self.edc_detail_langues.setText(_fromUtf8(""))
+        self.edc_detail_langues.setObjectName(_fromUtf8("edc_detail_langues"))
+        self.label_46 = QtGui.QLabel(self.page_notes)
+        self.label_46.setGeometry(QtCore.QRect(210, 140, 101, 31))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(8)
+        self.label_46.setFont(font)
+        self.label_46.setObjectName(_fromUtf8("label_46"))
+        self.edc_pages.addWidget(self.page_notes)
+        self.verticalLayout.addWidget(self.edc_pages)
+        self.frame = QtGui.QFrame(ecran_creationPion)
+        self.frame.setMinimumSize(QtCore.QSize(392, 50))
+        self.frame.setMaximumSize(QtCore.QSize(16777215, 50))
+        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
+        self.frame.setFrameShadow(QtGui.QFrame.Raised)
+        self.frame.setObjectName(_fromUtf8("frame"))
+        self.edc_enregistrer = QtGui.QPushButton(self.frame)
+        self.edc_enregistrer.setEnabled(False)
+        self.edc_enregistrer.setGeometry(QtCore.QRect(330, 10, 91, 31))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setBold(True)
+        font.setWeight(75)
+        self.edc_enregistrer.setFont(font)
+        self.edc_enregistrer.setObjectName(_fromUtf8("edc_enregistrer"))
+        self.edc_annuler = QtGui.QPushButton(self.frame)
+        self.edc_annuler.setGeometry(QtCore.QRect(10, 10, 81, 31))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_annuler.setFont(font)
+        self.edc_annuler.setObjectName(_fromUtf8("edc_annuler"))
+        self.verticalLayout.addWidget(self.frame)
+        self.horizontalLayout.addLayout(self.verticalLayout)
+        self.horizontalLayout.setStretch(1, 1)
+        self.horizontalLayout_2.addLayout(self.horizontalLayout)
 
-        self.retranslateUi(editionCombattant)
-        self.ongletsCreation.setCurrentIndex(0)
-        QtCore.QMetaObject.connectSlotsByName(editionCombattant)
+        self.retranslateUi(ecran_creationPion)
+        self.edc_pages.setCurrentIndex(0)
+        QtCore.QObject.connect(self.edc_menu, QtCore.SIGNAL(_fromUtf8("cellClicked(int,int)")), self.edc_pages.setCurrentIndex)
+        QtCore.QMetaObject.connectSlotsByName(ecran_creationPion)
 
-    def retranslateUi(self, editionCombattant):
-        editionCombattant.setWindowTitle(_translate("editionCombattant", "Dialog", None))
-        self.label_11.setText(_translate("editionCombattant", "Image (.png, .jpg) : ...img\\", None))
-        self.annulerCombattant.setText(_translate("editionCombattant", "Annuler", None))
-        self.label_3.setText(_translate("editionCombattant", "Id : ", None))
-        self.label_10.setText(_translate("editionCombattant", "Taille (en cases) : ", None))
-        self.volCombattant.setText(_translate("editionCombattant", "Vole", None))
-        self.label_2.setText(_translate("editionCombattant", "...img\\", None))
-        self.label.setText(_translate("editionCombattant", "Logo (.png, .jpg) : ", None))
-        self.enregistrerCombattant.setText(_translate("editionCombattant", "Enregistrer", None))
-        self.label_4.setText(_translate("editionCombattant", "Nom : ", None))
-        self.couleurCombattant.setText(_translate("editionCombattant", "Couleur", None))
-        self.supprimerCombattant.setText(_translate("editionCombattant", "Supprimer", None))
-        self.label_6.setText(_translate("editionCombattant", "Déplacement : ", None))
-        self.groupBox_2.setTitle(_translate("editionCombattant", "Texte", None))
-        self.label_17.setText(_translate("editionCombattant", "Taille de la police", None))
-        self.label_19.setText(_translate("editionCombattant", "Position (X)", None))
-        self.label_20.setText(_translate("editionCombattant", "Rotation", None))
-        self.label_21.setText(_translate("editionCombattant", "Position (Y)", None))
-        self.txtReinitCombattant.setText(_translate("editionCombattant", "Ré-initialiser", None))
-        self.txtGrasCombattant.setText(_translate("editionCombattant", "Gras", None))
-        self.groupBox.setTitle(_translate("editionCombattant", "Image", None))
-        self.label_12.setText(_translate("editionCombattant", "Taille (X)", None))
-        self.label_13.setText(_translate("editionCombattant", "Taille (Y)", None))
-        self.label_14.setText(_translate("editionCombattant", "Position (X)", None))
-        self.label_16.setText(_translate("editionCombattant", "Rotation", None))
-        self.label_15.setText(_translate("editionCombattant", "Position (Y)", None))
-        self.imgReinitCombattant.setText(_translate("editionCombattant", "Ré-initialiser", None))
-        self.imgPivoteCombattant.setText(_translate("editionCombattant", "Image pivote", None))
-        self.imgMasqueCombattant.setText(_translate("editionCombattant", "Masque auto.", None))
-        self.ongletsCreation.setTabText(self.ongletsCreation.indexOf(self.tabForme), _translate("editionCombattant", "Forme et apparence", None))
-        item = self.listeAttributs.horizontalHeaderItem(0)
-        item.setText(_translate("editionCombattant", "Nouvelle colonne", None))
-        item = self.listeAttributs.horizontalHeaderItem(1)
-        item.setText(_translate("editionCombattant", "Valeur", None))
-        self.label_18.setText(_translate("editionCombattant", "Attributs / caractéristiques :  ", None))
-        item = self.listeInventaireCombattant.horizontalHeaderItem(0)
-        item.setText(_translate("editionCombattant", "nombre", None))
-        item = self.listeInventaireCombattant.horizontalHeaderItem(1)
-        item.setText(_translate("editionCombattant", "objet", None))
-        self.label_22.setText(_translate("editionCombattant", "Inventaire de base :", None))
-        self.label_23.setText(_translate("editionCombattant", "Notes :", None))
-        self.ajouterInventaireCombattant.setText(_translate("editionCombattant", "...", None))
-        self.supprimerInventaireCombattant.setText(_translate("editionCombattant", "...", None))
-        self.ongletsCreation.setTabText(self.ongletsCreation.indexOf(self.tabAttributs), _translate("editionCombattant", "Attributs et inventaire", None))
-        self.ongletsCreation.setTabText(self.ongletsCreation.indexOf(self.tabAttaques), _translate("editionCombattant", "Attaques", None))
+    def retranslateUi(self, ecran_creationPion):
+        ecran_creationPion.setWindowTitle(_translate("ecran_creationPion", "Creation / Edition de combattant", None))
+        item = self.edc_menu.verticalHeaderItem(0)
+        item.setText(_translate("ecran_creationPion", "1", None))
+        item = self.edc_menu.verticalHeaderItem(1)
+        item.setText(_translate("ecran_creationPion", "2", None))
+        item = self.edc_menu.verticalHeaderItem(2)
+        item.setText(_translate("ecran_creationPion", "3", None))
+        item = self.edc_menu.verticalHeaderItem(3)
+        item.setText(_translate("ecran_creationPion", "4", None))
+        item = self.edc_menu.verticalHeaderItem(4)
+        item.setText(_translate("ecran_creationPion", "5", None))
+        item = self.edc_menu.verticalHeaderItem(5)
+        item.setText(_translate("ecran_creationPion", "6", None))
+        item = self.edc_menu.horizontalHeaderItem(0)
+        item.setText(_translate("ecran_creationPion", "inutile", None))
+        item = self.edc_menu.horizontalHeaderItem(1)
+        item.setText(_translate("ecran_creationPion", "menus", None))
+        __sortingEnabled = self.edc_menu.isSortingEnabled()
+        self.edc_menu.setSortingEnabled(False)
+        item = self.edc_menu.item(0, 1)
+        item.setText(_translate("ecran_creationPion", " NOM ET APPARENCE ", None))
+        item = self.edc_menu.item(1, 1)
+        item.setText(_translate("ecran_creationPion", " TAILLE ET DEPLACEMENT ", None))
+        item = self.edc_menu.item(2, 1)
+        item.setText(_translate("ecran_creationPion", " ATTRIBUTS ET CAPACITES", None))
+        item = self.edc_menu.item(3, 1)
+        item.setText(_translate("ecran_creationPion", " ATTAQUES ", None))
+        item = self.edc_menu.item(4, 1)
+        item.setText(_translate("ecran_creationPion", " INVENTAIRE ", None))
+        item = self.edc_menu.item(5, 1)
+        item.setText(_translate("ecran_creationPion", " NOTES ", None))
+        self.edc_menu.setSortingEnabled(__sortingEnabled)
+        self.edc_logo.setText(_translate("ecran_creationPion", "Choisissez \n"
+"un fichier\n"
+"image", None))
+        self.label_8.setText(_translate("ecran_creationPion", "Nom : ", None))
+        self.edc_image.setText(_translate("ecran_creationPion", "...", None))
+        self.edc_couleur.setText(_translate("ecran_creationPion", "...", None))
+        self.edc_aideForme.setText(_translate("ecran_creationPion", "...", None))
+        self.edp_casesHexa.setText(_translate("ecran_creationPion", "Cases hexagonales", None))
+        self.edp_casesCarrees.setText(_translate("ecran_creationPion", "Cases carrées", None))
+        self.label_9.setText(_translate("ecran_creationPion", "Nombre de cases que la créature peut parcourir en un tour : ", None))
+        self.label_10.setText(_translate("ecran_creationPion", "Marche / Course", None))
+        self.label_11.setText(_translate("ecran_creationPion", "Nage    ", None))
+        self.label_12.setText(_translate("ecran_creationPion", "Escalade ", None))
+        self.label_13.setText(_translate("ecran_creationPion", "Vol      ", None))
+        self.label_14.setText(_translate("ecran_creationPion", "Hauteur maximum pour les sauts : ", None))
+        self.label_15.setText(_translate("ecran_creationPion", "Taille de la créature (en cases) : ", None))
+        item = self.edc_listeAttributs.horizontalHeaderItem(0)
+        item.setText(_translate("ecran_creationPion", "Nouvelle colonne", None))
+        item = self.edc_listeAttributs.horizontalHeaderItem(1)
+        item.setText(_translate("ecran_creationPion", "Valeur", None))
+        self.label_18.setText(_translate("ecran_creationPion", "Attributs / caractéristiques :  ", None))
+        item = self.edc_listeInventaire.horizontalHeaderItem(0)
+        item.setText(_translate("ecran_creationPion", "nombre", None))
+        item = self.edc_listeInventaire.horizontalHeaderItem(1)
+        item.setText(_translate("ecran_creationPion", "objet", None))
+        self.edc_inventaire_supprimer.setText(_translate("ecran_creationPion", "...", None))
+        self.label_24.setText(_translate("ecran_creationPion", "Inventaire :", None))
+        self.edc_inventaire_nouveau.setText(_translate("ecran_creationPion", "...", None))
+        self.label_23.setText(_translate("ecran_creationPion", "Notes :", None))
+        self.label_16.setText(_translate("ecran_creationPion", "Age : ", None))
+        self.label_17.setText(_translate("ecran_creationPion", "Sexe : ", None))
+        self.label_37.setText(_translate("ecran_creationPion", "Yeux :", None))
+        self.label_38.setText(_translate("ecran_creationPion", "Peau :", None))
+        self.label_39.setText(_translate("ecran_creationPion", "Poils /\n"
+"Cheveux :", None))
+        self.label_40.setText(_translate("ecran_creationPion", "Lieu de\n"
+"naissance :", None))
+        self.label_41.setText(_translate("ecran_creationPion", "Poids : ", None))
+        self.label_43.setText(_translate("ecran_creationPion", "Espèce : ", None))
+        self.label_44.setText(_translate("ecran_creationPion", "Profession : ", None))
+        self.label_45.setText(_translate("ecran_creationPion", "Taille : ", None))
+        self.label_42.setText(_translate("ecran_creationPion", "Religion /\n"
+"Croyances :", None))
+        self.label_46.setText(_translate("ecran_creationPion", "Langues parlées :", None))
+        self.edc_enregistrer.setText(_translate("ecran_creationPion", "Enregistrer", None))
+        self.edc_annuler.setText(_translate("ecran_creationPion", "Annuler", None))
 
+from dm import DmLabelChoixImage, DmTableMenu
 
 if __name__ == "__main__":
     import sys
     app = QtGui.QApplication(sys.argv)
-    editionCombattant = QtGui.QDialog()
-    ui = Ui_editionCombattant()
-    ui.setupUi(editionCombattant)
-    editionCombattant.show()
+    ecran_creationPion = QtGui.QDialog()
+    ui = Ui_ecran_creationPion()
+    ui.setupUi(ecran_creationPion)
+    ecran_creationPion.show()
     sys.exit(app.exec_())
 

+ 24 - 37
lib/ui/editionCreature.ui → lib/ui/editionCombattant - Copie.ui

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <ui version="4.0">
- <class>editionCreature</class>
- <widget class="QDialog" name="editionCreature">
+ <class>editionCombattant</class>
+ <widget class="QDialog" name="editionCombattant">
   <property name="geometry">
    <rect>
     <x>0</x>
@@ -45,7 +45,7 @@
     <string>Image (.png, .jpg) : ...img\</string>
    </property>
   </widget>
-  <widget class="QPushButton" name="annulerCreature">
+  <widget class="QPushButton" name="annulerCombattant">
    <property name="geometry">
     <rect>
      <x>490</x>
@@ -209,7 +209,7 @@
     <string>Logo (.png, .jpg) : </string>
    </property>
   </widget>
-  <widget class="QPushButton" name="enregistrerCreature">
+  <widget class="QPushButton" name="enregistrerCombattant">
    <property name="enabled">
     <bool>false</bool>
    </property>
@@ -267,7 +267,7 @@
     <string>Couleur</string>
    </property>
   </widget>
-  <widget class="QPushButton" name="supprimerCreature">
+  <widget class="QPushButton" name="supprimerCombattant">
    <property name="enabled">
     <bool>false</bool>
    </property>
@@ -306,7 +306,7 @@
     </rect>
    </property>
    <property name="currentIndex">
-    <number>1</number>
+    <number>0</number>
    </property>
    <widget class="QWidget" name="tabForme">
     <attribute name="title">
@@ -315,9 +315,9 @@
     <widget class="QGroupBox" name="groupBox_2">
      <property name="geometry">
       <rect>
-       <x>460</x>
+       <x>490</x>
        <y>20</y>
-       <width>131</width>
+       <width>171</width>
        <height>291</height>
       </rect>
      </property>
@@ -344,8 +344,8 @@
       <property name="geometry">
        <rect>
         <x>10</x>
-        <y>210</y>
-        <width>111</width>
+        <y>180</y>
+        <width>141</width>
         <height>19</height>
        </rect>
       </property>
@@ -376,7 +376,7 @@
       <property name="geometry">
        <rect>
         <x>10</x>
-        <y>150</y>
+        <y>120</y>
         <width>111</width>
         <height>20</height>
        </rect>
@@ -390,7 +390,7 @@
        <rect>
         <x>10</x>
         <y>90</y>
-        <width>111</width>
+        <width>141</width>
         <height>19</height>
        </rect>
       </property>
@@ -412,7 +412,7 @@
        <rect>
         <x>10</x>
         <y>50</y>
-        <width>111</width>
+        <width>141</width>
         <height>19</height>
        </rect>
       </property>
@@ -443,8 +443,8 @@
       <property name="geometry">
        <rect>
         <x>10</x>
-        <y>170</y>
-        <width>111</width>
+        <y>140</y>
+        <width>141</width>
         <height>19</height>
        </rect>
       </property>
@@ -462,7 +462,7 @@
       <property name="geometry">
        <rect>
         <x>10</x>
-        <y>190</y>
+        <y>160</y>
         <width>111</width>
         <height>20</height>
        </rect>
@@ -475,7 +475,7 @@
       <property name="geometry">
        <rect>
         <x>10</x>
-        <y>240</y>
+        <y>260</y>
         <width>111</width>
         <height>20</height>
        </rect>
@@ -488,7 +488,7 @@
       <property name="geometry">
        <rect>
         <x>10</x>
-        <y>120</y>
+        <y>210</y>
         <width>41</width>
         <height>21</height>
        </rect>
@@ -503,7 +503,7 @@
       <rect>
        <x>310</x>
        <y>20</y>
-       <width>131</width>
+       <width>171</width>
        <height>291</height>
       </rect>
      </property>
@@ -531,7 +531,7 @@
        <rect>
         <x>10</x>
         <y>200</y>
-        <width>111</width>
+        <width>141</width>
         <height>19</height>
        </rect>
       </property>
@@ -589,7 +589,7 @@
        <rect>
         <x>10</x>
         <y>80</y>
-        <width>111</width>
+        <width>141</width>
         <height>19</height>
        </rect>
       </property>
@@ -608,7 +608,7 @@
        <rect>
         <x>10</x>
         <y>40</y>
-        <width>111</width>
+        <width>141</width>
         <height>19</height>
        </rect>
       </property>
@@ -640,7 +640,7 @@
        <rect>
         <x>10</x>
         <y>160</y>
-        <width>111</width>
+        <width>141</width>
         <height>19</height>
        </rect>
       </property>
@@ -672,7 +672,7 @@
        <rect>
         <x>10</x>
         <y>120</y>
-        <width>111</width>
+        <width>141</width>
         <height>19</height>
        </rect>
       </property>
@@ -726,19 +726,6 @@
       </property>
      </widget>
     </widget>
-    <widget class="QLabel" name="label_9">
-     <property name="geometry">
-      <rect>
-       <x>20</x>
-       <y>0</y>
-       <width>251</width>
-       <height>20</height>
-      </rect>
-     </property>
-     <property name="text">
-      <string>Forme du pion : </string>
-     </property>
-    </widget>
     <widget class="QGraphicsView" name="vueForme">
      <property name="geometry">
       <rect>

+ 2643 - 988
lib/ui/editionCombattant.ui

@@ -1,1008 +1,2663 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <ui version="4.0">
- <class>editionCombattant</class>
- <widget class="QDialog" name="editionCombattant">
+ <class>ecran_creationPion</class>
+ <widget class="QDialog" name="ecran_creationPion">
+  <property name="windowModality">
+   <enum>Qt::ApplicationModal</enum>
+  </property>
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>712</width>
-    <height>559</height>
+    <width>618</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>Dialog</string>
+   <string>Creation / Edition de combattant</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">
+  <layout class="QHBoxLayout" name="horizontalLayout_2">
+   <property name="leftMargin">
     <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">
+   <property name="topMargin">
     <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">
+   <property name="bottomMargin">
     <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>
+   <item>
+    <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,1">
+     <property name="spacing">
+      <number>3</number>
      </property>
-    </widget>
-   </widget>
-   <widget class="QWidget" name="tabAttaques">
-    <attribute name="title">
-     <string>Attaques</string>
-    </attribute>
-   </widget>
-  </widget>
+     <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="currentIndex">
+          <number>0</number>
+         </property>
+         <widget class="QWidget" name="page_nom">
+          <widget class="DmLineEdit" name="edc_nom">
+           <property name="geometry">
+            <rect>
+             <x>110</x>
+             <y>40</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>30</x>
+             <y>90</y>
+             <width>341</width>
+             <height>331</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>281</width>
+              <height>291</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>300</x>
+              <y>50</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>300</x>
+              <y>10</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>300</x>
+              <y>270</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>300</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>300</y>
+              <width>111</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="text">
+             <string>Cases carrées</string>
+            </property>
+           </widget>
+          </widget>
+          <zorder>edc_nom</zorder>
+          <zorder>edc_logo</zorder>
+          <zorder>label_8</zorder>
+          <zorder>frame_2</zorder>
+          <zorder>edc_menu</zorder>
+         </widget>
+         <widget class="QWidget" name="page_dep">
+          <widget class="QLabel" name="label_9">
+           <property name="geometry">
+            <rect>
+             <x>50</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>220</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>110</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>220</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>110</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>220</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>110</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>110</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>220</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>290</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>50</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>60</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>60</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>60</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>60</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>290</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>50</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="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>230</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>257</y>
+             <width>381</width>
+             <height>171</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+          </widget>
+          <widget class="DmLineEdit" name="edc_detail_age">
+           <property name="geometry">
+            <rect>
+             <x>340</x>
+             <y>21</y>
+             <width>61</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>290</x>
+             <y>20</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>290</x>
+             <y>50</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>340</x>
+             <y>50</y>
+             <width>61</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>20</x>
+             <y>190</y>
+             <width>91</width>
+             <height>31</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>100</x>
+             <y>200</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>290</x>
+             <y>80</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>340</x>
+             <y>81</y>
+             <width>61</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>290</x>
+             <y>110</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>340</x>
+             <y>110</y>
+             <width>61</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>210</x>
+             <y>170</y>
+             <width>191</width>
+             <height>51</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_46">
+           <property name="geometry">
+            <rect>
+             <x>210</x>
+             <y>140</y>
+             <width>101</width>
+             <height>31</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="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>330</x>
+            <y>10</y>
+            <width>91</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>
+ </customwidgets>
  <resources/>
- <connections/>
+ <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>

BIN
lib/ui/img/aide.png


BIN
lib/ui/img/escalade.png


BIN
lib/ui/img/escalade_24.png


BIN
lib/ui/img/nage_24.png


BIN
lib/ui/img/oiseau.png


BIN
lib/ui/img/plume.png


BIN
lib/ui/img/plume_24.png


BIN
lib/ui/img/portrait.png


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio