]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
PN
authorPascale Noyret <pascale.noyret@edf.fr>
Wed, 22 Aug 2007 07:24:01 +0000 (07:24 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Wed, 22 Aug 2007 07:24:01 +0000 (07:24 +0000)
12 files changed:
InterfaceQT/browser.py
InterfaceQT/compobase.py [new file with mode: 0644]
InterfaceQT/compocomm.py
InterfaceQT/compocommandecomm.py [new file with mode: 0644]
InterfaceQT/compoerror.py [new file with mode: 0644]
InterfaceQT/compomclist.py
InterfaceQT/compoparam.py
InterfaceQT/editor.py
Ui/desError.py [new file with mode: 0644]
Ui/desError.ui [new file with mode: 0644]
Ui/desParam.py [new file with mode: 0644]
Ui/desUniqueSDCO.ui [new file with mode: 0644]

index 99e055bd6a0e5f48b08441688635fb0dde3b140a..bb83b5b4447f69cbedf2a250e0950563d43357da 100644 (file)
@@ -209,7 +209,7 @@ class JDCNode(QListViewItem):
         # On traite par une exception le cas ou l'utilisateur final cherche a désactiver
         # (commentariser) un commentaire.
         try :
-            pos=self.parent.children.index( self )
+            pos=self.parent.children.index(self)
             commande_comment = self.item.get_objet_commentarise()
             # On signale au parent du panel (le JDCDisplay) une modification
             self.editor.init_modif()
@@ -223,12 +223,13 @@ class JDCNode(QListViewItem):
         """
         Realise la decommentarisation de self
         """
-        try:
-            pos=self.parent.children.index(self.node)
+        try :
+            pos=self.parent.children.index(self)
             commande,nom = self.item.uncomment()
+            self.editor.init_modif()
             self.parent.children[pos].select()
         except Exception,e:
-            QMessageBox.critical( self.parent, "Erreur !",str(e))
+            QMessageBox.critical( self.editor, "Erreur !",str(e))
             return        
         
     def addComment( self, after=True ):
diff --git a/InterfaceQT/compobase.py b/InterfaceQT/compobase.py
new file mode 100644 (file)
index 0000000..a287b7d
--- /dev/null
@@ -0,0 +1,3 @@
+from Editeur import Objecttreeitem
+treeitem = Objecttreeitem.ObjectTreeItem
+objet = None
index 4a12cfebbafe98125c1199e798a91b737445bcf6..4ff1e58c1e7e5467c2e5a2660116c3dfbfcab592 100644 (file)
@@ -100,7 +100,7 @@ class COMMTreeItem(Objecttreeitem.ObjectTreeItem):
            surcharge la méthode get_objet_commentarise de la classe Objecttreeitem.ObjectTreeItem
            elle a pour but d'empecher l'utilisateur final de commentariser un commentaire.
        """
-       raise Exception( 'Citoyen : tu peux "commentariser" une commande MAIS PAS UN COMMENTAIRE' )
+       raise Exception( 'Impossible de commentariser un commentaire' )
   
 import Extensions
 treeitem =COMMTreeItem
diff --git a/InterfaceQT/compocommandecomm.py b/InterfaceQT/compocommandecomm.py
new file mode 100644 (file)
index 0000000..bd17f0b
--- /dev/null
@@ -0,0 +1,95 @@
+# -*- coding: utf-8 -*-
+#            CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002  EDF R&D                  WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT
+# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF
+# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+#    1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+import traceback
+import string
+
+from Editeur import Objecttreeitem
+from InterfaceQT import compocomm
+
+class COMMANDE_COMMTreeItem(Objecttreeitem.ObjectTreeItem):
+    itemNode=compocomm.Node
+
+    def init(self):
+      self.setfunction = self.set_valeur
+
+    def GetIconName(self):
+      """
+      Retourne le nom de l'icône associée au noeud qui porte self,
+      dépendant de la validité de l'objet
+      NB : une commande commentarisée est toujours valide ...
+      """
+      if self.isvalid():
+          return "ast-green-percent"
+      else:
+          return "ast-red-percent"
+
+    def GetLabelText(self):
+        """ Retourne 3 valeurs :
+        - le texte à afficher dans le noeud représentant l'item
+        - la fonte dans laquelle afficher ce texte
+        - la couleur du texte
+        """
+        return 'commantaire'
+
+    def get_valeur(self):
+      """
+      Retourne la valeur de la commande commentarisée cad son texte
+      """
+      return self.object.get_valeur() or ''
+    
+    def GetText(self):
+        texte = self.object.valeur
+        texte = string.split(texte,'\n')[0]
+        if len(texte) < 25 :
+            return texte
+        else :
+            return texte[0:24]
+
+    def set_valeur(self,valeur):
+      """
+      Afefcte valeur à l'objet commande commentarisée
+      """
+      self.object.set_valeur(valeur)
+      
+    def GetSubList(self):
+      """
+      Retourne la liste des fils de self
+      """
+      return []
+
+    def uncomment(self):
+      """
+      Demande à l'objet commande commentarisée de se décommentariser.
+      Si l'opération s'effectue correctement, retourne l'objet commande
+      et éventuellement le nom de la sd produite, sinon lève une exception
+      """
+      try:
+        commande,nom = self.object.uncomment()
+        print "uuuuuuuuuuuuuuuu"
+        #self.parent.children[pos].select()
+      except Exception,e:
+        traceback.print_exc()
+        raise e
+      return commande,nom
+  
+import Accas
+treeitem =COMMANDE_COMMTreeItem
+objet = Accas.COMMANDE_COMM    
diff --git a/InterfaceQT/compoerror.py b/InterfaceQT/compoerror.py
new file mode 100644 (file)
index 0000000..2f1821d
--- /dev/null
@@ -0,0 +1,38 @@
+# -*- coding: utf-8 -*-
+#            CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002  EDF R&D                  WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT
+# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF
+# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+#    1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+# Modules Python
+from Tkinter import Label,Button
+
+#Modules Eficas
+from Noyau.N_OBJECT import ErrorObj
+from Editeur import Objecttreeitem
+from desError import DError
+
+class ERRORTreeItem(Objecttreeitem.AtomicObjectTreeItem):
+
+    panel = DError
+    def GetIconName(self):
+        return "ast-red-ball"
+
+
+treeitem =ERRORTreeItem
+objet = ErrorObj
+
index 256f0f6806909f32712d815e5f59851a059e1adf..6a3102a0d3a1b0a1b47abe383d1d58d76b50e36c 100644 (file)
@@ -27,7 +27,6 @@ class Node(browser.JDCNode):
            return MonMCFactPanel(self,parent=self.editor)
         else :
            print "MCList"
-           print "kkkkkkkkkkkkkkkkkkkkk"
 
     def doPaste(self,node_selected):
         objet_a_copier = self.item.get_copie_objet()
index 989c79c99add0075b1e0050562e192ae7edb30a4..d48b5e6671b69d7085d61327f652dada6f041559 100644 (file)
@@ -55,8 +55,7 @@ class PARAMTreeItem(Objecttreeitem.ObjectTreeItem):
         - la fonte dans laquelle afficher ce texte
         - la couleur du texte
         """
-        return 'Paramêtre',None,None #CS_pbruno todo
-##        return 'Paramêtre',Fonte_PARAMETRE,None 
+        return 'Parametre',None,None 
 
     def GetText(self):
       """
index 8a903ed98cda2b3e464b635d85f8097d08553df2..9d25046f8e5874cc3e25c27327de4f327af6782d 100644 (file)
@@ -406,7 +406,6 @@ class JDCEditor(QSplitter):
             del self.panel
             self.panel = None
             
-        print jdcNode.__class__
         if jdcNode.item.isactif():
             self.panel = jdcNode.getPanel()
         else:
diff --git a/Ui/desError.py b/Ui/desError.py
new file mode 100644 (file)
index 0000000..816373e
--- /dev/null
@@ -0,0 +1,60 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'desError.ui'
+#
+# Created: lun aoû 20 10:39:18 2007
+#      by: The PyQt User Interface Compiler (pyuic) 3.13
+#
+# WARNING! All changes made in this file will be lost!
+
+
+from qt import *
+
+
+class DError(QWidget):
+    def __init__(self,parent = None,name = None,fl = 0):
+        QWidget.__init__(self,parent,name,fl)
+
+        if not name:
+            self.setName("DError")
+
+        self.setMinimumSize(QSize(350,0))
+
+
+        self.bSup = QPushButton(self,"bSup")
+        self.bSup.setGeometry(QRect(170,430,142,30))
+        self.bSup.setAutoDefault(1)
+
+        self.textLabel1_3 = QLabel(self,"textLabel1_3")
+        self.textLabel1_3.setGeometry(QRect(60,110,330,110))
+
+        self.languageChange()
+
+        self.resize(QSize(482,480).expandedTo(self.minimumSizeHint()))
+        self.clearWState(Qt.WState_Polished)
+
+        self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed)
+
+
+    def languageChange(self):
+        self.setCaption(self.__tr("DInactif"))
+        self.bSup.setText(self.__tr("&Supprimer"))
+        self.bSup.setAccel(self.__tr("Alt+S"))
+        QToolTip.add(self.bSup,self.__tr("suppression du mot clef"))
+        self.textLabel1_3.setText(self.__trUtf8("\x3c\x66\x6f\x6e\x74\x20\x73\x69\x7a\x65\x3d\x22\x2b\x34\x22\x3e\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x4c\x65\x20\x6e\x6f\x65\x75\x64\x20\x73\xc3\xa9\x6c\x65\x63\x74\x69\x6f\x6e\x6e\xc3\xa9\x20\x6e\x65\x20\x63\x6f\x72\x72\x65\x73\x70\x6f\x6e\x64\x20\x70\x61\x73\x20\xc3\xa0\x20\x75\x6e\x20\x6f\x62\x6a\x65\x74\x20\x61\x63\x74\x69\x66\x2e\x3c\x2f\x70\x3e\x3c\x2f\x66\x6f\x6e\x74\x3e"))
+
+
+    def BSupPressed(self):
+        print "DError.BSupPressed(): Not implemented yet"
+
+    def ViewDoc(self):
+        print "DError.ViewDoc(): Not implemented yet"
+
+    def BOkPressed(self):
+        print "DError.BOkPressed(): Not implemented yet"
+
+    def __tr(self,s,c = None):
+        return qApp.translate("DError",s,c)
+
+    def __trUtf8(self,s,c = None):
+        return qApp.translate("DError",s,c,QApplication.UnicodeUTF8)
diff --git a/Ui/desError.ui b/Ui/desError.ui
new file mode 100644 (file)
index 0000000..370e176
--- /dev/null
@@ -0,0 +1,80 @@
+<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
+<class>DError</class>
+<widget class="QWidget">
+    <property name="name">
+        <cstring>DError</cstring>
+    </property>
+    <property name="geometry">
+        <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>482</width>
+            <height>480</height>
+        </rect>
+    </property>
+    <property name="minimumSize">
+        <size>
+            <width>350</width>
+            <height>0</height>
+        </size>
+    </property>
+    <property name="caption">
+        <string>DInactif</string>
+    </property>
+    <widget class="QPushButton">
+        <property name="name">
+            <cstring>bSup</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>170</x>
+                <y>430</y>
+                <width>142</width>
+                <height>30</height>
+            </rect>
+        </property>
+        <property name="text">
+            <string>&amp;Supprimer</string>
+        </property>
+        <property name="accel">
+            <string>Alt+S</string>
+        </property>
+        <property name="autoDefault">
+            <bool>true</bool>
+        </property>
+        <property name="toolTip" stdset="0">
+            <string>suppression du mot clef</string>
+        </property>
+    </widget>
+    <widget class="QLabel">
+        <property name="name">
+            <cstring>textLabel1_3</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>60</x>
+                <y>110</y>
+                <width>330</width>
+                <height>110</height>
+            </rect>
+        </property>
+        <property name="text">
+            <string>&lt;font size="+4"&gt;&lt;p align="center"&gt;Le noeud sélectionné ne correspond pas à un objet actif.&lt;/p&gt;&lt;/font&gt;</string>
+        </property>
+    </widget>
+</widget>
+<connections>
+    <connection>
+        <sender>bSup</sender>
+        <signal>clicked()</signal>
+        <receiver>DError</receiver>
+        <slot>BSupPressed()</slot>
+    </connection>
+</connections>
+<slots>
+    <slot>BSupPressed()</slot>
+    <slot>ViewDoc()</slot>
+    <slot>BOkPressed()</slot>
+</slots>
+<layoutdefaults spacing="6" margin="11"/>
+</UI>
diff --git a/Ui/desParam.py b/Ui/desParam.py
new file mode 100644 (file)
index 0000000..185c7df
--- /dev/null
@@ -0,0 +1,106 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'desParam.ui'
+#
+# Created: mar aoû 21 15:48:22 2007
+#      by: The PyQt User Interface Compiler (pyuic) 3.13
+#
+# WARNING! All changes made in this file will be lost!
+
+
+from qt import *
+
+
+class DParam(QWidget):
+    def __init__(self,parent = None,name = None,fl = 0):
+        QWidget.__init__(self,parent,name,fl)
+
+        if not name:
+            self.setName("DParam")
+
+        self.setMinimumSize(QSize(350,0))
+
+
+        self.tabuniqueinto = QTabWidget(self,"tabuniqueinto")
+        self.tabuniqueinto.setGeometry(QRect(10,20,460,440))
+
+        self.Widget8 = QWidget(self.tabuniqueinto,"Widget8")
+
+        self.bSup = QPushButton(self.Widget8,"bSup")
+        self.bSup.setGeometry(QRect(310,370,142,30))
+        self.bSup.setAutoDefault(1)
+
+        self.bOk = QPushButton(self.Widget8,"bOk")
+        self.bOk.setGeometry(QRect(160,370,142,30))
+        self.bOk.setAutoDefault(1)
+        self.bOk.setDefault(1)
+
+        self.bHelp = QPushButton(self.Widget8,"bHelp")
+        self.bHelp.setGeometry(QRect(10,370,142,30))
+        self.bHelp.setAutoDefault(1)
+
+        self.textLabel2 = QLabel(self.Widget8,"textLabel2")
+        self.textLabel2.setGeometry(QRect(40,160,50,21))
+
+        self.lineEditVal = QLineEdit(self.Widget8,"lineEditVal")
+        self.lineEditVal.setGeometry(QRect(120,150,231,31))
+
+        self.lineEditNom = QLineEdit(self.Widget8,"lineEditNom")
+        self.lineEditNom.setGeometry(QRect(118,86,231,31))
+
+        self.textLabel2_2 = QLabel(self.Widget8,"textLabel2_2")
+        self.textLabel2_2.setGeometry(QRect(40,90,50,21))
+
+        self.textLabel2_2_2 = QLabel(self.Widget8,"textLabel2_2_2")
+        self.textLabel2_2_2.setGeometry(QRect(180,20,90,21))
+
+        self.Commentaire = QLabel(self.Widget8,"Commentaire")
+        self.Commentaire.setGeometry(QRect(30,230,400,100))
+        self.tabuniqueinto.insertTab(self.Widget8,QString(""))
+
+        self.languageChange()
+
+        self.resize(QSize(482,480).expandedTo(self.minimumSizeHint()))
+        self.clearWState(Qt.WState_Polished)
+
+        self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc)
+        self.connect(self.bOk,SIGNAL("clicked()"),self.BOk2Pressed)
+        self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed)
+        self.connect(self.lineEditVal,SIGNAL("returnPressed()"),self.LEValeurPressed)
+
+
+    def languageChange(self):
+        self.setCaption(self.__tr("DUnIn"))
+        self.bSup.setText(self.__tr("&Supprimer"))
+        self.bSup.setAccel(self.__tr("Alt+S"))
+        QToolTip.add(self.bSup,self.__tr("suppression du mot clef"))
+        self.bOk.setText(self.__tr("&Valider"))
+        self.bOk.setAccel(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))
+        QToolTip.add(self.bOk,self.__tr("validation de la saisie"))
+        self.bHelp.setText(self.__tr("&Documentation"))
+        self.bHelp.setAccel(self.__tr("Alt+D"))
+        QToolTip.add(self.bHelp,self.__tr("affichage documentation aster"))
+        self.textLabel2.setText(self.__tr("<b><p align=\"center\">Valeur: </p></b>"))
+        self.textLabel2_2.setText(self.__tr("<b><p align=\"center\">Nom: </p></b>"))
+        self.textLabel2_2_2.setText(self.__tr("<u><b><p align=\"center\">Parametre</p></b></u>"))
+        self.Commentaire.setText(self.__trUtf8("\x52\x65\x74\x6f\x75\x72\x20\x43\x68\x61\x72\x69\x6f\x74\x20\x64\x61\x6e\x73\x20\x75\x6e\x65\x20\x73\x6f\x6e\x65\x20\x64\x65\x20\x73\x61\x69\x73\x69\x65\x20\x70\x65\x72\x6d\x65\x74\x20\x64\x65\x20\x76\xc3\xa9\x72\x69\x66\x69\x65\x72\x20\x6c\x61\x20\x76\x61\x6c\x69\x64\x69\x74\xc3\xa9\x20\x64\x65\x20\x6c\x61\x20\x76\x61\x6c\x65\x75\x72\x20\x73\x61\x69\x73\x69\x65\x2e\x0a\x0a\x4c\x65\x73\x20\x6e\x6f\x75\x76\x65\x6c\x6c\x65\x73\x20\x76\x61\x6c\x65\x75\x72\x73\x20\x73\x6f\x6e\x74\x20\x70\x72\x69\x73\x65\x73\x20\x65\x66\x66\x65\x63\x74\x69\x76\x65\x6d\x65\x6e\x74\x20\x65\x6e\x20\x63\x6f\x6d\x70\x74\x65\x20\x61\x70\x72\xc3\xa8\x73\x20\x61\x76\x6f\x69\x72\x20\x61\x70\x70\x75\x79\xc3\xa9\x20\x73\x75\x72\x0a\x20\x6c\x65\x20\x62\x6f\x75\x74\x6f\x6e\x20\x56\x61\x6c\x69\x64\x65\x72\x2e"))
+        self.tabuniqueinto.changeTab(self.Widget8,self.__tr("Valeur Parametre"))
+
+
+    def BSupPressed(self):
+        print "DParam.BSupPressed(): Not implemented yet"
+
+    def ViewDoc(self):
+        print "DParam.ViewDoc(): Not implemented yet"
+
+    def BOk2Pressed(self):
+        print "DParam.BOk2Pressed(): Not implemented yet"
+
+    def LEValeurPressed(self):
+        print "DParam.LEValeurPressed(): Not implemented yet"
+
+    def __tr(self,s,c = None):
+        return qApp.translate("DParam",s,c)
+
+    def __trUtf8(self,s,c = None):
+        return qApp.translate("DParam",s,c,QApplication.UnicodeUTF8)
diff --git a/Ui/desUniqueSDCO.ui b/Ui/desUniqueSDCO.ui
new file mode 100644 (file)
index 0000000..86960b7
--- /dev/null
@@ -0,0 +1,229 @@
+<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
+<class>DUnSDCO</class>
+<widget class="QWidget">
+    <property name="name">
+        <cstring>DUnSDCO</cstring>
+    </property>
+    <property name="geometry">
+        <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>482</width>
+            <height>480</height>
+        </rect>
+    </property>
+    <property name="minimumSize">
+        <size>
+            <width>350</width>
+            <height>0</height>
+        </size>
+    </property>
+    <property name="caption">
+        <string>DUnIn</string>
+    </property>
+    <widget class="QTabWidget">
+        <property name="name">
+            <cstring>tabuniqueinto</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>10</x>
+                <y>20</y>
+                <width>460</width>
+                <height>440</height>
+            </rect>
+        </property>
+        <widget class="QWidget">
+            <property name="name">
+                <cstring>Widget8</cstring>
+            </property>
+            <attribute name="title">
+                <string>Saisir Valeur</string>
+            </attribute>
+            <widget class="QPushButton">
+                <property name="name">
+                    <cstring>bSup</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>310</x>
+                        <y>370</y>
+                        <width>142</width>
+                        <height>30</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string>&amp;Supprimer</string>
+                </property>
+                <property name="accel">
+                    <string>Alt+S</string>
+                </property>
+                <property name="autoDefault">
+                    <bool>true</bool>
+                </property>
+                <property name="toolTip" stdset="0">
+                    <string>suppression du mot clef</string>
+                </property>
+            </widget>
+            <widget class="QPushButton">
+                <property name="name">
+                    <cstring>bOk</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>160</x>
+                        <y>370</y>
+                        <width>142</width>
+                        <height>30</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string>&amp;Valider</string>
+                </property>
+                <property name="accel">
+                    <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
+                </property>
+                <property name="autoDefault">
+                    <bool>true</bool>
+                </property>
+                <property name="default">
+                    <bool>true</bool>
+                </property>
+                <property name="toolTip" stdset="0">
+                    <string>validation de la saisie</string>
+                </property>
+            </widget>
+            <widget class="QPushButton">
+                <property name="name">
+                    <cstring>bHelp</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>10</x>
+                        <y>370</y>
+                        <width>142</width>
+                        <height>30</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string>&amp;Documentation</string>
+                </property>
+                <property name="accel">
+                    <string>Alt+D</string>
+                </property>
+                <property name="autoDefault">
+                    <bool>true</bool>
+                </property>
+                <property name="toolTip" stdset="0">
+                    <string>affichage documentation aster</string>
+                </property>
+            </widget>
+            <widget class="QLabel">
+                <property name="name">
+                    <cstring>Commentaire</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>40</x>
+                        <y>311</y>
+                        <width>381</width>
+                        <height>30</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string></string>
+                </property>
+            </widget>
+            <widget class="QLabel">
+                <property name="name">
+                    <cstring>textLabel1_2</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>20</x>
+                        <y>150</y>
+                        <width>170</width>
+                        <height>31</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string>&lt;font size="+2"&gt;Nouveau concept&lt;/font&gt;</string>
+                </property>
+            </widget>
+            <widget class="QLabel">
+                <property name="name">
+                    <cstring>textLabel1</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>20</x>
+                        <y>40</y>
+                        <width>180</width>
+                        <height>31</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string>&lt;font size="+2"&gt;Nom du nouveau concept&lt;/font&gt;</string>
+                </property>
+            </widget>
+            <widget class="QComboBox">
+                <item>
+                    <property name="text">
+                        <string>OUI</string>
+                    </property>
+                </item>
+                <property name="name">
+                    <cstring>comboBox1</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>210</x>
+                        <y>150</y>
+                        <width>110</width>
+                        <height>31</height>
+                    </rect>
+                </property>
+            </widget>
+            <widget class="QLineEdit">
+                <property name="name">
+                    <cstring>LENomConcept</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>210</x>
+                        <y>40</y>
+                        <width>230</width>
+                        <height>31</height>
+                    </rect>
+                </property>
+            </widget>
+        </widget>
+    </widget>
+</widget>
+<connections>
+    <connection>
+        <sender>bHelp</sender>
+        <signal>clicked()</signal>
+        <receiver>DUnSDCO</receiver>
+        <slot>ViewDoc()</slot>
+    </connection>
+    <connection>
+        <sender>bOk</sender>
+        <signal>clicked()</signal>
+        <receiver>DUnSDCO</receiver>
+        <slot>BOkPressed()</slot>
+    </connection>
+    <connection>
+        <sender>bSup</sender>
+        <signal>clicked()</signal>
+        <receiver>DUnSDCO</receiver>
+        <slot>BSupPressed()</slot>
+    </connection>
+</connections>
+<slots>
+    <slot>BSupPressed()</slot>
+    <slot>ViewDoc()</slot>
+    <slot>BOkPressed()</slot>
+</slots>
+<layoutdefaults spacing="6" margin="11"/>
+</UI>