/usr/share/pyshared/UiQT4/desMatrice.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 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '/tmp/oo/EficasV1/UiQT4/desMatrice.ui'
#
# Created: Mon Jun 21 09:54:19 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_desMatrice(object):
def setupUi(self, desMatrice):
desMatrice.setObjectName("desMatrice")
desMatrice.resize(400,300)
self.gridLayout_2 = QtGui.QGridLayout(desMatrice)
self.gridLayout_2.setObjectName("gridLayout_2")
self.TBMatrice = QtGui.QTableWidget(desMatrice)
self.TBMatrice.setObjectName("TBMatrice")
self.gridLayout_2.addWidget(self.TBMatrice,0,0,1,1)
self.splitter = QtGui.QSplitter(desMatrice)
self.splitter.setOrientation(QtCore.Qt.Horizontal)
self.splitter.setObjectName("splitter")
self.layoutWidget = QtGui.QWidget(self.splitter)
self.layoutWidget.setObjectName("layoutWidget")
self.gridLayout = QtGui.QGridLayout(self.layoutWidget)
self.gridLayout.setObjectName("gridLayout")
spacerItem = QtGui.QSpacerItem(140,24,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem,0,0,1,1)
self.BOk = QtGui.QPushButton(self.layoutWidget)
self.BOk.setObjectName("BOk")
self.gridLayout.addWidget(self.BOk,0,1,1,1)
spacerItem1 = QtGui.QSpacerItem(138,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem1,0,2,1,1)
self.gridLayout_2.addWidget(self.splitter,1,0,1,1)
self.retranslateUi(desMatrice)
QtCore.QMetaObject.connectSlotsByName(desMatrice)
def retranslateUi(self, desMatrice):
desMatrice.setWindowTitle(QtGui.QApplication.translate("desMatrice", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
self.TBMatrice.clear()
self.TBMatrice.setColumnCount(0)
self.TBMatrice.setRowCount(0)
self.BOk.setText(QtGui.QApplication.translate("desMatrice", "Valider", None, QtGui.QApplication.UnicodeUTF8))
if __name__ == "__main__":
import sys
app = QtGui.QApplication(sys.argv)
desMatrice = QtGui.QDialog()
ui = Ui_desMatrice()
ui.setupUi(desMatrice)
desMatrice.show()
sys.exit(app.exec_())
|