Просмотр исходного кода

Cout de deplacement pris en compte dans les deplacements, montee ou
descente signalee

olinox14 10 лет назад
Родитель
Сommit
da1c74e6cf

+ 1 - 0
.settings/org.eclipse.core.resources.prefs

@@ -7,6 +7,7 @@ encoding//lib/Combattant.py=utf-8
 encoding//lib/Decor.py=utf-8
 encoding//lib/EcranChargerPlateau.py=utf-8
 encoding//lib/EcranEditionCombattant.py=utf-8
+encoding//lib/EcranEditionTerrain.py=utf-8
 encoding//lib/EcranGestionCombat.py=utf-8
 encoding//lib/Modes.py=utf-8
 encoding//lib/Pion.py=utf-8

+ 27 - 22
lib/AEtoile.py

@@ -50,11 +50,11 @@ class Chemin():
     def liste(self):
         """retourne la liste des coord a traverser pour atteindre l'objectif
            se base sur la fonction estFranchissable() des cases"""
-        if self.debug:
-            for coord in self.plateau.cases:
-                self.plateau.cases[coord].majEstCibleCurseur(False)
-                self.plateau.cases[coord].majEstCibleAttaque(False)
-                QApplication.processEvents()
+#         if self.debug:
+#             for coord in self.plateau.cases:
+#                 self.plateau.cases[coord].majEstCibleCurseur(False)
+#                 self.plateau.cases[coord].majEstCibleAttaque(False)
+#                 QApplication.processEvents()
 
         nO = N(self.origine)
         nO.parent = None
@@ -85,12 +85,16 @@ class Chemin():
                 if not trouve:
                     
                     #on elimine les cases infranchissables
-                    if self.plateau.cases[coord].estFranchissable():
+                    cout = self.plateau.coutDep(position.coord, coord)
+
+                    if cout >= 0:
                         noeud = N(coord)
                         
                         #on calcule le cout de la case
                         if self.stop: return []
-                        noeud.creer(position, self.cible, self.plateau.cases[coord].coutDep())
+
+                        noeud.creer(position, self.cible, cout)
+#                         noeud.creer(position, self.cible, self.plateau.cases[coord].coutDep())
 
                         #si le noeud est trouve dans la liste ouverte, on le compare a celui-ci
                         # si ce nouveau noeud a un cout moindre, on remplace
@@ -98,6 +102,7 @@ class Chemin():
                         trouve = False
                         for nTest in filOuvert:
                             if self.stop: return []
+                            
                             if nTest.coord == noeud.coord:
                                 if noeud.cout < nTest.cout:
                                     nTest.parent = noeud.parent
@@ -106,10 +111,11 @@ class Chemin():
                                     
                         if not trouve:
                             filOuvert.append(noeud)
-                            if self.debug:
-                                self.plateau.cases[noeud.coord].majEstCibleCurseur(True, True)
-                                time.sleep(0.05)
-                                QApplication.processEvents()
+                            
+#                             if self.debug:
+#                                 self.plateau.cases[noeud.coord].majEstCibleCurseur(True, True)
+#                                 time.sleep(0.05)
+#                                 QApplication.processEvents()
 
             #on parcourt les noeuds de la liste ouverte
             #et on cherche le meilleur noeud (le cout le plus faible)
@@ -127,25 +133,24 @@ class Chemin():
                     
             if meilleur:
                 filFerme.append(meilleur)
-                if self.debug:
-                    self.plateau.cases[meilleur.coord].majEstCibleCurseur(True, False)
-                    QApplication.processEvents()
-                    time.sleep(0.05)
+#                 if self.debug:
+#                     self.plateau.cases[meilleur.coord].majEstCibleCurseur(True, False)
+#                     QApplication.processEvents()
+#                     time.sleep(0.05)
                 filOuvert.remove(meilleur)
                 position = meilleur
             else:
                 self.echec = True
 
-        #on revient de parent en parent jusqu'a l'arrivee
+        #on revient de parent en parent jusqu'au depart
         if not self.echec:
             while position.coord != self.origine:
                 if self.stop: return []
-                chemin.insert(0, (position.coord, position.coutG))
-                if self.debug:
-                    self.plateau.cases[position.coord].majEstCibleCurseur(False)
-                    self.plateau.cases[position.coord].majEstCibleAttaque(True)
-                    QApplication.processEvents()
-                
+                chemin.insert(0, (position.coord, position.kDep))
+#                 if self.debug:
+#                     self.plateau.cases[position.coord].majEstCibleCurseur(False)
+#                     self.plateau.cases[position.coord].majEstCibleAttaque(True)
+#                     QApplication.processEvents() 
                 position = position.parent
         else:
             chemin = []          

+ 24 - 8
lib/Actions.py

@@ -176,21 +176,29 @@ class Deplacement(Action):
         if self._chercheurChemin:
             self._chercheurChemin.arreter()
             self._chercheurChemin = None
-        self._chercheurChemin = AEtoile.Chemin(self.plateau, self.coordActeur(), self._coordCible, self.acteur().z, self._zCible)
-        self._chemin = self._chercheurChemin.liste()
+            
+        if self.plateau.cases[self._coordCible].terrain.franchissable and self.plateau.cases[self._coordCible].occupant(None, Combattant) == None:
+            self._chercheurChemin = AEtoile.Chemin(self.plateau, self.coordActeur(), self._coordCible, self.acteur().z, self._zCible)
+            self._chemin = self._chercheurChemin.liste()
         self.afficherCibles(True)        
 
     def afficherCibles(self, actif):
+        compte = 0 ; coutTotal = 0 ; valide = True
+        z = self.plateau.cases[self.acteur().position].zDep()
         for coord, cout in self._chemin:
-            valide = True
+            compte += 1 ; coutTotal += cout
             if actif:
-                if cout > self.acteur().depMarche: valide = False
+                if int(coutTotal) > self.acteur().pM(): valide = False
+                dz = self.plateau.cases[coord].zDep() - z
+                self.plateau.cases[coord].majAffichageDeplacement(compte, valide, dz)
             else:
-                cout = 0
-            self.plateau.cases[coord].majAffichageDeplacement(cout, valide)
-
+                self.plateau.cases[coord].majAffichageDeplacement(0)
+            z = self.plateau.cases[coord].zDep()
+            
     def envoiSignal(self):
-        cout = self._chemin[-1][1]  #cout de deplacement retenu pour la derniere case
+        coutTotal = 0
+        for coord, cout in self._chemin:
+            coutTotal += cout
         print "{} s'est deplacé et a utilisé {} points de mouvement".format(self.acteur().txtId(), cout)
 
     def recupZCible(self):
@@ -598,6 +606,14 @@ class Cone(Zone):
     def typeAttZone(self):
         return "cone"
 
+    def majCibles(self):
+        if self.plateau.cases[self._coordCible].estOccupee():
+            zCible = self.plateau.cases[self._coordCible].occupant().zAbs()
+        else:
+            zCible = self.plateau.cases[self._coordCible].altitude   
+        self._casesCibles = self.plateau.cone3d(self.acteur().position, self._coordCible, \
+                                                (self.acteur().z + self.acteur().hauteur), zCible)
+        
     def creerItemsGraphiques(self):
         self._itemCible = QGraphicsPolygonItem()
         self._itemCible.setPen(QPen(QColor("black")))

+ 25 - 16
lib/Case.py

@@ -10,6 +10,8 @@ from PyQt4.QtGui import QGraphicsPolygonItem, QColor, QGraphicsItem, QPolygonF,
 
 import Modes
 from Pion import Pion
+from Decor import Decor
+from Combattant import Combattant
 from Terrain import Terrain
 
 
@@ -95,7 +97,7 @@ class Case(QGraphicsPolygonItem):
 
 #        #pour afficher les coordonnees des cases:  
         self.etiquette = None
-#         self.afficherEtiquette("{}-{}".format(self.x,self.y))     
+        self.afficherEtiquette("{}-{}".format(self.x,self.y))     
 
         self.logoDep = LogoDep(self)
         self.logoDep.creer()
@@ -183,11 +185,18 @@ class Case(QGraphicsPolygonItem):
     ########################
 
     ### deplacement
-    def coutDep(self):
-        #a implementer, en fonction des
-        #capacites de deplacement du pion actuellement selectionne
-        return 1
-
+#     def coutDep(self):
+#         #a implementer, en fonction des
+#         #capacites de deplacement du pion actuellement selectionne
+#         return 1
+
+    def zDep(self):
+        """retourne le z utilise pour le calcul des deplacements, 
+        cad l'altitude de la case plus la hauteur d'un eventuel decor pose au sol"""
+        decor = self.occupant(0, Decor)
+        zDecor = decor.hauteur if decor else 0 
+        return self.altitude + zDecor
+        
     ### occupation
     def occuper(self, numPion, z = 0):
         """un pion vient occuper la case a l'altitude z"""
@@ -230,7 +239,7 @@ class Case(QGraphicsPolygonItem):
 
     def estFranchissable(self, zAbs = None):
         """a l'altitude absolue demandee, 
-        la case est-elle franchissable pour une ligne de mire ou un deplacement"""
+        la case est-elle franchissable ** pour une ligne de mire **"""
         if not zAbs: zAbs = self.altitude
         return (not self.estOccupee( (zAbs - self.altitude) ) and (zAbs >= self.altitude))
 
@@ -253,12 +262,12 @@ class Case(QGraphicsPolygonItem):
         self.altitude = altitude  
 #         self.afficherEtiquette(altitude)   
 
-    def majAffichageDeplacement(self, cout, valide = True):
+    def majAffichageDeplacement(self, cout, valide = True, dz = 0):
         """lorsque cette case est sur le chemin d'un pion,
             un disque blanc ou rouge apparait indiquant le
             cout du deplacement jusqua cette case
             un cout de 0 fait disparaitre ce symbole"""
-        self.logoDep.afficher(cout, valide)
+        self.logoDep.afficher(cout, valide, dz)
 
     def majEstCibleCurseur(self, actif, valide=True):
         """affiche la case comme etant la cible du curseur (lors d'une creation de pion, d'un deplacement...)"""
@@ -480,16 +489,13 @@ class LogoDep(QGraphicsEllipseItem):
         self.txt = None
 
     def creer(self):
-        
         hC = self.parent.plateau.hCase
         rect = QRectF()
         rayon = 0.4*hC
         rect.setTopLeft(QPointF(self.parent.centreGraphique.x() - rayon, self.parent.centreGraphique.y() - rayon))
         rect.setBottomRight(QPointF(self.parent.centreGraphique.x() + rayon, self.parent.centreGraphique.y() + rayon))
-
         self.setRect(rect)
         
-
         self.txt = QGraphicsTextItem(self)
         police = QFont("Georgia", 24)
         police.setBold(True)
@@ -502,12 +508,12 @@ class LogoDep(QGraphicsEllipseItem):
         self.centrerTexte()
 
         self.setVisible(False)
+        self.setZValue(100)
         self.setAcceptHoverEvents(False)
         
-        self.setParentItem(self.parent)
+        self.parent.plateau.addItem(self)
 
-
-    def afficher(self, valeur, valide):
+    def afficher(self, valeur, valide, dz = 0):
         """lorsque cette case est sur le chemin d'un pion,
             un disque blanc ou rouge apparait indiquant le
             mode de deplacement (icone: 'dep_simple', 'nage', 'escalade', 'vol')
@@ -523,7 +529,10 @@ class LogoDep(QGraphicsEllipseItem):
             self.setPen(QPen(couleur))
 
             #txt
-            self.txt.setPlainText(QString.fromUtf8(str(valeur)))
+            escalade = "" if dz == 0 else (chr(30) if dz > 0 else chr(31))
+            
+            txt = "{}{}".format(valeur, escalade)
+            self.txt.setPlainText(QString.fromUtf8(txt))
             self.centrerTexte()
 
             self.setVisible(True)

+ 18 - 1
lib/Combattant.py

@@ -1,8 +1,9 @@
 #from __future__ import unicode_literals
 # -*- coding: utf-8 -*-
+from __future__ import division
 from Pion import Pion
 import regles
-
+import dmF
 
 class Combattant(Pion):
     """combattant sur un plateau de combat"""
@@ -28,6 +29,22 @@ class Combattant(Pion):
         self.etat = ""
         self.deplacementRestant = 0        
 
+    def pM(self):
+        """les points de mouvement"""
+        return max([self.depMarche, self.depNage, self.depEscalade, self.depVol])
+    
+    def coutDep(self, typeDep, dist = 1):
+        """renvoie le cout en PM pour effectuer ce deplacement"""
+        retour = 1
+        if typeDep in self.__dict__:
+            dep = self.__dict__[typeDep]
+            if dep > 0:
+                cout = self.pM() / dep
+                retour = dist * cout
+            else:
+                retour = -1
+        return retour
+            
     def listeAttaques(self):
         return self.attaques
     

+ 382 - 385
lib/EcranEditionCombattant.py

