/usr/share/pyshared/UiQT4/desPlusieursBase.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 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | # -*- 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/desPlusieursBase.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_DPlusBase(object):
def setupUi(self, DPlusBase):
DPlusBase.setObjectName(_fromUtf8("DPlusBase"))
DPlusBase.resize(643, 728)
DPlusBase.setMinimumSize(QtCore.QSize(350, 0))
self.gridLayout_4 = QtGui.QGridLayout(DPlusBase)
self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
self.tabuniqueinto = QtGui.QTabWidget(DPlusBase)
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.LBValeurs = QtGui.QListWidget(self.Widget8)
self.LBValeurs.setMinimumSize(QtCore.QSize(0, 0))
self.LBValeurs.setObjectName(_fromUtf8("LBValeurs"))
self.verticalLayout_2.addWidget(self.LBValeurs)
self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 0, 7, 1)
self.gridLayout = QtGui.QGridLayout()
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.textLabel1_2 = QtGui.QLabel(self.Widget8)
self.textLabel1_2.setMinimumSize(QtCore.QSize(61, 21))
self.textLabel1_2.setMaximumSize(QtCore.QSize(61, 21))
self.textLabel1_2.setWordWrap(False)
self.textLabel1_2.setObjectName(_fromUtf8("textLabel1_2"))
self.horizontalLayout.addWidget(self.textLabel1_2)
spacerItem = QtGui.QSpacerItem(168, 18, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 3)
self.BAjout1Val = QtGui.QToolButton(self.Widget8)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.BAjout1Val.sizePolicy().hasHeightForWidth())
self.BAjout1Val.setSizePolicy(sizePolicy)
self.BAjout1Val.setMinimumSize(QtCore.QSize(40, 30))
self.BAjout1Val.setText(_fromUtf8(""))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8("../Editeur/icons/arrow_left.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.BAjout1Val.setIcon(icon)
self.BAjout1Val.setObjectName(_fromUtf8("BAjout1Val"))
self.gridLayout.addWidget(self.BAjout1Val, 1, 0, 1, 1)
self.LEValeur = QtGui.QLineEdit(self.Widget8)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.LEValeur.sizePolicy().hasHeightForWidth())
self.LEValeur.setSizePolicy(sizePolicy)
self.LEValeur.setMinimumSize(QtCore.QSize(220, 30))
self.LEValeur.setObjectName(_fromUtf8("LEValeur"))
self.gridLayout.addWidget(self.LEValeur, 1, 1, 1, 2)
self.BSup1Val = QtGui.QToolButton(self.Widget8)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.BSup1Val.sizePolicy().hasHeightForWidth())
self.BSup1Val.setSizePolicy(sizePolicy)
self.BSup1Val.setMinimumSize(QtCore.QSize(40, 30))
self.BSup1Val.setText(_fromUtf8(""))
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(_fromUtf8("../Editeur/icons/arrow_right.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.BSup1Val.setIcon(icon1)
self.BSup1Val.setObjectName(_fromUtf8("BSup1Val"))
self.gridLayout.addWidget(self.BSup1Val, 2, 0, 1, 1)
self.BSalome = QtGui.QToolButton(self.Widget8)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.BSalome.sizePolicy().hasHeightForWidth())
self.BSalome.setSizePolicy(sizePolicy)
self.BSalome.setMinimumSize(QtCore.QSize(40, 30))
self.BSalome.setText(_fromUtf8(""))
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(_fromUtf8("image240.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.BSalome.setIcon(icon2)
self.BSalome.setObjectName(_fromUtf8("BSalome"))
self.gridLayout.addWidget(self.BSalome, 2, 1, 1, 1)
self.BView2D = QtGui.QPushButton(self.Widget8)
self.BView2D.setMinimumSize(QtCore.QSize(0, 30))
self.BView2D.setObjectName(_fromUtf8("BView2D"))
self.gridLayout.addWidget(self.BView2D, 2, 2, 1, 1)
self.gridLayout_2.addLayout(self.gridLayout, 0, 1, 1, 1)
spacerItem1 = QtGui.QSpacerItem(20, 158, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.gridLayout_2.addItem(spacerItem1, 1, 1, 1, 1)
self.horizontalLayout_2 = QtGui.QHBoxLayout()
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
spacerItem2 = QtGui.QSpacerItem(150, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem2)
self.verticalLayout = QtGui.QVBoxLayout()
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.bParam = QtGui.QPushButton(self.Widget8)
self.bParam.setMinimumSize(QtCore.QSize(100, 30))
self.bParam.setMaximumSize(QtCore.QSize(100, 30))
self.bParam.setAutoDefault(True)
self.bParam.setObjectName(_fromUtf8("bParam"))
self.verticalLayout.addWidget(self.bParam)
self.bImport = QtGui.QPushButton(self.Widget8)
self.bImport.setMinimumSize(QtCore.QSize(100, 30))
self.bImport.setMaximumSize(QtCore.QSize(100, 30))
self.bImport.setAutoDefault(True)
self.bImport.setObjectName(_fromUtf8("bImport"))
self.verticalLayout.addWidget(self.bImport)
self.horizontalLayout_2.addLayout(self.verticalLayout)
self.gridLayout_2.addLayout(self.horizontalLayout_2, 2, 1, 1, 1)
spacerItem3 = QtGui.QSpacerItem(289, 100, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.gridLayout_2.addItem(spacerItem3, 3, 1, 1, 1)
self.Commentaire = QtGui.QLabel(self.Widget8)
self.Commentaire.setMinimumSize(QtCore.QSize(298, 61))
self.Commentaire.setText(_fromUtf8(""))
self.Commentaire.setObjectName(_fromUtf8("Commentaire"))
self.gridLayout_2.addWidget(self.Commentaire, 4, 1, 1, 1)
spacerItem4 = QtGui.QSpacerItem(265, 48, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.gridLayout_2.addItem(spacerItem4, 5, 1, 1, 1)
self.horizontalLayout_3 = QtGui.QHBoxLayout()
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
spacerItem5 = QtGui.QSpacerItem(118, 27, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_3.addItem(spacerItem5)
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(False)
self.bOk.setObjectName(_fromUtf8("bOk"))
self.horizontalLayout_3.addWidget(self.bOk)
self.gridLayout_2.addLayout(self.horizontalLayout_3, 6, 1, 1, 1)
self.tabuniqueinto.addTab(self.Widget8, _fromUtf8(""))
self.gridLayout_4.addWidget(self.tabuniqueinto, 0, 0, 1, 1)
self.retranslateUi(DPlusBase)
QtCore.QMetaObject.connectSlotsByName(DPlusBase)
DPlusBase.setTabOrder(self.LEValeur, self.tabuniqueinto)
DPlusBase.setTabOrder(self.tabuniqueinto, self.bOk)
DPlusBase.setTabOrder(self.bOk, self.bImport)
DPlusBase.setTabOrder(self.bImport, self.LBValeurs)
DPlusBase.setTabOrder(self.LBValeurs, self.BView2D)
def retranslateUi(self, DPlusBase):
DPlusBase.setWindowTitle(QtGui.QApplication.translate("DPlusBase", "DUnIn", None, QtGui.QApplication.UnicodeUTF8))
self.textLabel1.setText(QtGui.QApplication.translate("DPlusBase", "<u><font size=\"+1\">Valeur(s) actuelle(s)</font></u>", None, QtGui.QApplication.UnicodeUTF8))
self.textLabel1_2.setText(QtGui.QApplication.translate("DPlusBase", "<font size=\"+1\">Valeur</font>", None, QtGui.QApplication.UnicodeUTF8))
self.BAjout1Val.setToolTip(QtGui.QApplication.translate("DPlusBase", "ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection)", None, QtGui.QApplication.UnicodeUTF8))
self.BSup1Val.setToolTip(QtGui.QApplication.translate("DPlusBase", "enleve l occurence selectionnee", None, QtGui.QApplication.UnicodeUTF8))
self.BSalome.setToolTip(QtGui.QApplication.translate("DPlusBase", "ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection)", None, QtGui.QApplication.UnicodeUTF8))
self.BView2D.setText(QtGui.QApplication.translate("DPlusBase", "Visualiser", None, QtGui.QApplication.UnicodeUTF8))
self.bParam.setToolTip(QtGui.QApplication.translate("DPlusBase", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8))
self.bParam.setText(QtGui.QApplication.translate("DPlusBase", "&Parametres", None, QtGui.QApplication.UnicodeUTF8))
self.bParam.setShortcut(QtGui.QApplication.translate("DPlusBase", "Alt+P", None, QtGui.QApplication.UnicodeUTF8))
self.bImport.setToolTip(QtGui.QApplication.translate("DPlusBase", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8))
self.bImport.setText(QtGui.QApplication.translate("DPlusBase", "&Importer", None, QtGui.QApplication.UnicodeUTF8))
self.bImport.setShortcut(QtGui.QApplication.translate("DPlusBase", "Alt+I", None, QtGui.QApplication.UnicodeUTF8))
self.bOk.setToolTip(QtGui.QApplication.translate("DPlusBase", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8))
self.bOk.setText(QtGui.QApplication.translate("DPlusBase", "&Valider", None, QtGui.QApplication.UnicodeUTF8))
self.bOk.setShortcut(QtGui.QApplication.translate("DPlusBase", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8))
self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DPlusBase", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8))
if __name__ == "__main__":
import sys
app = QtGui.QApplication(sys.argv)
DPlusBase = QtGui.QWidget()
ui = Ui_DPlusBase()
ui.setupUi(DPlusBase)
DPlusBase.show()
sys.exit(app.exec_())
|