/usr/lib/python2.7/dist-packages/code_saturne/Pages/TurbulenceAdvancedOptionsDialogForm.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 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'TurbulenceAdvancedOptionsDialogForm.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_TurbulenceAdvancedOptionsDialogForm(object):
def setupUi(self, TurbulenceAdvancedOptionsDialogForm):
TurbulenceAdvancedOptionsDialogForm.setObjectName(_fromUtf8("TurbulenceAdvancedOptionsDialogForm"))
TurbulenceAdvancedOptionsDialogForm.resize(400, 128)
self.gridlayout = QtGui.QGridLayout(TurbulenceAdvancedOptionsDialogForm)
self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
self.gridlayout1 = QtGui.QGridLayout()
self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
self.groupBox = QtGui.QGroupBox(TurbulenceAdvancedOptionsDialogForm)
self.groupBox.setTitle(_fromUtf8(""))
self.groupBox.setObjectName(_fromUtf8("groupBox"))
self.gridlayout2 = QtGui.QGridLayout(self.groupBox)
self.gridlayout2.setObjectName(_fromUtf8("gridlayout2"))
self.hboxlayout = QtGui.QHBoxLayout()
self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
spacerItem = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.hboxlayout.addItem(spacerItem)
self.labelWallFunctions = QtGui.QLabel(self.groupBox)
self.labelWallFunctions.setObjectName(_fromUtf8("labelWallFunctions"))
self.hboxlayout.addWidget(self.labelWallFunctions)
spacerItem1 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.hboxlayout.addItem(spacerItem1)
self.comboBoxWallFunctions = QtGui.QComboBox(self.groupBox)
self.comboBoxWallFunctions.setMinimumSize(QtCore.QSize(150, 0))
self.comboBoxWallFunctions.setObjectName(_fromUtf8("comboBoxWallFunctions"))
self.comboBoxWallFunctions.addItem(_fromUtf8(""))
self.comboBoxWallFunctions.addItem(_fromUtf8(""))
self.comboBoxWallFunctions.addItem(_fromUtf8(""))
self.comboBoxWallFunctions.addItem(_fromUtf8(""))
self.hboxlayout.addWidget(self.comboBoxWallFunctions)
spacerItem2 = QtGui.QSpacerItem(16, 16, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.hboxlayout.addItem(spacerItem2)
self.gridlayout2.addLayout(self.hboxlayout, 0, 0, 1, 1)
self.hboxlayout1 = QtGui.QHBoxLayout()
self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1"))
spacerItem3 = QtGui.QSpacerItem(16, 16, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.hboxlayout1.addItem(spacerItem3)
self.labelGravity = QtGui.QLabel(self.groupBox)
self.labelGravity.setObjectName(_fromUtf8("labelGravity"))
self.hboxlayout1.addWidget(self.labelGravity)
spacerItem4 = QtGui.QSpacerItem(16, 16, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.hboxlayout1.addItem(spacerItem4)
self.checkBoxGravity = QtGui.QCheckBox(self.groupBox)
self.checkBoxGravity.setText(_fromUtf8(""))
self.checkBoxGravity.setObjectName(_fromUtf8("checkBoxGravity"))
self.hboxlayout1.addWidget(self.checkBoxGravity)
spacerItem5 = QtGui.QSpacerItem(16, 16, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.hboxlayout1.addItem(spacerItem5)
self.gridlayout2.addLayout(self.hboxlayout1, 1, 0, 1, 1)
self.gridlayout1.addWidget(self.groupBox, 0, 0, 1, 1)
self.buttonBox = QtGui.QDialogButtonBox(TurbulenceAdvancedOptionsDialogForm)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setCenterButtons(True)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.gridlayout1.addWidget(self.buttonBox, 1, 0, 1, 1)
spacerItem6 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.gridlayout1.addItem(spacerItem6, 2, 0, 1, 1)
self.gridlayout.addLayout(self.gridlayout1, 0, 0, 1, 1)
self.retranslateUi(TurbulenceAdvancedOptionsDialogForm)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), TurbulenceAdvancedOptionsDialogForm.accept)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), TurbulenceAdvancedOptionsDialogForm.reject)
QtCore.QMetaObject.connectSlotsByName(TurbulenceAdvancedOptionsDialogForm)
def retranslateUi(self, TurbulenceAdvancedOptionsDialogForm):
TurbulenceAdvancedOptionsDialogForm.setWindowTitle(_translate("TurbulenceAdvancedOptionsDialogForm", "Dialog", None))
self.labelWallFunctions.setToolTip(_translate("TurbulenceAdvancedOptionsDialogForm", "Code_Saturne key word: IWALLF", None))
self.labelWallFunctions.setText(_translate("TurbulenceAdvancedOptionsDialogForm", "Wall function type", None))
self.comboBoxWallFunctions.setToolTip(_translate("TurbulenceAdvancedOptionsDialogForm", "Code_Saturne key word: IWALLF", None))
self.comboBoxWallFunctions.setItemText(0, _translate("TurbulenceAdvancedOptionsDialogForm", "No wall function", None))
self.comboBoxWallFunctions.setItemText(1, _translate("TurbulenceAdvancedOptionsDialogForm", "One scale model (log law)", None))
self.comboBoxWallFunctions.setItemText(2, _translate("TurbulenceAdvancedOptionsDialogForm", "Two scales model (log law)", None))
self.comboBoxWallFunctions.setItemText(3, _translate("TurbulenceAdvancedOptionsDialogForm", "Scalable wall function", None))
self.labelGravity.setToolTip(_translate("TurbulenceAdvancedOptionsDialogForm", "Code_Saturne key word: IGRAKE / IGRARI", None))
self.labelGravity.setText(_translate("TurbulenceAdvancedOptionsDialogForm", "Gravity terms in the turbulence equations", None))
self.checkBoxGravity.setToolTip(_translate("TurbulenceAdvancedOptionsDialogForm", "Code_Saturne key word: IGRAKE / IGRARI", None))
|