@@ -1,385 +1,382 @@
-#from __future__ import unicode_literals
-# -*- coding: utf-8 -*-
-from __future__ import division
-import sys
-
-from PyQt4.QtCore import *
-from PyQt4.QtGui import *
-from Combattant import Combattant
-from ui.ecran_editionCombattant import Ui_edc_fenetre
-from EcranEditionObjet import EcranEditionObjet
-from frameAttaque import FrameAttaque
-from outilsSvg import *
-from VueEditionForme import VueEditionForme
-import regles
-import Actions
-from Objet import Objet
-import ui.dm as dm
-import rsc
-
-	
-class EcranEditionCombattant(QDialog):
-    """interface de creation/edition de terrains"""
-    def __init__(self, combattant=None, pageInitiale = 0, formeCases = "H", parent=None):
-        """initialisation de la fenetre"""
-        super (EcranEditionCombattant, self).__init__()
-        self.pixGraphique = None
-        self._compteurAttaque = 0
-        self.createWidgets()
-        if combattant == None:
-            self.combattant = Combattant()
-        else:
-            self.combattant = combattant
-            
-        self.modeCreation = True
-        self.ouverture()
-        self.ui.edc_menu.setCurrentCell(pageInitiale, 0)
-        self.ui.edc_pages.setCurrentIndex(pageInitiale)
-        if formeCases == "C":
-            self.ui.edc_casesCarrees.setChecked(True)
-            self.majFormeCases()
-            
-
-    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_edc_fenetre()
-        self.ui.setupUi(self)
-        
-        self.connect(self.ui.edc_nom, SIGNAL("textEdited(QString)"), self.majActivationEnregistrer)
-        self.connect(self.ui.edc_nom, SIGNAL("textEdited(QString)"), self.majEtiquetteVueForme)
-
-        self.connect(self.ui.edc_enregistrer, SIGNAL("clicked()"), self.enregistrer)
-        self.connect(self.ui.edc_annuler, SIGNAL("clicked()"), self.annuler)
-
-        self.connect(self.ui.edc_casesHexa, SIGNAL("clicked()"), self.majFormeCases)
-        self.connect(self.ui.edc_casesCarrees, SIGNAL("clicked()"), self.majFormeCases)
-        self.connect(self.ui.edc_couleur, SIGNAL("clicked()"), self.selectionCouleur)
-        self.connect(self.ui.edc_image, SIGNAL("clicked()"), self.selectionImage)
-
-        self.connect(self.ui.edc_logo, SIGNAL("clicked()"), self.selectionnerLogo)
-        self.vueForme = VueEditionForme(self)
-
-        self.construireListeAttributs()
-
-        self.construireInventaire()
-        self.connect(self.ui.edc_filtreTypeObjet, SIGNAL("currentChanged(int)"), self.filtrerInventaire)
-        self.ui.edc_filtreTypeObjet.stackUnder(self.ui.edc_listeInventaire)
-
-    def layoutAtt(self):
-        """retourne le layout des attaques"""
-        return self.ui.edc_deroulementAttaques_layout
-
-    def layoutCarac(self):
-        """retourne le layout des attributs"""
-        return self.ui.edc_deroulementAttributs_layout        
-
-    def vueGraphique(self):
-        return self.ui.edc_vueForme
-
-    def ouverture(self):
-        """premier affichage: on met a jour les champs"""
-       
-        #page_nom
-        self.ui.edc_nom.majTexte(self.combattant.nom)
-        if self.combattant.logo:
-            self.ui.edc_logo.chargerImage(self.combattant.logo)
-        else:
-            self.ui.edc_logo.majTexte("Choisissez \nun fichier\nimage")
-
-        self.vueForme.creer(self.formeCases())
-        self.vueForme.autoriserModifForme(self.modeCreation)
-        self.vueForme.majCouleur(self.combattant.couleur)
-        self.vueForme.chargerFormeDef(self.combattant.formeDef[self.formeCases()])
-        self.vueForme.chargerImageDef(self.combattant.img)
-        self.vueForme.chargerEtiquetteDef(self.combattant.etiquette)
-
-        #page deplacements
-        self.ui.edc_taille.setValue(self.combattant.hauteur)
-        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)      
-
-        #page attributs
-        self.majListeAttributs()        
-
-        #page attaques: chargement des attaques du combattant, puis panneau 'nouvelle attaque'
-        index = 0
-        self.layoutAtt().setAlignment(Qt.AlignTop)
-        for attaque in self.combattant.attaques:
-            self.attaqueNouvelle(attaque)
-        self.attaqueNouvelle()
-
-        #page inventaire
-        self.ui.edc_listeInventaire.charger(self.combattant.inventaire)
-        self.majTotauxInventaire()
-
-        #page_notes
-        for detail in self.combattant.details:
-            widget = self.ui.edc_pages.findChild(dm.DmLineEdit, "edc_detail_{}".format(detail))
-            if widget:
-                widget.majTexte(self.combattant.details[detail])
-        self.ui.edc_notes.setText(QString.fromUtf8(self.combattant.notes))
-
-        #autre
-        self.majActivationEnregistrer()
-        
-
-    ### page apparence
-    def majFormeCases(self):
-        if self.vueForme.formeCases() != self.formeCases():
-            #on enregistre la def de forme, d'image et d'etiquette en cours
-            self.combattant.formeDef[self.vueForme.formeCases()] = self.vueForme.formeDef()
-            self.combattant.img = self.vueForme.imageDef()
-            self.combattant.etiquette = self.vueForme.etiquetteDef()
-
-            #on recree la scene avec la nouvelle forme de cases
-            self.vueForme.vider()
-            self.vueForme.creer(self.formeCases())
-
-            #on charge les def correspondantes a la nouvelle forme
-            self.vueForme.chargerFormeDef(self.combattant.formeDef[self.formeCases()])
-            self.vueForme.chargerImageDef(self.combattant.img)
-            self.vueForme.chargerEtiquetteDef(self.combattant.etiquette)
-
-    def majEtiquetteVueForme(self):
-        self.combattant.etiquette.txt = self.ui.edc_nom.texte()
-        self.vueForme.chargerEtiquetteDef(self.combattant.etiquette)
-
-    def selectionnerLogo(self):
-        img = rsc.selectionImage()
-        if img:
-            self.ui.edc_logo.chargerImage(img)
-            self.vueForme.nouvelleImageDef(self.ui.edc_logo.image())
-
-    def selectionImage(self):
-        """selectionne le fichier image dans la boite de dialogue dediee"""
-        img = rsc.selectionImage()
-        if img:
-            self.vueForme.nouvelleImageDef(img)
-        
-    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.combattant.couleur = couleur
-            self.vueForme.majCouleur(couleur)
-
-    #### page attributs
-    def construireListeAttributs(self):
-        """construit les champs d'attributs"""
-        """cree les champs dedies a la saisie des attributs dans la grille dediee"""
-        self.layoutCarac().setSpacing(4)
-        self.layoutCarac().setMargin(0)
-        self.layoutAtt().setAlignment(Qt.AlignLeft)
-        
-        for nomAttribut in regles.ordreAttributsFichePerso():
-            if len(nomAttribut) > 0:
-                lay = QHBoxLayout()
-                lay.setMargin(0)
-                lay.setSpacing(2)
-
-                etiquette = dm.DmLabel()
-                etiquette.majTexte(regles.attribut(nomAttribut).nom)        
-                etiquette.setObjectName("{}_etiquette".format(nomAttribut))
-                etiquette.setAlignment(Qt.AlignLeft|Qt.AlignVCenter)
-                etiquette.setMinimumSize(QSize(110, 24))
-                etiquette.setMaximumSize(QSize(110, 24))
-                lay.addWidget(etiquette)
-                
-                champ = dm.DmLineEdit()
-                champ.setMinimumSize(QSize(80, 24))
-                champ.setMaximumSize(QSize(80, 24))
-                champ.setAlignment(Qt.AlignCenter)
-                champ.majTexte(regles.listeAttributs()[nomAttribut])
-                champ.setObjectName("{}_champ".format(nomAttribut))
-                champ.setStyleSheet("background-color: rgb({},{},{});".format(248,248,248))
-    ##            self.connect(champ, SIGNAL("textChanged()"), self.controlerAttribut)
-                lay.addWidget(champ)
-
-                self.layoutCarac().addLayout(lay)
-            else:
-                lay = QHBoxLayout()
-                etiquetteVide = dm.DmLabel()
-                etiquetteVide.setMinimumHeight(9)
-                etiquetteVide.setMaximumHeight(9)
-                lay.addWidget(etiquetteVide)
-                lay.addWidget(etiquetteVide)
-                self.layoutCarac().addLayout(lay)
-
-    def majListeAttributs(self):
-        """met a jour la liste des attributs de la Combattant"""
-        for i in range(0, self.layoutCarac().count()):
-            layout = self.layoutCarac().itemAt(i).layout()
-            widget = layout.itemAt(1).widget()
-            if widget != 0:
-                if str(widget.objectName()[-6:]) == "_champ":
-                    attr = str(widget.objectName()[:-6])
-                    widget.majTexte(self.combattant.listeAttributs[attr])            
-
-    def listeAttributs(self):
-        """renvoie la liste des attributs tels qu'ils
-           sont saisis dans la liste des attributs"""
-        attributs = regles.listeAttributs()
-        for i in range(0, self.layoutCarac().count()):
-            layout = self.layoutCarac().itemAt(i).layout()
-            widget = layout.itemAt(1).widget()
-            if widget != 0 and widget != None:
-                if str(widget.objectName()[-6:]) == "_champ":
-                    attr = str(widget.objectName()[:-6])
-                    attributs[attr] = widget.texte()
-        return attributs   
-
-    #### page attaques
-    def attaqueNouvelle(self, attaque = None):
-        """ajoute une nouvelle ligne a la liste des attaques"""
-        #on ajoute de suite un panneau 'nouvelle attaque en dessous'
-        self._compteurAttaque += 1
-        panneau = FrameAttaque(self._compteurAttaque)
-        if attaque:
-            panneau.chargerAttaque(attaque)
-        panneau.setObjectName(QString("att_frame_{}".format(self._compteurAttaque)))
-        self.connect(panneau, SIGNAL("attaqueNouvelle()"), self.attaqueNouvelle)
-        self.connect(panneau, SIGNAL("attaqueSupprimer(int)"), self.attaqueSupprimer)
-        self.layoutAtt().addWidget(panneau)        
-
-    def attaqueSupprimer(self, index):
-        """supprime la ligne selectionnee de la liste des attaques"""
-        panneau = self.findChild(QFrame, "att_frame_{}".format(index))
-        self.layoutAtt().removeWidget(panneau)
-
-    ### page inventaire
-    def construireInventaire(self):
-        """construction de la page inventaire"""
-        self.ui.edc_listeInventaire.construire()
-        self.connect(self.ui.edc_listeInventaire, SIGNAL("objetClique(int)"), self.editerObjet)
-
-    def editerObjet(self, indexObjet):
-        if indexObjet < len(self.ui.edc_listeInventaire.inventaire()):
-            objet = self.ui.edc_listeInventaire.inventaire()[indexObjet]
-        else:
-            objet = None
-        typeObjet = self.ui.edc_filtreTypeObjet.currentIndex() - 1
-        
-            
-        self.fenetreEO = EcranEditionObjet(objet, typeObjet)
-        self.fenetreEO.show()
-        self.fenetreEO.exec_()
-        resultat = self.fenetreEO.resultat()
-
-        if resultat:
-            if objet:
-                self.ui.edc_listeInventaire.majObjet(objet, resultat)
-            else:
-                self.ui.edc_listeInventaire.ajouterObjet(resultat)
-        else:
-            if objet:
-                self.ui.edc_listeInventaire.supprimerObjet(objet)
-        
-        self.fenetreEO = None
-        self.majTotauxInventaire()
-
-    def majTotauxInventaire(self):
-        inv = self.ui.edc_listeInventaire.inventaire()
-        poidsTotal = 0.00
-        for obj in inv:
-            poidsTotal += obj.poidsTotal()
-        self.ui.edc_inventaire_poids.majTexte("{} kg".format(poidsTotal))
-
-    def filtrerInventaire(self, index):
-        filtre = index - 1
-        self.ui.edc_listeInventaire.filtrer(filtre)
-
-    #### barre d'outils
-    def majActivationEnregistrer(self):
-        """verifie la validite des saisies"""
-        self.ui.edc_enregistrer.setEnabled(len(self.ui.edc_nom.texte()) > 0) 
-    
-    def enregistrer(self):
-        """enregistre le terrain cree/edite"""
-        #identifiant
-        if not self.combattant.id:
-            self.combattant.id = self.nouvelIdCombattant()
-
-        #page nom
-        self.combattant.nom = self.ui.edc_nom.texte()
-        self.combattant.logo = self.ui.edc_logo.image()
-        
-        self.combattant.formeDef[self.vueForme.formeCases()] = self.vueForme.formeDef()
-        self.combattant.img = self.vueForme.imageDef()
-        self.combattant.etiquette = self.vueForme.etiquetteDef()
-
-        #page dep
-        self.combattant.hauteur = 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
-        self.combattant.listeAttributs = self.listeAttributs()
-
-        #page attaque
-        listeAttaques = []
-        for i in range(0, self.layoutAtt().count()):
-            panneau = self.layoutAtt().itemAt(i).widget()
-            if panneau != 0:
-                attaque = panneau.attaque()
-                if attaque:
-                    listeAttaques.append(attaque)
-        self.combattant.attaques = listeAttaques
-
-        #page inventaire
-        self.combattant.inventaire = self.ui.edc_listeInventaire.inventaire()
-
-        #page notes
-        listeWidget = self.ui.edc_pages.findChildren(dm.DmLineEdit)
-        for widget in listeWidget:
-            detail = str(widget.objectName()).replace("edc_detail_","")
-            txt = widget.texte()
-            if len(txt) > 0:
-                self.combattant.details[detail] = txt
-        
-        self.combattant.notes = str(self.ui.edc_notes.toPlainText().toUtf8())
-
-##        enregistrer(self.combattant.id, self.combattant, "lib\\biblio\\combattant")
-##        self.combattant = None
-        self.done(1)
-
-    def annuler(self):
-        """annule la creation/edition"""
-        self.combattant = None
-        self.done(0)
-
-if __name__ == "__main__":
-   app = QApplication(sys.argv)
-   ecran = EcranEditionCombattant()
-   ecran.show()
-   r = app.exec_()
-   exit(r)      
-
-
-
-
-
-
+#from __future__ import unicode_literals
+# -*- coding: utf-8 -*-
+from __future__ import division
+import sys
+
+from PyQt4.QtCore import *
+from PyQt4.QtGui import *
+from Combattant import Combattant
+from ui.ecran_editionCombattant import Ui_edc_fenetre
+from EcranEditionObjet import EcranEditionObjet
+from frameAttaque import FrameAttaque
+from outilsSvg import *
+from VueEditionForme import VueEditionForme
+import regles
+import Actions
+from Objet import Objet
+import ui.dm as dm
+import rsc
+
+class EcranEditionCombattant(QDialog):
+    """interface de creation/edition de terrains"""
+    def __init__(self, combattant=None, pageInitiale = 0, formeCases = "H", parent=None):
+        """initialisation de la fenetre"""
+        super (EcranEditionCombattant, self).__init__()
+        self.pixGraphique = None
+        self._compteurAttaque = 0
+        self.createWidgets()
+        if combattant == None:
+            self.combattant = Combattant()
+        else:
+            self.combattant = combattant
+            
+        self.modeCreation = True
+        self.ouverture()
+        self.ui.edc_menu.setCurrentCell(pageInitiale, 0)
+        self.ui.edc_pages.setCurrentIndex(pageInitiale)
+        if formeCases == "C":
+            self.ui.edc_casesCarrees.setChecked(True)
+            self.majFormeCases()
+            
+
+    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_edc_fenetre()
+        self.ui.setupUi(self)
+        
+        self.connect(self.ui.edc_nom, SIGNAL("textEdited(QString)"), self.majActivationEnregistrer)
+        self.connect(self.ui.edc_nom, SIGNAL("textEdited(QString)"), self.majEtiquetteVueForme)
+
+        self.connect(self.ui.edc_enregistrer, SIGNAL("clicked()"), self.enregistrer)
+        self.connect(self.ui.edc_annuler, SIGNAL("clicked()"), self.annuler)
+
+        self.connect(self.ui.edc_casesHexa, SIGNAL("clicked()"), self.majFormeCases)
+        self.connect(self.ui.edc_casesCarrees, SIGNAL("clicked()"), self.majFormeCases)
+        self.connect(self.ui.edc_couleur, SIGNAL("clicked()"), self.selectionCouleur)
+        self.connect(self.ui.edc_image, SIGNAL("clicked()"), self.selectionImage)
+
+        self.connect(self.ui.edc_logo, SIGNAL("clicked()"), self.selectionnerLogo)
+        self.vueForme = VueEditionForme(self)
+
+        self.construireListeAttributs()
+
+        self.construireInventaire()
+        self.connect(self.ui.edc_filtreTypeObjet, SIGNAL("currentChanged(int)"), self.filtrerInventaire)
+        self.ui.edc_filtreTypeObjet.stackUnder(self.ui.edc_listeInventaire)
+
+    def layoutAtt(self):
+        """retourne le layout des attaques"""
+        return self.ui.edc_deroulementAttaques_layout
+
+    def layoutCarac(self):
+        """retourne le layout des attributs"""
+        return self.ui.edc_deroulementAttributs_layout        
+
+    def vueGraphique(self):
+        return self.ui.edc_vueForme
+
+    def ouverture(self):
+        """premier affichage: on met a jour les champs"""
+       
+        #page_nom
+        self.ui.edc_nom.majTexte(self.combattant.nom)
+        if self.combattant.logo:
+            self.ui.edc_logo.chargerImage(self.combattant.logo)
+        else:
+            self.ui.edc_logo.majTexte("Choisissez \nun fichier\nimage")
+
+        self.vueForme.creer(self.formeCases())
+        self.vueForme.autoriserModifForme(self.modeCreation)
+        self.vueForme.majCouleur(self.combattant.couleur)
+        self.vueForme.chargerFormeDef(self.combattant.formeDef[self.formeCases()])
+        self.vueForme.chargerImageDef(self.combattant.img)
+        self.vueForme.chargerEtiquetteDef(self.combattant.etiquette)
+
+        #page deplacements
+        self.ui.edc_taille.setValue(self.combattant.hauteur)
+        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)      
+
+        #page attributs
+        self.majListeAttributs()        
+
+        #page attaques: chargement des attaques du combattant, puis panneau 'nouvelle attaque'
+        self.layoutAtt().setAlignment(Qt.AlignTop)
+        for attaque in self.combattant.attaques:
+            self.attaqueNouvelle(attaque)
+        self.attaqueNouvelle()
+
+        #page inventaire
+        self.ui.edc_listeInventaire.charger(self.combattant.inventaire)
+        self.majTotauxInventaire()
+
+        #page_notes
+        for detail in self.combattant.details:
+            widget = self.ui.edc_pages.findChild(dm.DmLineEdit, "edc_detail_{}".format(detail))
+            if widget:
+                widget.majTexte(self.combattant.details[detail])
+        self.ui.edc_notes.setText(QString.fromUtf8(self.combattant.notes))
+
+        #autre
+        self.majActivationEnregistrer()
+        
+
+    ### page apparence
+    def majFormeCases(self):
+        if self.vueForme.formeCases() != self.formeCases():
+            #on enregistre la def de forme, d'image et d'etiquette en cours
+            self.combattant.formeDef[self.vueForme.formeCases()] = self.vueForme.formeDef()
+            self.combattant.img = self.vueForme.imageDef()
+            self.combattant.etiquette = self.vueForme.etiquetteDef()
+
+            #on recree la scene avec la nouvelle forme de cases
+            self.vueForme.vider()
+            self.vueForme.creer(self.formeCases())
+
+            #on charge les def correspondantes a la nouvelle forme
+            self.vueForme.chargerFormeDef(self.combattant.formeDef[self.formeCases()])
+            self.vueForme.chargerImageDef(self.combattant.img)
+            self.vueForme.chargerEtiquetteDef(self.combattant.etiquette)
+
+    def majEtiquetteVueForme(self):
+        self.combattant.etiquette.txt = self.ui.edc_nom.texte()
+        self.vueForme.chargerEtiquetteDef(self.combattant.etiquette)
+
+    def selectionnerLogo(self):
+        img = rsc.selectionImage()
+        if img:
+            self.ui.edc_logo.chargerImage(img)
+            self.vueForme.nouvelleImageDef(self.ui.edc_logo.image())
+
+    def selectionImage(self):
+        """selectionne le fichier image dans la boite de dialogue dediee"""
+        img = rsc.selectionImage()
+        if img:
+            self.vueForme.nouvelleImageDef(img)
+        
+    def selectionCouleur(self):
+        """selectionne la couleur dans la boite de dialogue dediee"""
+        couleur = QColorDialog(self).getColor(QColor("white"), self)
+        if couleur.isValid():
+            self.combattant.couleur = couleur
+            self.vueForme.majCouleur(couleur)
+
+    #### page attributs
+    def construireListeAttributs(self):
+        """construit les champs d'attributs"""
+        """cree les champs dedies a la saisie des attributs dans la grille dediee"""
+        self.layoutCarac().setSpacing(4)
+        self.layoutCarac().setMargin(0)
+        self.layoutAtt().setAlignment(Qt.AlignLeft)
+        
+        for nomAttribut in regles.ordreAttributsFichePerso():
+            if len(nomAttribut) > 0:
+                lay = QHBoxLayout()
+                lay.setMargin(0)
+                lay.setSpacing(2)
+
+                etiquette = dm.DmLabel()
+                etiquette.majTexte(regles.attribut(nomAttribut).nom)        
+                etiquette.setObjectName("{}_etiquette".format(nomAttribut))
+                etiquette.setAlignment(Qt.AlignLeft|Qt.AlignVCenter)
+                etiquette.setMinimumSize(QSize(110, 24))
+                etiquette.setMaximumSize(QSize(110, 24))
+                lay.addWidget(etiquette)
+                
+                champ = dm.DmLineEdit()
+                champ.setMinimumSize(QSize(80, 24))
+                champ.setMaximumSize(QSize(80, 24))
+                champ.setAlignment(Qt.AlignCenter)
+                champ.majTexte(regles.listeAttributs()[nomAttribut])
+                champ.setObjectName("{}_champ".format(nomAttribut))
+                champ.setStyleSheet("background-color: rgb({},{},{});".format(248,248,248))
+    ##            self.connect(champ, SIGNAL("textChanged()"), self.controlerAttribut)
+                lay.addWidget(champ)
+
+                self.layoutCarac().addLayout(lay)
+            else:
+                lay = QHBoxLayout()
+                etiquetteVide = dm.DmLabel()
+                etiquetteVide.setMinimumHeight(9)
+                etiquetteVide.setMaximumHeight(9)
+                lay.addWidget(etiquetteVide)
+                lay.addWidget(etiquetteVide)
+                self.layoutCarac().addLayout(lay)
+
+    def majListeAttributs(self):
+        """met a jour la liste des attributs de la Combattant"""
+        for i in range(0, self.layoutCarac().count()):
+            layout = self.layoutCarac().itemAt(i).layout()
+            widget = layout.itemAt(1).widget()
+            if widget != 0:
+                if str(widget.objectName()[-6:]) == "_champ":
+                    attr = str(widget.objectName()[:-6])
+                    widget.majTexte(self.combattant.listeAttributs[attr])            
+
+    def listeAttributs(self):
+        """renvoie la liste des attributs tels qu'ils
+           sont saisis dans la liste des attributs"""
+        attributs = regles.listeAttributs()
+        for i in range(0, self.layoutCarac().count()):
+            layout = self.layoutCarac().itemAt(i).layout()
+            widget = layout.itemAt(1).widget()
+            if widget != 0 and widget != None:
+                if str(widget.objectName()[-6:]) == "_champ":
+                    attr = str(widget.objectName()[:-6])
+                    attributs[attr] = widget.texte()
+        return attributs   
+
+    #### page attaques
+    def attaqueNouvelle(self, attaque = None):
+        """ajoute une nouvelle ligne a la liste des attaques"""
+        #on ajoute de suite un panneau 'nouvelle attaque en dessous'
+        self._compteurAttaque += 1
+        panneau = FrameAttaque(self._compteurAttaque)
+        if attaque:
+            panneau.chargerAttaque(attaque)
+        panneau.setObjectName(QString("att_frame_{}".format(self._compteurAttaque)))
+        self.connect(panneau, SIGNAL("attaqueNouvelle()"), self.attaqueNouvelle)
+        self.connect(panneau, SIGNAL("attaqueSupprimer(int)"), self.attaqueSupprimer)
+        self.layoutAtt().addWidget(panneau)        
+
+    def attaqueSupprimer(self, index):
+        """supprime la ligne selectionnee de la liste des attaques"""
+        panneau = self.findChild(QFrame, "att_frame_{}".format(index))
+        self.layoutAtt().removeWidget(panneau)
+
+    ### page inventaire
+    def construireInventaire(self):
+        """construction de la page inventaire"""
+        self.ui.edc_listeInventaire.construire()
+        self.connect(self.ui.edc_listeInventaire, SIGNAL("objetClique(int)"), self.editerObjet)
+
+    def editerObjet(self, indexObjet):
+        if indexObjet < len(self.ui.edc_listeInventaire.inventaire()):
+            objet = self.ui.edc_listeInventaire.inventaire()[indexObjet]
+        else:
+            objet = None
+        typeObjet = self.ui.edc_filtreTypeObjet.currentIndex() - 1
+        
+            
+        self.fenetreEO = EcranEditionObjet(objet, typeObjet)
+        self.fenetreEO.show()
+        self.fenetreEO.exec_()
+        resultat = self.fenetreEO.resultat()
+
+        if resultat:
+            if objet:
+                self.ui.edc_listeInventaire.majObjet(objet, resultat)
+            else:
+                self.ui.edc_listeInventaire.ajouterObjet(resultat)
+        else:
+            if objet:
+                self.ui.edc_listeInventaire.supprimerObjet(objet)
+        
+        self.fenetreEO = None
+        self.majTotauxInventaire()
+
+    def majTotauxInventaire(self):
+        inv = self.ui.edc_listeInventaire.inventaire()
+        poidsTotal = 0.00
+        for obj in inv:
+            poidsTotal += obj.poidsTotal()
+        self.ui.edc_inventaire_poids.majTexte("{} kg".format(poidsTotal))
+
+    def filtrerInventaire(self, index):
+        filtre = index - 1
+        self.ui.edc_listeInventaire.filtrer(filtre)
+
+    #### barre d'outils
+    def majActivationEnregistrer(self):
+        """verifie la validite des saisies"""
+        self.ui.edc_enregistrer.setEnabled(len(self.ui.edc_nom.texte()) > 0) 
+    
+    def enregistrer(self):
+        """enregistre le terrain cree/edite"""
+        #identifiant
+        if not self.combattant.id:
+            self.combattant.id = self.nouvelIdCombattant()
+
+        #page nom
+        self.combattant.nom = self.ui.edc_nom.texte()
+        self.combattant.logo = self.ui.edc_logo.image()
+        
+        self.combattant.formeDef[self.vueForme.formeCases()] = self.vueForme.formeDef()
+        self.combattant.img = self.vueForme.imageDef()
+        self.combattant.etiquette = self.vueForme.etiquetteDef()
+
+        #page dep
+        self.combattant.hauteur = 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
+        self.combattant.listeAttributs = self.listeAttributs()
+
+        #page attaque
+        listeAttaques = []
+        for i in range(0, self.layoutAtt().count()):
+            panneau = self.layoutAtt().itemAt(i).widget()
+            if panneau != 0:
+                attaque = panneau.attaque()
+                if attaque:
+                    listeAttaques.append(attaque)
+        self.combattant.attaques = listeAttaques
+
+        #page inventaire
+        self.combattant.inventaire = self.ui.edc_listeInventaire.inventaire()
+
+        #page notes
+        listeWidget = self.ui.edc_pages.findChildren(dm.DmLineEdit)
+        for widget in listeWidget:
+            detail = str(widget.objectName()).replace("edc_detail_","")
+            txt = widget.texte()
+            if len(txt) > 0:
+                self.combattant.details[detail] = txt
+        
+        self.combattant.notes = str(self.ui.edc_notes.toPlainText().toUtf8())
+
+##        enregistrer(self.combattant.id, self.combattant, "lib\\biblio\\combattant")
+##        self.combattant = None
+        self.done(1)
+
+    def annuler(self):
+        """annule la creation/edition"""
+        self.combattant = None
+        self.done(0)
+
+if __name__ == "__main__":
+	app = QApplication(sys.argv)
+	ecran = EcranEditionCombattant()
+	ecran.show()
+	r = app.exec_()
+	exit(r)      
+
+
+
+
+
+

+ 100 - 96
lib/EcranEditionTerrain.py

@@ -1,96 +1,100 @@
-#from __future__ import unicode_literals
-# -*- coding: utf-8 -*-
-from __future__ import division
-import os
-from PyQt4.QtCore import *
-from PyQt4.QtGui import *
-from Terrain import Terrain
-from ui.ecran_editionTerrain import Ui_et_fenetre
-from outilsSvg import *
-import rsc
-
-class EcranEditionTerrain(QDialog):
-    """interface de creation/edition de terrains"""
-    def __init__(self, terrain=None, parent=None):
-        """initialisation de la fenetre"""
-        super (EcranEditionTerrain, self).__init__()
-        self.createWidgets()
-        self.terrain = terrain
-        if terrain == None:
-            self.terrain = Terrain()
-        else:
-            self.accesEdition()
-        self.majAffichage("")    
-        
-    def createWidgets(self):
-        """construction de l'interface"""
-        #construction de l'interface
-        self.ui = Ui_et_fenetre()
-        self.ui.setupUi(self)
-        self.connect(self.ui.et_enregistrer, SIGNAL("clicked()"), self.enregistrer)
-        self.connect(self.ui.et_annuler, SIGNAL("clicked()"), self.annuler)
-        self.connect(self.ui.et_supprimer, SIGNAL("clicked()"), self.supprimer)
-        self.connect(self.ui.et_nom, SIGNAL("textEdited(QString)"), self.majAffichage)
-        self.connect(self.ui.et_selectionCouleur, SIGNAL("clicked()"), self.selectionCouleur)
-        self.connect(self.ui.et_selectionFichier, SIGNAL("clicked()"), self.selectionFichier)
-        
-    def accesEdition(self):
-        """ouverture en mode edition"""
-        self.ui.et_nom.setText(QString.fromUtf8(str(self.terrain.nom)))
-        if self.terrain.imgTexture.estValide():
-            self.ui.et_apercu.chargerImage(self.terrain.imgTexture)
-        else:    
-            if self.terrain.couleur.isValid():
-                self.ui.et_apercu.setText(QString(""))
-                self.ui.et_apercu.setStyleSheet("QLabel {backGround:%s}" %(self.terrain.couleur.name()))
-        self.ui.et_depAucun.setChecked(self.terrain.franchissable)
-        self.ui.et_supprimer.setEnabled(True)
-
-    def majAffichage(self, txt):
-        """verifie la validite des saisies"""
-        self.ui.et_enregistrer.setEnabled(len(self.ui.et_nom.text().toUtf8()) > 0)
-
-    def nouvelIdTerrain(self):
-        """renvoie un identifiant pour un nouveau terrain"""
-        dicoSvg = afficheSvg("lib\\biblio\\terrain")
-        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.et_apercu.setText(QString(""))
-            self.ui.et_apercu.setStyleSheet("QLabel {backGround:%s}" %(nomCouleur))
-            self.terrain.couleur = couleur    
-
-    def selectionFichier(self):
-        """selectionne le fichier de texture dans la boite de dialogue dediee"""
-        img = rsc.selectionImage()
-        if img:
-            self.ui.et_apercu.chargerImage(img)
-           
-    def enregistrer(self):
-        """enregistre le terrain cree/edite"""
-        if not self.terrain.id:
-            self.terrain.id = self.nouvelIdTerrain()
-        self.terrain.nom = str(self.ui.et_nom.text().toUtf8())
-        if self.ui.et_apercu.image():
-            self.terrain.imgTexture = self.ui.et_apercu.image()
-        self.terrain.franchissable = (not self.ui.et_depAucun.isChecked())
-        enregistrer(self.terrain.id, self.terrain, "lib\\biblio\\terrain")
-        self.terrain = None
-        self.done(1)
-
-    def supprimer(self):
-        """supprimer l'enregistrement de ce terrain"""
-        supprSvg("terrain", self.terrain.id)
-        self.done(1)
-
-    def annuler(self):
-        """annule la creation/edition"""
-        self.terrain = None
-        self.done(0)
+#from __future__ import unicode_literals
+# -*- coding: utf-8 -*-
+from __future__ import division
+import os
+from PyQt4.QtCore import *
+from PyQt4.QtGui import *
+from Terrain import Terrain
+from ui.ecran_editionTerrain import Ui_et_fenetre
+from outilsSvg import *
+import rsc
+
+class EcranEditionTerrain(QDialog):
+    """interface de creation/edition de terrains"""
+    def __init__(self, terrain=None, parent=None):
+        """initialisation de la fenetre"""
+        super (EcranEditionTerrain, self).__init__()
+        self.createWidgets()
+        self.terrain = terrain
+        if terrain == None:
+            self.terrain = Terrain()
+        else:
+            self.accesEdition()
+        self.majAffichage("")    
+        
+    def createWidgets(self):
+        """construction de l'interface"""
+        #construction de l'interface
+        self.ui = Ui_et_fenetre()
+        self.ui.setupUi(self)
+        self.connect(self.ui.et_enregistrer, SIGNAL("clicked()"), self.enregistrer)
+        self.connect(self.ui.et_annuler, SIGNAL("clicked()"), self.annuler)
+        self.connect(self.ui.et_supprimer, SIGNAL("clicked()"), self.supprimer)
+        self.connect(self.ui.et_nom, SIGNAL("textEdited(QString)"), self.majAffichage)
+        self.connect(self.ui.et_selectionCouleur, SIGNAL("clicked()"), self.selectionCouleur)
+        self.connect(self.ui.et_selectionFichier, SIGNAL("clicked()"), self.selectionFichier)
+        
+    def accesEdition(self):
+        """ouverture en mode edition"""
+        self.ui.et_nom.setText(QString.fromUtf8(str(self.terrain.nom)))
+        if self.terrain.imgTexture.estValide():
+            self.ui.et_apercu.chargerImage(self.terrain.imgTexture)
+        else:    
+            if self.terrain.couleur.isValid():
+                self.ui.et_apercu.setText(QString(""))
+                self.ui.et_apercu.setStyleSheet("QLabel {backGround:%s}" %(self.terrain.couleur.name()))
+        if self.terrain.nage:
+            self.ui.et_depNage.setChecked(True)
+        elif not self.terrain.franchissable:
+            self.ui.et_depAucun.setChecked(True)
+        self.ui.et_supprimer.setEnabled(True)
+
+    def majAffichage(self, txt):
+        """verifie la validite des saisies"""
+        self.ui.et_enregistrer.setEnabled(len(self.ui.et_nom.text().toUtf8()) > 0)
+
+    def nouvelIdTerrain(self):
+        """renvoie un identifiant pour un nouveau terrain"""
+        dicoSvg = afficheSvg("lib\\biblio\\terrain")
+        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.et_apercu.setText(QString(""))
+            self.ui.et_apercu.setStyleSheet("QLabel {backGround:%s}" %(nomCouleur))
+            self.terrain.couleur = couleur    
+
+    def selectionFichier(self):
+        """selectionne le fichier de texture dans la boite de dialogue dediee"""
+        img = rsc.selectionImage()
+        if img:
+            self.ui.et_apercu.chargerImage(img)
+           
+    def enregistrer(self):
+        """enregistre le terrain cree/edite"""
+        if not self.terrain.id:
+            self.terrain.id = self.nouvelIdTerrain()
+        self.terrain.nom = str(self.ui.et_nom.text().toUtf8())
+        if self.ui.et_apercu.image():
+            self.terrain.imgTexture = self.ui.et_apercu.image()
+        self.terrain.franchissable = (not self.ui.et_depAucun.isChecked())
+        self.terrain.nage = self.ui.et_depNage.isChecked()
+        enregistrer(self.terrain.id, self.terrain, "lib\\biblio\\terrain")
+        self.terrain = None
+        self.done(1)
+
+    def supprimer(self):
+        """supprimer l'enregistrement de ce terrain"""
+        supprSvg("terrain", self.terrain.id)
+        self.done(1)
+
+    def annuler(self):
+        """annule la creation/edition"""
+        self.terrain = None
+        self.done(0)

