/usr/lib/python2.7/dist-packages/code_saturne/Pages/ProfilesForm.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 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ProfilesForm.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_ProfilesForm(object):
def setupUi(self, ProfilesForm):
ProfilesForm.setObjectName(_fromUtf8("ProfilesForm"))
ProfilesForm.resize(440, 394)
self.gridLayout_5 = QtGui.QGridLayout(ProfilesForm)
self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
self.groupBox = QtGui.QGroupBox(ProfilesForm)
self.groupBox.setObjectName(_fromUtf8("groupBox"))
self.gridLayout_4 = QtGui.QGridLayout(self.groupBox)
self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
self.treeViewProfile = QtGui.QTreeView(self.groupBox)
self.treeViewProfile.setIndentation(0)
self.treeViewProfile.setRootIsDecorated(False)
self.treeViewProfile.setObjectName(_fromUtf8("treeViewProfile"))
self.gridLayout_4.addWidget(self.treeViewProfile, 0, 0, 1, 1)
self.hboxlayout = QtGui.QHBoxLayout()
self.hboxlayout.setMargin(0)
self.hboxlayout.setSpacing(6)
self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
spacerItem = QtGui.QSpacerItem(20, 21, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.hboxlayout.addItem(spacerItem)
self.hboxlayout1 = QtGui.QHBoxLayout()
self.hboxlayout1.setMargin(0)
self.hboxlayout1.setSpacing(6)
self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1"))
self.pushButtonAdd = QtGui.QPushButton(self.groupBox)
self.pushButtonAdd.setObjectName(_fromUtf8("pushButtonAdd"))
self.hboxlayout1.addWidget(self.pushButtonAdd)
spacerItem1 = QtGui.QSpacerItem(16, 16, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.hboxlayout1.addItem(spacerItem1)
self.pushButtonDelete = QtGui.QPushButton(self.groupBox)
self.pushButtonDelete.setObjectName(_fromUtf8("pushButtonDelete"))
self.hboxlayout1.addWidget(self.pushButtonDelete)
self.hboxlayout.addLayout(self.hboxlayout1)
spacerItem2 = QtGui.QSpacerItem(16, 16, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.hboxlayout.addItem(spacerItem2)
self.gridLayout_4.addLayout(self.hboxlayout, 1, 0, 1, 1)
self.groupBoxProfile = QtGui.QGroupBox(self.groupBox)
self.groupBoxProfile.setTitle(_fromUtf8(""))
self.groupBoxProfile.setObjectName(_fromUtf8("groupBoxProfile"))
self.gridLayout_3 = QtGui.QGridLayout(self.groupBoxProfile)
self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
self.gridLayout_2 = QtGui.QGridLayout()
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
self.gridLayout = QtGui.QGridLayout()
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.labelBaseName = QtGui.QLabel(self.groupBoxProfile)
self.labelBaseName.setObjectName(_fromUtf8("labelBaseName"))
self.gridLayout.addWidget(self.labelBaseName, 0, 0, 1, 1)
self.lineEditBaseName = QtGui.QLineEdit(self.groupBoxProfile)
self.lineEditBaseName.setObjectName(_fromUtf8("lineEditBaseName"))
self.gridLayout.addWidget(self.lineEditBaseName, 0, 1, 1, 1)
self.horizontalLayoutFormat = QtGui.QHBoxLayout()
self.horizontalLayoutFormat.setObjectName(_fromUtf8("horizontalLayoutFormat"))
self.labelFormat = QtGui.QLabel(self.groupBoxProfile)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.labelFormat.sizePolicy().hasHeightForWidth())
self.labelFormat.setSizePolicy(sizePolicy)
self.labelFormat.setObjectName(_fromUtf8("labelFormat"))
self.horizontalLayoutFormat.addWidget(self.labelFormat)
self.comboBoxFormat = QtGui.QComboBox(self.groupBoxProfile)
self.comboBoxFormat.setObjectName(_fromUtf8("comboBoxFormat"))
self.horizontalLayoutFormat.addWidget(self.comboBoxFormat)
spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayoutFormat.addItem(spacerItem3)
self.gridLayout.addLayout(self.horizontalLayoutFormat, 0, 2, 1, 1)
self.labelFreq = QtGui.QLabel(self.groupBoxProfile)
self.labelFreq.setObjectName(_fromUtf8("labelFreq"))
self.gridLayout.addWidget(self.labelFreq, 1, 0, 1, 1)
self.comboBoxFreq = QtGui.QComboBox(self.groupBoxProfile)
self.comboBoxFreq.setObjectName(_fromUtf8("comboBoxFreq"))
self.gridLayout.addWidget(self.comboBoxFreq, 1, 1, 1, 1)
self.horizontalLayoutFormat1 = QtGui.QHBoxLayout()
self.horizontalLayoutFormat1.setObjectName(_fromUtf8("horizontalLayoutFormat1"))
self.lineEditFreq = QtGui.QLineEdit(self.groupBoxProfile)
self.lineEditFreq.setMaximumSize(QtCore.QSize(50, 16777215))
self.lineEditFreq.setObjectName(_fromUtf8("lineEditFreq"))
self.horizontalLayoutFormat1.addWidget(self.lineEditFreq)
self.lineEditFreqTime = QtGui.QLineEdit(self.groupBoxProfile)
self.lineEditFreqTime.setMaximumSize(QtCore.QSize(50, 16777215))
self.lineEditFreqTime.setObjectName(_fromUtf8("lineEditFreqTime"))
self.horizontalLayoutFormat1.addWidget(self.lineEditFreqTime)
spacerItem4 = QtGui.QSpacerItem(0, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayoutFormat1.addItem(spacerItem4)
self.gridLayout.addLayout(self.horizontalLayoutFormat1, 1, 2, 1, 1)
self.label_3 = QtGui.QLabel(self.groupBoxProfile)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.pushButtonFormula = QtGui.QPushButton(self.groupBoxProfile)
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.horizontalLayout.addWidget(self.pushButtonFormula)
spacerItem5 = QtGui.QSpacerItem(38, 18, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem5)
self.gridLayout.addLayout(self.horizontalLayout, 2, 1, 1, 1)
spacerItem6 = QtGui.QSpacerItem(68, 17, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem6, 2, 2, 1, 1)
self.label_2 = QtGui.QLabel(self.groupBoxProfile)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.gridLayout.addWidget(self.label_2, 3, 0, 1, 1)
self.horizontalLayout_2 = QtGui.QHBoxLayout()
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
self.lineEditNbPoint = QtGui.QLineEdit(self.groupBoxProfile)
self.lineEditNbPoint.setObjectName(_fromUtf8("lineEditNbPoint"))
self.horizontalLayout_2.addWidget(self.lineEditNbPoint)
spacerItem7 = QtGui.QSpacerItem(28, 18, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem7)
self.gridLayout.addLayout(self.horizontalLayout_2, 3, 1, 1, 1)
spacerItem8 = QtGui.QSpacerItem(58, 17, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem8, 3, 2, 1, 1)
self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 3)
spacerItem9 = QtGui.QSpacerItem(16, 61, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout_2.addItem(spacerItem9, 1, 0, 1, 1)
self.hboxlayout2 = QtGui.QHBoxLayout()
self.hboxlayout2.setMargin(0)
self.hboxlayout2.setSpacing(6)
self.hboxlayout2.setObjectName(_fromUtf8("hboxlayout2"))
self.widgetDrag = QtGui.QWidget(self.groupBoxProfile)
self.widgetDrag.setMinimumSize(QtCore.QSize(50, 0))
self.widgetDrag.setObjectName(_fromUtf8("widgetDrag"))
self.hboxlayout2.addWidget(self.widgetDrag)
self.vboxlayout = QtGui.QVBoxLayout()
self.vboxlayout.setMargin(0)
self.vboxlayout.setSpacing(6)
self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
self.pushButtonAddVar = QtGui.QPushButton(self.groupBoxProfile)
self.pushButtonAddVar.setText(_fromUtf8(""))
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/new/prefix1/icons/32x32/go-next.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pushButtonAddVar.setIcon(icon1)
self.pushButtonAddVar.setObjectName(_fromUtf8("pushButtonAddVar"))
self.vboxlayout.addWidget(self.pushButtonAddVar)
self.pushButtonSuppressVar = QtGui.QPushButton(self.groupBoxProfile)
self.pushButtonSuppressVar.setText(_fromUtf8(""))
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/new/prefix1/icons/32x32/go-previous.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pushButtonSuppressVar.setIcon(icon2)
self.pushButtonSuppressVar.setObjectName(_fromUtf8("pushButtonSuppressVar"))
self.vboxlayout.addWidget(self.pushButtonSuppressVar)
self.hboxlayout2.addLayout(self.vboxlayout)
self.widgetDrop = QtGui.QWidget(self.groupBoxProfile)
self.widgetDrop.setMinimumSize(QtCore.QSize(50, 0))
self.widgetDrop.setObjectName(_fromUtf8("widgetDrop"))
self.line = QtGui.QFrame(self.widgetDrop)
self.line.setGeometry(QtCore.QRect(-240, -10, 378, 16))
self.line.setFrameShape(QtGui.QFrame.HLine)
self.line.setFrameShadow(QtGui.QFrame.Sunken)
self.line.setObjectName(_fromUtf8("line"))
self.hboxlayout2.addWidget(self.widgetDrop)
self.gridLayout_2.addLayout(self.hboxlayout2, 1, 1, 1, 1)
spacerItem10 = QtGui.QSpacerItem(16, 61, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout_2.addItem(spacerItem10, 1, 2, 1, 1)
self.gridLayout_3.addLayout(self.gridLayout_2, 0, 0, 1, 1)
self.gridLayout_4.addWidget(self.groupBoxProfile, 2, 0, 1, 1)
self.gridLayout_5.addWidget(self.groupBox, 0, 0, 1, 1)
spacerItem11 = QtGui.QSpacerItem(432, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.gridLayout_5.addItem(spacerItem11, 1, 0, 1, 1)
self.retranslateUi(ProfilesForm)
QtCore.QMetaObject.connectSlotsByName(ProfilesForm)
def retranslateUi(self, ProfilesForm):
ProfilesForm.setWindowTitle(_translate("ProfilesForm", "Form", None))
self.groupBox.setTitle(_translate("ProfilesForm", "Definition of 1D profiles", None))
self.pushButtonAdd.setText(_translate("ProfilesForm", "Add", None))
self.pushButtonDelete.setText(_translate("ProfilesForm", "Delete", None))
self.labelBaseName.setText(_translate("ProfilesForm", "Filename", None))
self.labelFormat.setText(_translate("ProfilesForm", "Format", None))
self.labelFreq.setText(_translate("ProfilesForm", "Output\n"
"frequency", None))
self.label_3.setText(_translate("ProfilesForm", "Line Definition", None))
self.label_2.setText(_translate("ProfilesForm", "Number of points", None))
import resources_pages_rc
|