/usr/share/pyshared/UiQT4/desUniqueComp.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 | # -*- 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/desUniqueComp.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_DUnComp(object):
def setupUi(self, DUnComp):
DUnComp.setObjectName(_fromUtf8("DUnComp"))
DUnComp.resize(484, 529)
self.gridlayout = QtGui.QGridLayout(DUnComp)
self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
self.tabuniqueinto = QtGui.QTabWidget(DUnComp)
self.tabuniqueinto.setObjectName(_fromUtf8("tabuniqueinto"))
self.Widget8 = QtGui.QWidget()
self.Widget8.setObjectName(_fromUtf8("Widget8"))
self.gridLayout_2 = QtGui.QGridLayout(self.Widget8)
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
self.verticalLayout_2 = QtGui.QVBoxLayout()
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.textLabel1 = QtGui.QLabel(self.Widget8)
self.textLabel1.setWordWrap(False)
self.textLabel1.setObjectName(_fromUtf8("textLabel1"))
self.verticalLayout_2.addWidget(self.textLabel1)
self.LEcomp = QtGui.QLineEdit(self.Widget8)
self.LEcomp.setMinimumSize(QtCore.QSize(390, 40))
self.LEcomp.setObjectName(_fromUtf8("LEcomp"))
self.verticalLayout_2.addWidget(self.LEcomp)
self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
self.verticalLayout_3 = QtGui.QVBoxLayout()
self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.verticalLayout_3.addItem(spacerItem)
self.groupBox = QtGui.QGroupBox(self.Widget8)
self.groupBox.setObjectName(_fromUtf8("groupBox"))
self.gridLayout = QtGui.QGridLayout(self.groupBox)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.RBRI = QtGui.QRadioButton(self.groupBox)
self.RBRI.setObjectName(_fromUtf8("RBRI"))
self.gridLayout.addWidget(self.RBRI, 0, 0, 1, 1)
self.RBMP = QtGui.QRadioButton(self.groupBox)
self.RBMP.setObjectName(_fromUtf8("RBMP"))
self.gridLayout.addWidget(self.RBMP, 1, 0, 1, 1)
self.verticalLayout_3.addWidget(self.groupBox)
self.gridLayout_2.addLayout(self.verticalLayout_3, 1, 0, 1, 1)
self.horizontalLayout_2 = QtGui.QHBoxLayout()
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
self.LEReel = QtGui.QLineEdit(self.Widget8)
self.LEReel.setMinimumSize(QtCore.QSize(190, 40))
self.LEReel.setObjectName(_fromUtf8("LEReel"))
self.horizontalLayout_2.addWidget(self.LEReel)
self.LEImag = QtGui.QLineEdit(self.Widget8)
self.LEImag.setMinimumSize(QtCore.QSize(190, 40))
self.LEImag.setObjectName(_fromUtf8("LEImag"))
self.horizontalLayout_2.addWidget(self.LEImag)
self.gridLayout_2.addLayout(self.horizontalLayout_2, 2, 0, 1, 1)
self.verticalLayout = QtGui.QVBoxLayout()
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.Commentaire = QtGui.QLabel(self.Widget8)
self.Commentaire.setWordWrap(False)
self.Commentaire.setObjectName(_fromUtf8("Commentaire"))
self.verticalLayout.addWidget(self.Commentaire)
spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem1)
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem2)
self.bOk = QtGui.QPushButton(self.Widget8)
self.bOk.setMinimumSize(QtCore.QSize(160, 30))
self.bOk.setMaximumSize(QtCore.QSize(160, 30))
self.bOk.setAutoDefault(True)
self.bOk.setDefault(True)
self.bOk.setObjectName(_fromUtf8("bOk"))
self.horizontalLayout.addWidget(self.bOk)
spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem3)
self.verticalLayout.addLayout(self.horizontalLayout)
self.gridLayout_2.addLayout(self.verticalLayout, 3, 0, 1, 1)
self.tabuniqueinto.addTab(self.Widget8, _fromUtf8(""))
self.gridlayout.addWidget(self.tabuniqueinto, 0, 0, 1, 1)
self.retranslateUi(DUnComp)
QtCore.QMetaObject.connectSlotsByName(DUnComp)
def retranslateUi(self, DUnComp):
DUnComp.setWindowTitle(QtGui.QApplication.translate("DUnComp", "DUnComp", None, QtGui.QApplication.UnicodeUTF8))
self.textLabel1.setText(QtGui.QApplication.translate("DUnComp", "<font size=\"+2\">Complexe de la forme : a+bj</font>", None, QtGui.QApplication.UnicodeUTF8))
self.groupBox.setTitle(QtGui.QApplication.translate("DUnComp", "Ou", None, QtGui.QApplication.UnicodeUTF8))
self.RBRI.setText(QtGui.QApplication.translate("DUnComp", "RI : RĂ©el Imaginaire", None, QtGui.QApplication.UnicodeUTF8))
self.RBMP.setText(QtGui.QApplication.translate("DUnComp", "MP : Module Phase", None, QtGui.QApplication.UnicodeUTF8))
self.Commentaire.setText(QtGui.QApplication.translate("DUnComp", "<font size=\"+2\">Un complexe est attendu</font>", None, QtGui.QApplication.UnicodeUTF8))
self.bOk.setToolTip(QtGui.QApplication.translate("DUnComp", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8))
self.bOk.setText(QtGui.QApplication.translate("DUnComp", "&Valider", None, QtGui.QApplication.UnicodeUTF8))
self.bOk.setShortcut(QtGui.QApplication.translate("DUnComp", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8))
self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DUnComp", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8))
if __name__ == "__main__":
import sys
app = QtGui.QApplication(sys.argv)
DUnComp = QtGui.QWidget()
ui = Ui_DUnComp()
ui.setupUi(DUnComp)
DUnComp.show()
sys.exit(app.exec_())
|