+ 4 - 2
lib/Modes.py

@@ -513,8 +513,10 @@ class SuppressionPion(ModeBaseCp):
         item = self.plateau.itemAt(event.scenePos())
         if isinstance(item.parentItem(), self._cible):
             num = item.parentItem().numero
-        elif isinstance(item.parentItem().parentItem(), self._cible):
-            num = item.parentItem().parentItem().numero
+        else:
+            if item.parentItem() != None: 
+                if isinstance(item.parentItem().parentItem(), self._cible):
+                    num = item.parentItem().parentItem().numero
         if num:
             self.plateau.pionSupprimer(num)
             accepte = True

+ 68 - 2
lib/Plateau.py

@@ -1002,7 +1002,41 @@ class Plateau(QGraphicsScene):
 
     def cone(self, coord1, coord2):
         """renvoie les coord des cases composant le cone (en 2d)"""
-        pass
+        retour = []
+        x1, y1 = coord1
+        x2, y2 = coord2
+        if x1 % 2 == 1: y1 += 0.5
+        if x2 % 2 == 1: y2 += 0.5
+        
+        if abs(y2 - y1) - abs(x2 - x1) <= 0 :
+            #secteur horizontal
+            angleRef = (y2 - y1) / (x2 - x1)
+            dist2Ref = ( (x2 - x1)**2 + (y2 - y1)**2 )
+            for coord in self.cases:
+                x, y = coord
+                if x % 2 == 1: y += 0.5
+                if x != x1:
+                    angle = (y - y1) / (x - x1)
+                    if abs( angleRef - angle ) <= 0.5 and ( (x - x1)**2 + (y - y1)**2 ) <= dist2Ref \
+                    and ( (x - x1) * (x2 - x1) ) > 0:
+                        retour.append(coord)                
+        
+        else:
+            #secteur vertical
+            angleRef = (x2 - x1) / (y2 - y1)
+            dist2Ref = ( (x2 - x1)**2 + (y2 - y1)**2 )
+            for coord in self.cases:
+                x, y = coord
+                if x % 2 == 1: y += 0.5
+                if y != y1:
+                    angle = (x - x1) / (y - y1)
+                    if abs( angleRef - angle ) <= 0.5 and ( (x - x1)**2 + (y - y1)**2 ) <= dist2Ref \
+                    and ( (y - y1) * (y2 - y1) ) > 0:
+                        retour.append(coord) 
+        return retour    
+
+    def cone3d(self, coord1, coord2, z1 = 0, z2 = 0):
+        return self.cone(coord1, coord2)
 
     def polygoneAgglo(self, listeCases):
         """renvoie un polygone contruit par agglomeration des polygones des cases de la liste
@@ -1192,7 +1226,39 @@ class Plateau(QGraphicsScene):
                     break
                 
         return valide       
-                      
+ 
+    def coutDep(self, coord1, coord2, z2 = 0):
+        """renvoie le cout de deplacement de la case 1 a la case 2 
+        pour le pion actuellement selectionne /
+        un cout egal a -1 implique un deplacement impossible"""
+        retour = 0
+        dist = 1
+        if not self.cases[coord2].terrain.franchissable: return -1
+        if self.cases[coord2].occupant(z2, Combattant): return -1
+
+        if self.pionSelectionne().z == 0:
+            dz = self.cases[coord2].zDep() - self.cases[coord1].zDep()
+            if dz < (-1 * self.pionSelectionne().saut): return -1
+   
+            if dz > self.pionSelectionne().hauteur:
+                #si la diff de hauteur est superieure a la hauteur du combattant, il escalade
+                if not self.pionSelectionne().depEscalade > 0: return -1
+                retour += self.pionSelectionne().coutDep("depEscalade", dz)
+            elif 0 < dz <= self.pionSelectionne().hauteur:
+                dist += dz
+
+            if self.cases[coord2].terrain.nage:
+                if not self.pionSelectionne().depNage > 0: return -1
+                retour += self.pionSelectionne().coutDep("depNage", dist)
+            else:
+                if not self.pionSelectionne().depMarche > 0: return -1
+                retour += self.pionSelectionne().coutDep("depMarche", dist)
+        else:
+            if not self.pionSelectionne().depVol > 0: return -1
+            retour += self.pionSelectionne().coutDep("depVol", dist)
+
+        return retour   
+                       
     def pionSurCase(self, coord):
         """renvoie le pion present sur la case, none sinon"""
         retour = None

+ 104 - 115
lib/ProjectionDep.py

@@ -1,115 +1,104 @@
-"""Projection du deplacement d'un pion"""
-
-from PyQt4.QtCore import *
-from PyQt4.QtGui import *
-
-from Forme import Forme
-
-
-class ProjectionDep():
-    def __init__(self, plateau):
-        self.plateau = plateau
-        self._pion = None
-        self._active = False
-        
-        self._coord = (-1,-1)
-        self._forme = Forme(self.plateau.formeCases)
-        self._nbRotations = 0
-
-    def creer(self, pion):
-        self_pion = pion
-        self._forme.definirForme(pion.formeDef[self.plateau.formeCases])
-        self._coord = pion.position
-        self._nbRotations = pion.nbRotations
-        self._active = True
-
-    def majCoord(self, coord):
-        self.desactiver()
-        self._coord = coord
-        self.maj()
-
-    def majRotation(self, modRotation):
-        self.desactiver()
-        self._nbRotations += modRotation
-        self.maj()
-
-    def coord(self):
-        return self._coord
-
-    def nbRotations(self):
-        return self._nbRotations
-
-    def desactiver(self):
-        for coord in self._forme.listeCases(self._coord, self._nbRotations):
-            if coord in self.plateau.cases:
-                self.plateau.cases[coord].majEstCibleCurseur(False)
-        self.active = False
-
-    def projectionValide(self):
-        """la projection est valide si toutes les cases de la forme existent"""
-        valide = True
-        for coord in self._forme.listeCases(self._coord, self._nbRotations):
-            if not coord in self.plateau.cases:
-                valide = False
-                break 
-        return valide
-
-    def deplacementValide(self):
-        """le deplacement est valide si toutes les cases de la forme sont franchissables"""
-        valide = False
-        compte = 0
-        ok = 0
-        if self.projectionValide():
-            for coord in self._forme.listeCases(self._coord, self._nbRotations):
-                compte += 1
-                if self.plateau.cases[coord].estFranchissable(self.z()):
-                    ok += 1
-                else:
-                    #si la case est occupee par le pion lui-meme
-                    if not self.plateau.cases[coord].estOccupee(self.z()):
-                        ok += 1
-                    else:
-                        if self.plateau.cases[coord].occupant(self.z()) == self._pion:
-                            ok += 1
-        valide = (ok == compte and compte > 0)
-        return valide        
-
-    def maj(self):
-        self._active = True
-        if self.projectionValide():
-            depValide = self.deplacementValide()
-            i = 0
-            for coord in self._forme.listeCases(self._coord, self._nbRotations):
-                i += 1
-                self.plateau.cases[coord].majEstCibleCurseur(True, depValide)
-                
-            
-            
-    def z(self):
-        """renvoie l'altitude du pion qu'on deplace"""
-        z = 0
-        try:
-            z = self._pion.z
-        except:
-            pass
-        return z
-            
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-        
+"""Projection du deplacement d'un pion"""
+
+from PyQt4.QtCore import *
+from PyQt4.QtGui import *
+
+from Forme import Forme
+from Combattant import Combattant
+
+class ProjectionDep():
+    def __init__(self, plateau):
+        self.plateau = plateau
+        self._pion = None
+        self._active = False
+        
+        self._coord = (-1,-1)
+        self._forme = Forme(self.plateau.formeCases)
+        self._nbRotations = 0
+
+    def creer(self, pion):
+        self_pion = pion
+        self._forme.definirForme(pion.formeDef[self.plateau.formeCases])
+        self._coord = pion.position
+        self._nbRotations = pion.nbRotations
+        self._active = True
+
+    def majCoord(self, coord):
+        self.desactiver()
+        self._coord = coord
+        self.maj()
+
+    def majRotation(self, modRotation):
+        self.desactiver()
+        self._nbRotations += modRotation
+        self.maj()
+
+    def coord(self):
+        return self._coord
+
+    def nbRotations(self):
+        return self._nbRotations
+
+    def desactiver(self):
+        for coord in self._forme.listeCases(self._coord, self._nbRotations):
+            if coord in self.plateau.cases:
+                self.plateau.cases[coord].majEstCibleCurseur(False)
+        self.active = False
+
+    def projectionValide(self):
+        """la projection est valide si toutes les cases de la forme existent"""
+        for coord in self._forme.listeCases(self._coord, self._nbRotations):
+            if not coord in self.plateau.cases: return False
+        return True
+
+    def deplacementValide(self):
+        """le deplacement est valide si toutes les cases de la forme sont franchissables
+           et pas occupees par un combattant"""
+        if self.projectionValide():
+            for coord in self._forme.listeCases(self._coord, self._nbRotations):
+                if not self.plateau.cases[coord].terrain.franchissable: return False
+                
+                if self.plateau.cases[coord].occupant(None, Combattant) != None:
+                    if self.plateau.cases[coord].occupant() != self._pion: return False
+
+        return True        
+
+    def maj(self):
+        self._active = True
+        if self.projectionValide():
+            depValide = self.deplacementValide()
+            i = 0
+            for coord in self._forme.listeCases(self._coord, self._nbRotations):
+                i += 1
+                self.plateau.cases[coord].majEstCibleCurseur(True, depValide)
+                
+            
+            
+    def z(self):
+        """renvoie l'altitude du pion qu'on deplace"""
+        z = 0
+        try:
+            z = self._pion.z
+        except:
+            pass
+        return z
+            
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+        

+ 20 - 20
lib/Terrain.py

@@ -1,20 +1,20 @@
-#from __future__ import unicode_literals
-# -*- coding: utf-8 -*-
-from __future__ import division
-from PyQt4.QtGui import QColor
-import rsc
-        
-class Terrain():
-    """terrain a affecter a une case"""
-    def __init__(self, parent=None):
-        self.id = None
-        self.nom = ""                   #libelle a afficher dans la liste 
-        self.couleur = QColor("")       #couleur si pas de texture
-        self.imgTexture = rsc.RImage()        #image source de la texture
-        self.franchissable = True    #peut on franchir cette case
-        self.visibilite = True       #peut on voir au travers 
-        self.modDeplacement = 1.00   #modificateur a appliquer au deplacement
-
-    def icone(self):
-        """renvoie l'image a afficher dans les listes"""
-        return self.imgTexture
+#from __future__ import unicode_literals
+# -*- coding: utf-8 -*-
+from PyQt4.QtGui import QColor
+import rsc
+        
+class Terrain():
+    """terrain a affecter a une case"""
+    def __init__(self, parent=None):
+        self.id = None
+        self.nom = ""                   #libelle a afficher dans la liste 
+        self.couleur = QColor("")       #couleur si pas de texture
+        self.imgTexture = rsc.RImage()        #image source de la texture
+        self.nage = False                   #cette case se franchit a la nage
+        self.franchissable = True           #peut on franchir cette case
+        self.visibilite = True              #peut on voir au travers 
+        self.modDeplacement = 1.00         #modificateur a appliquer au deplacement
+
+    def icone(self):
+        """renvoie l'image a afficher dans les listes"""
+        return self.imgTexture

BIN
lib/biblio/combattant


BIN
lib/biblio/decor


BIN
lib/biblio/terrain


+ 1149 - 1162
lib/ui/ecran_editionCombattant.py

