/usr/lib/python2.7/dist-packages/code_saturne/Pages/WelcomeForm.py is in code-saturne-data 4.3.3+repack-1build1.
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 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'WelcomeForm.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_WelcomeForm(object):
def setupUi(self, WelcomeForm):
WelcomeForm.setObjectName(_fromUtf8("WelcomeForm"))
WelcomeForm.resize(466, 354)
self.gridLayout = QtGui.QGridLayout(WelcomeForm)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
spacerItem = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.gridLayout.addItem(spacerItem, 0, 1, 1, 1)
spacerItem1 = QtGui.QSpacerItem(16, 16, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem1, 1, 0, 1, 1)
self.label_image = QtGui.QLabel(WelcomeForm)
self.label_image.setText(_fromUtf8(""))
self.label_image.setPixmap(QtGui.QPixmap(_fromUtf8(":/new/prefix1/icons/welcome.png")))
self.label_image.setScaledContents(True)
self.label_image.setObjectName(_fromUtf8("label_image"))
self.gridLayout.addWidget(self.label_image, 1, 1, 1, 1)
spacerItem2 = QtGui.QSpacerItem(20, 16, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem2, 1, 2, 1, 1)
spacerItem3 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.gridLayout.addItem(spacerItem3, 2, 1, 1, 1)
self.retranslateUi(WelcomeForm)
QtCore.QMetaObject.connectSlotsByName(WelcomeForm)
def retranslateUi(self, WelcomeForm):
WelcomeForm.setWindowTitle(_translate("WelcomeForm", "Welcome to Code_Saturne GUI", None))
WelcomeForm.setStatusTip(_translate("WelcomeForm", "Welcome to Code_Saturne GUI.", None))
import resources_pages_rc
|