From: Pascale Noyret Date: Wed, 26 Mar 2008 09:48:55 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V1_14a2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=21a980215c3153849eb6b3d0b088531fe7146492;p=modules%2Feficas.git *** empty log message *** --- diff --git a/Ui/OptionsEditeur.py b/Ui/OptionsEditeur.py new file mode 100644 index 00000000..56441486 --- /dev/null +++ b/Ui/OptionsEditeur.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'OptionsEditeur.ui' +# +# Created: mer mar 26 09:38:16 2008 +# by: The PyQt User Interface Compiler (pyuic) 3.13 +# +# WARNING! All changes made in this file will be lost! + + +from qt import * + + +class Options(QDialog): + def __init__(self,parent = None,name = None,modal = 0,fl = 0): + QDialog.__init__(self,parent,name,modal,fl) + + if not name: + self.setName("Options") + + + OptionsLayout = QGridLayout(self,1,1,11,6,"OptionsLayout") + + self.groupBox1 = QGroupBox(self,"groupBox1") + + self.comboBox2 = QComboBox(0,self.groupBox1,"comboBox2") + self.comboBox2.setGeometry(QRect(30,20,90,30)) + + self.textLabel1_3 = QLabel(self.groupBox1,"textLabel1_3") + self.textLabel1_3.setGeometry(QRect(30,60,280,20)) + + self.lineEdit1_3 = QLineEdit(self.groupBox1,"lineEdit1_3") + self.lineEdit1_3.setGeometry(QRect(30,80,501,31)) + + self.textLabel1_2_2 = QLabel(self.groupBox1,"textLabel1_2_2") + self.textLabel1_2_2.setGeometry(QRect(30,120,280,20)) + + self.lineEdit1_2_2 = QLineEdit(self.groupBox1,"lineEdit1_2_2") + self.lineEdit1_2_2.setGeometry(QRect(30,140,501,31)) + + OptionsLayout.addWidget(self.groupBox1,0,0) + + self.groupBox3 = QGroupBox(self,"groupBox3") + + self.textLabel1 = QLabel(self.groupBox3,"textLabel1") + self.textLabel1.setGeometry(QRect(20,20,280,20)) + + self.lineEdit1 = QLineEdit(self.groupBox3,"lineEdit1") + self.lineEdit1.setGeometry(QRect(20,40,501,31)) + + self.lineEdit1_2 = QLineEdit(self.groupBox3,"lineEdit1_2") + self.lineEdit1_2.setGeometry(QRect(20,110,501,31)) + + self.textLabel1_2 = QLabel(self.groupBox3,"textLabel1_2") + self.textLabel1_2.setGeometry(QRect(20,80,280,20)) + + OptionsLayout.addWidget(self.groupBox3,2,0) + + self.groupBox2 = QGroupBox(self,"groupBox2") + + self.textLabel3 = QLabel(self.groupBox2,"textLabel3") + self.textLabel3.setGeometry(QRect(19,19,141,21)) + + self.lineEdit7 = QLineEdit(self.groupBox2,"lineEdit7") + self.lineEdit7.setGeometry(QRect(170,20,101,21)) + + self.textLabel3_2 = QLabel(self.groupBox2,"textLabel3_2") + self.textLabel3_2.setGeometry(QRect(289,19,110,21)) + + self.lineEdit7_3 = QLineEdit(self.groupBox2,"lineEdit7_3") + self.lineEdit7_3.setGeometry(QRect(410,20,101,21)) + + OptionsLayout.addWidget(self.groupBox2,1,0) + + self.languageChange() + + self.resize(QSize(600,480).expandedTo(self.minimumSizeHint())) + self.clearWState(Qt.WState_Polished) + + + def languageChange(self): + self.setCaption(self.__tr("Form1")) + self.groupBox1.setTitle(self.__tr("Configurer une Version")) + self.comboBox2.clear() + self.comboBox2.insertItem(self.__tr("V9.1")) + self.comboBox2.insertItem(self.__tr("V8.4")) + self.comboBox2.insertItem(self.__tr("V7.8")) + self.textLabel1_3.setText(self.__trUtf8("\x52\xc3\xa9\x70\x65\x72\x74\x6f\x69\x72\x65\x20\x64\x27\x61\x63\x63\xc3\xa8\x73\x20\x61\x75\x20\x63\x61\x74\x61\x6c\x6f\x67\x75\x65\x20\x3a")) + self.lineEdit1_3.setText(self.__tr("/home/noyret/Cata/V91")) + self.textLabel1_2_2.setText(self.__trUtf8("\x52\xc3\xa9\x70\x65\x72\x74\x6f\x69\x72\x65\x20\x64\x27\x61\x63\x63\xc3\xa8\x73\x20\x61\x75\x78\x20\x6d\x61\x74\xc3\xa9\x72\x69\x61\x75\x78\x20\x3a")) + self.lineEdit1_2_2.setText(self.__tr("/home/noyret/Mater/V91")) + self.groupBox3.setTitle(self.__trUtf8("\x47\xc3\xa9\x6e\xc3\xa9\x72\x61\x6c\x69\x74\xc3\xa9\x73")) + self.textLabel1.setText(self.__trUtf8("\x52\x65\x70\x65\x72\x74\x6f\x69\x72\x65\x20\x64\x27\x61\x63\x63\x65\x73\x20\xc3\xa0\x20\x6c\x61\x20\x64\x6f\x63\x75\x6d\x65\x6e\x74\x61\x74\x69\x6f\x6e\x20\x3a")) + self.lineEdit1.setText(self.__tr("/home/noyret/doc/asterv9")) + self.lineEdit1_2.setText(self.__tr("acroread")) + self.textLabel1_2.setText(self.__tr("Lecteur Pdf")) + self.groupBox2.setTitle(self.__trUtf8("\x47\xc3\xa9\x72\x65\x72\x20\x6c\x65\x73\x20\x76\x65\x72\x73\x69\x6f\x6e\x73")) + self.textLabel3.setText(self.__tr("Ajouter une version")) + self.textLabel3_2.setText(self.__tr("Supprimer une version")) + + + def __tr(self,s,c = None): + return qApp.translate("Options",s,c) + + def __trUtf8(self,s,c = None): + return qApp.translate("Options",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/OptionsEditeur.ui b/Ui/OptionsEditeur.ui new file mode 100644 index 00000000..e593a38c --- /dev/null +++ b/Ui/OptionsEditeur.ui @@ -0,0 +1,314 @@ + +Options + + + Options + + + + 0 + 0 + 600 + 480 + + + + Form1 + + + + groupBox1 + + + + 10 + 0 + 578 + 191 + + + + Configurer une Version + + + + + V9.1 + + + + + V8.4 + + + + + V7.8 + + + + comboBox2 + + + + 30 + 20 + 90 + 30 + + + + + + textLabel1_3 + + + + 30 + 60 + 280 + 20 + + + + Répertoire d'accès au catalogue : + + + + + lineEdit1_3 + + + + 30 + 80 + 501 + 31 + + + + /home/noyret/Cata/V91 + + + + + textLabel1_2_2 + + + + 30 + 120 + 280 + 20 + + + + Répertoire d'accès aux matériaux : + + + + + lineEdit1_2_2 + + + + 30 + 140 + 501 + 31 + + + + /home/noyret/Mater/V91 + + + + + + groupBox2 + + + + 10 + 200 + 578 + 50 + + + + Gérer les versions + + + + textLabel3 + + + + 19 + 19 + 141 + 21 + + + + Ajouter une version + + + + + lineEdit7 + + + + 170 + 20 + 101 + 21 + + + + + + textLabel3_2 + + + + 289 + 19 + 110 + 21 + + + + Supprimer une version + + + + + lineEdit7_3 + + + + 410 + 20 + 101 + 21 + + + + + + + groupBox3 + + + + 10 + 260 + 578 + 161 + + + + Généralités + + + + textLabel1 + + + + 20 + 20 + 280 + 20 + + + + Repertoire d'acces à la documentation : + + + + + lineEdit1 + + + + 20 + 40 + 501 + 31 + + + + /home/noyret/doc/asterv9 + + + + + lineEdit1_2 + + + + 20 + 110 + 501 + 31 + + + + acroread + + + + + textLabel1_2 + + + + 20 + 80 + 280 + 20 + + + + Lecteur Pdf + + + + + + BCancel + + + + 490 + 430 + 70 + 31 + + + + Cancel + + + + + Bok + + + + 400 + 430 + 70 + 31 + + + + Ok + + + + +