/usr/share/pyshared/UiQT4/desViewTexte.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 | # -*- 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/desViewTexte.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_dView(object):
def setupUi(self, dView):
dView.setObjectName(_fromUtf8("dView"))
dView.resize(400, 322)
self.gridLayout = QtGui.QGridLayout(dView)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.view = QtGui.QTextBrowser(dView)
self.view.setObjectName(_fromUtf8("view"))
self.gridLayout.addWidget(self.view, 0, 0, 1, 4)
spacerItem = QtGui.QSpacerItem(209, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem, 1, 0, 1, 1)
self.bclose = QtGui.QPushButton(dView)
self.bclose.setObjectName(_fromUtf8("bclose"))
self.gridLayout.addWidget(self.bclose, 1, 2, 1, 1)
self.bsave = QtGui.QPushButton(dView)
self.bsave.setObjectName(_fromUtf8("bsave"))
self.gridLayout.addWidget(self.bsave, 1, 1, 1, 1)
self.retranslateUi(dView)
QtCore.QMetaObject.connectSlotsByName(dView)
def retranslateUi(self, dView):
dView.setWindowTitle(QtGui.QApplication.translate("dView", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
self.bclose.setText(QtGui.QApplication.translate("dView", "Fermer", None, QtGui.QApplication.UnicodeUTF8))
self.bsave.setText(QtGui.QApplication.translate("dView", "Sauver", None, QtGui.QApplication.UnicodeUTF8))
if __name__ == "__main__":
import sys
app = QtGui.QApplication(sys.argv)
dView = QtGui.QDialog()
ui = Ui_dView()
ui.setupUi(dView)
dView.show()
sys.exit(app.exec_())
|