/usr/lib/python2.7/dist-packages/code_saturne/Pages/MobileMeshForm.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 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 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'MobileMeshForm.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_MobileMeshForm(object):
def setupUi(self, MobileMeshForm):
MobileMeshForm.setObjectName(_fromUtf8("MobileMeshForm"))
MobileMeshForm.resize(382, 197)
self.gridLayout_3 = QtGui.QGridLayout(MobileMeshForm)
self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
self.groupBoxALE = QtGui.QGroupBox(MobileMeshForm)
self.groupBoxALE.setEnabled(True)
self.groupBoxALE.setAcceptDrops(False)
self.groupBoxALE.setAutoFillBackground(False)
self.groupBoxALE.setFlat(False)
self.groupBoxALE.setCheckable(True)
self.groupBoxALE.setObjectName(_fromUtf8("groupBoxALE"))
self.gridLayout_2 = QtGui.QGridLayout(self.groupBoxALE)
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
self.frame = QtGui.QFrame(self.groupBoxALE)
self.frame.setFrameShape(QtGui.QFrame.NoFrame)
self.frame.setFrameShadow(QtGui.QFrame.Raised)
self.frame.setObjectName(_fromUtf8("frame"))
self.horizontalLayout = QtGui.QHBoxLayout(self.frame)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
spacerItem = QtGui.QSpacerItem(10, 140, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.gridLayout = QtGui.QGridLayout()
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.labelNALINF = QtGui.QLabel(self.frame)
self.labelNALINF.setObjectName(_fromUtf8("labelNALINF"))
self.gridLayout.addWidget(self.labelNALINF, 0, 0, 1, 1)
spacerItem1 = QtGui.QSpacerItem(13, 22, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem1, 0, 1, 1, 1)
self.lineEditNALINF = QtGui.QLineEdit(self.frame)
self.lineEditNALINF.setMaximumSize(QtCore.QSize(100, 16777215))
self.lineEditNALINF.setObjectName(_fromUtf8("lineEditNALINF"))
self.gridLayout.addWidget(self.lineEditNALINF, 0, 2, 1, 2)
self.labelVISCOSITY = QtGui.QLabel(self.frame)
self.labelVISCOSITY.setObjectName(_fromUtf8("labelVISCOSITY"))
self.gridLayout.addWidget(self.labelVISCOSITY, 1, 0, 1, 1)
spacerItem2 = QtGui.QSpacerItem(13, 21, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem2, 1, 1, 1, 1)
self.comboBoxVISCOSITY = QtGui.QComboBox(self.frame)
self.comboBoxVISCOSITY.setMinimumSize(QtCore.QSize(100, 0))
self.comboBoxVISCOSITY.setMaximumSize(QtCore.QSize(100, 16777215))
self.comboBoxVISCOSITY.setObjectName(_fromUtf8("comboBoxVISCOSITY"))
self.gridLayout.addWidget(self.comboBoxVISCOSITY, 1, 2, 1, 2)
self.labelUSVISMA = QtGui.QLabel(self.frame)
self.labelUSVISMA.setObjectName(_fromUtf8("labelUSVISMA"))
self.gridLayout.addWidget(self.labelUSVISMA, 2, 0, 1, 1)
spacerItem3 = QtGui.QSpacerItem(18, 29, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem3, 2, 1, 1, 1)
self.pushButtonFormula = QtGui.QPushButton(self.frame)
self.pushButtonFormula.setText(_fromUtf8(""))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/new/prefix1/icons/22x22/edit-find-replace.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pushButtonFormula.setIcon(icon)
self.pushButtonFormula.setIconSize(QtCore.QSize(22, 22))
self.pushButtonFormula.setObjectName(_fromUtf8("pushButtonFormula"))
self.gridLayout.addWidget(self.pushButtonFormula, 2, 2, 1, 1)
spacerItem4 = QtGui.QSpacerItem(13, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem4, 2, 3, 1, 1)
self.horizontalLayout.addLayout(self.gridLayout)
spacerItem5 = QtGui.QSpacerItem(10, 140, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem5)
self.gridLayout_2.addWidget(self.frame, 0, 0, 1, 1)
self.gridLayout_3.addWidget(self.groupBoxALE, 0, 0, 1, 1)
spacerItem6 = QtGui.QSpacerItem(16, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.gridLayout_3.addItem(spacerItem6, 1, 0, 1, 1)
self.retranslateUi(MobileMeshForm)
QtCore.QMetaObject.connectSlotsByName(MobileMeshForm)
def retranslateUi(self, MobileMeshForm):
MobileMeshForm.setWindowTitle(_translate("MobileMeshForm", "Form", None))
self.groupBoxALE.setTitle(_translate("MobileMeshForm", "Mobile mesh (ALE method)", None))
self.labelNALINF.setToolTip(_translate("MobileMeshForm", "Code_Saturne key word: NALINF", None))
self.labelNALINF.setText(_translate("MobileMeshForm", "Number of iterations for fluid initialization", None))
self.lineEditNALINF.setToolTip(_translate("MobileMeshForm", "Code_Saturne key word: NALINF", None))
self.labelVISCOSITY.setToolTip(_translate("MobileMeshForm", "Code_Saturne key word: IORTVM", None))
self.labelVISCOSITY.setText(_translate("MobileMeshForm", "Type of the viscosity of mesh", None))
self.comboBoxVISCOSITY.setToolTip(_translate("MobileMeshForm", "Code_Saturne key word: IORTVM", None))
self.labelUSVISMA.setText(_translate("MobileMeshForm", "Spatial distribution of\n"
"the viscosity of the mesh", None))
import resources_pages_rc
|