From: Pascale Noyret Date: Mon, 15 Oct 2007 13:30:18 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b8cb2c1cd015ed79f2ead4c9cd8010c7640a6b1c;p=tools%2Feficas.git *** empty log message *** --- diff --git a/Ui/desSelectVal.py b/Ui/desSelectVal.py new file mode 100644 index 00000000..c9c0d31d --- /dev/null +++ b/Ui/desSelectVal.py @@ -0,0 +1,78 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'desSelectVal.ui' +# +# Created: mer oct 10 10:48: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 DSelVal(QWidget): + def __init__(self,parent = None,name = None,fl = 0): + QWidget.__init__(self,parent,name,fl) + + if not name: + self.setName("DSelVal") + + + + self.BGSeparateur = QButtonGroup(self,"BGSeparateur") + self.BGSeparateur.setGeometry(QRect(10,390,180,80)) + + self.BpointVirgule = QRadioButton(self.BGSeparateur,"BpointVirgule") + self.BpointVirgule.setGeometry(QRect(50,50,81,21)) + + self.Bvirgule = QRadioButton(self.BGSeparateur,"Bvirgule") + self.Bvirgule.setGeometry(QRect(50,30,81,21)) + + self.Bespace = QRadioButton(self.BGSeparateur,"Bespace") + self.Bespace.setGeometry(QRect(50,10,81,21)) + self.Bespace.setChecked(1) + + self.BImportTout = QPushButton(self,"BImportTout") + self.BImportTout.setGeometry(QRect(200,440,210,31)) + + self.BImportSel = QPushButton(self,"BImportSel") + self.BImportSel.setGeometry(QRect(200,400,210,31)) + + self.TBtext = QTextBrowser(self,"TBtext") + self.TBtext.setGeometry(QRect(0,0,411,391)) + + self.languageChange() + + self.resize(QSize(413,480).expandedTo(self.minimumSizeHint())) + self.clearWState(Qt.WState_Polished) + + self.connect(self.BGSeparateur,SIGNAL("clicked(int)"),self.SeparateurSelect) + self.connect(self.BImportSel,SIGNAL("clicked()"),self.BImportSelPressed) + self.connect(self.BImportTout,SIGNAL("clicked()"),self.BImportToutPressed) + + + def languageChange(self): + self.setCaption(self.__trUtf8("\x53\xc3\xa9\x6c\x65\x63\x74\x69\x6f\x6e\x20\x64\x65\x20\x76\x61\x6c\x65\x75\x72\x73")) + self.BGSeparateur.setTitle(self.__trUtf8("\x53\xc3\xa9\x70\x61\x72\x61\x74\x65\x75\x72")) + self.BpointVirgule.setText(self.__tr("point-virgule")) + self.Bvirgule.setText(self.__tr("virgule")) + self.Bespace.setText(self.__tr("espace")) + self.BImportTout.setText(self.__tr("Importer Tout")) + self.BImportSel.setText(self.__tr("Ajouter Selection")) + + + def SeparateurSelect(self): + print "DSelVal.SeparateurSelect(): Not implemented yet" + + def BImportSelPressed(self): + print "DSelVal.BImportSelPressed(): Not implemented yet" + + def BImportToutPressed(self): + print "DSelVal.BImportToutPressed(): Not implemented yet" + + def __tr(self,s,c = None): + return qApp.translate("DSelVal",s,c) + + def __trUtf8(self,s,c = None): + return qApp.translate("DSelVal",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desSelectVal.ui b/Ui/desSelectVal.ui new file mode 100644 index 00000000..75cfb884 --- /dev/null +++ b/Ui/desSelectVal.ui @@ -0,0 +1,157 @@ + +DSelVal + + + DSelVal + + + + 0 + 0 + 413 + 480 + + + + Sélection de valeurs + + + + BGSeparateur + + + + 10 + 390 + 180 + 80 + + + + Séparateur + + + + BpointVirgule + + + + 50 + 50 + 81 + 21 + + + + point-virgule + + + + + Bvirgule + + + + 50 + 30 + 81 + 21 + + + + virgule + + + + + Bespace + + + + 50 + 10 + 81 + 21 + + + + espace + + + true + + + + + + BImportTout + + + + 200 + 440 + 210 + 31 + + + + Importer Tout + + + + + BImportSel + + + + 200 + 400 + 210 + 31 + + + + Ajouter Selection + + + + + TBtext + + + + 0 + 0 + 411 + 391 + + + + + + + BGSeparateur + clicked(int) + DSelVal + SeparateurSelect() + + + BImportSel + clicked() + DSelVal + BImportSelPressed() + + + BImportTout + clicked() + DSelVal + BImportToutPressed() + + + + SeparateurSelect() + BImportSelPressed() + BImportToutPressed() + + + diff --git a/Ui/desUniqueBase.py b/Ui/desUniqueBase.py index 7f69b8ea..2d756cb6 100644 --- a/Ui/desUniqueBase.py +++ b/Ui/desUniqueBase.py @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- -# Form implementation generated from reading ui file 'desUniqueBasePanel.ui' +# Form implementation generated from reading ui file 'desUniqueBase.ui' # -# Created: mar mar 20 14:05:29 2007 +# Created: lun oct 15 14:18:49 2007 # by: The PyQt User Interface Compiler (pyuic) 3.13 # # WARNING! All changes made in this file will be lost! @@ -61,6 +61,7 @@ class DUnBase(QWidget): self.connect(self.bOk,SIGNAL("clicked()"),self.BOk2Pressed) self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) self.connect(self.lineEditVal,SIGNAL("returnPressed()"),self.LEValeurPressed) + self.connect(self.bParametres,SIGNAL("pressed()"),self.BParametresPressed) def languageChange(self): diff --git a/Ui/desUniqueBase.ui b/Ui/desUniqueBase.ui index 0c47dc40..d3bf41d2 100644 --- a/Ui/desUniqueBase.ui +++ b/Ui/desUniqueBase.ui @@ -207,6 +207,12 @@ DUnBase LEValeurPressed() + + bParametres + pressed() + DUnBase + BParametresPressed() + BSupPressed() diff --git a/Ui/desUniqueSDCO.py b/Ui/desUniqueSDCO.py new file mode 100644 index 00000000..58efba85 --- /dev/null +++ b/Ui/desUniqueSDCO.py @@ -0,0 +1,124 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'desUniqueSDCO.ui' +# +# Created: lun oct 1 12:28:45 2007 +# by: The PyQt User Interface Compiler (pyuic) 3.13 +# +# WARNING! All changes made in this file will be lost! + + +from qt import * + + +class DUnSDCO(QWidget): + def __init__(self,parent = None,name = None,fl = 0): + QWidget.__init__(self,parent,name,fl) + + if not name: + self.setName("DUnSDCO") + + 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.Commentaire = QLabel(self.Widget8,"Commentaire") + self.Commentaire.setGeometry(QRect(40,311,381,30)) + + self.textLabel2 = QLabel(self.Widget8,"textLabel2") + self.textLabel2.setGeometry(QRect(110,280,190,30)) + + self.textLabel1 = QLabel(self.Widget8,"textLabel1") + self.textLabel1.setGeometry(QRect(40,10,130,41)) + + self.frame3 = QFrame(self.Widget8,"frame3") + self.frame3.setGeometry(QRect(20,70,190,40)) + self.frame3.setFrameShape(QFrame.StyledPanel) + self.frame3.setFrameShadow(QFrame.Raised) + + self.textLabel2_2 = QLabel(self.frame3,"textLabel2_2") + self.textLabel2_2.setGeometry(QRect(10,10,170,20)) + + self.LESDCO = QLineEdit(self.Widget8,"LESDCO") + self.LESDCO.setGeometry(QRect(220,70,220,40)) + + self.rbNon = QRadioButton(self.Widget8,"rbNon") + self.rbNon.setEnabled(0) + self.rbNon.setGeometry(QRect(190,30,50,20)) + self.rbNon.setChecked(0) + + self.rbOui = QRadioButton(self.Widget8,"rbOui") + self.rbOui.setEnabled(1) + self.rbOui.setGeometry(QRect(190,10,50,20)) + self.rbOui.setChecked(1) + 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.BOkPressed) + self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) + self.connect(self.rbOui,SIGNAL("clicked()"),self.BOuiPressed) + self.connect(self.LESDCO,SIGNAL("returnPressed()"),self.LESDCOReturnPressed) + + + 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.Commentaire.setText(QString.null) + self.textLabel2.setText(self.__tr("Un objet de type CO est attendu")) + self.textLabel1.setText(self.__tr("Nouveau Concept : ")) + self.textLabel2_2.setText(self.__tr("Nom du nouveau concept : ")) + self.rbNon.setText(self.__tr("Non")) + self.rbOui.setText(self.__tr("Oui")) + self.tabuniqueinto.changeTab(self.Widget8,self.__tr("Saisir Valeur")) + + + def BSupPressed(self): + print "DUnSDCO.BSupPressed(): Not implemented yet" + + def ViewDoc(self): + print "DUnSDCO.ViewDoc(): Not implemented yet" + + def BOkPressed(self): + print "DUnSDCO.BOkPressed(): Not implemented yet" + + def LESDCOReturnPressed(self): + print "DUnSDCO.LESDCOReturnPressed(): Not implemented yet" + + def BOuiPressed(self): + print "DUnSDCO.BOuiPressed(): Not implemented yet" + + def BNonPressed(self): + print "DUnSDCO.BNonPressed(): Not implemented yet" + + def __tr(self,s,c = None): + return qApp.translate("DUnSDCO",s,c) diff --git a/Ui/desUniqueSDCO.ui b/Ui/desUniqueSDCO.ui index 86960b79..d018e24a 100644 --- a/Ui/desUniqueSDCO.ui +++ b/Ui/desUniqueSDCO.ui @@ -136,18 +136,18 @@ - textLabel1_2 + textLabel2 - 20 - 150 - 170 - 31 + 110 + 280 + 190 + 30 - <font size="+2">Nouveau concept</font> + <font size="+1">Un objet de type CO est attendu</font> @@ -156,46 +156,107 @@ - 20 - 40 - 180 - 31 + 40 + 10 + 130 + 41 - <font size="+2">Nom du nouveau concept</font> + <font size="+1">Nouveau Concept : </font> - - + + + frame3 + + + + 20 + 70 + 190 + 40 + + + + StyledPanel + + + Raised + + + + textLabel2_2 + + + + 10 + 10 + 170 + 20 + + - OUI + <font size="+2">Nom du nouveau concept : </font> - + + + - comboBox1 + LESDCO - 210 - 150 - 110 - 31 + 220 + 70 + 220 + 40 - + + + rbNon + + + false + + + + 190 + 30 + 50 + 20 + + + + Non + + + false + + + - LENomConcept + rbOui + + + true - 210 - 40 - 230 - 31 + 190 + 10 + 50 + 20 + + Oui + + + true + @@ -219,11 +280,26 @@ DUnSDCO BSupPressed() + + rbOui + clicked() + DUnSDCO + BOuiPressed() + + + LESDCO + returnPressed() + DUnSDCO + LESDCOReturnPressed() + BSupPressed() ViewDoc() BOkPressed() + LESDCOReturnPressed() + BOuiPressed() + BNonPressed() diff --git a/Ui/desUniqueSDCOInto.py b/Ui/desUniqueSDCOInto.py new file mode 100644 index 00000000..58e45e2f --- /dev/null +++ b/Ui/desUniqueSDCOInto.py @@ -0,0 +1,139 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'desUniqueSDCOInto.ui' +# +# Created: lun oct 1 15:39:53 2007 +# by: The PyQt User Interface Compiler (pyuic) 3.13 +# +# WARNING! All changes made in this file will be lost! + + +from qt import * + + +class DUnSDCOInto(QWidget): + def __init__(self,parent = None,name = None,fl = 0): + QWidget.__init__(self,parent,name,fl) + + if not name: + self.setName("DUnSDCOInto") + + 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(60,30,340,30)) + + self.LBSDCO = QListBox(self.Widget8,"LBSDCO") + self.LBSDCO.setGeometry(QRect(30,70,400,120)) + + self.textLabel2_3 = QLabel(self.Widget8,"textLabel2_3") + self.textLabel2_3.setGeometry(QRect(120,340,190,20)) + + self.rbNon = QRadioButton(self.Widget8,"rbNon") + self.rbNon.setEnabled(1) + self.rbNon.setGeometry(QRect(220,230,50,20)) + self.rbNon.setChecked(1) + + self.rbOui = QRadioButton(self.Widget8,"rbOui") + self.rbOui.setEnabled(1) + self.rbOui.setGeometry(QRect(220,210,50,20)) + + self.textLabel1 = QLabel(self.Widget8,"textLabel1") + self.textLabel1.setGeometry(QRect(20,210,130,41)) + + self.frame3 = QFrame(self.Widget8,"frame3") + self.frame3.setGeometry(QRect(10,260,190,40)) + self.frame3.setFrameShape(QFrame.StyledPanel) + self.frame3.setFrameShadow(QFrame.Raised) + + self.textLabel2_2 = QLabel(self.frame3,"textLabel2_2") + self.textLabel2_2.setGeometry(QRect(10,10,170,20)) + + self.LESDCO = QLineEdit(self.Widget8,"LESDCO") + self.LESDCO.setEnabled(0) + self.LESDCO.setGeometry(QRect(210,260,220,40)) + + self.Commentaire = QLabel(self.Widget8,"Commentaire") + self.Commentaire.setGeometry(QRect(8,307,421,30)) + 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.BOkPressed) + self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) + self.connect(self.rbNon,SIGNAL("clicked()"),self.BNonPressed) + self.connect(self.rbOui,SIGNAL("clicked()"),self.BOuiPressed) + self.connect(self.LESDCO,SIGNAL("returnPressed()"),self.LESDCOReturnPressed) + self.connect(self.LBSDCO,SIGNAL("clicked(QListBoxItem*)"),self.LBSDCOReturnPressed) + + + 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.__trUtf8("\x3c\x66\x6f\x6e\x74\x20\x73\x69\x7a\x65\x3d\x22\x2b\x31\x22\x3e\x3c\x75\x3e\x53\x74\x72\x75\x63\x74\x75\x72\x65\x73\x20\x64\x65\x20\x64\x6f\x6e\x6e\xc3\xa9\x65\x73\x20\x64\x75\x20\x74\x79\x70\x65\x20\x72\x65\x71\x75\x69\x73\x20\x70\x61\x72\x20\x6c\x27\x6f\x62\x6a\x65\x74\x20\x63\x6f\x75\x72\x61\x6e\x74\x20\x3c\x2f\x75\x3e\x3c\x2f\x66\x6f\x6e\x74\x3e")) + self.textLabel2_3.setText(self.__tr("Un objet de type CO est attendu")) + self.rbNon.setText(self.__tr("Non")) + self.rbOui.setText(self.__tr("Oui")) + self.textLabel1.setText(self.__tr("Nouveau Concept : ")) + self.textLabel2_2.setText(self.__tr("Nom du nouveau concept : ")) + self.Commentaire.setText(QString.null) + self.tabuniqueinto.changeTab(self.Widget8,self.__tr("Saisir Valeur")) + + + def BSupPressed(self): + print "DUnSDCOInto.BSupPressed(): Not implemented yet" + + def ViewDoc(self): + print "DUnSDCOInto.ViewDoc(): Not implemented yet" + + def BOkPressed(self): + print "DUnSDCOInto.BOkPressed(): Not implemented yet" + + def LESDCOReturnPressed(self): + print "DUnSDCOInto.LESDCOReturnPressed(): Not implemented yet" + + def BOuiPressed(self): + print "DUnSDCOInto.BOuiPressed(): Not implemented yet" + + def BNonPressed(self): + print "DUnSDCOInto.BNonPressed(): Not implemented yet" + + def LBSDCOReturnPressed(self): + print "DUnSDCOInto.LBSDCOReturnPressed(): Not implemented yet" + + def __tr(self,s,c = None): + return qApp.translate("DUnSDCOInto",s,c) + + def __trUtf8(self,s,c = None): + return qApp.translate("DUnSDCOInto",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desUniqueSDCOInto.ui b/Ui/desUniqueSDCOInto.ui new file mode 100644 index 00000000..c507cd0f --- /dev/null +++ b/Ui/desUniqueSDCOInto.ui @@ -0,0 +1,347 @@ + +DUnSDCOInto + + + DUnSDCOInto + + + + 0 + 0 + 482 + 480 + + + + + 350 + 0 + + + + DUnIn + + + + tabuniqueinto + + + + 10 + 20 + 460 + 440 + + + + + Widget8 + + + Saisir Valeur + + + + bSup + + + + 310 + 370 + 142 + 30 + + + + &Supprimer + + + Alt+S + + + true + + + suppression du mot clef + + + + + bOk + + + + 160 + 370 + 142 + 30 + + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + validation de la saisie + + + + + bHelp + + + + 10 + 370 + 142 + 30 + + + + &Documentation + + + Alt+D + + + true + + + affichage documentation aster + + + + + textLabel2 + + + + 60 + 30 + 340 + 30 + + + + <font size="+1"><u>Structures de données du type requis par l'objet courant </u></font> + + + + + LBSDCO + + + + 30 + 70 + 400 + 120 + + + + + + textLabel2_3 + + + + 120 + 340 + 190 + 20 + + + + <font size="+1">Un objet de type CO est attendu</font> + + + + + rbNon + + + true + + + + 220 + 230 + 50 + 20 + + + + Non + + + true + + + + + rbOui + + + true + + + + 220 + 210 + 50 + 20 + + + + Oui + + + + + textLabel1 + + + + 20 + 210 + 130 + 41 + + + + <font size="+1">Nouveau Concept : </font> + + + + + frame3 + + + + 10 + 260 + 190 + 40 + + + + StyledPanel + + + Raised + + + + textLabel2_2 + + + + 10 + 10 + 170 + 20 + + + + <font size="+2">Nom du nouveau concept : </font> + + + + + + LESDCO + + + false + + + + 210 + 260 + 220 + 40 + + + + + + Commentaire + + + + 8 + 307 + 421 + 30 + + + + + + + + + + + + bHelp + clicked() + DUnSDCOInto + ViewDoc() + + + bOk + clicked() + DUnSDCOInto + BOkPressed() + + + bSup + clicked() + DUnSDCOInto + BSupPressed() + + + rbNon + clicked() + DUnSDCOInto + BNonPressed() + + + rbOui + clicked() + DUnSDCOInto + BOuiPressed() + + + LESDCO + returnPressed() + DUnSDCOInto + LESDCOReturnPressed() + + + LBSDCO + clicked(QListBoxItem*) + DUnSDCOInto + LBSDCOReturnPressed() + + + + BSupPressed() + ViewDoc() + BOkPressed() + LESDCOReturnPressed() + BOuiPressed() + BNonPressed() + LBSDCOReturnPressed() + + +