Browse Source

Refonte interface - reprise du code (2)

olinox 10 years ago
parent
commit
89b4b8d4ca
3 changed files with 283 additions and 327 deletions
  1. 259 318
      lib/Plateau.py
  2. 15 0
      lib/a faire - plateau.txt
  3. 9 9
      lib/ui/mainwindow.ui

File diff suppressed because it is too large
+ 259 - 318
lib/Plateau.py


+ 15 - 0
lib/a faire - plateau.txt

@@ -0,0 +1,15 @@
+creer une fonction générique pour les curseurs
+
+revoir les connect et les organiser par panneau
+
+renommer les fonctions par panneau (par mode)
+
+creer une fonction générique pour les fonctions de listes
+
+changer les modes combat et creation par cp et pi
+
+chercher un moyen de synthétiser les fonctions de "modes"
+
+réfléchir à la forme de majModeCombat
+
+creer une classe Combat()

+ 9 - 9
lib/ui/mainwindow.ui

@@ -68,7 +68,7 @@
             <property name="frameShadow">
              <enum>QFrame::Raised</enum>
             </property>
-            <widget class="QWidget" name="">
+            <widget class="QWidget" name="layoutWidget">
              <property name="geometry">
               <rect>
                <x>0</x>
@@ -2315,7 +2315,7 @@
              </widget>
             </item>
             <item>
-             <widget class="QFrame" name="panneauPlateauCombat">
+             <widget class="QFrame" name="pi_panneau">
               <property name="minimumSize">
                <size>
                 <width>161</width>
@@ -2654,7 +2654,7 @@ selectionné</string>
                   </size>
                  </property>
                  <property name="currentIndex">
-                  <number>3</number>
+                  <number>1</number>
                  </property>
                  <widget class="QWidget" name="pi_afficherAttributs">
                   <attribute name="icon">
@@ -2666,7 +2666,7 @@ selectionné</string>
                   </attribute>
                   <layout class="QVBoxLayout" name="verticalLayout_9">
                    <item>
-                    <widget class="QTableWidget" name="cbt_listeAttributs">
+                    <widget class="QTableWidget" name="pi_listeAttributs">
                      <property name="palette">
                       <palette>
                        <active>
@@ -2753,7 +2753,7 @@ selectionné</string>
                   <attribute name="title">
                    <string/>
                   </attribute>
-                  <widget class="QGroupBox" name="panneauAttaqueEC">
+                  <widget class="QGroupBox" name="pi_panneauAttaqueEC">
                    <property name="geometry">
                     <rect>
                      <x>2</x>
@@ -2777,7 +2777,7 @@ selectionné</string>
                    <property name="title">
                     <string/>
                    </property>
-                   <widget class="QTextEdit" name="cbt_notesAttaqueEC">
+                   <widget class="QTextEdit" name="pi_notesAttaqueEC">
                     <property name="geometry">
                      <rect>
                       <x>4</x>
@@ -2799,7 +2799,7 @@ selectionné</string>
                      </size>
                     </property>
                    </widget>
-                   <widget class="QTableWidget" name="cbt_listeAttributsAttaqueEC">
+                   <widget class="QTableWidget" name="pi_listeAttributsAttaqueEC">
                     <property name="geometry">
                      <rect>
                       <x>4</x>
@@ -2896,7 +2896,7 @@ selectionné</string>
                     </column>
                    </widget>
                   </widget>
-                  <widget class="QTableWidget" name="cbt_listeAttaques">
+                  <widget class="QTableWidget" name="pi_listeAttaques">
                    <property name="geometry">
                     <rect>
                      <x>5</x>
@@ -3077,7 +3077,7 @@ selectionné</string>
                   </attribute>
                   <layout class="QVBoxLayout" name="verticalLayout_8">
                    <item>
-                    <widget class="QTextEdit" name="notesPion">
+                    <widget class="QTextEdit" name="pi_notesPion">
                      <property name="documentTitle">
                       <string/>
                      </property>

Some files were not shown because too many files changed in this diff