]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
*** empty log message ***
authorPascale Noyret <pascale.noyret@edf.fr>
Wed, 26 Mar 2008 09:48:55 +0000 (09:48 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Wed, 26 Mar 2008 09:48:55 +0000 (09:48 +0000)
Ui/OptionsEditeur.py [new file with mode: 0644]
Ui/OptionsEditeur.ui [new file with mode: 0644]

diff --git a/Ui/OptionsEditeur.py b/Ui/OptionsEditeur.py
new file mode 100644 (file)
index 0000000..5644148
--- /dev/null
@@ -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 (file)
index 0000000..e593a38
--- /dev/null
@@ -0,0 +1,314 @@
+<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
+<class>Options</class>
+<widget class="QDialog">
+    <property name="name">
+        <cstring>Options</cstring>
+    </property>
+    <property name="geometry">
+        <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>600</width>
+            <height>480</height>
+        </rect>
+    </property>
+    <property name="caption">
+        <string>Form1</string>
+    </property>
+    <widget class="QGroupBox">
+        <property name="name">
+            <cstring>groupBox1</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>10</x>
+                <y>0</y>
+                <width>578</width>
+                <height>191</height>
+            </rect>
+        </property>
+        <property name="title">
+            <string>Configurer une Version</string>
+        </property>
+        <widget class="QComboBox">
+            <item>
+                <property name="text">
+                    <string>V9.1</string>
+                </property>
+            </item>
+            <item>
+                <property name="text">
+                    <string>V8.4</string>
+                </property>
+            </item>
+            <item>
+                <property name="text">
+                    <string>V7.8</string>
+                </property>
+            </item>
+            <property name="name">
+                <cstring>comboBox2</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>30</x>
+                    <y>20</y>
+                    <width>90</width>
+                    <height>30</height>
+                </rect>
+            </property>
+        </widget>
+        <widget class="QLabel">
+            <property name="name">
+                <cstring>textLabel1_3</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>30</x>
+                    <y>60</y>
+                    <width>280</width>
+                    <height>20</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>Répertoire d'accès au catalogue :</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit">
+            <property name="name">
+                <cstring>lineEdit1_3</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>30</x>
+                    <y>80</y>
+                    <width>501</width>
+                    <height>31</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>/home/noyret/Cata/V91</string>
+            </property>
+        </widget>
+        <widget class="QLabel">
+            <property name="name">
+                <cstring>textLabel1_2_2</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>30</x>
+                    <y>120</y>
+                    <width>280</width>
+                    <height>20</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>Répertoire d'accès aux matériaux :</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit">
+            <property name="name">
+                <cstring>lineEdit1_2_2</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>30</x>
+                    <y>140</y>
+                    <width>501</width>
+                    <height>31</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>/home/noyret/Mater/V91</string>
+            </property>
+        </widget>
+    </widget>
+    <widget class="QGroupBox">
+        <property name="name">
+            <cstring>groupBox2</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>10</x>
+                <y>200</y>
+                <width>578</width>
+                <height>50</height>
+            </rect>
+        </property>
+        <property name="title">
+            <string>Gérer les versions</string>
+        </property>
+        <widget class="QLabel">
+            <property name="name">
+                <cstring>textLabel3</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>19</x>
+                    <y>19</y>
+                    <width>141</width>
+                    <height>21</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>Ajouter une version</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit">
+            <property name="name">
+                <cstring>lineEdit7</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>170</x>
+                    <y>20</y>
+                    <width>101</width>
+                    <height>21</height>
+                </rect>
+            </property>
+        </widget>
+        <widget class="QLabel">
+            <property name="name">
+                <cstring>textLabel3_2</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>289</x>
+                    <y>19</y>
+                    <width>110</width>
+                    <height>21</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>Supprimer une version</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit">
+            <property name="name">
+                <cstring>lineEdit7_3</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>410</x>
+                    <y>20</y>
+                    <width>101</width>
+                    <height>21</height>
+                </rect>
+            </property>
+        </widget>
+    </widget>
+    <widget class="QGroupBox">
+        <property name="name">
+            <cstring>groupBox3</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>10</x>
+                <y>260</y>
+                <width>578</width>
+                <height>161</height>
+            </rect>
+        </property>
+        <property name="title">
+            <string>Généralités</string>
+        </property>
+        <widget class="QLabel">
+            <property name="name">
+                <cstring>textLabel1</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>20</x>
+                    <y>20</y>
+                    <width>280</width>
+                    <height>20</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>Repertoire d'acces à la documentation :</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit">
+            <property name="name">
+                <cstring>lineEdit1</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>20</x>
+                    <y>40</y>
+                    <width>501</width>
+                    <height>31</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>/home/noyret/doc/asterv9</string>
+            </property>
+        </widget>
+        <widget class="QLineEdit">
+            <property name="name">
+                <cstring>lineEdit1_2</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>20</x>
+                    <y>110</y>
+                    <width>501</width>
+                    <height>31</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>acroread</string>
+            </property>
+        </widget>
+        <widget class="QLabel">
+            <property name="name">
+                <cstring>textLabel1_2</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>20</x>
+                    <y>80</y>
+                    <width>280</width>
+                    <height>20</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>Lecteur Pdf</string>
+            </property>
+        </widget>
+    </widget>
+    <widget class="QPushButton">
+        <property name="name">
+            <cstring>BCancel</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>490</x>
+                <y>430</y>
+                <width>70</width>
+                <height>31</height>
+            </rect>
+        </property>
+        <property name="text">
+            <string>Cancel</string>
+        </property>
+    </widget>
+    <widget class="QPushButton">
+        <property name="name">
+            <cstring>Bok</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>400</x>
+                <y>430</y>
+                <width>70</width>
+                <height>31</height>
+            </rect>
+        </property>
+        <property name="text">
+            <string>Ok</string>
+        </property>
+    </widget>
+</widget>
+<layoutdefaults spacing="6" margin="11"/>
+</UI>