/usr/share/pyshared/UiQT4/OptionsCuve.py is in eficas 2.0.3-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 125 126 127 128 129 130 131 132 133 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '/tmp/oo/EficasV1/UiQT4/OptionsCuve.ui'
#
# Created: Mon Jun 21 09:54:18 2010
# by: PyQt4 UI code generator 4.4.2
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
class Ui_desOptions(object):
def setupUi(self, desOptions):
desOptions.setObjectName("desOptions")
desOptions.resize(657,645)
self.gridLayout = QtGui.QGridLayout(desOptions)
self.gridLayout.setObjectName("gridLayout")
self.groupBox1 = QtGui.QGroupBox(desOptions)
self.groupBox1.setMinimumSize(QtCore.QSize(635,252))
self.groupBox1.setMaximumSize(QtCore.QSize(16777215,252))
self.groupBox1.setObjectName("groupBox1")
self.CBVersions = QtGui.QComboBox(self.groupBox1)
self.CBVersions.setGeometry(QtCore.QRect(10,30,121,40))
self.CBVersions.setMinimumSize(QtCore.QSize(0,40))
self.CBVersions.setMaximumSize(QtCore.QSize(121,40))
self.CBVersions.setObjectName("CBVersions")
self.Bok = QtGui.QPushButton(self.groupBox1)
self.Bok.setGeometry(QtCore.QRect(500,30,121,40))
self.Bok.setMinimumSize(QtCore.QSize(90,40))
self.Bok.setMaximumSize(QtCore.QSize(121,40))
self.Bok.setAutoDefault(False)
self.Bok.setObjectName("Bok")
self.PBajout = QtGui.QPushButton(self.groupBox1)
self.PBajout.setGeometry(QtCore.QRect(10,200,106,43))
self.PBajout.setMinimumSize(QtCore.QSize(101,41))
self.PBajout.setObjectName("PBajout")
self.LEVersionAjout = QtGui.QLineEdit(self.groupBox1)
self.LEVersionAjout.setGeometry(QtCore.QRect(122,200,154,43))
self.LEVersionAjout.setMinimumSize(QtCore.QSize(101,41))
self.LEVersionAjout.setObjectName("LEVersionAjout")
self.PBSup = QtGui.QPushButton(self.groupBox1)
self.PBSup.setGeometry(QtCore.QRect(360,200,106,43))
self.PBSup.setMinimumSize(QtCore.QSize(101,41))
self.PBSup.setObjectName("PBSup")
self.LEVersionSup = QtGui.QLineEdit(self.groupBox1)
self.LEVersionSup.setGeometry(QtCore.QRect(470,200,155,43))
self.LEVersionSup.setMinimumSize(QtCore.QSize(0,41))
self.LEVersionSup.setObjectName("LEVersionSup")
self.layoutWidget = QtGui.QWidget(self.groupBox1)
self.layoutWidget.setGeometry(QtCore.QRect(7,100,621,65))
self.layoutWidget.setObjectName("layoutWidget")
self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
self.verticalLayout.setObjectName("verticalLayout")
self.textLabel1_3 = QtGui.QLabel(self.layoutWidget)
self.textLabel1_3.setWordWrap(False)
self.textLabel1_3.setObjectName("textLabel1_3")
self.verticalLayout.addWidget(self.textLabel1_3)
self.LERepCata = QtGui.QLineEdit(self.layoutWidget)
self.LERepCata.setMinimumSize(QtCore.QSize(501,41))
self.LERepCata.setObjectName("LERepCata")
self.verticalLayout.addWidget(self.LERepCata)
self.gridLayout.addWidget(self.groupBox1,0,0,1,1)
self.groupBox3 = QtGui.QGroupBox(desOptions)
self.groupBox3.setMinimumSize(QtCore.QSize(548,90))
self.groupBox3.setObjectName("groupBox3")
self.textLabel1 = QtGui.QLabel(self.groupBox3)
self.textLabel1.setGeometry(QtCore.QRect(11,28,617,41))
self.textLabel1.setMinimumSize(QtCore.QSize(613,41))
self.textLabel1.setMaximumSize(QtCore.QSize(16777215,41))
self.textLabel1.setWordWrap(False)
self.textLabel1.setObjectName("textLabel1")
self.LERepDoc = QtGui.QLineEdit(self.groupBox3)
self.LERepDoc.setGeometry(QtCore.QRect(11,74,617,41))
self.LERepDoc.setMinimumSize(QtCore.QSize(520,41))
self.LERepDoc.setObjectName("LERepDoc")
self.gridLayout.addWidget(self.groupBox3,1,0,1,1)
self.groupBox3_2 = QtGui.QGroupBox(desOptions)
self.groupBox3_2.setMinimumSize(QtCore.QSize(548,90))
self.groupBox3_2.setObjectName("groupBox3_2")
self.textLabel1_4 = QtGui.QLabel(self.groupBox3_2)
self.textLabel1_4.setGeometry(QtCore.QRect(11,28,617,41))
self.textLabel1_4.setMinimumSize(QtCore.QSize(613,41))
self.textLabel1_4.setMaximumSize(QtCore.QSize(16777215,41))
self.textLabel1_4.setWordWrap(False)
self.textLabel1_4.setObjectName("textLabel1_4")
self.LESaveDir = QtGui.QLineEdit(self.groupBox3_2)
self.LESaveDir.setGeometry(QtCore.QRect(11,74,617,41))
self.LESaveDir.setMinimumSize(QtCore.QSize(520,41))
self.LESaveDir.setObjectName("LESaveDir")
self.gridLayout.addWidget(self.groupBox3_2,2,0,1,1)
self.splitter_3 = QtGui.QSplitter(desOptions)
self.splitter_3.setOrientation(QtCore.Qt.Horizontal)
self.splitter_3.setObjectName("splitter_3")
self.Bdefaut = QtGui.QCheckBox(self.splitter_3)
self.Bdefaut.setMinimumSize(QtCore.QSize(340,41))
self.Bdefaut.setMaximumSize(QtCore.QSize(16777215,41))
font = QtGui.QFont()
font.setPointSize(12)
self.Bdefaut.setFont(font)
self.Bdefaut.setObjectName("Bdefaut")
self.PBQuit = QtGui.QPushButton(self.splitter_3)
self.PBQuit.setMinimumSize(QtCore.QSize(151,31))
self.PBQuit.setObjectName("PBQuit")
self.gridLayout.addWidget(self.splitter_3,3,0,1,1)
self.retranslateUi(desOptions)
QtCore.QMetaObject.connectSlotsByName(desOptions)
def retranslateUi(self, desOptions):
desOptions.setWindowTitle(QtGui.QApplication.translate("desOptions", "Option TURNS", None, QtGui.QApplication.UnicodeUTF8))
self.groupBox1.setTitle(QtGui.QApplication.translate("desOptions", "Configurer une Version", None, QtGui.QApplication.UnicodeUTF8))
self.Bok.setText(QtGui.QApplication.translate("desOptions", "Valider", None, QtGui.QApplication.UnicodeUTF8))
self.PBajout.setText(QtGui.QApplication.translate("desOptions", "Ajouter\n"
"Version :", None, QtGui.QApplication.UnicodeUTF8))
self.PBSup.setText(QtGui.QApplication.translate("desOptions", "Supprimer\n"
"Version :", None, QtGui.QApplication.UnicodeUTF8))
self.textLabel1_3.setText(QtGui.QApplication.translate("desOptions", "Fichier catalogue (chemin complet) :", None, QtGui.QApplication.UnicodeUTF8))
self.groupBox3.setTitle(QtGui.QApplication.translate("desOptions", "Doc", None, QtGui.QApplication.UnicodeUTF8))
self.textLabel1.setText(QtGui.QApplication.translate("desOptions", "Répertoire d\'accès à la documentation :", None, QtGui.QApplication.UnicodeUTF8))
self.groupBox3_2.setTitle(QtGui.QApplication.translate("desOptions", "Espace de travail", None, QtGui.QApplication.UnicodeUTF8))
self.textLabel1_4.setText(QtGui.QApplication.translate("desOptions", "Répertoire de sauvegarde par défaut :", None, QtGui.QApplication.UnicodeUTF8))
self.Bdefaut.setText(QtGui.QApplication.translate("desOptions", "Réinitialiser 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_())
|