/usr/lib/python2.7/dist-packages/code_saturne/Pages/AtmosphericFlowsForm.py is in code-saturne-data 4.2.0+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 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 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'AtmosphericFlowsForm.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_AtmosphericFlowsForm(object):
def setupUi(self, AtmosphericFlowsForm):
AtmosphericFlowsForm.setObjectName(_fromUtf8("AtmosphericFlowsForm"))
AtmosphericFlowsForm.resize(310, 127)
self.gridLayout_2 = QtGui.QGridLayout(AtmosphericFlowsForm)
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
self.groupBox = QtGui.QGroupBox(AtmosphericFlowsForm)
self.groupBox.setObjectName(_fromUtf8("groupBox"))
self.horizontalLayout_2 = QtGui.QHBoxLayout(self.groupBox)
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem)
self.gridLayout = QtGui.QGridLayout()
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.checkBoxMeteoData = QtGui.QCheckBox(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.checkBoxMeteoData.sizePolicy().hasHeightForWidth())
self.checkBoxMeteoData.setSizePolicy(sizePolicy)
self.checkBoxMeteoData.setObjectName(_fromUtf8("checkBoxMeteoData"))
self.horizontalLayout.addWidget(self.checkBoxMeteoData)
self.pushButtonMeteoData = QtGui.QPushButton(self.groupBox)
self.pushButtonMeteoData.setText(_fromUtf8(""))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/new/prefix1/icons/22x22/weather-few-clouds.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pushButtonMeteoData.setIcon(icon)
self.pushButtonMeteoData.setIconSize(QtCore.QSize(22, 22))
self.pushButtonMeteoData.setObjectName(_fromUtf8("pushButtonMeteoData"))
self.horizontalLayout.addWidget(self.pushButtonMeteoData)
self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 2)
self.labelMeteoData = QtGui.QLabel(self.groupBox)
self.labelMeteoData.setObjectName(_fromUtf8("labelMeteoData"))
self.gridLayout.addWidget(self.labelMeteoData, 1, 0, 1, 1)
self.labelMeteoFile = QtGui.QLabel(self.groupBox)
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.labelMeteoFile.setFont(font)
self.labelMeteoFile.setLayoutDirection(QtCore.Qt.LeftToRight)
self.labelMeteoFile.setAutoFillBackground(False)
self.labelMeteoFile.setFrameShape(QtGui.QFrame.Box)
self.labelMeteoFile.setText(_fromUtf8(""))
self.labelMeteoFile.setObjectName(_fromUtf8("labelMeteoFile"))
self.gridLayout.addWidget(self.labelMeteoFile, 1, 1, 1, 1)
self.horizontalLayout_2.addLayout(self.gridLayout)
spacerItem1 = QtGui.QSpacerItem(19, 27, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem1)
self.gridLayout_2.addWidget(self.groupBox, 0, 0, 1, 1)
spacerItem2 = QtGui.QSpacerItem(13, 19, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.gridLayout_2.addItem(spacerItem2, 1, 0, 1, 1)
self.retranslateUi(AtmosphericFlowsForm)
QtCore.QMetaObject.connectSlotsByName(AtmosphericFlowsForm)
def retranslateUi(self, AtmosphericFlowsForm):
AtmosphericFlowsForm.setWindowTitle(_translate("AtmosphericFlowsForm", "Form", None))
self.groupBox.setTitle(_translate("AtmosphericFlowsForm", "Atmospheric flows", None))
self.checkBoxMeteoData.setText(_translate("AtmosphericFlowsForm", "Read the file of meteorological data", None))
self.labelMeteoData.setText(_translate("AtmosphericFlowsForm", "name of the data file: ", None))
import resources_pages_rc
|