]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
*** empty log message ***
authorPascale Noyret <pascale.noyret@edf.fr>
Mon, 6 Jul 2009 11:55:52 +0000 (11:55 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Mon, 6 Jul 2009 11:55:52 +0000 (11:55 +0000)
Aster/editeur.ini
InterfaceQT4/monPlusieursBasePanel.py
InterfaceQT4/monPlusieursIntoPanel.py
InterfaceQT4/monUniqueBasePanel.py
UiQT4/desPlusieursBase.py
UiQT4/desPlusieursBase.ui

index b33e6d4a0fb288e25ab5cd8ea1f3eec3733e2fbe..f2592b2cba6c075d5513b26af0b442309fb7c268 100644 (file)
@@ -21,8 +21,7 @@
 import os
 
 # Répertoire initial
-#initialdir=os.curdir
-from prefs_ASTER import REPINI
+import prefs_ASTER 
 initialdir=prefs_ASTER.REPINI
 rep_cata = os.path.join(initialdir,'Cata')
 rep_Pmw = os.path.join(initialdir,'../Pmw')
index 892a731e2e6b48c00bf0b0b3e39f25bf417a6046..4ca3d3e023802c901a082702b79a2d5ebf9ec12d 100644 (file)
@@ -45,12 +45,11 @@ class DPlusBase (Ui_DPlusBase,QDialog):
           parent.addWidget(parent.partieDroite)
           parent.leLayout.widgetActive=self
        self.setupUi(self)
-       icon = QIcon(self.RepIcon+"arrow_left.png")
+       self.RepIcon=parent.appliEficas.RepIcon
+       icon = QIcon(self.RepIcon+"/arrow_left.png")
        self.BAjout1Val.setIcon(icon)
-       icon2 = QIcon(self.RepIcon+"arrow_right.png")
+       icon2 = QIcon(self.RepIcon+"/arrow_right.png")
        self.BSup1Val.setIcon(icon2)
-       icon3 = QIcon(self.RepIcon+"image240.png")
-       self.BSalome.setIcon(icon3)
 
 # Import des panels
 
@@ -81,6 +80,8 @@ class MonPlusieursBasePanel(DPlusBase,QTPanel,SaisieValeur):
         self.connect(self.BSalome,SIGNAL("clicked()"),self.BSalomePressed)
 
   def detruitBouton(self):
+        icon3 = QIcon(self.RepIcon+"/image240.png")
+        self.BSalome.setIcon(icon3)
         mc = self.node.item.get_definition()
         type = mc.type[0]
         if not(('grma' in repr(type)) or ('grno' in repr(type))) or not(self.editor.salome) :
index 5bdf9220980d182fa52dc067eb8409fdb98e2af6..5b084b306578fa480f9e3832b552e1fee965fe0e 100644 (file)
@@ -33,6 +33,7 @@ from politiquesValidation import PolitiquePlusieurs
 class DPlusInto(Ui_DPlusInto,QDialog):
    def __init__(self,parent ,modal ) :
        QDialog.__init__(self,parent)
+       self.RepIcon=parent.appliEficas.RepIcon
        if hasattr(parent,"leLayout"):
           parent.leLayout.removeWidget(parent.leLayout.widgetActive)
           parent.leLayout.widgetActive.close()
@@ -45,9 +46,9 @@ class DPlusInto(Ui_DPlusInto,QDialog):
           parent.addWidget(parent.partieDroite)
           parent.leLayout.widgetActive=self
        self.setupUi(self)
-       icon = QIcon(self.RepIcon+"arrow_left.png")
+       icon = QIcon(self.RepIcon+"/arrow_left.png")
        self.BAjout1Val.setIcon(icon)
-       icon2 = QIcon(self.RepIcon+"arrow_right.png")
+       icon2 = QIcon(self.RepIcon+"/arrow_right.png")
        self.BSup1Val.setIcon(icon2)
 
 
index bd0c5b5ae5f95e7fbec03dfe70293eaa3970355b..b61c558d6c0b1d99293a087da9232c6c4c77335d 100644 (file)
@@ -34,7 +34,7 @@ class DUnBase(Ui_DUnBase,QDialog):
    def __init__(self,parent ,modal ) :
        QDialog.__init__(self,parent)
        self.appliEficas=parent.appliEficas
-       self.RepIcon=self.appliEficas.RepIcon
+       self.RepIcon=parent.appliEficas.RepIcon
        if hasattr(parent,"leLayout"):
           parent.leLayout.removeWidget(parent.leLayout.widgetActive)
           parent.leLayout.widgetActive.close()
@@ -47,8 +47,6 @@ class DUnBase(Ui_DUnBase,QDialog):
           parent.addWidget(parent.partieDroite)
           parent.leLayout.widgetActive=self
        self.setupUi(self)
-       icon = QIcon(self.RepIcon+"image240.png")
-       self.BSalome.setIcon(icon)
 
 
 # Import des panels
@@ -80,6 +78,8 @@ class MonUniqueBasePanel(DUnBase,QTPanel,SaisieValeur):
 
 
   def detruitBouton(self):
+        icon = QIcon(self.RepIcon+"/image240.png")
+        self.BSalome.setIcon(icon)
         mc = self.node.item.get_definition()
         if self.node.item.get_nom() != "FileName" :
            self.BFichier.close()
index ab90eb30596d57fbabff0e155cd0c14aa6c41f7e..f1fd6b7541ddec598939e6a25905f88734742f8e 100644 (file)
@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file 'desPlusieursBase.ui'
 #
-# Created: Fri Jun 19 11:40:12 2009
+# Created: Mon Jul  6 14:08:51 2009
 #      by: PyQt4 UI code generator 4.4.3
 #
 # WARNING! All changes made in this file will be lost!
@@ -32,9 +32,7 @@ class Ui_DPlusBase(object):
         self.LBValeurs.setMinimumSize(QtCore.QSize(200, 0))
         self.LBValeurs.setObjectName("LBValeurs")
         self.verticalLayout_2.addWidget(self.LBValeurs)
-        self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
-        self.verticalLayout_5 = QtGui.QVBoxLayout()
-        self.verticalLayout_5.setObjectName("verticalLayout_5")
+        self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 0, 7, 1)
         self.gridLayout = QtGui.QGridLayout()
         self.gridLayout.setObjectName("gridLayout")
         self.horizontalLayout = QtGui.QHBoxLayout()
