/usr/share/pyshared/UiQT4/OptionsEditeur.py is in eficas 6.4.0-1-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '/local01/salome/V6_4_0rc2/tools/src/Eficasv1-V6_4_0rc2-py266-qt463p1-sip4112-pyqt481-cm285/UiQT4/OptionsEditeur.ui'
#
# Created: Mon Dec 5 18:57:13 2011
# by: PyQt4 UI code generator 4.8.1
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
class Ui_desOptions(object):
def setupUi(self, desOptions):
desOptions.setObjectName(_fromUtf8("desOptions"))
desOptions.resize(570, 474)
self.gridLayout = QtGui.QGridLayout(desOptions)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.groupBox1 = QtGui.QGroupBox(desOptions)
self.groupBox1.setMinimumSize(QtCore.QSize(548, 191))
self.groupBox1.setObjectName(_fromUtf8("groupBox1"))
self.textLabel1_3 = QtGui.QLabel(self.groupBox1)
self.textLabel1_3.setGeometry(QtCore.QRect(30, 60, 280, 20))
self.textLabel1_3.setWordWrap(False)
self.textLabel1_3.setObjectName(_fromUtf8("textLabel1_3"))
self.textLabel1_2_2 = QtGui.QLabel(self.groupBox1)
self.textLabel1_2_2.setGeometry(QtCore.QRect(30, 120, 280, 20))
self.textLabel1_2_2.setWordWrap(False)
self.textLabel1_2_2.setObjectName(_fromUtf8("textLabel1_2_2"))
self.CBVersions = QtGui.QComboBox(self.groupBox1)
self.CBVersions.setGeometry(QtCore.QRect(30, 20, 90, 30))
self.CBVersions.setObjectName(_fromUtf8("CBVersions"))
self.LERepMat = QtGui.QLineEdit(self.groupBox1)
self.LERepMat.setGeometry(QtCore.QRect(30, 140, 501, 31))
self.LERepMat.setMinimumSize(QtCore.QSize(501, 31))
self.LERepMat.setText(_fromUtf8(""))
self.LERepMat.setObjectName(_fromUtf8("LERepMat"))
self.LERepCata = QtGui.QLineEdit(self.groupBox1)
self.LERepCata.setGeometry(QtCore.QRect(30, 80, 501, 31))
self.LERepCata.setMinimumSize(QtCore.QSize(501, 31))
self.LERepCata.setText(_fromUtf8(""))
self.LERepCata.setObjectName(_fromUtf8("LERepCata"))
self.Bok = QtGui.QPushButton(self.groupBox1)
self.Bok.setGeometry(QtCore.QRect(440, 20, 90, 31))
self.Bok.setMinimumSize(QtCore.QSize(90, 31))
self.Bok.setAutoDefault(False)
self.Bok.setObjectName(_fromUtf8("Bok"))
self.gridLayout.addWidget(self.groupBox1, 0, 0, 1, 2)
self.groupBox2 = QtGui.QGroupBox(desOptions)
self.groupBox2.setMinimumSize(QtCore.QSize(548, 90))
self.groupBox2.setObjectName(_fromUtf8("groupBox2"))
self.LEVersionAjout = QtGui.QLineEdit(self.groupBox2)
self.LEVersionAjout.setGeometry(QtCore.QRect(120, 31, 101, 30))
self.LEVersionAjout.setMinimumSize(QtCore.QSize(101, 30))
self.LEVersionAjout.setObjectName(_fromUtf8("LEVersionAjout"))
self.LEVersionSup = QtGui.QLineEdit(self.groupBox2)
self.LEVersionSup.setGeometry(QtCore.QRect(410, 30, 101, 30))
self.LEVersionSup.setObjectName(_fromUtf8("LEVersionSup"))
self.PBSup = QtGui.QPushButton(self.groupBox2)
self.PBSup.setGeometry(QtCore.QRect(300, 20, 101, 41))
self.PBSup.setMinimumSize(QtCore.QSize(101, 41))
self.PBSup.setObjectName(_fromUtf8("PBSup"))
self.PBajout = QtGui.QPushButton(self.groupBox2)
self.PBajout.setGeometry(QtCore.QRect(10, 20, 101, 41))
self.PBajout.setMinimumSize(QtCore.QSize(101, 41))
self.PBajout.setObjectName(_fromUtf8("PBajout"))
self.gridLayout.addWidget(self.groupBox2, 1, 0, 1, 2)
self.groupBox3 = QtGui.QGroupBox(desOptions)
self.groupBox3.setMinimumSize(QtCore.QSize(548, 90))
self.groupBox3.setObjectName(_fromUtf8("groupBox3"))
self.LERepDoc = QtGui.QLineEdit(self.groupBox3)
self.LERepDoc.setGeometry(QtCore.QRect(20, 50, 520, 31))
self.LERepDoc.setMinimumSize(QtCore.QSize(520, 31))
self.LERepDoc.setText(_fromUtf8(""))
self.LERepDoc.setObjectName(_fromUtf8("LERepDoc"))
self.textLabel1 = QtGui.QLabel(self.groupBox3)
self.textLabel1.setGeometry(QtCore.QRect(20, 20, 280, 30))
self.textLabel1.setWordWrap(False)
self.textLabel1.setObjectName(_fromUtf8("textLabel1"))
self.gridLayout.addWidget(self.groupBox3, 2, 0, 1, 2)
self.Bdefaut = QtGui.QCheckBox(desOptions)
self.Bdefaut.setMinimumSize(QtCore.QSize(340, 20))
font = QtGui.QFont()
font.setPointSize(12)
self.Bdefaut.setFont(font)
self.Bdefaut.setObjectName(_fromUtf8("Bdefaut"))
self.gridLayout.addWidget(self.Bdefaut, 3, 0, 1, 1)
self.PBQuit = QtGui.QPushButton(desOptions)
self.PBQuit.setMinimumSize(QtCore.QSize(151, 31))
self.PBQuit.setObjectName(_fromUtf8("PBQuit"))
self.gridLayout.addWidget(self.PBQuit, 3, 1, 1, 1)
self.retranslateUi(desOptions)
QtCore.QMetaObject.connectSlotsByName(desOptions)
def retranslateUi(self, desOptions):
desOptions.setWindowTitle(QtGui.QApplication.translate("desOptions", "Options Aster", None, QtGui.QApplication.UnicodeUTF8))
self.groupBox1.setTitle(QtGui.QApplication.translate("desOptions", "Configurer une Version", None, QtGui.QApplication.UnicodeUTF8))
self.textLabel1_3.setText(QtGui.QApplication.translate("desOptions", "Répertoire d\'accès au catalogue :", None, QtGui.QApplication.UnicodeUTF8))
self.textLabel1_2_2.setText(QtGui.QApplication.translate("desOptions", "Répertoire d\'accès aux matériaux :", None, QtGui.QApplication.UnicodeUTF8))
self.Bok.setText(QtGui.QApplication.translate("desOptions", "Valider", None, QtGui.QApplication.UnicodeUTF8))
self.groupBox2.setTitle(QtGui.QApplication.translate("desOptions", "Gérer les versions", None, QtGui.QApplication.UnicodeUTF8))
self.PBSup.setText(QtGui.QApplication.translate("desOptions", "Supprimer\n"
"Version :", None, QtGui.QApplication.UnicodeUTF8))
self.PBajout.setText(QtGui.QApplication.translate("desOptions", "Ajouter\n"
"Version :", None, QtGui.QApplication.UnicodeUTF8))
self.groupBox3.setTitle(QtGui.QApplication.translate("desOptions", "Doc", None, QtGui.QApplication.UnicodeUTF8))
self.textLabel1.setText(QtGui.QApplication.translate("desOptions", "Repertoire d\'acces à la documentation :", None, QtGui.QApplication.UnicodeUTF8))
self.Bdefaut.setText(QtGui.QApplication.translate("desOptions", "Reinitialiser avec les valeurs par defaut", None, QtGui.QApplication.UnicodeUTF8))
self.PBQuit.setText(QtGui.QApplication.translate("desOptions", "Quitter", None, QtGui.QApplication.UnicodeUTF8))
if __name__ == "__main__":
import sys
app = QtGui.QApplication(sys.argv)
desOptions = QtGui.QDialog()
ui = Ui_desOptions()
ui.setupUi(desOptions)
desOptions.show()
sys.exit(app.exec_())
|