/usr/share/pyshared/UiQT4/desRacine.py is in eficas 6.4.0-1-2.
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 | # -*- 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/desRacine.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_DRac(object):
def setupUi(self, DRac):
DRac.setObjectName(_fromUtf8("DRac"))
DRac.resize(582, 540)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(DRac.sizePolicy().hasHeightForWidth())
DRac.setSizePolicy(sizePolicy)
DRac.setMinimumSize(QtCore.QSize(505, 0))
self.gridLayout_2 = QtGui.QGridLayout(DRac)
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
self.verticalLayout = QtGui.QVBoxLayout()
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.textLabel1_4 = QtGui.QLabel(DRac)
self.textLabel1_4.setMinimumSize(QtCore.QSize(0, 20))
self.textLabel1_4.setWordWrap(False)
self.textLabel1_4.setObjectName(_fromUtf8("textLabel1_4"))
self.horizontalLayout.addWidget(self.textLabel1_4)
self.textLabel1_4_2 = QtGui.QLabel(DRac)
self.textLabel1_4_2.setWordWrap(False)
self.textLabel1_4_2.setObjectName(_fromUtf8("textLabel1_4_2"))
self.horizontalLayout.addWidget(self.textLabel1_4_2)
self.verticalLayout.addLayout(self.horizontalLayout)
self.horizontalLayout_2 = QtGui.QHBoxLayout()
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
self.RBalpha = QtGui.QRadioButton(DRac)
self.RBalpha.setChecked(True)
self.RBalpha.setObjectName(_fromUtf8("RBalpha"))
self.horizontalLayout_2.addWidget(self.RBalpha)
self.RBGroupe = QtGui.QRadioButton(DRac)
self.RBGroupe.setObjectName(_fromUtf8("RBGroupe"))
self.horizontalLayout_2.addWidget(self.RBGroupe)
spacerItem = QtGui.QSpacerItem(228, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem)
self.verticalLayout.addLayout(self.horizontalLayout_2)
self.horizontalLayout_3 = QtGui.QHBoxLayout()
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
self.textLabel6 = QtGui.QLabel(DRac)
self.textLabel6.setMinimumSize(QtCore.QSize(40, 0))
self.textLabel6.setWordWrap(False)
self.textLabel6.setObjectName(_fromUtf8("textLabel6"))
self.horizontalLayout_3.addWidget(self.textLabel6)
self.LEFiltre = QtGui.QLineEdit(DRac)
self.LEFiltre.setMinimumSize(QtCore.QSize(0, 30))
self.LEFiltre.setObjectName(_fromUtf8("LEFiltre"))
self.horizontalLayout_3.addWidget(self.LEFiltre)
self.BNext = QtGui.QPushButton(DRac)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.BNext.sizePolicy().hasHeightForWidth())
self.BNext.setSizePolicy(sizePolicy)
self.BNext.setObjectName(_fromUtf8("BNext"))
self.horizontalLayout_3.addWidget(self.BNext)
spacerItem1 = QtGui.QSpacerItem(268, 27, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_3.addItem(spacerItem1)
self.verticalLayout.addLayout(self.horizontalLayout_3)
self.gridLayout_2.addLayout(self.verticalLayout, 0, 0, 1, 1)
self.gridLayout = QtGui.QGridLayout()
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.LBNouvCommande = QtGui.QListWidget(DRac)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.MinimumExpanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.LBNouvCommande.sizePolicy().hasHeightForWidth())
self.LBNouvCommande.setSizePolicy(sizePolicy)
self.LBNouvCommande.setObjectName(_fromUtf8("LBNouvCommande"))
self.gridLayout.addWidget(self.LBNouvCommande, 0, 0, 1, 1)
self.LBRegles = QtGui.QListWidget(DRac)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.MinimumExpanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.LBRegles.sizePolicy().hasHeightForWidth())
self.LBRegles.setSizePolicy(sizePolicy)
self.LBRegles.setMinimumSize(QtCore.QSize(0, 0))
self.LBRegles.setObjectName(_fromUtf8("LBRegles"))
self.gridLayout.addWidget(self.LBRegles, 0, 1, 1, 1)
self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 1, 1)
self.horizontalLayout_4 = QtGui.QHBoxLayout()
self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
spacerItem2 = QtGui.QSpacerItem(148, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_4.addItem(spacerItem2)
self.bOk = QtGui.QPushButton(DRac)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.bOk.sizePolicy().hasHeightForWidth())
self.bOk.setSizePolicy(sizePolicy)
self.bOk.setMinimumSize(QtCore.QSize(160, 30))
self.bOk.setAutoDefault(True)
self.bOk.setDefault(True)
self.bOk.setObjectName(_fromUtf8("bOk"))
self.horizontalLayout_4.addWidget(self.bOk)
spacerItem3 = QtGui.QSpacerItem(148, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_4.addItem(spacerItem3)
self.gridLayout_2.addLayout(self.horizontalLayout_4, 2, 0, 1, 1)
self.retranslateUi(DRac)
QtCore.QMetaObject.connectSlotsByName(DRac)
DRac.setTabOrder(self.LEFiltre, self.LBNouvCommande)
DRac.setTabOrder(self.LBNouvCommande, self.bOk)
DRac.setTabOrder(self.bOk, self.LBRegles)
def retranslateUi(self, DRac):
DRac.setWindowTitle(QtGui.QApplication.translate("DRac", "DMacro", None, QtGui.QApplication.UnicodeUTF8))
self.textLabel1_4.setText(QtGui.QApplication.translate("DRac", "<b><u>Commandes :</u></b>", None, QtGui.QApplication.UnicodeUTF8))
self.textLabel1_4_2.setText(QtGui.QApplication.translate("DRac", "<p align=\"center\"><b><u>Régles :</u></b></p>", None, QtGui.QApplication.UnicodeUTF8))
self.RBalpha.setText(QtGui.QApplication.translate("DRac", "alphabétique", None, QtGui.QApplication.UnicodeUTF8))
self.RBGroupe.setText(QtGui.QApplication.translate("DRac", "par groupe", None, QtGui.QApplication.UnicodeUTF8))
self.textLabel6.setText(QtGui.QApplication.translate("DRac", "Filtre", None, QtGui.QApplication.UnicodeUTF8))
self.BNext.setText(QtGui.QApplication.translate("DRac", "Suivant", None, QtGui.QApplication.UnicodeUTF8))
self.bOk.setToolTip(QtGui.QApplication.translate("DRac", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8))
self.bOk.setText(QtGui.QApplication.translate("DRac", "&Valider", None, QtGui.QApplication.UnicodeUTF8))
self.bOk.setShortcut(QtGui.QApplication.translate("DRac", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8))
if __name__ == "__main__":
import sys
app = QtGui.QApplication(sys.argv)
DRac = QtGui.QWidget()
ui = Ui_DRac()
ui.setupUi(DRac)
DRac.show()
sys.exit(app.exec_())
|