@@ -77,7 +75,7 @@ class Ui_DPlusBase(object):
         self.BSup1Val.setSizePolicy(sizePolicy)
         self.BSup1Val.setMinimumSize(QtCore.QSize(40, 30))
         icon1 = QtGui.QIcon()
-        icon1.addPixmap(QtGui.QPixmap("../../EficasV1/Editeur/icons/arrow_right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
+        icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/arrow_right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
         self.BSup1Val.setIcon(icon1)
         self.BSup1Val.setObjectName("BSup1Val")
         self.gridLayout.addWidget(self.BSup1Val, 2, 0, 1, 1)
@@ -97,11 +95,9 @@ class Ui_DPlusBase(object):
         self.BView2D.setMinimumSize(QtCore.QSize(120, 30))
         self.BView2D.setObjectName("BView2D")
         self.gridLayout.addWidget(self.BView2D, 2, 2, 1, 1)
-        self.verticalLayout_5.addLayout(self.gridLayout)
+        self.gridLayout_2.addLayout(self.gridLayout, 0, 1, 1, 1)
         spacerItem1 = QtGui.QSpacerItem(20, 158, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
-        self.verticalLayout_5.addItem(spacerItem1)
-        self.verticalLayout_4 = QtGui.QVBoxLayout()
-        self.verticalLayout_4.setObjectName("verticalLayout_4")
+        self.gridLayout_2.addItem(spacerItem1, 1, 1, 1, 1)
         self.horizontalLayout_2 = QtGui.QHBoxLayout()
         self.horizontalLayout_2.setObjectName("horizontalLayout_2")
         spacerItem2 = QtGui.QSpacerItem(150, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
@@ -121,18 +117,15 @@ class Ui_DPlusBase(object):
         self.bImport.setObjectName("bImport")
         self.verticalLayout.addWidget(self.bImport)
         self.horizontalLayout_2.addLayout(self.verticalLayout)
-        self.verticalLayout_4.addLayout(self.horizontalLayout_2)
-        self.verticalLayout_3 = QtGui.QVBoxLayout()
-        self.verticalLayout_3.setObjectName("verticalLayout_3")
-        spacerItem3 = QtGui.QSpacerItem(265, 48, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
-        self.verticalLayout_3.addItem(spacerItem3)
+        self.gridLayout_2.addLayout(self.horizontalLayout_2, 2, 1, 1, 1)
+        spacerItem3 = QtGui.QSpacerItem(289, 100, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
+        self.gridLayout_2.addItem(spacerItem3, 3, 1, 1, 1)
         self.Commentaire = QtGui.QLabel(self.Widget8)
-        self.Commentaire.setMinimumSize(QtCore.QSize(251, 21))
+        self.Commentaire.setMinimumSize(QtCore.QSize(298, 61))
         self.Commentaire.setObjectName("Commentaire")
-        self.verticalLayout_3.addWidget(self.Commentaire)
+        self.gridLayout_2.addWidget(self.Commentaire, 4, 1, 1, 1)
         spacerItem4 = QtGui.QSpacerItem(265, 48, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
-        self.verticalLayout_3.addItem(spacerItem4)
-        self.verticalLayout_4.addLayout(self.verticalLayout_3)
+        self.gridLayout_2.addItem(spacerItem4, 5, 1, 1, 1)
         self.horizontalLayout_3 = QtGui.QHBoxLayout()
         self.horizontalLayout_3.setObjectName("horizontalLayout_3")
         spacerItem5 = QtGui.QSpacerItem(118, 27, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
@@ -144,9 +137,7 @@ class Ui_DPlusBase(object):
         self.bOk.setDefault(False)
         self.bOk.setObjectName("bOk")
         self.horizontalLayout_3.addWidget(self.bOk)
-        self.verticalLayout_4.addLayout(self.horizontalLayout_3)
-        self.verticalLayout_5.addLayout(self.verticalLayout_4)
-        self.gridLayout_2.addLayout(self.verticalLayout_5, 0, 1, 1, 1)
+        self.gridLayout_2.addLayout(self.horizontalLayout_3, 6, 1, 1, 1)
         self.tabuniqueinto.addTab(self.Widget8, "")
         self.gridLayout_4.addWidget(self.tabuniqueinto, 0, 0, 1, 1)
 
index 265ee2070c59eb0c2c6c1a75fed23fa2c84e2201..d94ed6dae64f6c04d3ffa441c91bc2da79904774 100644 (file)
@@ -26,7 +26,7 @@
        <string>Saisir Valeur</string>
       </attribute>
       <layout class="QGridLayout" name="gridLayout_2" >
-       <item row="0" column="0" >
+       <item rowspan="7" row="0" column="0" >
         <layout class="QVBoxLayout" name="verticalLayout_2" >
          <item>
           <widget class="QLabel" name="textLabel1" >
         </layout>
        </item>
        <item row="0" column="1" >
-        <layout class="QVBoxLayout" name="verticalLayout_5" >
-         <item>
-          <layout class="QGridLayout" name="gridLayout" >
-           <item row="0" column="0" colspan="3" >
-            <layout class="QHBoxLayout" name="horizontalLayout" >
-             <item>
-              <widget class="QLabel" name="textLabel1_2" >
-               <property name="minimumSize" >
-                <size>
-                 <width>61</width>
-                 <height>21</height>
-                </size>
-               </property>
-               <property name="maximumSize" >
-                <size>
-                 <width>61</width>
-                 <height>21</height>
-                </size>
-               </property>
-               <property name="text" >
-                <string>&lt;font size="+1">Valeur&lt;/font></string>
-               </property>
-               <property name="wordWrap" >
-                <bool>false</bool>
-               </property>
-              </widget>
-             </item>
-             <item>
-              <spacer name="spacer6" >
-               <property name="orientation" >
-                <enum>Qt::Horizontal</enum>
-               </property>
-               <property name="sizeType" >
-                <enum>QSizePolicy::Expanding</enum>
-               </property>
-               <property name="sizeHint" stdset="0" >
-                <size>
-                 <width>168</width>
-                 <height>18</height>
-                </size>
-               </property>
-              </spacer>
-             </item>
-            </layout>
-           </item>
-           <item row="1" column="0" >
-            <widget class="QToolButton" name="BAjout1Val" >
-             <property name="sizePolicy" >
-              <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
-               <horstretch>0</horstretch>
-               <verstretch>0</verstretch>
-              </sizepolicy>
-             </property>
+        <layout class="QGridLayout" name="gridLayout" >
+         <item row="0" column="0" colspan="3" >
+          <layout class="QHBoxLayout" name="horizontalLayout" >
+           <item>
+            <widget class="QLabel" name="textLabel1_2" >
              <property name="minimumSize" >
               <size>
-               <width>40</width>
-               <height>30</height>
+               <width>61</width>
+               <height>21</height>
               </size>
              </property>
-             <property name="toolTip" >
-              <string>ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection)</string>
+             <property name="maximumSize" >
+              <size>
+               <width>61</width>
+               <height>21</height>
+              </size>
              </property>
              <property name="text" >
-              <string/>
+              <string>&lt;font size="+1">Valeur&lt;/font></string>
              </property>
-             <property name="icon" >
-              <iconset>
-               <normaloff>../Editeur/icons/arrow_left.png</normaloff>../Editeur/icons/arrow_left.png</iconset>
+             <property name="wordWrap" >
+              <bool>false</bool>
              </property>
             </widget>
            </item>
-           <item row="1" column="1" colspan="2" >
-            <widget class="QLineEdit" name="LEValeur" >
-             <property name="sizePolicy" >
-              <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
-               <horstretch>0</horstretch>
-               <verstretch>0</verstretch>
-              </sizepolicy>
+           <item>
+            <spacer name="spacer6" >
+             <property name="orientation" >
+              <enum>Qt::Horizontal</enum>
              </property>
-             <property name="minimumSize" >
+             <property name="sizeType" >
+              <enum>QSizePolicy::Expanding</enum>
+             </property>
+             <property name="sizeHint" stdset="0" >
               <size>
-               <width>220</width>
-               <height>30</height>
+               <width>168</width>
+               <height>18</height>
               </size>
              </property>
-            </widget>
+            </spacer>
            </item>
-           <item row="2" column="0" >
-            <widget class="QToolButton" name="BSup1Val" >
-             <property name="sizePolicy" >
-              <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
-               <horstretch>0</horstretch>
-               <verstretch>0</verstretch>
-              </sizepolicy>
-             </property>
+          </layout>
+         </item>
+         <item row="1" column="0" >
+          <widget class="QToolButton" name="BAjout1Val" >
+           <property name="sizePolicy" >
+            <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
+             <horstretch>0</horstretch>
+             <verstretch>0</verstretch>
+            </sizepolicy>
+           </property>
+           <property name="minimumSize" >
+            <size>
+             <width>40</width>
+             <height>30</height>
+            </size>
+           </property>
+           <property name="toolTip" >
+            <string>ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection)</string>
+           </property>
+           <property name="text" >
+            <string/>
+           </property>
+           <property name="icon" >
+            <iconset>
+             <normaloff>../Editeur/icons/arrow_left.png</normaloff>../Editeur/icons/arrow_left.png</iconset>
+           </property>
+          </widget>
+         </item>
+         <item row="1" column="1" colspan="2" >
+          <widget class="QLineEdit" name="LEValeur" >
+           <property name="sizePolicy" >
+            <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
+             <horstretch>0</horstretch>
+             <verstretch>0</verstretch>
+            </sizepolicy>
+           </property>
+           <property name="minimumSize" >
+            <size>
+             <width>220</width>
+             <height>30</height>
+            </size>
+           </property>
+          </widget>
+         </item>
+         <item row="2" column="0" >
+          <widget class="QToolButton" name="BSup1Val" >
+           <property name="sizePolicy" >
+            <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
+             <horstretch>0</horstretch>
+             <verstretch>0</verstretch>
+            </sizepolicy>
+           </property>
+           <property name="minimumSize" >
+            <size>
+             <width>40</width>
+             <height>30</height>
+            </size>
+           </property>
+           <property name="toolTip" >
+            <string>enleve l occurence selectionnee</string>
+           </property>
+           <property name="text" >
+            <string/>
+           </property>
+           <property name="icon" >
+            <iconset>
+             <normaloff>../Editeur/icons/arrow_right.png</normaloff>../Editeur/icons/arrow_right.png</iconset>
+           </property>
+          </widget>
+         </item>
+         <item row="2" column="1" >
+          <widget class="QToolButton" name="BSalome" >
+           <property name="sizePolicy" >
+            <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
+             <horstretch>0</horstretch>
+             <verstretch>0</verstretch>
+            </sizepolicy>
+           </property>
+           <property name="minimumSize" >
+            <size>
+             <width>40</width>
+             <height>30</height>
+            </size>
+           </property>
+           <property name="toolTip" >
+            <string>ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection)</string>
+           </property>
+           <property name="text" >
+            <string/>
+           </property>
+           <property name="icon" >
+            <iconset>
+             <normaloff>image240.png</normaloff>image240.png</iconset>
+           </property>
+          </widget>
+         </item>
+         <item row="2" column="2" >
+          <widget class="QPushButton" name="BView2D" >
+           <property name="minimumSize" >
+            <size>
+             <width>120</width>
+             <height>30</height>
+            </size>
+           </property>
+           <property name="text" >
+            <string>Visualiser</string>
+           </property>
+          </widget>
+         </item>
+        </layout>
+       </item>
+       <item row="1" column="1" >
+        <spacer name="verticalSpacer" >
+         <property name="orientation" >
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeHint" stdset="0" >
+          <size>
+           <width>20</width>
+           <height>158</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+       <item row="2" column="1" >
+        <layout class="QHBoxLayout" name="horizontalLayout_2" >
+         <item>
+          <spacer name="spacer5" >
+           <property name="orientation" >
+            <enum>Qt::Horizontal</enum>
+           </property>
+           <property name="sizeType" >
+            <enum>QSizePolicy::Expanding</enum>
+           </property>
+           <property name="sizeHint" stdset="0" >
+            <size>
+             <width>150</width>
+             <height>20</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+         <item>
+          <layout class="QVBoxLayout" name="verticalLayout" >
+           <item>
+            <widget class="QPushButton" name="bParam" >
              <property name="minimumSize" >
               <size>
-               <width>40</width>
+               <width>100</width>
                <height>30</height>
               </size>
              </property>
-             <property name="toolTip" >
-              <string>enleve l occurence selectionnee</string>
-             </property>
-             <property name="text" >
-              <string/>
-             </property>
-             <property name="icon" >
-              <iconset>
-               <normaloff>../../EficasV1/Editeur/icons/arrow_right.png</normaloff>../../EficasV1/Editeur/icons/arrow_right.png</iconset>
-             </property>
-            </widget>
-           </item>
-           <item row="2" column="1" >
-            <widget class="QToolButton" name="BSalome" >
-             <property name="sizePolicy" >
-              <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
-               <horstretch>0</horstretch>
-               <verstretch>0</verstretch>
-              </sizepolicy>
-             </property>
-             <property name="minimumSize" >
+             <property name="maximumSize" >
               <size>
-               <width>40</width>
+               <width>100</width>
                <height>30</height>
               </size>
              </property>
              <property name="toolTip" >
-              <string>ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection)</string>
+              <string>suppression du mot clef</string>
              </property>
              <property name="text" >
-              <string/>
+              <string>&amp;Parametres</string>
+             </property>
+             <property name="shortcut" >
+              <string>Alt+P</string>
              </property>
-             <property name="icon" >
-              <iconset>
-               <normaloff>image240.png</normaloff>image240.png</iconset>
+             <property name="autoDefault" >
+              <bool>true</bool>
              </property>
             </widget>
            </item>
-           <item row="2" column="2" >
-            <widget class="QPushButton" name="BView2D" >
+           <item>
+            <widget class="QPushButton" name="bImport" >
              <property name="minimumSize" >
               <size>
-               <width>120</width>
+               <width>100</width>
+               <height>30</height>
+              </size>
+             </property>
+             <property name="maximumSize" >
+              <size>
+               <width>100</width>
                <height>30</height>
               </size>
              </property>
+             <property name="toolTip" >
+              <string>suppression du mot clef</string>
+             </property>
              <property name="text" >
-              <string>Visualiser</string>
+              <string>&amp;Importer</string>
+             </property>
+             <property name="shortcut" >
+              <string>Alt+I</string>
+             </property>
+             <property name="autoDefault" >
+              <bool>true</bool>
              </property>
             </widget>
            </item>
           </layout>
          </item>
+        </layout>
+       </item>
+       <item row="3" column="1" >
+        <spacer name="spacer3_3" >
+         <property name="orientation" >
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeType" >
+          <enum>QSizePolicy::Expanding</enum>
+         </property>
+         <property name="sizeHint" stdset="0" >
+          <size>
+           <width>289</width>
+           <height>100</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+       <item row="4" column="1" >
+        <widget class="QLabel" name="Commentaire" >
+         <property name="minimumSize" >
+          <size>
+           <width>298</width>
+           <height>61</height>
+          </size>
+         </property>
+         <property name="text" >
+          <string/>
+         </property>
+        </widget>
+       </item>
+       <item row="5" column="1" >
+        <spacer name="spacer3_2" >
+         <property name="orientation" >
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeType" >
+          <enum>QSizePolicy::Expanding</enum>
+         </property>
+         <property name="sizeHint" stdset="0" >
+          <size>
+           <width>265</width>
+           <height>48</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+       <item row="6" column="1" >
+        <layout class="QHBoxLayout" name="horizontalLayout_3" >
          <item>
-          <spacer name="verticalSpacer" >
+          <spacer name="horizontalSpacer_2" >
            <property name="orientation" >
-            <enum>Qt::Vertical</enum>
+            <enum>Qt::Horizontal</enum>
            </property>
            <property name="sizeHint" stdset="0" >
             <size>
-             <width>20</width>
-             <height>158</height>
+             <width>118</width>
+             <height>27</height>
             </size>
            </property>
           </spacer>
          </item>
          <item>
-          <layout class="QVBoxLayout" name="verticalLayout_4" >
-           <item>
-            <layout class="QHBoxLayout" name="horizontalLayout_2" >
-             <item>
-              <spacer name="spacer5" >
-               <property name="orientation" >
-                <enum>Qt::Horizontal</enum>
-               </property>
-               <property name="sizeType" >
-                <enum>QSizePolicy::Expanding</enum>
-               </property>
-               <property name="sizeHint" stdset="0" >
-                <size>
-                 <width>150</width>
-                 <height>20</height>
-                </size>
-               </property>
-              </spacer>
-             </item>
-             <item>
-              <layout class="QVBoxLayout" name="verticalLayout" >
-               <item>
-                <widget class="QPushButton" name="bParam" >
-                 <property name="minimumSize" >
-                  <size>
-                   <width>100</width>
-                   <height>30</height>
-                  </size>
-                 </property>
-                 <property name="maximumSize" >
-                  <size>
-                   <width>100</width>
-                   <height>30</height>
-                  </size>
-                 </property>
-                 <property name="toolTip" >
-                  <string>suppression du mot clef</string>
-                 </property>
-                 <property name="text" >
-                  <string>&amp;Parametres</string>
-                 </property>
-                 <property name="shortcut" >
-                  <string>Alt+P</string>
-                 </property>
-                 <property name="autoDefault" >
-                  <bool>true</bool>
-                 </property>
-                </widget>
-               </item>
-               <item>
-                <widget class="QPushButton" name="bImport" >
-                 <property name="minimumSize" >
-                  <size>
-                   <width>100</width>
-                   <height>30</height>
-                  </size>
-                 </property>
-                 <property name="maximumSize" >
-                  <size>
-                   <width>100</width>
-                   <height>30</height>
-                  </size>
-                 </property>
-                 <property name="toolTip" >
-                  <string>suppression du mot clef</string>
-                 </property>
-                 <property name="text" >
-                  <string>&amp;Importer</string>
-                 </property>
-                 <property name="shortcut" >
-                  <string>Alt+I</string>
-                 </property>
-                 <property name="autoDefault" >
-                  <bool>true</bool>
-                 </property>
-                </widget>
-               </item>
-              </layout>
-             </item>
-            </layout>
-           </item>
-           <item>
-            <layout class="QVBoxLayout" name="verticalLayout_3" >
-             <item>
-              <spacer name="spacer3_3" >
-               <property name="orientation" >
-                <enum>Qt::Vertical</enum>
-               </property>
-               <property name="sizeType" >
-                <enum>QSizePolicy::Expanding</enum>
-               </property>
-               <property name="sizeHint" stdset="0" >
-                <size>
-                 <width>265</width>
-                 <height>48</height>
-                </size>
-               </property>
-              </spacer>
-             </item>
-             <item>
-              <widget class="QLabel" name="Commentaire" >
-               <property name="minimumSize" >
-                <size>
-                 <width>251</width>
-                 <height>21</height>
-                </size>
-               </property>
-               <property name="text" >
-                <string/>
-               </property>
-              </widget>
-             </item>
-             <item>
-              <spacer name="spacer3_2" >
-               <property name="orientation" >
-                <enum>Qt::Vertical</enum>
-               </property>
-               <property name="sizeType" >
-                <enum>QSizePolicy::Expanding</enum>
-               </property>
-               <property name="sizeHint" stdset="0" >
-                <size>
-                 <width>265</width>
-                 <height>48</height>
-                </size>
-               </property>
-              </spacer>
-             </item>
-            </layout>
-           </item>
-           <item>
-            <layout class="QHBoxLayout" name="horizontalLayout_3" >
-             <item>
-              <spacer name="horizontalSpacer_2" >
-               <property name="orientation" >
-                <enum>Qt::Horizontal</enum>
-               </property>
-               <property name="sizeHint" stdset="0" >
-                <size>
-                 <width>118</width>
-                 <height>27</height>
-                </size>
-               </property>
-              </spacer>
-             </item>
-             <item>
-              <widget class="QPushButton" name="bOk" >
-               <property name="minimumSize" >
-                <size>
-                 <width>160</width>
-                 <height>30</height>
-                </size>
-               </property>
-               <property name="maximumSize" >
-                <size>
-                 <width>160</width>
-                 <height>30</height>
-                </size>
-               </property>
-               <property name="toolTip" >
-                <string>validation de la saisie</string>
-               </property>
-               <property name="text" >
-                <string>&amp;Valider</string>
-               </property>
-               <property name="shortcut" >
-                <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
-               </property>
-               <property name="autoDefault" >
-                <bool>true</bool>
-               </property>
-               <property name="default" >
-                <bool>false</bool>
-               </property>
-              </widget>
-             </item>
-            </layout>
-           </item>
-          </layout>
+          <widget class="QPushButton" name="bOk" >
+           <property name="minimumSize" >
+            <size>
+             <width>160</width>
+             <height>30</height>
+            </size>
+           </property>
+           <property name="maximumSize" >
+            <size>
+             <width>160</width>
+             <height>30</height>
+            </size>
+           </property>
+           <property name="toolTip" >
+            <string>validation de la saisie</string>
+           </property>
+           <property name="text" >
+            <string>&amp;Valider</string>
+           </property>
+           <property name="shortcut" >
+            <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
+           </property>
+           <property name="autoDefault" >
+            <bool>true</bool>
+           </property>
+           <property name="default" >
+            <bool>false</bool>
+           </property>
+          </widget>
          </item>
         </layout>
        </item>