@@ -1,1162 +1,1149 @@
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'editionCombattant.ui'
-#
-# Created: Mon Jun 29 16:27:32 2015
-#      by: PyQt4 UI code generator 4.10.4
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt4 import QtCore, QtGui
-
-try:
-    _fromUtf8 = QtCore.QString.fromUtf8
-except AttributeError:
-    def _fromUtf8(s):
-        return s
-
-try:
-    _encoding = QtGui.QApplication.UnicodeUTF8
-    def _translate(context, text, disambig):
-        return QtGui.QApplication.translate(context, text, disambig, _encoding)
-except AttributeError:
-    def _translate(context, text, disambig):
-        return QtGui.QApplication.translate(context, text, disambig)
-
-class Ui_edc_fenetre(object):
-    def setupUi(self, edc_fenetre):
-        edc_fenetre.setObjectName(_fromUtf8("edc_fenetre"))
-        edc_fenetre.setWindowModality(QtCore.Qt.ApplicationModal)
-        edc_fenetre.resize(679, 484)
-        edc_fenetre.setMinimumSize(QtCore.QSize(0, 484))
-        edc_fenetre.setMaximumSize(QtCore.QSize(16777215, 10000))
-        self.horizontalLayout_2 = QtGui.QHBoxLayout(edc_fenetre)
-        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(edc_fenetre)
-        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(":/interface/32/ressource/oeil_32.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(":/interface/32/ressource/deplacement2_32.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(":/interface/32/ressource/profil_32.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(":/interface/32/ressource/attaque_32.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(":/interface/16/ressource/sac_16.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(":/interface/32/ressource/note_32.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(edc_fenetre)
-        self.edc_pages.setMinimumSize(QtCore.QSize(392, 0))
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        self.edc_pages.setFont(font)
-        self.edc_pages.setObjectName(_fromUtf8("edc_pages"))
-        self.page_nom = QtGui.QWidget()
-        self.page_nom.setObjectName(_fromUtf8("page_nom"))
-        self.edc_nom = DmLineEdit(self.page_nom)
-        self.edc_nom.setGeometry(QtCore.QRect(160, 20, 281, 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 = DmLabel(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, 20, 51, 31))
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        font.setPointSize(8)
-        font.setItalic(True)
-        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(50, 70, 401, 351))
-        self.frame_2.setFrameShape(QtGui.QFrame.NoFrame)
-        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(40, 28, 293, 296))
-        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.WinPanel)
-        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(340, 70, 31, 31))
-        icon6 = QtGui.QIcon()
-        icon6.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/portrait_32.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(340, 30, 31, 31))
-        self.edc_couleur.setText(_fromUtf8(""))
-        icon7 = QtGui.QIcon()
-        icon7.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/16/ressource/palette_16.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(340, 290, 31, 31))
-        icon8 = QtGui.QIcon()
-        icon8.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/aide_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.edc_aideForme.setIcon(icon8)
-        self.edc_aideForme.setObjectName(_fromUtf8("edc_aideForme"))
-        self.edc_casesHexa = QtGui.QRadioButton(self.frame_2)
-        self.edc_casesHexa.setGeometry(QtCore.QRect(40, 320, 151, 31))
-        self.edc_casesHexa.setChecked(True)
-        self.edc_casesHexa.setObjectName(_fromUtf8("edc_casesHexa"))
-        self.edc_casesCarrees = QtGui.QRadioButton(self.frame_2)
-        self.edc_casesCarrees.setGeometry(QtCore.QRect(220, 320, 111, 31))
-        self.edc_casesCarrees.setObjectName(_fromUtf8("edc_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(70, 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(240, 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(130, 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.edc_depNage = QtGui.QDoubleSpinBox(self.page_dep)
-        self.edc_depNage.setGeometry(QtCore.QRect(240, 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.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(130, 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(240, 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(130, 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.page_dep)
-        self.label_13.setGeometry(QtCore.QRect(130, 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.edc_depVol = QtGui.QDoubleSpinBox(self.page_dep)
-        self.edc_depVol.setGeometry(QtCore.QRect(240, 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(310, 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(70, 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.label_2 = QtGui.QLabel(self.page_dep)
-        self.label_2.setGeometry(QtCore.QRect(80, 140, 31, 31))
-        self.label_2.setText(_fromUtf8(""))
-        self.label_2.setPixmap(QtGui.QPixmap(_fromUtf8(":/interface/16/ressource/marche_16.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(80, 180, 31, 31))
-        self.label_3.setText(_fromUtf8(""))
-        self.label_3.setPixmap(QtGui.QPixmap(_fromUtf8(":/interface/24/ressource/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(80, 220, 31, 31))
-        self.label_4.setText(_fromUtf8(""))
-        self.label_4.setPixmap(QtGui.QPixmap(_fromUtf8(":/interface/24/ressource/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(80, 260, 31, 31))
-        self.label_5.setText(_fromUtf8(""))
-        self.label_5.setPixmap(QtGui.QPixmap(_fromUtf8(":/interface/24/ressource/plume_24.png")))
-        self.label_5.setScaledContents(False)
-        self.label_5.setObjectName(_fromUtf8("label_5"))
-        self.edc_taille = QtGui.QSpinBox(self.page_dep)
-        self.edc_taille.setGeometry(QtCore.QRect(310, 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.setMinimum(1)
-        self.edc_taille.setObjectName(_fromUtf8("edc_taille"))
-        self.label_15 = QtGui.QLabel(self.page_dep)
-        self.label_15.setGeometry(QtCore.QRect(70, 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.edc_pages.addWidget(self.page_dep)
-        self.page_attr = QtGui.QWidget()
-        self.page_attr.setObjectName(_fromUtf8("page_attr"))
-        self.edc_deroulementAttributs = QtGui.QScrollArea(self.page_attr)
-        self.edc_deroulementAttributs.setGeometry(QtCore.QRect(10, 10, 231, 411))
-        self.edc_deroulementAttributs.setFrameShape(QtGui.QFrame.StyledPanel)
-        self.edc_deroulementAttributs.setFrameShadow(QtGui.QFrame.Raised)
-        self.edc_deroulementAttributs.setWidgetResizable(True)
-        self.edc_deroulementAttributs.setObjectName(_fromUtf8("edc_deroulementAttributs"))
-        self.scrollAreaWidgetContents_2 = QtGui.QWidget()
-        self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 229, 409))
-        self.scrollAreaWidgetContents_2.setObjectName(_fromUtf8("scrollAreaWidgetContents_2"))
-        self.edc_deroulementAttributs_layout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents_2)
-        self.edc_deroulementAttributs_layout.setSpacing(1)
-        self.edc_deroulementAttributs_layout.setMargin(3)
-        self.edc_deroulementAttributs_layout.setObjectName(_fromUtf8("edc_deroulementAttributs_layout"))
-        self.edc_deroulementAttributs.setWidget(self.scrollAreaWidgetContents_2)
-        self.edc_notes = QtGui.QTextEdit(self.page_attr)
-        self.edc_notes.setGeometry(QtCore.QRect(270, 30, 181, 391))
-        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_notes.setPalette(palette)
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        self.edc_notes.setFont(font)
-        self.edc_notes.setObjectName(_fromUtf8("edc_notes"))
-        self.label_23 = QtGui.QLabel(self.page_attr)
-        self.label_23.setGeometry(QtCore.QRect(280, 9, 141, 21))
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        font.setItalic(True)
-        self.label_23.setFont(font)
-        self.label_23.setObjectName(_fromUtf8("label_23"))
-        self.edc_pages.addWidget(self.page_attr)
-        self.page_att = QtGui.QWidget()
-        self.page_att.setObjectName(_fromUtf8("page_att"))
-        self.edc_deroulementAttaques = QtGui.QScrollArea(self.page_att)
-        self.edc_deroulementAttaques.setGeometry(QtCore.QRect(0, 0, 491, 431))
-        self.edc_deroulementAttaques.setWidgetResizable(True)
-        self.edc_deroulementAttaques.setObjectName(_fromUtf8("edc_deroulementAttaques"))
-        self.scrollAreaWidgetContents = QtGui.QWidget()
-        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 489, 429))
-        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
-        self.edc_deroulementAttaques_layout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
-        self.edc_deroulementAttaques_layout.setSpacing(1)
-        self.edc_deroulementAttaques_layout.setMargin(3)
-        self.edc_deroulementAttaques_layout.setObjectName(_fromUtf8("edc_deroulementAttaques_layout"))
-        self.edc_deroulementAttaques.setWidget(self.scrollAreaWidgetContents)
-        self.edc_pages.addWidget(self.page_att)
-        self.page_invent = QtGui.QWidget()
-        self.page_invent.setObjectName(_fromUtf8("page_invent"))
-        self.edc_listeInventaire = DmTableInventaire(self.page_invent)
-        self.edc_listeInventaire.setGeometry(QtCore.QRect(0, 29, 491, 368))
-        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_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.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
-        self.edc_listeInventaire.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
-        self.edc_listeInventaire.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
-        self.edc_listeInventaire.setAlternatingRowColors(False)
-        self.edc_listeInventaire.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
-        self.edc_listeInventaire.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
-        self.edc_listeInventaire.setShowGrid(True)
-        self.edc_listeInventaire.setGridStyle(QtCore.Qt.SolidLine)
-        self.edc_listeInventaire.setObjectName(_fromUtf8("edc_listeInventaire"))
-        self.edc_listeInventaire.setColumnCount(5)
-        self.edc_listeInventaire.setRowCount(1)
-        item = QtGui.QTableWidgetItem()
-        self.edc_listeInventaire.setVerticalHeaderItem(0, item)
-        item = QtGui.QTableWidgetItem()
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        font.setPointSize(7)
-        font.setBold(True)
-        font.setWeight(75)
-        item.setFont(font)
-        self.edc_listeInventaire.setHorizontalHeaderItem(0, item)
-        item = QtGui.QTableWidgetItem()
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        font.setPointSize(7)
-        font.setBold(True)
-        font.setWeight(75)
-        item.setFont(font)
-        self.edc_listeInventaire.setHorizontalHeaderItem(1, item)
-        item = QtGui.QTableWidgetItem()
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        font.setPointSize(7)
-        font.setBold(True)
-        font.setItalic(False)
-        font.setWeight(75)
-        item.setFont(font)
-        self.edc_listeInventaire.setHorizontalHeaderItem(2, item)
-        item = QtGui.QTableWidgetItem()
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        font.setPointSize(7)
-        font.setBold(True)
-        font.setWeight(75)
-        item.setFont(font)
-        icon9 = QtGui.QIcon()
-        icon9.addPixmap(QtGui.QPixmap(_fromUtf8("../../img/poids.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        item.setIcon(icon9)
-        self.edc_listeInventaire.setHorizontalHeaderItem(3, item)
-        item = QtGui.QTableWidgetItem()
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        font.setPointSize(7)
-        font.setBold(True)
-        font.setWeight(75)
-        item.setFont(font)
-        self.edc_listeInventaire.setHorizontalHeaderItem(4, item)
-        item = QtGui.QTableWidgetItem()
-        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
-        font = QtGui.QFont()
-        font.setBold(False)
-        font.setWeight(50)
-        item.setFont(font)
-        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsDragEnabled|QtCore.Qt.ItemIsDropEnabled|QtCore.Qt.ItemIsEnabled)
-        self.edc_listeInventaire.setItem(0, 0, item)
-        item = QtGui.QTableWidgetItem()
-        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsDragEnabled|QtCore.Qt.ItemIsDropEnabled|QtCore.Qt.ItemIsUserCheckable|QtCore.Qt.ItemIsEnabled)
-        self.edc_listeInventaire.setItem(0, 1, item)
-        item = QtGui.QTableWidgetItem()
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        font.setPointSize(8)
-        font.setItalic(True)
-        item.setFont(font)
-        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsDragEnabled|QtCore.Qt.ItemIsDropEnabled|QtCore.Qt.ItemIsUserCheckable|QtCore.Qt.ItemIsEnabled)
-        self.edc_listeInventaire.setItem(0, 2, item)
-        item = QtGui.QTableWidgetItem()
-        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsDragEnabled|QtCore.Qt.ItemIsDropEnabled|QtCore.Qt.ItemIsUserCheckable|QtCore.Qt.ItemIsEnabled)
-        self.edc_listeInventaire.setItem(0, 3, item)
-        item = QtGui.QTableWidgetItem()
-        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsDragEnabled|QtCore.Qt.ItemIsDropEnabled|QtCore.Qt.ItemIsUserCheckable|QtCore.Qt.ItemIsEnabled)
-        self.edc_listeInventaire.setItem(0, 4, item)
-        self.edc_listeInventaire.horizontalHeader().setVisible(False)
-        self.edc_listeInventaire.horizontalHeader().setCascadingSectionResizes(False)
-        self.edc_listeInventaire.horizontalHeader().setDefaultSectionSize(60)
-        self.edc_listeInventaire.horizontalHeader().setMinimumSectionSize(32)
-        self.edc_listeInventaire.verticalHeader().setVisible(False)
-        self.edc_listeInventaire.verticalHeader().setDefaultSectionSize(18)
-        self.edc_listeInventaire.verticalHeader().setMinimumSectionSize(14)
-        self.label = QtGui.QLabel(self.page_invent)
-        self.label.setGeometry(QtCore.QRect(10, 400, 151, 21))
-        font = QtGui.QFont()
-        font.setItalic(True)
-        self.label.setFont(font)
-        self.label.setObjectName(_fromUtf8("label"))
-        self.edc_inventaire_poids = DmLabel(self.page_invent)
-        self.edc_inventaire_poids.setGeometry(QtCore.QRect(150, 400, 61, 20))
-        font = QtGui.QFont()
-        font.setItalic(True)
-        self.edc_inventaire_poids.setFont(font)
-        self.edc_inventaire_poids.setObjectName(_fromUtf8("edc_inventaire_poids"))
-        self.edc_filtreTypeObjet = DmTabInventaire(self.page_invent)
-        self.edc_filtreTypeObjet.setGeometry(QtCore.QRect(0, 5, 491, 28))
-        palette = QtGui.QPalette()
-        brush = QtGui.QBrush(QtGui.QColor(170, 0, 0, 100))
-        brush.setStyle(QtCore.Qt.SolidPattern)
-        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
-        brush = QtGui.QBrush(QtGui.QColor(170, 0, 0, 100))
-        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_filtreTypeObjet.setPalette(palette)
-        font = QtGui.QFont()
-        font.setStyleStrategy(QtGui.QFont.PreferAntialias)
-        self.edc_filtreTypeObjet.setFont(font)
-        self.edc_filtreTypeObjet.setTabShape(QtGui.QTabWidget.Rounded)
-        self.edc_filtreTypeObjet.setIconSize(QtCore.QSize(19, 21))
-        self.edc_filtreTypeObjet.setObjectName(_fromUtf8("edc_filtreTypeObjet"))
-        self.filtre_tout = QtGui.QWidget()
-        self.filtre_tout.setObjectName(_fromUtf8("filtre_tout"))
-        icon10 = QtGui.QIcon()
-        icon10.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/etoile_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.edc_filtreTypeObjet.addTab(self.filtre_tout, icon10, _fromUtf8(""))
-        self.filtre_0 = QtGui.QWidget()
-        self.filtre_0.setObjectName(_fromUtf8("filtre_0"))
-        icon11 = QtGui.QIcon()
-        icon11.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/pieces_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.edc_filtreTypeObjet.addTab(self.filtre_0, icon11, _fromUtf8(""))
-        self.filtre_1 = QtGui.QWidget()
-        self.filtre_1.setObjectName(_fromUtf8("filtre_1"))
-        icon12 = QtGui.QIcon()
-        icon12.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/armes_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.edc_filtreTypeObjet.addTab(self.filtre_1, icon12, _fromUtf8(""))
-        self.filtre_2 = QtGui.QWidget()
-        self.filtre_2.setObjectName(_fromUtf8("filtre_2"))
-        icon13 = QtGui.QIcon()
-        icon13.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/chimie_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.edc_filtreTypeObjet.addTab(self.filtre_2, icon13, _fromUtf8(""))
-        self.filtre_3 = QtGui.QWidget()
-        self.filtre_3.setObjectName(_fromUtf8("filtre_3"))
-        icon14 = QtGui.QIcon()
-        icon14.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/diamant_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.edc_filtreTypeObjet.addTab(self.filtre_3, icon14, _fromUtf8(""))
-        self.filtre_4 = QtGui.QWidget()
-        self.filtre_4.setObjectName(_fromUtf8("filtre_4"))
-        icon15 = QtGui.QIcon()
-        icon15.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/boiteOutils_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
-        self.edc_filtreTypeObjet.addTab(self.filtre_4, icon15, _fromUtf8(""))
-        self.edc_pages.addWidget(self.page_invent)
-        self.page_notes = QtGui.QWidget()
-        self.page_notes.setObjectName(_fromUtf8("page_notes"))
-        self.edc_detail_age = DmLineEdit(self.page_notes)
-        self.edc_detail_age.setGeometry(QtCore.QRect(100, 181, 81, 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(50, 180, 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(50, 210, 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 = DmLineEdit(self.page_notes)
-        self.edc_detail_sexe.setGeometry(QtCore.QRect(100, 210, 81, 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 = DmLineEdit(self.page_notes)
-        self.edc_detail_yeux.setGeometry(QtCore.QRect(350, 180, 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(240, 180, 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 = DmLineEdit(self.page_notes)
-        self.edc_detail_peau.setGeometry(QtCore.QRect(350, 210, 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(240, 210, 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(240, 240, 101, 21))
-        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 = DmLineEdit(self.page_notes)
-        self.edc_detail_cheveux.setGeometry(QtCore.QRect(350, 240, 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 = DmLineEdit(self.page_notes)
-        self.edc_detail_lieuNaissance.setGeometry(QtCore.QRect(130, 140, 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(50, 130, 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(50, 240, 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 = DmLineEdit(self.page_notes)
-        self.edc_detail_poids.setGeometry(QtCore.QRect(100, 241, 81, 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(50, 50, 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 = DmLineEdit(self.page_notes)
-        self.edc_detail_espece.setGeometry(QtCore.QRect(130, 51, 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(50, 79, 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 = DmLineEdit(self.page_notes)
-        self.edc_detail_profession.setGeometry(QtCore.QRect(130, 80, 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(50, 270, 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 = DmLineEdit(self.page_notes)
-        self.edc_detail_taille.setGeometry(QtCore.QRect(100, 270, 81, 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 = DmLineEdit(self.page_notes)
-        self.edc_detail_religion.setGeometry(QtCore.QRect(130, 110, 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(50, 100, 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 = DmLineEdit(self.page_notes)
-        self.edc_detail_langues.setGeometry(QtCore.QRect(130, 320, 291, 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_langues.setPalette(palette)
-        self.edc_detail_langues.setObjectName(_fromUtf8("edc_detail_langues"))
-        self.label_47 = QtGui.QLabel(self.page_notes)
-        self.label_47.setGeometry(QtCore.QRect(50, 310, 61, 41))
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        font.setPointSize(8)
-        self.label_47.setFont(font)
-        self.label_47.setObjectName(_fromUtf8("label_47"))
-        self.edc_pages.addWidget(self.page_notes)
-        self.verticalLayout.addWidget(self.edc_pages)
-        self.frame = QtGui.QFrame(edc_fenetre)
-        self.frame.setMinimumSize(QtCore.QSize(392, 50))
-        self.frame.setMaximumSize(QtCore.QSize(16777215, 50))
-        font = QtGui.QFont()
-        font.setFamily(_fromUtf8("Verdana"))
-        self.frame.setFont(font)
-        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(370, 10, 111, 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(280, 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(edc_fenetre)
-        self.edc_pages.setCurrentIndex(0)
-        self.edc_filtreTypeObjet.setCurrentIndex(4)
-        QtCore.QObject.connect(self.edc_menu, QtCore.SIGNAL(_fromUtf8("cellClicked(int,int)")), self.edc_pages.setCurrentIndex)
-        QtCore.QMetaObject.connectSlotsByName(edc_fenetre)
-
-    def retranslateUi(self, edc_fenetre):
-        edc_fenetre.setWindowTitle(_translate("edc_fenetre", "Creation / Edition de combattant", None))
-        item = self.edc_menu.verticalHeaderItem(0)
-        item.setText(_translate("edc_fenetre", "1", None))
-        item = self.edc_menu.verticalHeaderItem(1)
-        item.setText(_translate("edc_fenetre", "2", None))
-        item = self.edc_menu.verticalHeaderItem(2)
-        item.setText(_translate("edc_fenetre", "3", None))
-        item = self.edc_menu.verticalHeaderItem(3)
-        item.setText(_translate("edc_fenetre", "4", None))
-        item = self.edc_menu.verticalHeaderItem(4)
-        item.setText(_translate("edc_fenetre", "5", None))
-        item = self.edc_menu.verticalHeaderItem(5)
-        item.setText(_translate("edc_fenetre", "6", None))
-        item = self.edc_menu.horizontalHeaderItem(0)
-        item.setText(_translate("edc_fenetre", "inutile", None))
-        item = self.edc_menu.horizontalHeaderItem(1)
-        item.setText(_translate("edc_fenetre", "menus", None))
-        __sortingEnabled = self.edc_menu.isSortingEnabled()
-        self.edc_menu.setSortingEnabled(False)
-        item = self.edc_menu.item(0, 1)
-        item.setText(_translate("edc_fenetre", " NOM ET APPARENCE ", None))
-        item = self.edc_menu.item(1, 1)
-        item.setText(_translate("edc_fenetre", " TAILLE ET DEPLACEMENT ", None))
-        item = self.edc_menu.item(2, 1)
-        item.setText(_translate("edc_fenetre", " ATTRIBUTS ET CAPACITES", None))
-        item = self.edc_menu.item(3, 1)
-        item.setText(_translate("edc_fenetre", " ATTAQUES ", None))
-        item = self.edc_menu.item(4, 1)
-        item.setText(_translate("edc_fenetre", " INVENTAIRE ", None))
-        item = self.edc_menu.item(5, 1)
-        item.setText(_translate("edc_fenetre", " DIVERS", None))
-        self.edc_menu.setSortingEnabled(__sortingEnabled)
-        self.edc_logo.setText(_translate("edc_fenetre", "Choisissez \n"
-"un fichier\n"
-"image", None))
-        self.label_8.setText(_translate("edc_fenetre", "Nom : ", None))
-        self.edc_image.setText(_translate("edc_fenetre", "...", None))
-        self.edc_aideForme.setText(_translate("edc_fenetre", "...", None))
-        self.edc_casesHexa.setText(_translate("edc_fenetre", "Cases hexagonales", None))
-        self.edc_casesCarrees.setText(_translate("edc_fenetre", "Cases carrées", None))
-        self.label_9.setText(_translate("edc_fenetre", "Nombre de cases que la créature peut parcourir en un tour : ", None))
-        self.label_10.setText(_translate("edc_fenetre", "Marche / Course", None))
-        self.label_11.setText(_translate("edc_fenetre", "Nage    ", None))
-        self.label_12.setText(_translate("edc_fenetre", "Escalade ", None))
-        self.label_13.setText(_translate("edc_fenetre", "Vol      ", None))
-        self.label_14.setText(_translate("edc_fenetre", "Hauteur maximum pour les sauts : ", None))
-        self.label_15.setText(_translate("edc_fenetre", "Taille de la créature (en cases) : ", None))
-        self.label_23.setText(_translate("edc_fenetre", "Autre :", None))
-        self.edc_listeInventaire.setSortingEnabled(True)
-        item = self.edc_listeInventaire.verticalHeaderItem(0)
-        item.setText(_translate("edc_fenetre", "Nouvelle ligne", None))
-        item = self.edc_listeInventaire.horizontalHeaderItem(0)
-        item.setText(_translate("edc_fenetre", "Type", None))
-        item = self.edc_listeInventaire.horizontalHeaderItem(1)
-        item.setText(_translate("edc_fenetre", "Quantité", None))
-        item = self.edc_listeInventaire.horizontalHeaderItem(2)
-        item.setText(_translate("edc_fenetre", "Objet", None))
-        item = self.edc_listeInventaire.horizontalHeaderItem(4)
-        item.setText(_translate("edc_fenetre", "...", None))
-        __sortingEnabled = self.edc_listeInventaire.isSortingEnabled()
-        self.edc_listeInventaire.setSortingEnabled(False)
-        item = self.edc_listeInventaire.item(0, 0)
-        item.setText(_translate("edc_fenetre", "*", None))
-        item = self.edc_listeInventaire.item(0, 2)
-        item.setText(_translate("edc_fenetre", "(Cliquer pour ajouter un item)", None))
-        self.edc_listeInventaire.setSortingEnabled(__sortingEnabled)
-        self.label.setText(_translate("edc_fenetre", "Poids total transporté :", None))
-        self.edc_inventaire_poids.setText(_translate("edc_fenetre", "... kg", None))
-        self.label_16.setText(_translate("edc_fenetre", "Age : ", None))
-        self.label_17.setText(_translate("edc_fenetre", "Sexe : ", None))
-        self.label_37.setText(_translate("edc_fenetre", "Yeux :", None))
-        self.label_38.setText(_translate("edc_fenetre", "Peau :", None))
-        self.label_39.setText(_translate("edc_fenetre", "Poils /Cheveux :", None))
-        self.label_40.setText(_translate("edc_fenetre", "Lieu de\n"
-"naissance :", None))
-        self.label_41.setText(_translate("edc_fenetre", "Poids : ", None))
-        self.label_43.setText(_translate("edc_fenetre", "Espèce : ", None))
-        self.label_44.setText(_translate("edc_fenetre", "Profession : ", None))
-        self.label_45.setText(_translate("edc_fenetre", "Taille : ", None))
-        self.label_42.setText(_translate("edc_fenetre", "Religion /\n"
-"Croyances :", None))
-        self.label_47.setText(_translate("edc_fenetre", "Langues\n"
-"parlées : ", None))
-        self.edc_enregistrer.setText(_translate("edc_fenetre", "Enregistrer", None))
-        self.edc_annuler.setText(_translate("edc_fenetre", "Annuler", None))
-
-from dm import DmTabInventaire, DmTableInventaire, DmTableMenu, DmLabel, DmLineEdit
-import ressource_rc
-
-if __name__ == "__main__":
-    import sys
-    app = QtGui.QApplication(sys.argv)
-    edc_fenetre = QtGui.QDialog()
-    ui = Ui_edc_fenetre()
-    ui.setupUi(edc_fenetre)
-    edc_fenetre.show()
-    sys.exit(app.exec_())
-
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'editionCombattant.ui'
+#
+# Created: Fri Jul 17 11:19:27 2015
+#      by: PyQt4 UI code generator 4.10.4
+#
+# WARNING! All changes made in this file will be lost!
+
+from PyQt4 import QtCore, QtGui
+
+try:
+    _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+    def _fromUtf8(s):
+        return s
+
+try:
+    _encoding = QtGui.QApplication.UnicodeUTF8
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig, _encoding)
+except AttributeError:
+    def _translate(context, text, disambig):
+        return QtGui.QApplication.translate(context, text, disambig)
+
+class Ui_edc_fenetre(object):
+    def setupUi(self, edc_fenetre):
+        edc_fenetre.setObjectName(_fromUtf8("edc_fenetre"))
+        edc_fenetre.setWindowModality(QtCore.Qt.ApplicationModal)
+        edc_fenetre.resize(679, 484)
+        edc_fenetre.setMinimumSize(QtCore.QSize(0, 484))
+        edc_fenetre.setMaximumSize(QtCore.QSize(16777215, 10000))
+        self.horizontalLayout_2 = QtGui.QHBoxLayout(edc_fenetre)
+        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(edc_fenetre)
+        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(":/interface/32/ressource/oeil_32.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(":/interface/32/ressource/deplacement2_32.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(":/interface/32/ressource/profil_32.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(":/interface/32/ressource/attaque_32.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(":/interface/16/ressource/sac_16.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(":/interface/32/ressource/note_32.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(edc_fenetre)
+        self.edc_pages.setMinimumSize(QtCore.QSize(392, 0))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_pages.setFont(font)
+        self.edc_pages.setObjectName(_fromUtf8("edc_pages"))
+        self.page_nom = QtGui.QWidget()
+        self.page_nom.setObjectName(_fromUtf8("page_nom"))
+        self.edc_nom = DmLineEdit(self.page_nom)
+        self.edc_nom.setGeometry(QtCore.QRect(160, 20, 281, 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 = DmLabel(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, 20, 51, 31))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(8)
+        font.setItalic(True)
+        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(50, 70, 401, 351))
+        self.frame_2.setFrameShape(QtGui.QFrame.NoFrame)
+        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(40, 28, 293, 296))
+        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.WinPanel)
+        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(340, 70, 31, 31))
+        icon6 = QtGui.QIcon()
+        icon6.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/portrait_32.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(340, 30, 31, 31))
+        self.edc_couleur.setText(_fromUtf8(""))
+        icon7 = QtGui.QIcon()
+        icon7.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/16/ressource/palette_16.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(340, 290, 31, 31))
+        icon8 = QtGui.QIcon()
+        icon8.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/aide_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.edc_aideForme.setIcon(icon8)
+        self.edc_aideForme.setObjectName(_fromUtf8("edc_aideForme"))
+        self.edc_casesHexa = QtGui.QRadioButton(self.frame_2)
+        self.edc_casesHexa.setGeometry(QtCore.QRect(40, 320, 151, 31))
+        self.edc_casesHexa.setChecked(True)
+        self.edc_casesHexa.setObjectName(_fromUtf8("edc_casesHexa"))
+        self.edc_casesCarrees = QtGui.QRadioButton(self.frame_2)
+        self.edc_casesCarrees.setGeometry(QtCore.QRect(220, 320, 111, 31))
+        self.edc_casesCarrees.setObjectName(_fromUtf8("edc_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(70, 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.QSpinBox(self.page_dep)
+        self.edc_depMarche.setGeometry(QtCore.QRect(240, 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.setProperty("value", 9)
+        self.edc_depMarche.setObjectName(_fromUtf8("edc_depMarche"))
+        self.label_10 = QtGui.QLabel(self.page_dep)
+        self.label_10.setGeometry(QtCore.QRect(130, 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.edc_depNage = QtGui.QSpinBox(self.page_dep)
+        self.edc_depNage.setGeometry(QtCore.QRect(240, 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.setFamily(_fromUtf8("Verdana"))
+        self.edc_depNage.setFont(font)
+        self.edc_depNage.setProperty("value", 6)
+        self.edc_depNage.setObjectName(_fromUtf8("edc_depNage"))
+        self.label_11 = QtGui.QLabel(self.page_dep)
+        self.label_11.setGeometry(QtCore.QRect(130, 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.QSpinBox(self.page_dep)
+        self.edc_depEscalade.setGeometry(QtCore.QRect(240, 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.setProperty("value", 4)
+        self.edc_depEscalade.setObjectName(_fromUtf8("edc_depEscalade"))
+        self.label_12 = QtGui.QLabel(self.page_dep)
+        self.label_12.setGeometry(QtCore.QRect(130, 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.page_dep)
+        self.label_13.setGeometry(QtCore.QRect(130, 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.edc_depVol = QtGui.QSpinBox(self.page_dep)
+        self.edc_depVol.setGeometry(QtCore.QRect(240, 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.setObjectName(_fromUtf8("edc_depVol"))
+        self.edc_saut = QtGui.QDoubleSpinBox(self.page_dep)
+        self.edc_saut.setGeometry(QtCore.QRect(310, 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(70, 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.label_2 = QtGui.QLabel(self.page_dep)
+        self.label_2.setGeometry(QtCore.QRect(80, 140, 31, 31))
+        self.label_2.setText(_fromUtf8(""))
+        self.label_2.setPixmap(QtGui.QPixmap(_fromUtf8(":/interface/16/ressource/marche_16.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(80, 180, 31, 31))
+        self.label_3.setText(_fromUtf8(""))
+        self.label_3.setPixmap(QtGui.QPixmap(_fromUtf8(":/interface/24/ressource/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(80, 220, 31, 31))
+        self.label_4.setText(_fromUtf8(""))
+        self.label_4.setPixmap(QtGui.QPixmap(_fromUtf8(":/interface/24/ressource/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(80, 260, 31, 31))
+        self.label_5.setText(_fromUtf8(""))
+        self.label_5.setPixmap(QtGui.QPixmap(_fromUtf8(":/interface/24/ressource/plume_24.png")))
+        self.label_5.setScaledContents(False)
+        self.label_5.setObjectName(_fromUtf8("label_5"))
+        self.edc_taille = QtGui.QSpinBox(self.page_dep)
+        self.edc_taille.setGeometry(QtCore.QRect(310, 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.setMinimum(1)
+        self.edc_taille.setObjectName(_fromUtf8("edc_taille"))
+        self.label_15 = QtGui.QLabel(self.page_dep)
+        self.label_15.setGeometry(QtCore.QRect(70, 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.edc_pages.addWidget(self.page_dep)
+        self.page_attr = QtGui.QWidget()
+        self.page_attr.setObjectName(_fromUtf8("page_attr"))
+        self.edc_deroulementAttributs = QtGui.QScrollArea(self.page_attr)
+        self.edc_deroulementAttributs.setGeometry(QtCore.QRect(10, 10, 231, 411))
+        self.edc_deroulementAttributs.setFrameShape(QtGui.QFrame.StyledPanel)
+        self.edc_deroulementAttributs.setFrameShadow(QtGui.QFrame.Raised)
+        self.edc_deroulementAttributs.setWidgetResizable(True)
+        self.edc_deroulementAttributs.setObjectName(_fromUtf8("edc_deroulementAttributs"))
+        self.scrollAreaWidgetContents_2 = QtGui.QWidget()
+        self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 229, 409))
+        self.scrollAreaWidgetContents_2.setObjectName(_fromUtf8("scrollAreaWidgetContents_2"))
+        self.edc_deroulementAttributs_layout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents_2)
+        self.edc_deroulementAttributs_layout.setSpacing(1)
+        self.edc_deroulementAttributs_layout.setMargin(3)
+        self.edc_deroulementAttributs_layout.setObjectName(_fromUtf8("edc_deroulementAttributs_layout"))
+        self.edc_deroulementAttributs.setWidget(self.scrollAreaWidgetContents_2)
+        self.edc_notes = QtGui.QTextEdit(self.page_attr)
+        self.edc_notes.setGeometry(QtCore.QRect(270, 30, 181, 391))
+        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_notes.setPalette(palette)
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.edc_notes.setFont(font)
+        self.edc_notes.setObjectName(_fromUtf8("edc_notes"))
+        self.label_23 = QtGui.QLabel(self.page_attr)
+        self.label_23.setGeometry(QtCore.QRect(280, 9, 141, 21))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setItalic(True)
+        self.label_23.setFont(font)
+        self.label_23.setObjectName(_fromUtf8("label_23"))
+        self.edc_pages.addWidget(self.page_attr)
+        self.page_att = QtGui.QWidget()
+        self.page_att.setObjectName(_fromUtf8("page_att"))
+        self.edc_deroulementAttaques = QtGui.QScrollArea(self.page_att)
+        self.edc_deroulementAttaques.setGeometry(QtCore.QRect(0, 0, 491, 431))
+        self.edc_deroulementAttaques.setWidgetResizable(True)
+        self.edc_deroulementAttaques.setObjectName(_fromUtf8("edc_deroulementAttaques"))
+        self.scrollAreaWidgetContents = QtGui.QWidget()
+        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 489, 429))
+        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
+        self.edc_deroulementAttaques_layout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
+        self.edc_deroulementAttaques_layout.setSpacing(1)
+        self.edc_deroulementAttaques_layout.setMargin(3)
+        self.edc_deroulementAttaques_layout.setObjectName(_fromUtf8("edc_deroulementAttaques_layout"))
+        self.edc_deroulementAttaques.setWidget(self.scrollAreaWidgetContents)
+        self.edc_pages.addWidget(self.page_att)
+        self.page_invent = QtGui.QWidget()
+        self.page_invent.setObjectName(_fromUtf8("page_invent"))
+        self.edc_listeInventaire = DmTableInventaire(self.page_invent)
+        self.edc_listeInventaire.setGeometry(QtCore.QRect(0, 29, 491, 368))
+        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_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.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
+        self.edc_listeInventaire.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
+        self.edc_listeInventaire.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
+        self.edc_listeInventaire.setAlternatingRowColors(False)
+        self.edc_listeInventaire.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
+        self.edc_listeInventaire.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
+        self.edc_listeInventaire.setShowGrid(True)
+        self.edc_listeInventaire.setGridStyle(QtCore.Qt.SolidLine)
+        self.edc_listeInventaire.setObjectName(_fromUtf8("edc_listeInventaire"))
+        self.edc_listeInventaire.setColumnCount(5)
+        self.edc_listeInventaire.setRowCount(1)
+        item = QtGui.QTableWidgetItem()
+        self.edc_listeInventaire.setVerticalHeaderItem(0, item)
+        item = QtGui.QTableWidgetItem()
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(7)
+        font.setBold(True)
+        font.setWeight(75)
+        item.setFont(font)
+        self.edc_listeInventaire.setHorizontalHeaderItem(0, item)
+        item = QtGui.QTableWidgetItem()
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(7)
+        font.setBold(True)
+        font.setWeight(75)
+        item.setFont(font)
+        self.edc_listeInventaire.setHorizontalHeaderItem(1, item)
+        item = QtGui.QTableWidgetItem()
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(7)
+        font.setBold(True)
+        font.setItalic(False)
+        font.setWeight(75)
+        item.setFont(font)
+        self.edc_listeInventaire.setHorizontalHeaderItem(2, item)
+        item = QtGui.QTableWidgetItem()
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(7)
+        font.setBold(True)
+        font.setWeight(75)
+        item.setFont(font)
+        icon9 = QtGui.QIcon()
+        icon9.addPixmap(QtGui.QPixmap(_fromUtf8("../../img/poids.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        item.setIcon(icon9)
+        self.edc_listeInventaire.setHorizontalHeaderItem(3, item)
+        item = QtGui.QTableWidgetItem()
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(7)
+        font.setBold(True)
+        font.setWeight(75)
+        item.setFont(font)
+        self.edc_listeInventaire.setHorizontalHeaderItem(4, item)
+        item = QtGui.QTableWidgetItem()
+        item.setTextAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignVCenter|QtCore.Qt.AlignCenter)
+        font = QtGui.QFont()
+        font.setBold(False)
+        font.setWeight(50)
+        item.setFont(font)
+        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsDragEnabled|QtCore.Qt.ItemIsDropEnabled|QtCore.Qt.ItemIsEnabled)
+        self.edc_listeInventaire.setItem(0, 0, item)
+        item = QtGui.QTableWidgetItem()
+        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsDragEnabled|QtCore.Qt.ItemIsDropEnabled|QtCore.Qt.ItemIsUserCheckable|QtCore.Qt.ItemIsEnabled)
+        self.edc_listeInventaire.setItem(0, 1, item)
+        item = QtGui.QTableWidgetItem()
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(8)
+        font.setItalic(True)
+        item.setFont(font)
+        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsDragEnabled|QtCore.Qt.ItemIsDropEnabled|QtCore.Qt.ItemIsUserCheckable|QtCore.Qt.ItemIsEnabled)
+        self.edc_listeInventaire.setItem(0, 2, item)
+        item = QtGui.QTableWidgetItem()
+        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsDragEnabled|QtCore.Qt.ItemIsDropEnabled|QtCore.Qt.ItemIsUserCheckable|QtCore.Qt.ItemIsEnabled)
+        self.edc_listeInventaire.setItem(0, 3, item)
+        item = QtGui.QTableWidgetItem()
+        item.setFlags(QtCore.Qt.ItemIsSelectable|QtCore.Qt.ItemIsDragEnabled|QtCore.Qt.ItemIsDropEnabled|QtCore.Qt.ItemIsUserCheckable|QtCore.Qt.ItemIsEnabled)
+        self.edc_listeInventaire.setItem(0, 4, item)
+        self.edc_listeInventaire.horizontalHeader().setVisible(False)
+        self.edc_listeInventaire.horizontalHeader().setCascadingSectionResizes(False)
+        self.edc_listeInventaire.horizontalHeader().setDefaultSectionSize(60)
+        self.edc_listeInventaire.horizontalHeader().setMinimumSectionSize(32)
+        self.edc_listeInventaire.verticalHeader().setVisible(False)
+        self.edc_listeInventaire.verticalHeader().setDefaultSectionSize(18)
+        self.edc_listeInventaire.verticalHeader().setMinimumSectionSize(14)
+        self.label = QtGui.QLabel(self.page_invent)
+        self.label.setGeometry(QtCore.QRect(10, 400, 151, 21))
+        font = QtGui.QFont()
+        font.setItalic(True)
+        self.label.setFont(font)
+        self.label.setObjectName(_fromUtf8("label"))
+        self.edc_inventaire_poids = DmLabel(self.page_invent)
+        self.edc_inventaire_poids.setGeometry(QtCore.QRect(150, 400, 61, 20))
+        font = QtGui.QFont()
+        font.setItalic(True)
+        self.edc_inventaire_poids.setFont(font)
+        self.edc_inventaire_poids.setObjectName(_fromUtf8("edc_inventaire_poids"))
+        self.edc_filtreTypeObjet = DmTabInventaire(self.page_invent)
+        self.edc_filtreTypeObjet.setGeometry(QtCore.QRect(0, 5, 491, 28))
+        palette = QtGui.QPalette()
+        brush = QtGui.QBrush(QtGui.QColor(170, 0, 0, 100))
+        brush.setStyle(QtCore.Qt.SolidPattern)
+        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
+        brush = QtGui.QBrush(QtGui.QColor(170, 0, 0, 100))
+        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_filtreTypeObjet.setPalette(palette)
+        font = QtGui.QFont()
+        font.setStyleStrategy(QtGui.QFont.PreferAntialias)
+        self.edc_filtreTypeObjet.setFont(font)
+        self.edc_filtreTypeObjet.setTabShape(QtGui.QTabWidget.Rounded)
+        self.edc_filtreTypeObjet.setIconSize(QtCore.QSize(19, 21))
+        self.edc_filtreTypeObjet.setObjectName(_fromUtf8("edc_filtreTypeObjet"))
+        self.filtre_tout = QtGui.QWidget()
+        self.filtre_tout.setObjectName(_fromUtf8("filtre_tout"))
+        icon10 = QtGui.QIcon()
+        icon10.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/etoile_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.edc_filtreTypeObjet.addTab(self.filtre_tout, icon10, _fromUtf8(""))
+        self.filtre_0 = QtGui.QWidget()
+        self.filtre_0.setObjectName(_fromUtf8("filtre_0"))
+        icon11 = QtGui.QIcon()
+        icon11.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/pieces_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.edc_filtreTypeObjet.addTab(self.filtre_0, icon11, _fromUtf8(""))
+        self.filtre_1 = QtGui.QWidget()
+        self.filtre_1.setObjectName(_fromUtf8("filtre_1"))
+        icon12 = QtGui.QIcon()
+        icon12.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/armes_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.edc_filtreTypeObjet.addTab(self.filtre_1, icon12, _fromUtf8(""))
+        self.filtre_2 = QtGui.QWidget()
+        self.filtre_2.setObjectName(_fromUtf8("filtre_2"))
+        icon13 = QtGui.QIcon()
+        icon13.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/chimie_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.edc_filtreTypeObjet.addTab(self.filtre_2, icon13, _fromUtf8(""))
+        self.filtre_3 = QtGui.QWidget()
+        self.filtre_3.setObjectName(_fromUtf8("filtre_3"))
+        icon14 = QtGui.QIcon()
+        icon14.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/diamant_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.edc_filtreTypeObjet.addTab(self.filtre_3, icon14, _fromUtf8(""))
+        self.filtre_4 = QtGui.QWidget()
+        self.filtre_4.setObjectName(_fromUtf8("filtre_4"))
+        icon15 = QtGui.QIcon()
+        icon15.addPixmap(QtGui.QPixmap(_fromUtf8(":/interface/32/ressource/boiteOutils_32.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        self.edc_filtreTypeObjet.addTab(self.filtre_4, icon15, _fromUtf8(""))
+        self.edc_pages.addWidget(self.page_invent)
+        self.page_notes = QtGui.QWidget()
+        self.page_notes.setObjectName(_fromUtf8("page_notes"))
+        self.edc_detail_age = DmLineEdit(self.page_notes)
+        self.edc_detail_age.setGeometry(QtCore.QRect(100, 181, 81, 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(50, 180, 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(50, 210, 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 = DmLineEdit(self.page_notes)
+        self.edc_detail_sexe.setGeometry(QtCore.QRect(100, 210, 81, 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 = DmLineEdit(self.page_notes)
+        self.edc_detail_yeux.setGeometry(QtCore.QRect(350, 180, 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(240, 180, 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 = DmLineEdit(self.page_notes)
+        self.edc_detail_peau.setGeometry(QtCore.QRect(350, 210, 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(240, 210, 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(240, 240, 101, 21))
+        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 = DmLineEdit(self.page_notes)
+        self.edc_detail_cheveux.setGeometry(QtCore.QRect(350, 240, 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 = DmLineEdit(self.page_notes)
+        self.edc_detail_lieuNaissance.setGeometry(QtCore.QRect(130, 140, 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(50, 130, 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(50, 240, 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 = DmLineEdit(self.page_notes)
+        self.edc_detail_poids.setGeometry(QtCore.QRect(100, 241, 81, 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(50, 50, 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 = DmLineEdit(self.page_notes)
+        self.edc_detail_espece.setGeometry(QtCore.QRect(130, 51, 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(50, 79, 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 = DmLineEdit(self.page_notes)
+        self.edc_detail_profession.setGeometry(QtCore.QRect(130, 80, 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(50, 270, 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 = DmLineEdit(self.page_notes)
+        self.edc_detail_taille.setGeometry(QtCore.QRect(100, 270, 81, 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 = DmLineEdit(self.page_notes)
+        self.edc_detail_religion.setGeometry(QtCore.QRect(130, 110, 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(50, 100, 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 = DmLineEdit(self.page_notes)
+        self.edc_detail_langues.setGeometry(QtCore.QRect(130, 320, 291, 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_langues.setPalette(palette)
+        self.edc_detail_langues.setObjectName(_fromUtf8("edc_detail_langues"))
+        self.label_47 = QtGui.QLabel(self.page_notes)
+        self.label_47.setGeometry(QtCore.QRect(50, 310, 61, 41))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        font.setPointSize(8)
+        self.label_47.setFont(font)
+        self.label_47.setObjectName(_fromUtf8("label_47"))
+        self.edc_pages.addWidget(self.page_notes)
+        self.verticalLayout.addWidget(self.edc_pages)
+        self.frame = QtGui.QFrame(edc_fenetre)
+        self.frame.setMinimumSize(QtCore.QSize(392, 50))
+        self.frame.setMaximumSize(QtCore.QSize(16777215, 50))
+        font = QtGui.QFont()
+        font.setFamily(_fromUtf8("Verdana"))
+        self.frame.setFont(font)
+        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(370, 10, 111, 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(280, 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(edc_fenetre)
+        self.edc_pages.setCurrentIndex(1)
+        self.edc_filtreTypeObjet.setCurrentIndex(4)
+        QtCore.QObject.connect(self.edc_menu, QtCore.SIGNAL(_fromUtf8("cellClicked(int,int)")), self.edc_pages.setCurrentIndex)
+        QtCore.QMetaObject.connectSlotsByName(edc_fenetre)
+
+    def retranslateUi(self, edc_fenetre):
+        edc_fenetre.setWindowTitle(_translate("edc_fenetre", "Creation / Edition de combattant", None))
+        item = self.edc_menu.verticalHeaderItem(0)
+        item.setText(_translate("edc_fenetre", "1", None))
+        item = self.edc_menu.verticalHeaderItem(1)
+        item.setText(_translate("edc_fenetre", "2", None))
+        item = self.edc_menu.verticalHeaderItem(2)
+        item.setText(_translate("edc_fenetre", "3", None))
+        item = self.edc_menu.verticalHeaderItem(3)
+        item.setText(_translate("edc_fenetre", "4", None))
+        item = self.edc_menu.verticalHeaderItem(4)
+        item.setText(_translate("edc_fenetre", "5", None))
+        item = self.edc_menu.verticalHeaderItem(5)
+        item.setText(_translate("edc_fenetre", "6", None))
+        item = self.edc_menu.horizontalHeaderItem(0)
+        item.setText(_translate("edc_fenetre", "inutile", None))
+        item = self.edc_menu.horizontalHeaderItem(1)
+        item.setText(_translate("edc_fenetre", "menus", None))
+        __sortingEnabled = self.edc_menu.isSortingEnabled()
+        self.edc_menu.setSortingEnabled(False)
+        item = self.edc_menu.item(0, 1)
+        item.setText(_translate("edc_fenetre", " NOM ET APPARENCE ", None))
+        item = self.edc_menu.item(1, 1)
+        item.setText(_translate("edc_fenetre", " TAILLE ET DEPLACEMENT ", None))
+        item = self.edc_menu.item(2, 1)
+        item.setText(_translate("edc_fenetre", " ATTRIBUTS ET CAPACITES", None))
+        item = self.edc_menu.item(3, 1)
+        item.setText(_translate("edc_fenetre", " ATTAQUES ", None))
+        item = self.edc_menu.item(4, 1)
+        item.setText(_translate("edc_fenetre", " INVENTAIRE ", None))
+        item = self.edc_menu.item(5, 1)
+        item.setText(_translate("edc_fenetre", " DIVERS", None))
+        self.edc_menu.setSortingEnabled(__sortingEnabled)
+        self.edc_logo.setText(_translate("edc_fenetre", "Choisissez \n"
+"un fichier\n"
+"image", None))
+        self.label_8.setText(_translate("edc_fenetre", "Nom : ", None))
+        self.edc_image.setText(_translate("edc_fenetre", "...", None))
+        self.edc_aideForme.setText(_translate("edc_fenetre", "...", None))
+        self.edc_casesHexa.setText(_translate("edc_fenetre", "Cases hexagonales", None))
+        self.edc_casesCarrees.setText(_translate("edc_fenetre", "Cases carrées", None))
+        self.label_9.setText(_translate("edc_fenetre", "Nombre de cases que la créature peut parcourir en un tour : ", None))
+        self.label_10.setText(_translate("edc_fenetre", "Marche / Course", None))
+        self.label_11.setText(_translate("edc_fenetre", "Nage    ", None))
+        self.label_12.setText(_translate("edc_fenetre", "Escalade ", None))
+        self.label_13.setText(_translate("edc_fenetre", "Vol      ", None))
+        self.label_14.setText(_translate("edc_fenetre", "Hauteur maximum pour les sauts : ", None))
+        self.label_15.setText(_translate("edc_fenetre", "Taille de la créature (en cases) : ", None))
+        self.label_23.setText(_translate("edc_fenetre", "Autre :", None))
+        self.edc_listeInventaire.setSortingEnabled(True)
+        item = self.edc_listeInventaire.verticalHeaderItem(0)
+        item.setText(_translate("edc_fenetre", "Nouvelle ligne", None))
+        item = self.edc_listeInventaire.horizontalHeaderItem(0)
+        item.setText(_translate("edc_fenetre", "Type", None))
+        item = self.edc_listeInventaire.horizontalHeaderItem(1)
+        item.setText(_translate("edc_fenetre", "Quantité", None))
+        item = self.edc_listeInventaire.horizontalHeaderItem(2)
+        item.setText(_translate("edc_fenetre", "Objet", None))
+        item = self.edc_listeInventaire.horizontalHeaderItem(4)
+        item.setText(_translate("edc_fenetre", "...", None))
+        __sortingEnabled = self.edc_listeInventaire.isSortingEnabled()
+        self.edc_listeInventaire.setSortingEnabled(False)
+        item = self.edc_listeInventaire.item(0, 0)
+        item.setText(_translate("edc_fenetre", "*", None))
+        item = self.edc_listeInventaire.item(0, 2)
+        item.setText(_translate("edc_fenetre", "(Cliquer pour ajouter un item)", None))
+        self.edc_listeInventaire.setSortingEnabled(__sortingEnabled)
+        self.label.setText(_translate("edc_fenetre", "Poids total transporté :", None))
+        self.edc_inventaire_poids.setText(_translate("edc_fenetre", "... kg", None))
+        self.label_16.setText(_translate("edc_fenetre", "Age : ", None))
+        self.label_17.setText(_translate("edc_fenetre", "Sexe : ", None))
+        self.label_37.setText(_translate("edc_fenetre", "Yeux :", None))
+        self.label_38.setText(_translate("edc_fenetre", "Peau :", None))
+        self.label_39.setText(_translate("edc_fenetre", "Poils /Cheveux :", None))
+        self.label_40.setText(_translate("edc_fenetre", "Lieu de\n"
+"naissance :", None))
+        self.label_41.setText(_translate("edc_fenetre", "Poids : ", None))
+        self.label_43.setText(_translate("edc_fenetre", "Espèce : ", None))
+        self.label_44.setText(_translate("edc_fenetre", "Profession : ", None))
+        self.label_45.setText(_translate("edc_fenetre", "Taille : ", None))
+        self.label_42.setText(_translate("edc_fenetre", "Religion /\n"
+"Croyances :", None))
+        self.label_47.setText(_translate("edc_fenetre", "Langues\n"
+"parlées : ", None))
+        self.edc_enregistrer.setText(_translate("edc_fenetre", "Enregistrer", None))
+        self.edc_annuler.setText(_translate("edc_fenetre", "Annuler", None))
+
+from dm import DmTabInventaire, DmTableInventaire, DmTableMenu, DmLabel, DmLineEdit
+import ressource_rc
+
+if __name__ == "__main__":
+    import sys
+    app = QtGui.QApplication(sys.argv)
+    edc_fenetre = QtGui.QDialog()
+    ui = Ui_edc_fenetre()
+    ui.setupUi(edc_fenetre)
+    edc_fenetre.show()
+    sys.exit(app.exec_())
+

+ 2895 - 2934
lib/ui/editionCombattant.ui

@@ -1,2934 +1,2895 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>edc_fenetre</class>
- <widget class="QDialog" name="edc_fenetre">
-  <property name="windowModality">
-   <enum>Qt::ApplicationModal</enum>
-  </property>
-  <property name="geometry">
-   <rect>
-    <x>0</x>
-    <y>0</y>
-    <width>679</width>
-    <height>484</height>
-   </rect>
-  </property>
-  <property name="minimumSize">
-   <size>
-    <width>0</width>
-    <height>484</height>
-   </size>
-  </property>
-  <property name="maximumSize">
-   <size>
-    <width>16777215</width>
-    <height>10000</height>
-   </size>
-  </property>
-  <property name="windowTitle">
-   <string>Creation / Edition de combattant</string>
-  </property>
-  <layout class="QHBoxLayout" name="horizontalLayout_2">
-   <property name="leftMargin">
-    <number>0</number>
-   </property>
-   <property name="topMargin">
-    <number>0</number>
-   </property>
-   <property name="bottomMargin">
-    <number>0</number>
-   </property>
-   <item>
-    <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,1">
-     <property name="spacing">
-      <number>3</number>
-     </property>
-     <item>
-      <widget class="DmTableMenu" name="edc_menu">
-       <property name="sizePolicy">
-        <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
-         <horstretch>0</horstretch>
-         <verstretch>0</verstretch>
-        </sizepolicy>
-       </property>
-       <property name="minimumSize">
-        <size>
-         <width>170</width>
-         <height>484</height>
-        </size>
-       </property>
-       <property name="maximumSize">
-        <size>
-         <width>170</width>
-         <height>484</height>
-        </size>
-       </property>
-       <property name="palette">
-        <palette>
-         <active>
-          <colorrole role="WindowText">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>6</red>
-             <green>6</green>
-             <blue>6</blue>
-            </color>
-           </brush>
-          </colorrole>
-          <colorrole role="Mid">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>190</red>
-             <green>190</green>
-             <blue>190</blue>
-            </color>
-           </brush>
-          </colorrole>
-          <colorrole role="Text">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>255</red>
-             <green>255</green>
-             <blue>255</blue>
-            </color>
-           </brush>
-          </colorrole>
-          <colorrole role="Base">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>140</red>
-             <green>140</green>
-             <blue>140</blue>
-            </color>
-           </brush>
-          </colorrole>
-          <colorrole role="Highlight">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>240</red>
-             <green>240</green>
-             <blue>240</blue>
-            </color>
-           </brush>
-          </colorrole>
-          <colorrole role="HighlightedText">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>7</red>
-             <green>7</green>
-             <blue>7</blue>
-            </color>
-           </brush>
-          </colorrole>
-         </active>
-         <inactive>
-          <colorrole role="WindowText">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>6</red>
-             <green>6</green>
-             <blue>6</blue>
-            </color>
-           </brush>
-          </colorrole>
-          <colorrole role="Mid">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>190</red>
-             <green>190</green>
-             <blue>190</blue>
-            </color>
-           </brush>
-          </colorrole>
-          <colorrole role="Text">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>255</red>
-             <green>255</green>
-             <blue>255</blue>
-            </color>
-           </brush>
-          </colorrole>
-          <colorrole role="Base">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>140</red>
-             <green>140</green>
-             <blue>140</blue>
-            </color>
-           </brush>
-          </colorrole>
-          <colorrole role="Highlight">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>240</red>
-             <green>240</green>
-             <blue>240</blue>
-            </color>
-           </brush>
-          </colorrole>
-          <colorrole role="HighlightedText">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>7</red>
-             <green>7</green>
-             <blue>7</blue>
-            </color>
-           </brush>
-          </colorrole>
-         </inactive>
-         <disabled>
-          <colorrole role="WindowText">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>120</red>
-             <green>120</green>
-             <blue>120</blue>
-            </color>
-           </brush>
-          </colorrole>
-          <colorrole role="Mid">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>190</red>
-             <green>190</green>
-             <blue>190</blue>
-            </color>
-           </brush>
-          </colorrole>
-          <colorrole role="Text">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>120</red>
-             <green>120</green>
-             <blue>120</blue>
-            </color>
-           </brush>
-          </colorrole>
-          <colorrole role="Base">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>240</red>
-             <green>240</green>
-             <blue>240</blue>
-            </color>
-           </brush>
-          </colorrole>
-          <colorrole role="Highlight">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>51</red>
-             <green>153</green>
-             <blue>255</blue>
-            </color>
-           </brush>
-          </colorrole>
-          <colorrole role="HighlightedText">
-           <brush brushstyle="SolidPattern">
-            <color alpha="255">
-             <red>7</red>
-             <green>7</green>
-             <blue>7</blue>
-            </color>
-           </brush>
-          </colorrole>
-         </disabled>
-        </palette>
-       </property>
-       <property name="font">
-        <font>
-         <family>Candara</family>
-         <pointsize>13</pointsize>
-         <weight>50</weight>
-         <bold>false</bold>
-        </font>
-       </property>
-       <property name="focusPolicy">
-        <enum>Qt::NoFocus</enum>
-       </property>
-       <property name="frameShape">
-        <enum>QFrame::StyledPanel</enum>
-       </property>
-       <property name="frameShadow">
-        <enum>QFrame::Sunken</enum>
-       </property>
-       <property name="lineWidth">
-        <number>0</number>
-       </property>
-       <property name="verticalScrollBarPolicy">
-        <enum>Qt::ScrollBarAlwaysOff</enum>
-       </property>
-       <property name="horizontalScrollBarPolicy">
-        <enum>Qt::ScrollBarAlwaysOff</enum>
-       </property>
-       <property name="editTriggers">
-        <set>QAbstractItemView::NoEditTriggers</set>
-       </property>
-       <property name="showDropIndicator" stdset="0">
-        <bool>false</bool>
-       </property>
-       <property name="dragDropOverwriteMode">
-        <bool>false</bool>
-       </property>
-       <property name="selectionMode">
-        <enum>QAbstractItemView::SingleSelection</enum>
-       </property>
-       <property name="selectionBehavior">
-        <enum>QAbstractItemView::SelectRows</enum>
-       </property>
-       <property name="iconSize">
-        <size>
-         <width>30</width>
-         <height>30</height>
-        </size>
-       </property>
-       <property name="showGrid">
-        <bool>false</bool>
-       </property>
-       <property name="gridStyle">
-        <enum>Qt::SolidLine</enum>
-       </property>
-       <property name="cornerButtonEnabled">
-        <bool>false</bool>
-       </property>
-       <attribute name="horizontalHeaderVisible">
-        <bool>false</bool>
-       </attribute>
-       <attribute name="horizontalHeaderDefaultSectionSize">
-        <number>10</number>
-       </attribute>
-       <attribute name="horizontalHeaderHighlightSections">
-        <bool>false</bool>
-       </attribute>
-       <attribute name="horizontalHeaderStretchLastSection">
-        <bool>true</bool>
-       </attribute>
-       <attribute name="verticalHeaderVisible">
-        <bool>false</bool>
-       </attribute>
-       <attribute name="verticalHeaderDefaultSectionSize">
-        <number>80</number>
-       </attribute>
-       <attribute name="verticalHeaderHighlightSections">
-        <bool>false</bool>
-       </attribute>
-       <row>
-        <property name="text">
-         <string>1</string>
-        </property>
-       </row>
-       <row>
-        <property name="text">
-         <string>2</string>
-        </property>
-       </row>
-       <row>
-        <property name="text">
-         <string>3</string>
-        </property>
-       </row>
-       <row>
-        <property name="text">
-         <string>4</string>
-        </property>
-       </row>
-       <row>
-        <property name="text">
-         <string>5</string>
-        </property>
-       </row>
-       <row>
-        <property name="text">
-         <string>6</string>
-        </property>
-       </row>
-       <column>
-        <property name="text">
-         <string>inutile</string>
-        </property>
-       </column>
-       <column>
-        <property name="text">
-         <string>menus</string>
-        </property>
-       </column>
-       <item row="0" column="0">
-        <property name="text">
-         <string/>
-        </property>
-        <property name="flags">
-         <set>ItemIsSelectable</set>
-        </property>
-       </item>
-       <item row="0" column="1">
-        <property name="text">
-         <string> NOM ET APPARENCE </string>
-        </property>
-        <property name="textAlignment">
-         <set>AlignHCenter|AlignVCenter|AlignCenter</set>
-        </property>
-        <property name="icon">
-         <iconset resource="ressource.qrc">
-          <normaloff>:/interface/32/ressource/oeil_32.png</normaloff>:/interface/32/ressource/oeil_32.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 resource="ressource.qrc">
-          <normaloff>:/interface/32/ressource/deplacement2_32.png</normaloff>:/interface/32/ressource/deplacement2_32.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 resource="ressource.qrc">
-          <normaloff>:/interface/32/ressource/profil_32.png</normaloff>:/interface/32/ressource/profil_32.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 resource="ressource.qrc">
-          <normaloff>:/interface/32/ressource/attaque_32.png</normaloff>:/interface/32/ressource/attaque_32.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 resource="ressource.qrc">
-          <normaloff>:/interface/16/ressource/sac_16.png</normaloff>:/interface/16/ressource/sac_16.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> DIVERS</string>
-        </property>
-        <property name="textAlignment">
-         <set>AlignHCenter|AlignVCenter|AlignCenter</set>
-        </property>
-        <property name="icon">
-         <iconset resource="ressource.qrc">
-          <normaloff>:/interface/32/ressource/note_32.png</normaloff>:/interface/32/ressource/note_32.png</iconset>
-        </property>
-        <property name="flags">
-         <set>ItemIsSelectable|ItemIsEnabled</set>
-        </property>
-       </item>
-      </widget>
-     </item>
-     <item>
-      <layout class="QVBoxLayout" name="verticalLayout">
-       <item>
-        <widget class="QStackedWidget" name="edc_pages">
-         <property name="minimumSize">
-          <size>
-           <width>392</width>
-           <height>0</height>
-          </size>
-         </property>
-         <property name="font">
-          <font>
-           <family>Verdana</family>
-          </font>
-         </property>
-         <property name="currentIndex">
-          <number>0</number>
-         </property>
-         <widget class="QWidget" name="page_nom">
-          <widget class="DmLineEdit" name="edc_nom">
-           <property name="geometry">
-            <rect>
-             <x>160</x>
-             <y>20</y>
-             <width>281</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="DmLabel" 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>20</y>
-             <width>51</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-             <pointsize>8</pointsize>
-             <italic>true</italic>
-            </font>
-           </property>
-           <property name="text">
-            <string>Nom : </string>
-           </property>
-          </widget>
-          <widget class="QFrame" name="frame_2">
-           <property name="geometry">
-            <rect>
-             <x>50</x>
-             <y>70</y>
-             <width>401</width>
-             <height>351</height>
-            </rect>
-           </property>
-           <property name="frameShape">
-            <enum>QFrame::NoFrame</enum>
-           </property>
-           <property name="frameShadow">
-            <enum>QFrame::Raised</enum>
-           </property>
-           <widget class="QGraphicsView" name="edc_vueForme">
-            <property name="geometry">
-             <rect>
-              <x>40</x>
-              <y>28</y>
-              <width>293</width>
-              <height>296</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::WinPanel</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>340</x>
-              <y>70</y>
-              <width>31</width>
-              <height>31</height>
-             </rect>
-            </property>
-            <property name="text">
-             <string>...</string>
-            </property>
-            <property name="icon">
-             <iconset resource="ressource.qrc">
-              <normaloff>:/interface/32/ressource/portrait_32.png</normaloff>:/interface/32/ressource/portrait_32.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>340</x>
-              <y>30</y>
-              <width>31</width>
-              <height>31</height>
-             </rect>
-            </property>
-            <property name="text">
-             <string/>
-            </property>
-            <property name="icon">
-             <iconset resource="ressource.qrc">
-              <normaloff>:/interface/16/ressource/palette_16.png</normaloff>:/interface/16/ressource/palette_16.png</iconset>
-            </property>
-           </widget>
-           <widget class="QToolButton" name="edc_aideForme">
-            <property name="geometry">
-             <rect>
-              <x>340</x>
-              <y>290</y>
-              <width>31</width>
-              <height>31</height>
-             </rect>
-            </property>
-            <property name="text">
-             <string>...</string>
-            </property>
-            <property name="icon">
-             <iconset resource="ressource.qrc">
-              <normaloff>:/interface/32/ressource/aide_32.png</normaloff>:/interface/32/ressource/aide_32.png</iconset>
-            </property>
-           </widget>
-           <widget class="QRadioButton" name="edc_casesHexa">
-            <property name="geometry">
-             <rect>
-              <x>40</x>
-              <y>320</y>
-              <width>151</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>220</x>
-              <y>320</y>
-              <width>111</width>
-              <height>31</height>
-             </rect>
-            </property>
-            <property name="text">
-             <string>Cases carrées</string>
-            </property>
-           </widget>
-          </widget>
-         </widget>
-         <widget class="QWidget" name="page_dep">
-          <widget class="QLabel" name="label_9">
-           <property name="geometry">
-            <rect>
-             <x>70</x>
-             <y>100</y>
-             <width>391</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-           <property name="frameShape">
-            <enum>QFrame::NoFrame</enum>
-           </property>
-           <property name="text">
-            <string>Nombre de cases que la créature peut parcourir en un tour : </string>
-           </property>
-          </widget>
-          <widget class="QDoubleSpinBox" name="edc_depMarche">
-           <property name="geometry">
-            <rect>
-             <x>240</x>
-             <y>140</y>
-             <width>51</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="palette">
-            <palette>
-             <active>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </active>
-             <inactive>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </inactive>
-             <disabled>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>240</red>
-                 <green>240</green>
-                 <blue>240</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </disabled>
-            </palette>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-           <property name="prefix">
-            <string/>
-           </property>
-           <property name="decimals">
-            <number>0</number>
-           </property>
-           <property name="singleStep">
-            <double>1.000000000000000</double>
-           </property>
-           <property name="value">
-            <double>8.000000000000000</double>
-           </property>
-          </widget>
-          <widget class="QLabel" name="label_10">
-           <property name="geometry">
-            <rect>
-             <x>130</x>
-             <y>140</y>
-             <width>101</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-           <property name="frameShape">
-            <enum>QFrame::NoFrame</enum>
-           </property>
-           <property name="text">
-            <string>Marche / Course</string>
-           </property>
-          </widget>
-          <widget class="QDoubleSpinBox" name="edc_depNage">
-           <property name="geometry">
-            <rect>
-             <x>240</x>
-             <y>180</y>
-             <width>51</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="palette">
-            <palette>
-             <active>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </active>
-             <inactive>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </inactive>
-             <disabled>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>240</red>
-                 <green>240</green>
-                 <blue>240</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </disabled>
-            </palette>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-           <property name="prefix">
-            <string/>
-           </property>
-           <property name="decimals">
-            <number>0</number>
-           </property>
-           <property name="singleStep">
-            <double>1.000000000000000</double>
-           </property>
-           <property name="value">
-            <double>4.000000000000000</double>
-           </property>
-          </widget>
-          <widget class="QLabel" name="label_11">
-           <property name="geometry">
-            <rect>
-             <x>130</x>
-             <y>180</y>
-             <width>81</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-           <property name="frameShape">
-            <enum>QFrame::NoFrame</enum>
-           </property>
-           <property name="text">
-            <string>Nage    </string>
-           </property>
-          </widget>
-          <widget class="QDoubleSpinBox" name="edc_depEscalade">
-           <property name="geometry">
-            <rect>
-             <x>240</x>
-             <y>220</y>
-             <width>51</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="palette">
-            <palette>
-             <active>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </active>
-             <inactive>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </inactive>
-             <disabled>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>240</red>
-                 <green>240</green>
-                 <blue>240</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </disabled>
-            </palette>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-           <property name="prefix">
-            <string/>
-           </property>
-           <property name="decimals">
-            <number>0</number>
-           </property>
-           <property name="singleStep">
-            <double>1.000000000000000</double>
-           </property>
-           <property name="value">
-            <double>2.000000000000000</double>
-           </property>
-          </widget>
-          <widget class="QLabel" name="label_12">
-           <property name="geometry">
-            <rect>
-             <x>130</x>
-             <y>220</y>
-             <width>91</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-           <property name="frameShape">
-            <enum>QFrame::NoFrame</enum>
-           </property>
-           <property name="text">
-            <string>Escalade </string>
-           </property>
-          </widget>
-          <widget class="QLabel" name="label_13">
-           <property name="geometry">
-            <rect>
-             <x>130</x>
-             <y>260</y>
-             <width>61</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-           <property name="frameShape">
-            <enum>QFrame::NoFrame</enum>
-           </property>
-           <property name="text">
-            <string>Vol      </string>
-           </property>
-          </widget>
-          <widget class="QDoubleSpinBox" name="edc_depVol">
-           <property name="geometry">
-            <rect>
-             <x>240</x>
-             <y>260</y>
-             <width>51</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="palette">
-            <palette>
-             <active>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </active>
-             <inactive>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </inactive>
-             <disabled>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>240</red>
-                 <green>240</green>
-                 <blue>240</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </disabled>
-            </palette>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-           <property name="prefix">
-            <string/>
-           </property>
-           <property name="decimals">
-            <number>0</number>
-           </property>
-           <property name="singleStep">
-            <double>1.000000000000000</double>
-           </property>
-           <property name="value">
-            <double>0.000000000000000</double>
-           </property>
-          </widget>
-          <widget class="QDoubleSpinBox" name="edc_saut">
-           <property name="geometry">
-            <rect>
-             <x>310</x>
-             <y>320</y>
-             <width>51</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="palette">
-            <palette>
-             <active>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </active>
-             <inactive>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </inactive>
-             <disabled>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>240</red>
-                 <green>240</green>
-                 <blue>240</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </disabled>
-            </palette>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-           <property name="prefix">
-            <string/>
-           </property>
-           <property name="decimals">
-            <number>0</number>
-           </property>
-           <property name="singleStep">
-            <double>1.000000000000000</double>
-           </property>
-           <property name="value">
-            <double>5.000000000000000</double>
-           </property>
-          </widget>
-          <widget class="QLabel" name="label_14">
-           <property name="geometry">
-            <rect>
-             <x>70</x>
-             <y>320</y>
-             <width>231</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-           <property name="frameShape">
-            <enum>QFrame::NoFrame</enum>
-           </property>
-           <property name="text">
-            <string>Hauteur maximum pour les sauts : </string>
-           </property>
-          </widget>
-          <widget class="QLabel" name="label_2">
-           <property name="geometry">
-            <rect>
-             <x>80</x>
-             <y>140</y>
-             <width>31</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="text">
-            <string/>
-           </property>
-           <property name="pixmap">
-            <pixmap resource="ressource.qrc">:/interface/16/ressource/marche_16.png</pixmap>
-           </property>
-           <property name="scaledContents">
-            <bool>false</bool>
-           </property>
-           <property name="alignment">
-            <set>Qt::AlignCenter</set>
-           </property>
-          </widget>
-          <widget class="QLabel" name="label_3">
-           <property name="geometry">
-            <rect>
-             <x>80</x>
-             <y>180</y>
-             <width>31</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="text">
-            <string/>
-           </property>
-           <property name="pixmap">
-            <pixmap resource="ressource.qrc">:/interface/24/ressource/nage_24.png</pixmap>
-           </property>
-           <property name="scaledContents">
-            <bool>false</bool>
-           </property>
-          </widget>
-          <widget class="QLabel" name="label_4">
-           <property name="geometry">
-            <rect>
-             <x>80</x>
-             <y>220</y>
-             <width>31</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="text">
-            <string/>
-           </property>
-           <property name="pixmap">
-            <pixmap resource="ressource.qrc">:/interface/24/ressource/escalade_24.png</pixmap>
-           </property>
-           <property name="scaledContents">
-            <bool>false</bool>
-           </property>
-          </widget>
-          <widget class="QLabel" name="label_5">
-           <property name="geometry">
-            <rect>
-             <x>80</x>
-             <y>260</y>
-             <width>31</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="text">
-            <string/>
-           </property>
-           <property name="pixmap">
-            <pixmap resource="ressource.qrc">:/interface/24/ressource/plume_24.png</pixmap>
-           </property>
-           <property name="scaledContents">
-            <bool>false</bool>
-           </property>
-          </widget>
-          <widget class="QSpinBox" name="edc_taille">
-           <property name="geometry">
-            <rect>
-             <x>310</x>
-             <y>60</y>
-             <width>51</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="palette">
-            <palette>
-             <active>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </active>
-             <inactive>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </inactive>
-             <disabled>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>240</red>
-                 <green>240</green>
-                 <blue>240</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </disabled>
-            </palette>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-           <property name="minimum">
-            <number>1</number>
-           </property>
-          </widget>
-          <widget class="QLabel" name="label_15">
-           <property name="geometry">
-            <rect>
-             <x>70</x>
-             <y>60</y>
-             <width>231</width>
-             <height>31</height>
-            </rect>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-           <property name="frameShape">
-            <enum>QFrame::NoFrame</enum>
-           </property>
-           <property name="text">
-            <string>Taille de la créature (en cases) : </string>
-           </property>
-          </widget>
-         </widget>
-         <widget class="QWidget" name="page_attr">
-          <widget class="QScrollArea" name="edc_deroulementAttributs">
-           <property name="geometry">
-            <rect>
-             <x>10</x>
-             <y>10</y>
-             <width>231</width>
-             <height>411</height>
-            </rect>
-           </property>
-           <property name="frameShape">
-            <enum>QFrame::StyledPanel</enum>
-           </property>
-           <property name="frameShadow">
-            <enum>QFrame::Raised</enum>
-           </property>
-           <property name="widgetResizable">
-            <bool>true</bool>
-           </property>
-           <widget class="QWidget" name="scrollAreaWidgetContents_2">
-            <property name="geometry">
-             <rect>
-              <x>0</x>
-              <y>0</y>
-              <width>229</width>
-              <height>409</height>
-             </rect>
-            </property>
-            <layout class="QVBoxLayout" name="edc_deroulementAttributs_layout">
-             <property name="spacing">
-              <number>1</number>
-             </property>
-             <property name="leftMargin">
-              <number>3</number>
-             </property>
-             <property name="topMargin">
-              <number>3</number>
-             </property>
-             <property name="rightMargin">
-              <number>3</number>
-             </property>
-             <property name="bottomMargin">
-              <number>3</number>
-             </property>
-            </layout>
-           </widget>
-          </widget>
-          <widget class="QTextEdit" name="edc_notes">
-           <property name="geometry">
-            <rect>
-             <x>270</x>
-             <y>30</y>
-             <width>181</width>
-             <height>391</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_23">
-           <property name="geometry">
-            <rect>
-             <x>280</x>
-             <y>9</y>
-             <width>141</width>
-             <height>21</height>
-            </rect>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-             <italic>true</italic>
-            </font>
-           </property>
-           <property name="text">
-            <string>Autre :</string>
-           </property>
-          </widget>
-         </widget>
-         <widget class="QWidget" name="page_att">
-          <widget class="QScrollArea" name="edc_deroulementAttaques">
-           <property name="geometry">
-            <rect>
-             <x>0</x>
-             <y>0</y>
-             <width>491</width>
-             <height>431</height>
-            </rect>
-           </property>
-           <property name="widgetResizable">
-            <bool>true</bool>
-           </property>
-           <widget class="QWidget" name="scrollAreaWidgetContents">
-            <property name="geometry">
-             <rect>
-              <x>0</x>
-              <y>0</y>
-              <width>489</width>
-              <height>429</height>
-             </rect>
-            </property>
-            <layout class="QVBoxLayout" name="edc_deroulementAttaques_layout">
-             <property name="spacing">
-              <number>1</number>
-             </property>
-             <property name="leftMargin">
-              <number>3</number>
-             </property>
-             <property name="topMargin">
-              <number>3</number>
-             </property>
-             <property name="rightMargin">
-              <number>3</number>
-             </property>
-             <property name="bottomMargin">
-              <number>3</number>
-             </property>
-            </layout>
-           </widget>
-          </widget>
-         </widget>
-         <widget class="QWidget" name="page_invent">
-          <widget class="DmTableInventaire" name="edc_listeInventaire">
-           <property name="geometry">
-            <rect>
-             <x>0</x>
-             <y>29</y>
-             <width>491</width>
-             <height>368</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="frameShape">
-            <enum>QFrame::WinPanel</enum>
-           </property>
-           <property name="verticalScrollBarPolicy">
-            <enum>Qt::ScrollBarAsNeeded</enum>
-           </property>
-           <property name="horizontalScrollBarPolicy">
-            <enum>Qt::ScrollBarAlwaysOff</enum>
-           </property>
-           <property name="editTriggers">
-            <set>QAbstractItemView::NoEditTriggers</set>
-           </property>
-           <property name="alternatingRowColors">
-            <bool>false</bool>
-           </property>
-           <property name="selectionMode">
-            <enum>QAbstractItemView::NoSelection</enum>
-           </property>
-           <property name="selectionBehavior">
-            <enum>QAbstractItemView::SelectRows</enum>
-           </property>
-           <property name="showGrid">
-            <bool>true</bool>
-           </property>
-           <property name="gridStyle">
-            <enum>Qt::SolidLine</enum>
-           </property>
-           <property name="sortingEnabled">
-            <bool>true</bool>
-           </property>
-           <attribute name="horizontalHeaderVisible">
-            <bool>false</bool>
-           </attribute>
-           <attribute name="horizontalHeaderCascadingSectionResizes">
-            <bool>false</bool>
-           </attribute>
-           <attribute name="horizontalHeaderDefaultSectionSize">
-            <number>60</number>
-           </attribute>
-           <attribute name="horizontalHeaderMinimumSectionSize">
-            <number>32</number>
-           </attribute>
-           <attribute name="verticalHeaderVisible">
-            <bool>false</bool>
-           </attribute>
-           <attribute name="verticalHeaderDefaultSectionSize">
-            <number>18</number>
-           </attribute>
-           <attribute name="verticalHeaderMinimumSectionSize">
-            <number>14</number>
-           </attribute>
-           <row>
-            <property name="text">
-             <string>Nouvelle ligne</string>
-            </property>
-           </row>
-           <column>
-            <property name="text">
-             <string>Type</string>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-              <pointsize>7</pointsize>
-              <weight>75</weight>
-              <bold>true</bold>
-             </font>
-            </property>
-           </column>
-           <column>
-            <property name="text">
-             <string>Quantité</string>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-              <pointsize>7</pointsize>
-              <weight>75</weight>
-              <bold>true</bold>
-             </font>
-            </property>
-           </column>
-           <column>
-            <property name="text">
-             <string>Objet</string>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-              <pointsize>7</pointsize>
-              <weight>75</weight>
-              <italic>false</italic>
-              <bold>true</bold>
-             </font>
-            </property>
-           </column>
-           <column>
-            <property name="text">
-             <string/>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-              <pointsize>7</pointsize>
-              <weight>75</weight>
-              <bold>true</bold>
-             </font>
-            </property>
-            <property name="icon">
-             <iconset>
-              <normaloff>../../img/poids.png</normaloff>../../img/poids.png</iconset>
-            </property>
-           </column>
-           <column>
-            <property name="text">
-             <string>...</string>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-              <pointsize>7</pointsize>
-              <weight>75</weight>
-              <bold>true</bold>
-             </font>
-            </property>
-           </column>
-           <item row="0" column="0">
-            <property name="text">
-             <string>*</string>
-            </property>
-            <property name="font">
-             <font>
-              <weight>50</weight>
-              <bold>false</bold>
-             </font>
-            </property>
-            <property name="textAlignment">
-             <set>AlignHCenter|AlignVCenter|AlignCenter</set>
-            </property>
-            <property name="flags">
-             <set>ItemIsSelectable|ItemIsDragEnabled|ItemIsDropEnabled|ItemIsEnabled</set>
-            </property>
-           </item>
-           <item row="0" column="1">
-            <property name="text">
-             <string/>
-            </property>
-            <property name="flags">
-             <set>ItemIsSelectable|ItemIsDragEnabled|ItemIsDropEnabled|ItemIsUserCheckable|ItemIsEnabled</set>
-            </property>
-           </item>
-           <item row="0" column="2">
-            <property name="text">
-             <string>(Cliquer pour ajouter un item)</string>
-            </property>
-            <property name="font">
-             <font>
-              <family>Verdana</family>
-              <pointsize>8</pointsize>
-              <italic>true</italic>
-             </font>
-            </property>
-            <property name="flags">
-             <set>ItemIsSelectable|ItemIsDragEnabled|ItemIsDropEnabled|ItemIsUserCheckable|ItemIsEnabled</set>
-            </property>
-           </item>
-           <item row="0" column="3">
-            <property name="text">
-             <string/>
-            </property>
-            <property name="flags">
-             <set>ItemIsSelectable|ItemIsDragEnabled|ItemIsDropEnabled|ItemIsUserCheckable|ItemIsEnabled</set>
-            </property>
-           </item>
-           <item row="0" column="4">
-            <property name="text">
-             <string/>
-            </property>
-            <property name="flags">
-             <set>ItemIsSelectable|ItemIsDragEnabled|ItemIsDropEnabled|ItemIsUserCheckable|ItemIsEnabled</set>
-            </property>
-           </item>
-          </widget>
-          <widget class="QLabel" name="label">
-           <property name="geometry">
-            <rect>
-             <x>10</x>
-             <y>400</y>
-             <width>151</width>
-             <height>21</height>
-            </rect>
-           </property>
-           <property name="font">
-            <font>
-             <italic>true</italic>
-            </font>
-           </property>
-           <property name="text">
-            <string>Poids total transporté :</string>
-           </property>
-          </widget>
-          <widget class="DmLabel" name="edc_inventaire_poids">
-           <property name="geometry">
-            <rect>
-             <x>150</x>
-             <y>400</y>
-             <width>61</width>
-             <height>20</height>
-            </rect>
-           </property>
-           <property name="font">
-            <font>
-             <italic>true</italic>
-            </font>
-           </property>
-           <property name="text">
-            <string>... kg</string>
-           </property>
-          </widget>
-          <widget class="DmTabInventaire" name="edc_filtreTypeObjet">
-           <property name="geometry">
-            <rect>
-             <x>0</x>
-             <y>5</y>
-             <width>491</width>
-             <height>28</height>
-            </rect>
-           </property>
-           <property name="palette">
-            <palette>
-             <active>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="100">
-                 <red>170</red>
-                 <green>0</green>
-                 <blue>0</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </active>
-             <inactive>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="100">
-                 <red>170</red>
-                 <green>0</green>
-                 <blue>0</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>
-             <stylestrategy>PreferAntialias</stylestrategy>
-            </font>
-           </property>
-           <property name="tabShape">
-            <enum>QTabWidget::Rounded</enum>
-           </property>
-           <property name="currentIndex">
-            <number>4</number>
-           </property>
-           <property name="iconSize">
-            <size>
-             <width>19</width>
-             <height>21</height>
-            </size>
-           </property>
-           <widget class="QWidget" name="filtre_tout">
-            <attribute name="icon">
-             <iconset resource="ressource.qrc">
-              <normaloff>:/interface/32/ressource/etoile_32.png</normaloff>:/interface/32/ressource/etoile_32.png</iconset>
-            </attribute>
-            <attribute name="title">
-             <string/>
-            </attribute>
-           </widget>
-           <widget class="QWidget" name="filtre_0">
-            <attribute name="icon">
-             <iconset resource="ressource.qrc">
-              <normaloff>:/interface/32/ressource/pieces_32.png</normaloff>:/interface/32/ressource/pieces_32.png</iconset>
-            </attribute>
-            <attribute name="title">
-             <string/>
-            </attribute>
-           </widget>
-           <widget class="QWidget" name="filtre_1">
-            <attribute name="icon">
-             <iconset resource="ressource.qrc">
-              <normaloff>:/interface/32/ressource/armes_32.png</normaloff>:/interface/32/ressource/armes_32.png</iconset>
-            </attribute>
-            <attribute name="title">
-             <string/>
-            </attribute>
-           </widget>
-           <widget class="QWidget" name="filtre_2">
-            <attribute name="icon">
-             <iconset resource="ressource.qrc">
-              <normaloff>:/interface/32/ressource/chimie_32.png</normaloff>:/interface/32/ressource/chimie_32.png</iconset>
-            </attribute>
-            <attribute name="title">
-             <string/>
-            </attribute>
-           </widget>
-           <widget class="QWidget" name="filtre_3">
-            <attribute name="icon">
-             <iconset resource="ressource.qrc">
-              <normaloff>:/interface/32/ressource/diamant_32.png</normaloff>:/interface/32/ressource/diamant_32.png</iconset>
-            </attribute>
-            <attribute name="title">
-             <string/>
-            </attribute>
-           </widget>
-           <widget class="QWidget" name="filtre_4">
-            <attribute name="icon">
-             <iconset resource="ressource.qrc">
-              <normaloff>:/interface/32/ressource/boiteOutils_32.png</normaloff>:/interface/32/ressource/boiteOutils_32.png</iconset>
-            </attribute>
-            <attribute name="title">
-             <string/>
-            </attribute>
-           </widget>
-          </widget>
-          <zorder>edc_filtreTypeObjet</zorder>
-          <zorder>edc_listeInventaire</zorder>
-          <zorder>label</zorder>
-          <zorder>edc_inventaire_poids</zorder>
-         </widget>
-         <widget class="QWidget" name="page_notes">
-          <widget class="DmLineEdit" name="edc_detail_age">
-           <property name="geometry">
-            <rect>
-             <x>100</x>
-             <y>181</y>
-             <width>81</width>
-             <height>20</height>
-            </rect>
-           </property>
-           <property name="palette">
-            <palette>
-             <active>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </active>
-             <inactive>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </inactive>
-             <disabled>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>240</red>
-                 <green>240</green>
-                 <blue>240</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </disabled>
-            </palette>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-          </widget>
-          <widget class="QLabel" name="label_16">
-           <property name="geometry">
-            <rect>
-             <x>50</x>
-             <y>180</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>50</x>
-             <y>210</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>100</x>
-             <y>210</y>
-             <width>81</width>
-             <height>20</height>
-            </rect>
-           </property>
-           <property name="palette">
-            <palette>
-             <active>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </active>
-             <inactive>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </inactive>
-             <disabled>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>240</red>
-                 <green>240</green>
-                 <blue>240</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </disabled>
-            </palette>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-          </widget>
-          <widget class="DmLineEdit" name="edc_detail_yeux">
-           <property name="geometry">
-            <rect>
-             <x>350</x>
-             <y>180</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>240</x>
-             <y>180</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>350</x>
-             <y>210</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>240</x>
-             <y>210</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>240</x>
-             <y>240</y>
-             <width>101</width>
-             <height>21</height>
-            </rect>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-             <pointsize>8</pointsize>
-            </font>
-           </property>
-           <property name="text">
-            <string>Poils /Cheveux :</string>
-           </property>
-          </widget>
-          <widget class="DmLineEdit" name="edc_detail_cheveux">
-           <property name="geometry">
-            <rect>
-             <x>350</x>
-             <y>240</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>130</x>
-             <y>140</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>50</x>
-             <y>130</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>50</x>
-             <y>240</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>100</x>
-             <y>241</y>
-             <width>81</width>
-             <height>20</height>
-            </rect>
-           </property>
-           <property name="palette">
-            <palette>
-             <active>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </active>
-             <inactive>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </inactive>
-             <disabled>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>240</red>
-                 <green>240</green>
-                 <blue>240</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </disabled>
-            </palette>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-          </widget>
-          <widget class="QLabel" name="label_43">
-           <property name="geometry">
-            <rect>
-             <x>50</x>
-             <y>50</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>130</x>
-             <y>51</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>50</x>
-             <y>79</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>130</x>
-             <y>80</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>50</x>
-             <y>270</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>100</x>
-             <y>270</y>
-             <width>81</width>
-             <height>21</height>
-            </rect>
-           </property>
-           <property name="palette">
-            <palette>
-             <active>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </active>
-             <inactive>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </inactive>
-             <disabled>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>240</red>
-                 <green>240</green>
-                 <blue>240</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </disabled>
-            </palette>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-            </font>
-           </property>
-           <property name="text">
-            <string/>
-           </property>
-          </widget>
-          <widget class="DmLineEdit" name="edc_detail_religion">
-           <property name="geometry">
-            <rect>
-             <x>130</x>
-             <y>110</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>50</x>
-             <y>100</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>130</x>
-             <y>320</y>
-             <width>291</width>
-             <height>20</height>
-            </rect>
-           </property>
-           <property name="palette">
-            <palette>
-             <active>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </active>
-             <inactive>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>248</red>
-                 <green>248</green>
-                 <blue>248</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </inactive>
-             <disabled>
-              <colorrole role="Base">
-               <brush brushstyle="SolidPattern">
-                <color alpha="255">
-                 <red>240</red>
-                 <green>240</green>
-                 <blue>240</blue>
-                </color>
-               </brush>
-              </colorrole>
-             </disabled>
-            </palette>
-           </property>
-          </widget>
-          <widget class="QLabel" name="label_47">
-           <property name="geometry">
-            <rect>
-             <x>50</x>
-             <y>310</y>
-             <width>61</width>
-             <height>41</height>
-            </rect>
-           </property>
-           <property name="font">
-            <font>
-             <family>Verdana</family>
-             <pointsize>8</pointsize>
-            </font>
-           </property>
-           <property name="text">
-            <string>Langues
-parlées : </string>
-           </property>
-          </widget>
-         </widget>
-        </widget>
-       </item>
-       <item>
-        <widget class="QFrame" name="frame">
-         <property name="minimumSize">
-          <size>
-           <width>392</width>
-           <height>50</height>
-          </size>
-         </property>
-         <property name="maximumSize">
-          <size>
-           <width>16777215</width>
-           <height>50</height>
-          </size>
-         </property>
-         <property name="font">
-          <font>
-           <family>Verdana</family>
-          </font>
-         </property>
-         <property name="frameShape">
-          <enum>QFrame::StyledPanel</enum>
-         </property>
-         <property name="frameShadow">
-          <enum>QFrame::Raised</enum>
-         </property>
-         <widget class="QPushButton" name="edc_enregistrer">
-          <property name="enabled">
-           <bool>false</bool>
-          </property>
-          <property name="geometry">
-           <rect>
-            <x>370</x>
-            <y>10</y>
-            <width>111</width>
-            <height>31</height>
-           </rect>
-          </property>
-          <property name="font">
-           <font>
-            <family>Verdana</family>
-            <weight>75</weight>
-            <bold>true</bold>
-           </font>
-          </property>
-          <property name="text">
-           <string>Enregistrer</string>
-          </property>
-         </widget>
-         <widget class="QPushButton" name="edc_annuler">
-          <property name="geometry">
-           <rect>
-            <x>280</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>DmLineEdit</class>
-   <extends>QLineEdit</extends>
-   <header location="global">dm.h</header>
-  </customwidget>
-  <customwidget>
-   <class>DmLabel</class>
-   <extends>QLabel</extends>
-   <header location="global">dm.h</header>
-  </customwidget>
-  <customwidget>
-   <class>DmTableInventaire</class>
-   <extends>QTableWidget</extends>
-   <header location="global">dm.h</header>
-  </customwidget>
-  <customwidget>
-   <class>DmTabInventaire</class>
-   <extends>QTabWidget</extends>
-   <header>dm.h</header>
-   <container>1</container>
-  </customwidget>
- </customwidgets>
- <resources>
-  <include location="ressource.qrc"/>
- </resources>
- <connections>
-  <connection>
-   <sender>edc_menu</sender>
-   <signal>cellClicked(int,int)</signal>
-   <receiver>edc_pages</receiver>
-   <slot>setCurrentIndex(int)</slot>
-   <hints>
-    <hint type="sourcelabel">
-     <x>80</x>
-     <y>164</y>
-    </hint>
-    <hint type="destinationlabel">
-     <x>312</x>
-     <y>164</y>
-    </hint>
-   </hints>
-  </connection>
- </connections>
-</ui>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>edc_fenetre</class>
+ <widget class="QDialog" name="edc_fenetre">
+  <property name="windowModality">
+   <enum>Qt::ApplicationModal</enum>
+  </property>
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>679</width>
+    <height>484</height>
+   </rect>
+  </property>
+  <property name="minimumSize">
+   <size>
+    <width>0</width>
+    <height>484</height>
+   </size>
+  </property>
+  <property name="maximumSize">
+   <size>
+    <width>16777215</width>
+    <height>10000</height>
+   </size>
+  </property>
+  <property name="windowTitle">
+   <string>Creation / Edition de combattant</string>
+  </property>
+  <layout class="QHBoxLayout" name="horizontalLayout_2">
+   <property name="leftMargin">
+    <number>0</number>
+   </property>
+   <property name="topMargin">
+    <number>0</number>
+   </property>
+   <property name="bottomMargin">
+    <number>0</number>
+   </property>
+   <item>
+    <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,1">
+     <property name="spacing">
+      <number>3</number>
+     </property>
+     <item>
+      <widget class="DmTableMenu" name="edc_menu">
+       <property name="sizePolicy">
+        <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
+         <horstretch>0</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
+       <property name="minimumSize">
+        <size>
+         <width>170</width>
+         <height>484</height>
+        </size>
+       </property>
+       <property name="maximumSize">
+        <size>
+         <width>170</width>
+         <height>484</height>
+        </size>
+       </property>
+       <property name="palette">
+        <palette>
+         <active>
+          <colorrole role="WindowText">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>6</red>
+             <green>6</green>
+             <blue>6</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Mid">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>190</red>
+             <green>190</green>
+             <blue>190</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Text">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>255</red>
+             <green>255</green>
+             <blue>255</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Base">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>140</red>
+             <green>140</green>
+             <blue>140</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Highlight">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>240</red>
+             <green>240</green>
+             <blue>240</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="HighlightedText">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>7</red>
+             <green>7</green>
+             <blue>7</blue>
+            </color>
+           </brush>
+          </colorrole>
+         </active>
+         <inactive>
+          <colorrole role="WindowText">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>6</red>
+             <green>6</green>
+             <blue>6</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Mid">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>190</red>
+             <green>190</green>
+             <blue>190</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Text">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>255</red>
+             <green>255</green>
+             <blue>255</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Base">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>140</red>
+             <green>140</green>
+             <blue>140</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Highlight">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>240</red>
+             <green>240</green>
+             <blue>240</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="HighlightedText">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>7</red>
+             <green>7</green>
+             <blue>7</blue>
+            </color>
+           </brush>
+          </colorrole>
+         </inactive>
+         <disabled>
+          <colorrole role="WindowText">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>120</red>
+             <green>120</green>
+             <blue>120</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Mid">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>190</red>
+             <green>190</green>
+             <blue>190</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Text">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>120</red>
+             <green>120</green>
+             <blue>120</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Base">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>240</red>
+             <green>240</green>
+             <blue>240</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="Highlight">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>51</red>
+             <green>153</green>
+             <blue>255</blue>
+            </color>
+           </brush>
+          </colorrole>
+          <colorrole role="HighlightedText">
+           <brush brushstyle="SolidPattern">
+            <color alpha="255">
+             <red>7</red>
+             <green>7</green>
+             <blue>7</blue>
+            </color>
+           </brush>
+          </colorrole>
+         </disabled>
+        </palette>
+       </property>
+       <property name="font">
+        <font>
+         <family>Candara</family>
+         <pointsize>13</pointsize>
+         <weight>50</weight>
+         <bold>false</bold>
+        </font>
+       </property>
+       <property name="focusPolicy">
+        <enum>Qt::NoFocus</enum>
+       </property>
+       <property name="frameShape">
+        <enum>QFrame::StyledPanel</enum>
+       </property>
+       <property name="frameShadow">
+        <enum>QFrame::Sunken</enum>
+       </property>
+       <property name="lineWidth">
+        <number>0</number>
+       </property>
+       <property name="verticalScrollBarPolicy">
+        <enum>Qt::ScrollBarAlwaysOff</enum>
+       </property>
+       <property name="horizontalScrollBarPolicy">
+        <enum>Qt::ScrollBarAlwaysOff</enum>
+       </property>
+       <property name="editTriggers">
+        <set>QAbstractItemView::NoEditTriggers</set>
+       </property>
+       <property name="showDropIndicator" stdset="0">
+        <bool>false</bool>
+       </property>
+       <property name="dragDropOverwriteMode">
+        <bool>false</bool>
+       </property>
+       <property name="selectionMode">
+        <enum>QAbstractItemView::SingleSelection</enum>
+       </property>
+       <property name="selectionBehavior">
+        <enum>QAbstractItemView::SelectRows</enum>
+       </property>
+       <property name="iconSize">
+        <size>
+         <width>30</width>
+         <height>30</height>
+        </size>
+       </property>
+       <property name="showGrid">
+        <bool>false</bool>
+       </property>
+       <property name="gridStyle">
+        <enum>Qt::SolidLine</enum>
+       </property>
+       <property name="cornerButtonEnabled">
+        <bool>false</bool>
+       </property>
+       <attribute name="horizontalHeaderVisible">
+        <bool>false</bool>
+       </attribute>
+       <attribute name="horizontalHeaderDefaultSectionSize">
+        <number>10</number>
+       </attribute>
+       <attribute name="horizontalHeaderHighlightSections">
+        <bool>false</bool>
+       </attribute>
+       <attribute name="horizontalHeaderStretchLastSection">
+        <bool>true</bool>
+       </attribute>
+       <attribute name="verticalHeaderVisible">
+        <bool>false</bool>
+       </attribute>
+       <attribute name="verticalHeaderDefaultSectionSize">
+        <number>80</number>
+       </attribute>
+       <attribute name="verticalHeaderHighlightSections">
+        <bool>false</bool>
+       </attribute>
+       <row>
+        <property name="text">
+         <string>1</string>
+        </property>
+       </row>
+       <row>
+        <property name="text">
+         <string>2</string>
+        </property>
+       </row>
+       <row>
+        <property name="text">
+         <string>3</string>
+        </property>
+       </row>
+       <row>
+        <property name="text">
+         <string>4</string>
+        </property>
+       </row>
+       <row>
+        <property name="text">
+         <string>5</string>
+        </property>
+       </row>
+       <row>
+        <property name="text">
+         <string>6</string>
+        </property>
+       </row>
+       <column>
+        <property name="text">
+         <string>inutile</string>
+        </property>
+       </column>
+       <column>
+        <property name="text">
+         <string>menus</string>
+        </property>
+       </column>
+       <item row="0" column="0">
+        <property name="text">
+         <string/>
+        </property>
+        <property name="flags">
+         <set>ItemIsSelectable</set>
+        </property>
+       </item>
+       <item row="0" column="1">
+        <property name="text">
+         <string> NOM ET APPARENCE </string>
+        </property>
+        <property name="textAlignment">
+         <set>AlignHCenter|AlignVCenter|AlignCenter</set>
+        </property>
+        <property name="icon">
+         <iconset resource="ressource.qrc">
+          <normaloff>:/interface/32/ressource/oeil_32.png</normaloff>:/interface/32/ressource/oeil_32.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 resource="ressource.qrc">
+          <normaloff>:/interface/32/ressource/deplacement2_32.png</normaloff>:/interface/32/ressource/deplacement2_32.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 resource="ressource.qrc">
+          <normaloff>:/interface/32/ressource/profil_32.png</normaloff>:/interface/32/ressource/profil_32.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 resource="ressource.qrc">
+          <normaloff>:/interface/32/ressource/attaque_32.png</normaloff>:/interface/32/ressource/attaque_32.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 resource="ressource.qrc">
+          <normaloff>:/interface/16/ressource/sac_16.png</normaloff>:/interface/16/ressource/sac_16.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> DIVERS</string>
+        </property>
+        <property name="textAlignment">
+         <set>AlignHCenter|AlignVCenter|AlignCenter</set>
+        </property>
+        <property name="icon">
+         <iconset resource="ressource.qrc">
+          <normaloff>:/interface/32/ressource/note_32.png</normaloff>:/interface/32/ressource/note_32.png</iconset>
+        </property>
+        <property name="flags">
+         <set>ItemIsSelectable|ItemIsEnabled</set>
+        </property>
+       </item>
+      </widget>
+     </item>
+     <item>
+      <layout class="QVBoxLayout" name="verticalLayout">
+       <item>
+        <widget class="QStackedWidget" name="edc_pages">
+         <property name="minimumSize">
+          <size>
+           <width>392</width>
+           <height>0</height>
+          </size>
+         </property>
+         <property name="font">
+          <font>
+           <family>Verdana</family>
+          </font>
+         </property>
+         <property name="currentIndex">
+          <number>1</number>
+         </property>
+         <widget class="QWidget" name="page_nom">
+          <widget class="DmLineEdit" name="edc_nom">
+           <property name="geometry">
+            <rect>
+             <x>160</x>
+             <y>20</y>
+             <width>281</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="DmLabel" 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>20</y>
+             <width>51</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>8</pointsize>
+             <italic>true</italic>
+            </font>
+           </property>
+           <property name="text">
+            <string>Nom : </string>
+           </property>
+          </widget>
+          <widget class="QFrame" name="frame_2">
+           <property name="geometry">
+            <rect>
+             <x>50</x>
+             <y>70</y>
+             <width>401</width>
+             <height>351</height>
+            </rect>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::NoFrame</enum>
+           </property>
+           <property name="frameShadow">
+            <enum>QFrame::Raised</enum>
+           </property>
+           <widget class="QGraphicsView" name="edc_vueForme">
+            <property name="geometry">
+             <rect>
+              <x>40</x>
+              <y>28</y>
+              <width>293</width>
+              <height>296</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::WinPanel</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>340</x>
+              <y>70</y>
+              <width>31</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="text">
+             <string>...</string>
+            </property>
+            <property name="icon">
+             <iconset resource="ressource.qrc">
+              <normaloff>:/interface/32/ressource/portrait_32.png</normaloff>:/interface/32/ressource/portrait_32.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>340</x>
+              <y>30</y>
+              <width>31</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="text">
+             <string/>
+            </property>
+            <property name="icon">
+             <iconset resource="ressource.qrc">
+              <normaloff>:/interface/16/ressource/palette_16.png</normaloff>:/interface/16/ressource/palette_16.png</iconset>
+            </property>
+           </widget>
+           <widget class="QToolButton" name="edc_aideForme">
+            <property name="geometry">
+             <rect>
+              <x>340</x>
+              <y>290</y>
+              <width>31</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="text">
+             <string>...</string>
+            </property>
+            <property name="icon">
+             <iconset resource="ressource.qrc">
+              <normaloff>:/interface/32/ressource/aide_32.png</normaloff>:/interface/32/ressource/aide_32.png</iconset>
+            </property>
+           </widget>
+           <widget class="QRadioButton" name="edc_casesHexa">
+            <property name="geometry">
+             <rect>
+              <x>40</x>
+              <y>320</y>
+              <width>151</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>220</x>
+              <y>320</y>
+              <width>111</width>
+              <height>31</height>
+             </rect>
+            </property>
+            <property name="text">
+             <string>Cases carrées</string>
+            </property>
+           </widget>
+          </widget>
+         </widget>
+         <widget class="QWidget" name="page_dep">
+          <widget class="QLabel" name="label_9">
+           <property name="geometry">
+            <rect>
+             <x>70</x>
+             <y>100</y>
+             <width>391</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::NoFrame</enum>
+           </property>
+           <property name="text">
+            <string>Nombre de cases que la créature peut parcourir en un tour : </string>
+           </property>
+          </widget>
+          <widget class="QSpinBox" name="edc_depMarche">
+           <property name="geometry">
+            <rect>
+             <x>240</x>
+             <y>140</y>
+             <width>51</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="value">
+            <number>9</number>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_10">
+           <property name="geometry">
+            <rect>
+             <x>130</x>
+             <y>140</y>
+             <width>101</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::NoFrame</enum>
+           </property>
+           <property name="text">
+            <string>Marche / Course</string>
+           </property>
+          </widget>
+          <widget class="QSpinBox" name="edc_depNage">
+           <property name="geometry">
+            <rect>
+             <x>240</x>
+             <y>180</y>
+             <width>51</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="value">
+            <number>6</number>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_11">
+           <property name="geometry">
+            <rect>
+             <x>130</x>
+             <y>180</y>
+             <width>81</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::NoFrame</enum>
+           </property>
+           <property name="text">
+            <string>Nage    </string>
+           </property>
+          </widget>
+          <widget class="QSpinBox" name="edc_depEscalade">
+           <property name="geometry">
+            <rect>
+             <x>240</x>
+             <y>220</y>
+             <width>51</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="value">
+            <number>4</number>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_12">
+           <property name="geometry">
+            <rect>
+             <x>130</x>
+             <y>220</y>
+             <width>91</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::NoFrame</enum>
+           </property>
+           <property name="text">
+            <string>Escalade </string>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_13">
+           <property name="geometry">
+            <rect>
+             <x>130</x>
+             <y>260</y>
+             <width>61</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::NoFrame</enum>
+           </property>
+           <property name="text">
+            <string>Vol      </string>
+           </property>
+          </widget>
+          <widget class="QSpinBox" name="edc_depVol">
+           <property name="geometry">
+            <rect>
+             <x>240</x>
+             <y>260</y>
+             <width>51</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+          </widget>
+          <widget class="QDoubleSpinBox" name="edc_saut">
+           <property name="geometry">
+            <rect>
+             <x>310</x>
+             <y>320</y>
+             <width>51</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="prefix">
+            <string/>
+           </property>
+           <property name="decimals">
+            <number>0</number>
+           </property>
+           <property name="singleStep">
+            <double>1.000000000000000</double>
+           </property>
+           <property name="value">
+            <double>5.000000000000000</double>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_14">
+           <property name="geometry">
+            <rect>
+             <x>70</x>
+             <y>320</y>
+             <width>231</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::NoFrame</enum>
+           </property>
+           <property name="text">
+            <string>Hauteur maximum pour les sauts : </string>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_2">
+           <property name="geometry">
+            <rect>
+             <x>80</x>
+             <y>140</y>
+             <width>31</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+           <property name="pixmap">
+            <pixmap resource="ressource.qrc">:/interface/16/ressource/marche_16.png</pixmap>
+           </property>
+           <property name="scaledContents">
+            <bool>false</bool>
+           </property>
+           <property name="alignment">
+            <set>Qt::AlignCenter</set>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_3">
+           <property name="geometry">
+            <rect>
+             <x>80</x>
+             <y>180</y>
+             <width>31</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+           <property name="pixmap">
+            <pixmap resource="ressource.qrc">:/interface/24/ressource/nage_24.png</pixmap>
+           </property>
+           <property name="scaledContents">
+            <bool>false</bool>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_4">
+           <property name="geometry">
+            <rect>
+             <x>80</x>
+             <y>220</y>
+             <width>31</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+           <property name="pixmap">
+            <pixmap resource="ressource.qrc">:/interface/24/ressource/escalade_24.png</pixmap>
+           </property>
+           <property name="scaledContents">
+            <bool>false</bool>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_5">
+           <property name="geometry">
+            <rect>
+             <x>80</x>
+             <y>260</y>
+             <width>31</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+           <property name="pixmap">
+            <pixmap resource="ressource.qrc">:/interface/24/ressource/plume_24.png</pixmap>
+           </property>
+           <property name="scaledContents">
+            <bool>false</bool>
+           </property>
+          </widget>
+          <widget class="QSpinBox" name="edc_taille">
+           <property name="geometry">
+            <rect>
+             <x>310</x>
+             <y>60</y>
+             <width>51</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="minimum">
+            <number>1</number>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_15">
+           <property name="geometry">
+            <rect>
+             <x>70</x>
+             <y>60</y>
+             <width>231</width>
+             <height>31</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::NoFrame</enum>
+           </property>
+           <property name="text">
+            <string>Taille de la créature (en cases) : </string>
+           </property>
+          </widget>
+         </widget>
+         <widget class="QWidget" name="page_attr">
+          <widget class="QScrollArea" name="edc_deroulementAttributs">
+           <property name="geometry">
+            <rect>
+             <x>10</x>
+             <y>10</y>
+             <width>231</width>
+             <height>411</height>
+            </rect>
+           </property>
+           <property name="frameShape">
+            <enum>QFrame::StyledPanel</enum>
+           </property>
+           <property name="frameShadow">
+            <enum>QFrame::Raised</enum>
+           </property>
+           <property name="widgetResizable">
+            <bool>true</bool>
+           </property>
+           <widget class="QWidget" name="scrollAreaWidgetContents_2">
+            <property name="geometry">
+             <rect>
+              <x>0</x>
+              <y>0</y>
+              <width>229</width>
+              <height>409</height>
+             </rect>
+            </property>
+            <layout class="QVBoxLayout" name="edc_deroulementAttributs_layout">
+             <property name="spacing">
+              <number>1</number>
+             </property>
+             <property name="leftMargin">
+              <number>3</number>
+             </property>
+             <property name="topMargin">
+              <number>3</number>
+             </property>
+             <property name="rightMargin">
+              <number>3</number>
+             </property>
+             <property name="bottomMargin">
+              <number>3</number>
+             </property>
+            </layout>
+           </widget>
+          </widget>
+          <widget class="QTextEdit" name="edc_notes">
+           <property name="geometry">
+            <rect>
+             <x>270</x>
+             <y>30</y>
+             <width>181</width>
+             <height>391</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_23">
+           <property name="geometry">
+            <rect>
+             <x>280</x>
+             <y>9</y>
+             <width>141</width>
+             <height>21</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <italic>true</italic>
+            </font>
+           </property>
+           <property name="text">
+            <string>Autre :</string>
+           </property>
+          </widget>
+         </widget>
+         <widget class="QWidget" name="page_att">
+          <widget class="QScrollArea" name="edc_deroulementAttaques">
+           <property name="geometry">
+            <rect>
+             <x>0</x>
+             <y>0</y>
+             <width>491</width>
+             <height>431</height>
+            </rect>
+           </property>
+           <property name="widgetResizable">
+            <bool>true</bool>
+           </property>
+           <widget class="QWidget" name="scrollAreaWidgetContents">
+            <property name="geometry">
+             <rect>
+              <x>0</x>
+              <y>0</y>
+              <width>489</width>
+              <height>429</height>
+             </rect>
+            </property>
+            <layout class="QVBoxLayout" name="edc_deroulementAttaques_layout">
+             <property name="spacing">
+              <number>1</number>
+             </property>
+             <property name="leftMargin">
+              <number>3</number>
+             </property>
+             <property name="topMargin">
+              <number>3</number>
+             </property>
+             <property name="rightMargin">
+              <number>3</number>
+             </property>
+             <property name="bottomMargin">
+              <number>3</number>
+             </property>
+            </layout>
+           </widget>
+          </widget>
+         </widget>
+         <widget class="QWidget" name="page_invent">
+          <widget class="DmTableInventaire" name="edc_listeInventaire">
+           <property name="geometry">
+            <rect>
+             <x>0</x>
+             <y>29</y>
+             <width>491</width>
+             <height>368</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="frameShape">
+            <enum>QFrame::WinPanel</enum>
+           </property>
+           <property name="verticalScrollBarPolicy">
+            <enum>Qt::ScrollBarAsNeeded</enum>
+           </property>
+           <property name="horizontalScrollBarPolicy">
+            <enum>Qt::ScrollBarAlwaysOff</enum>
+           </property>
+           <property name="editTriggers">
+            <set>QAbstractItemView::NoEditTriggers</set>
+           </property>
+           <property name="alternatingRowColors">
+            <bool>false</bool>
+           </property>
+           <property name="selectionMode">
+            <enum>QAbstractItemView::NoSelection</enum>
+           </property>
+           <property name="selectionBehavior">
+            <enum>QAbstractItemView::SelectRows</enum>
+           </property>
+           <property name="showGrid">
+            <bool>true</bool>
+           </property>
+           <property name="gridStyle">
+            <enum>Qt::SolidLine</enum>
+           </property>
+           <property name="sortingEnabled">
+            <bool>true</bool>
+           </property>
+           <attribute name="horizontalHeaderVisible">
+            <bool>false</bool>
+           </attribute>
+           <attribute name="horizontalHeaderCascadingSectionResizes">
+            <bool>false</bool>
+           </attribute>
+           <attribute name="horizontalHeaderDefaultSectionSize">
+            <number>60</number>
+           </attribute>
+           <attribute name="horizontalHeaderMinimumSectionSize">
+            <number>32</number>
+           </attribute>
+           <attribute name="verticalHeaderVisible">
+            <bool>false</bool>
+           </attribute>
+           <attribute name="verticalHeaderDefaultSectionSize">
+            <number>18</number>
+           </attribute>
+           <attribute name="verticalHeaderMinimumSectionSize">
+            <number>14</number>
+           </attribute>
+           <row>
+            <property name="text">
+             <string>Nouvelle ligne</string>
+            </property>
+           </row>
+           <column>
+            <property name="text">
+             <string>Type</string>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+              <pointsize>7</pointsize>
+              <weight>75</weight>
+              <bold>true</bold>
+             </font>
+            </property>
+           </column>
+           <column>
+            <property name="text">
+             <string>Quantité</string>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+              <pointsize>7</pointsize>
+              <weight>75</weight>
+              <bold>true</bold>
+             </font>
+            </property>
+           </column>
+           <column>
+            <property name="text">
+             <string>Objet</string>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+              <pointsize>7</pointsize>
+              <weight>75</weight>
+              <italic>false</italic>
+              <bold>true</bold>
+             </font>
+            </property>
+           </column>
+           <column>
+            <property name="text">
+             <string/>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+              <pointsize>7</pointsize>
+              <weight>75</weight>
+              <bold>true</bold>
+             </font>
+            </property>
+            <property name="icon">
+             <iconset>
+              <normaloff>../../img/poids.png</normaloff>../../img/poids.png</iconset>
+            </property>
+           </column>
+           <column>
+            <property name="text">
+             <string>...</string>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+              <pointsize>7</pointsize>
+              <weight>75</weight>
+              <bold>true</bold>
+             </font>
+            </property>
+           </column>
+           <item row="0" column="0">
+            <property name="text">
+             <string>*</string>
+            </property>
+            <property name="font">
+             <font>
+              <weight>50</weight>
+              <bold>false</bold>
+             </font>
+            </property>
+            <property name="textAlignment">
+             <set>AlignHCenter|AlignVCenter|AlignCenter</set>
+            </property>
+            <property name="flags">
+             <set>ItemIsSelectable|ItemIsDragEnabled|ItemIsDropEnabled|ItemIsEnabled</set>
+            </property>
+           </item>
+           <item row="0" column="1">
+            <property name="text">
+             <string/>
+            </property>
+            <property name="flags">
+             <set>ItemIsSelectable|ItemIsDragEnabled|ItemIsDropEnabled|ItemIsUserCheckable|ItemIsEnabled</set>
+            </property>
+           </item>
+           <item row="0" column="2">
+            <property name="text">
+             <string>(Cliquer pour ajouter un item)</string>
+            </property>
+            <property name="font">
+             <font>
+              <family>Verdana</family>
+              <pointsize>8</pointsize>
+              <italic>true</italic>
+             </font>
+            </property>
+            <property name="flags">
+             <set>ItemIsSelectable|ItemIsDragEnabled|ItemIsDropEnabled|ItemIsUserCheckable|ItemIsEnabled</set>
+            </property>
+           </item>
+           <item row="0" column="3">
+            <property name="text">
+             <string/>
+            </property>
+            <property name="flags">
+             <set>ItemIsSelectable|ItemIsDragEnabled|ItemIsDropEnabled|ItemIsUserCheckable|ItemIsEnabled</set>
+            </property>
+           </item>
+           <item row="0" column="4">
+            <property name="text">
+             <string/>
+            </property>
+            <property name="flags">
+             <set>ItemIsSelectable|ItemIsDragEnabled|ItemIsDropEnabled|ItemIsUserCheckable|ItemIsEnabled</set>
+            </property>
+           </item>
+          </widget>
+          <widget class="QLabel" name="label">
+           <property name="geometry">
+            <rect>
+             <x>10</x>
+             <y>400</y>
+             <width>151</width>
+             <height>21</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <italic>true</italic>
+            </font>
+           </property>
+           <property name="text">
+            <string>Poids total transporté :</string>
+           </property>
+          </widget>
+          <widget class="DmLabel" name="edc_inventaire_poids">
+           <property name="geometry">
+            <rect>
+             <x>150</x>
+             <y>400</y>
+             <width>61</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <italic>true</italic>
+            </font>
+           </property>
+           <property name="text">
+            <string>... kg</string>
+           </property>
+          </widget>
+          <widget class="DmTabInventaire" name="edc_filtreTypeObjet">
+           <property name="geometry">
+            <rect>
+             <x>0</x>
+             <y>5</y>
+             <width>491</width>
+             <height>28</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="100">
+                 <red>170</red>
+                 <green>0</green>
+                 <blue>0</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="100">
+                 <red>170</red>
+                 <green>0</green>
+                 <blue>0</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>
+             <stylestrategy>PreferAntialias</stylestrategy>
+            </font>
+           </property>
+           <property name="tabShape">
+            <enum>QTabWidget::Rounded</enum>
+           </property>
+           <property name="currentIndex">
+            <number>4</number>
+           </property>
+           <property name="iconSize">
+            <size>
+             <width>19</width>
+             <height>21</height>
+            </size>
+           </property>
+           <widget class="QWidget" name="filtre_tout">
+            <attribute name="icon">
+             <iconset resource="ressource.qrc">
+              <normaloff>:/interface/32/ressource/etoile_32.png</normaloff>:/interface/32/ressource/etoile_32.png</iconset>
+            </attribute>
+            <attribute name="title">
+             <string/>
+            </attribute>
+           </widget>
+           <widget class="QWidget" name="filtre_0">
+            <attribute name="icon">
+             <iconset resource="ressource.qrc">
+              <normaloff>:/interface/32/ressource/pieces_32.png</normaloff>:/interface/32/ressource/pieces_32.png</iconset>
+            </attribute>
+            <attribute name="title">
+             <string/>
+            </attribute>
+           </widget>
+           <widget class="QWidget" name="filtre_1">
+            <attribute name="icon">
+             <iconset resource="ressource.qrc">
+              <normaloff>:/interface/32/ressource/armes_32.png</normaloff>:/interface/32/ressource/armes_32.png</iconset>
+            </attribute>
+            <attribute name="title">
+             <string/>
+            </attribute>
+           </widget>
+           <widget class="QWidget" name="filtre_2">
+            <attribute name="icon">
+             <iconset resource="ressource.qrc">
+              <normaloff>:/interface/32/ressource/chimie_32.png</normaloff>:/interface/32/ressource/chimie_32.png</iconset>
+            </attribute>
+            <attribute name="title">
+             <string/>
+            </attribute>
+           </widget>
+           <widget class="QWidget" name="filtre_3">
+            <attribute name="icon">
+             <iconset resource="ressource.qrc">
+              <normaloff>:/interface/32/ressource/diamant_32.png</normaloff>:/interface/32/ressource/diamant_32.png</iconset>
+            </attribute>
+            <attribute name="title">
+             <string/>
+            </attribute>
+           </widget>
+           <widget class="QWidget" name="filtre_4">
+            <attribute name="icon">
+             <iconset resource="ressource.qrc">
+              <normaloff>:/interface/32/ressource/boiteOutils_32.png</normaloff>:/interface/32/ressource/boiteOutils_32.png</iconset>
+            </attribute>
+            <attribute name="title">
+             <string/>
+            </attribute>
+           </widget>
+          </widget>
+          <zorder>edc_filtreTypeObjet</zorder>
+          <zorder>edc_listeInventaire</zorder>
+          <zorder>label</zorder>
+          <zorder>edc_inventaire_poids</zorder>
+         </widget>
+         <widget class="QWidget" name="page_notes">
+          <widget class="DmLineEdit" name="edc_detail_age">
+           <property name="geometry">
+            <rect>
+             <x>100</x>
+             <y>181</y>
+             <width>81</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_16">
+           <property name="geometry">
+            <rect>
+             <x>50</x>
+             <y>180</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>50</x>
+             <y>210</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>100</x>
+             <y>210</y>
+             <width>81</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+          </widget>
+          <widget class="DmLineEdit" name="edc_detail_yeux">
+           <property name="geometry">
+            <rect>
+             <x>350</x>
+             <y>180</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>240</x>
+             <y>180</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>350</x>
+             <y>210</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>240</x>
+             <y>210</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>240</x>
+             <y>240</y>
+             <width>101</width>
+             <height>21</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>8</pointsize>
+            </font>
+           </property>
+           <property name="text">
+            <string>Poils /Cheveux :</string>
+           </property>
+          </widget>
+          <widget class="DmLineEdit" name="edc_detail_cheveux">
+           <property name="geometry">
+            <rect>
+             <x>350</x>
+             <y>240</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>130</x>
+             <y>140</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>50</x>
+             <y>130</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>50</x>
+             <y>240</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>100</x>
+             <y>241</y>
+             <width>81</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_43">
+           <property name="geometry">
+            <rect>
+             <x>50</x>
+             <y>50</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>130</x>
+             <y>51</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>50</x>
+             <y>79</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>130</x>
+             <y>80</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>50</x>
+             <y>270</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>100</x>
+             <y>270</y>
+             <width>81</width>
+             <height>21</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+            </font>
+           </property>
+           <property name="text">
+            <string/>
+           </property>
+          </widget>
+          <widget class="DmLineEdit" name="edc_detail_religion">
+           <property name="geometry">
+            <rect>
+             <x>130</x>
+             <y>110</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>50</x>
+             <y>100</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>130</x>
+             <y>320</y>
+             <width>291</width>
+             <height>20</height>
+            </rect>
+           </property>
+           <property name="palette">
+            <palette>
+             <active>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </active>
+             <inactive>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>248</red>
+                 <green>248</green>
+                 <blue>248</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </inactive>
+             <disabled>
+              <colorrole role="Base">
+               <brush brushstyle="SolidPattern">
+                <color alpha="255">
+                 <red>240</red>
+                 <green>240</green>
+                 <blue>240</blue>
+                </color>
+               </brush>
+              </colorrole>
+             </disabled>
+            </palette>
+           </property>
+          </widget>
+          <widget class="QLabel" name="label_47">
+           <property name="geometry">
+            <rect>
+             <x>50</x>
+             <y>310</y>
+             <width>61</width>
+             <height>41</height>
+            </rect>
+           </property>
+           <property name="font">
+            <font>
+             <family>Verdana</family>
+             <pointsize>8</pointsize>
+            </font>
+           </property>
+           <property name="text">
+            <string>Langues
+parlées : </string>
+           </property>
+          </widget>
+         </widget>
+        </widget>
+       </item>
+       <item>
+        <widget class="QFrame" name="frame">
+         <property name="minimumSize">
+          <size>
+           <width>392</width>
+           <height>50</height>
+          </size>
+         </property>
+         <property name="maximumSize">
+          <size>
+           <width>16777215</width>
+           <height>50</height>
+          </size>
+         </property>
+         <property name="font">
+          <font>
+           <family>Verdana</family>
+          </font>
+         </property>
+         <property name="frameShape">
+          <enum>QFrame::StyledPanel</enum>
+         </property>
+         <property name="frameShadow">
+          <enum>QFrame::Raised</enum>
+         </property>
+         <widget class="QPushButton" name="edc_enregistrer">
+          <property name="enabled">
+           <bool>false</bool>
+          </property>
+          <property name="geometry">
+           <rect>
+            <x>370</x>
+            <y>10</y>
+            <width>111</width>
+            <height>31</height>
+           </rect>
+          </property>
+          <property name="font">
+           <font>
+            <family>Verdana</family>
+            <weight>75</weight>
+            <bold>true</bold>
+           </font>
+          </property>
+          <property name="text">
+           <string>Enregistrer</string>
+          </property>
+         </widget>
+         <widget class="QPushButton" name="edc_annuler">
+          <property name="geometry">
+           <rect>
+            <x>280</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>DmLineEdit</class>
+   <extends>QLineEdit</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmLabel</class>
+   <extends>QLabel</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmTableInventaire</class>
+   <extends>QTableWidget</extends>
+   <header location="global">dm.h</header>
+  </customwidget>
+  <customwidget>
+   <class>DmTabInventaire</class>
+   <extends>QTabWidget</extends>
+   <header>dm.h</header>
+   <container>1</container>
+  </customwidget>
+ </customwidgets>
+ <resources>
+  <include location="ressource.qrc"/>
+ </resources>
+ <connections>
+  <connection>
+   <sender>edc_menu</sender>
+   <signal>cellClicked(int,int)</signal>
+   <receiver>edc_pages</receiver>
+   <slot>setCurrentIndex(int)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>80</x>
+     <y>164</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>312</x>
+     <y>164</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
+</ui>

+ 3 - 1
parties/Partie1/svg/infos_sauvegarde

@@ -1 +1,3 @@
-€}qU0}q(UnomqUForêtqUdateCreationqGAÕiÜb«"ÑUdateSvgqGAÕiÜÊiXUchapitreqU1UenCoursq‰Upublicq	‰us.
+€}q(U1}q(UnomqUtest depqUdateCreationqGAÕj/¹³×
+UdateSvgqGAÕj5’•�UchapitreqU1UenCoursq‰Upublicq	‰uU0}q
+(UnomUForêtUdateCreationGAÕiÜb«"ÑUdateSvgGAÕiÜÊiXUchapitreU1UenCours‰Upublic‰uu.