Wed 28 Aug 21:38:52 CEST 2024
This commit is contained in:
parent
04b59fd3e3
commit
b9de7e4ffd
117
src/SimNDT/gui/ui_twophasemodeldrycase.py
Normal file
117
src/SimNDT/gui/ui_twophasemodeldrycase.py
Normal file
|
@ -0,0 +1,117 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
from PySide import QtCore, QtGui
|
||||
from SimNDT.gui.constants import *
|
||||
|
||||
class Ui_twoPhaseModelDryCaseDialog(object):
|
||||
def setupUi(self, twoPhaseModelDryCaseDialog):
|
||||
scaleUI = SCALE_UI
|
||||
twoPhaseModelDryCaseDialog.setObjectName("twoPhaseModelDryCaseDialog")
|
||||
twoPhaseModelDryCaseDialog.resize(476*scaleUI, 271*scaleUI)
|
||||
twoPhaseModelDryCaseDialog.setMaximumSize(QtCore.QSize(476*scaleUI, 271*scaleUI))
|
||||
twoPhaseModelDryCaseDialog.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
|
||||
self.buttonBox = QtGui.QDialogButtonBox(twoPhaseModelDryCaseDialog)
|
||||
self.buttonBox.setGeometry(QtCore.QRect(90*scaleUI, 240*scaleUI, 341*scaleUI, 32*scaleUI))
|
||||
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
||||
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
|
||||
self.buttonBox.setObjectName("buttonBox")
|
||||
self.frame = QtGui.QFrame(twoPhaseModelDryCaseDialog)
|
||||
self.frame.setGeometry(QtCore.QRect(20*scaleUI, 20*scaleUI, 441*scaleUI, 182*scaleUI))
|
||||
self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
|
||||
self.frame.setFrameShadow(QtGui.QFrame.Sunken)
|
||||
self.frame.setObjectName("frame")
|
||||
self.gridLayoutWidget = QtGui.QWidget(self.frame)
|
||||
self.gridLayoutWidget.setGeometry(QtCore.QRect(10*scaleUI, 10*scaleUI, 419*scaleUI, 162*scaleUI))
|
||||
self.gridLayoutWidget.setObjectName("gridLayoutWidget")
|
||||
self.gridLayout = QtGui.QGridLayout(self.gridLayoutWidget)
|
||||
self.gridLayout.setContentsMargins(0, 0, 0, 0)
|
||||
self.gridLayout.setObjectName("gridLayout")
|
||||
self.gradingDoubleSpinBox = QtGui.QDoubleSpinBox(self.gridLayoutWidget)
|
||||
self.gradingDoubleSpinBox.setMinimum(0.01)
|
||||
self.gradingDoubleSpinBox.setMaximum(0.8)
|
||||
self.gradingDoubleSpinBox.setSingleStep(0.2)
|
||||
self.gradingDoubleSpinBox.setProperty("value", 0.1)
|
||||
self.gradingDoubleSpinBox.setObjectName("gradingDoubleSpinBox")
|
||||
self.gridLayout.addWidget(self.gradingDoubleSpinBox, 2, 2, 1, 1)
|
||||
self.label_5 = QtGui.QLabel(self.gridLayoutWidget)
|
||||
self.label_5.setObjectName("label_5")
|
||||
self.gridLayout.addWidget(self.label_5, 2, 3, 1, 1)
|
||||
self.label_4 = QtGui.QLabel(self.gridLayoutWidget)
|
||||
self.label_4.setObjectName("label_4")
|
||||
self.gridLayout.addWidget(self.label_4, 1, 3, 1, 1)
|
||||
self.labelSpinBox = QtGui.QSpinBox(self.gridLayoutWidget)
|
||||
self.labelSpinBox.setMaximum(240)
|
||||
self.labelSpinBox.setSingleStep(40)
|
||||
self.labelSpinBox.setProperty("value", 40)
|
||||
self.labelSpinBox.setObjectName("labelSpinBox")
|
||||
self.gridLayout.addWidget(self.labelSpinBox, 1, 0, 1, 1)
|
||||
self.minAspectRatioDoubleSpinBox = QtGui.QDoubleSpinBox(self.gridLayoutWidget)
|
||||
self.minAspectRatioDoubleSpinBox.setMinimum(0.2)
|
||||
self.minAspectRatioDoubleSpinBox.setMaximum(1.0)
|
||||
self.minAspectRatioDoubleSpinBox.setProperty("value", 0.5)
|
||||
self.minAspectRatioDoubleSpinBox.setObjectName("minAspectRatioDoubleSpinBox")
|
||||
self.gridLayout.addWidget(self.minAspectRatioDoubleSpinBox, 3, 2, 1, 1)
|
||||
self.minDiameterDoubleSpinBox = QtGui.QDoubleSpinBox(self.gridLayoutWidget)
|
||||
self.minDiameterDoubleSpinBox.setMinimum(0.2)
|
||||
self.minDiameterDoubleSpinBox.setMaximum(20.0)
|
||||
self.minDiameterDoubleSpinBox.setSingleStep(0.1)
|
||||
self.minDiameterDoubleSpinBox.setProperty("value", 0.5)
|
||||
self.minDiameterDoubleSpinBox.setObjectName("minDiameterDoubleSpinBox")
|
||||
self.gridLayout.addWidget(self.minDiameterDoubleSpinBox, 0, 2, 1, 1)
|
||||
self.fractionLabel = QtGui.QLabel(self.gridLayoutWidget)
|
||||
self.fractionLabel.setObjectName("fractionLabel")
|
||||
self.gridLayout.addWidget(self.fractionLabel, 0, 1, 1, 1)
|
||||
self.label_2 = QtGui.QLabel(self.gridLayoutWidget)
|
||||
self.label_2.setObjectName("label_2")
|
||||
self.gridLayout.addWidget(self.label_2, 0, 3, 1, 1)
|
||||
self.fractionDoubleSpinBox = QtGui.QDoubleSpinBox(self.gridLayoutWidget)
|
||||
self.fractionDoubleSpinBox.setMinimum(0.1)
|
||||
self.fractionDoubleSpinBox.setMaximum(70.0)
|
||||
self.fractionDoubleSpinBox.setProperty("value", 10.0)
|
||||
self.fractionDoubleSpinBox.setObjectName("fractionDoubleSpinBox")
|
||||
self.gridLayout.addWidget(self.fractionDoubleSpinBox, 0, 0, 1, 1)
|
||||
self.label_6 = QtGui.QLabel(self.gridLayoutWidget)
|
||||
self.label_6.setObjectName("label_6")
|
||||
self.gridLayout.addWidget(self.label_6, 3, 3, 1, 1)
|
||||
self.maxDiameterDoubleSpinBox = QtGui.QDoubleSpinBox(self.gridLayoutWidget)
|
||||
self.maxDiameterDoubleSpinBox.setMinimum(0.02)
|
||||
self.maxDiameterDoubleSpinBox.setMaximum(20.0)
|
||||
self.maxDiameterDoubleSpinBox.setSingleStep(0.1)
|
||||
self.maxDiameterDoubleSpinBox.setProperty("value", 10.0)
|
||||
self.maxDiameterDoubleSpinBox.setObjectName("maxDiameterDoubleSpinBox")
|
||||
self.gridLayout.addWidget(self.maxDiameterDoubleSpinBox, 1, 2, 1, 1)
|
||||
self.maxAspectRatioDoubleSpinBox = QtGui.QDoubleSpinBox(self.gridLayoutWidget)
|
||||
self.maxAspectRatioDoubleSpinBox.setMinimum(0.3)
|
||||
self.maxAspectRatioDoubleSpinBox.setMaximum(1.0)
|
||||
self.maxAspectRatioDoubleSpinBox.setSingleStep(0.1)
|
||||
self.maxAspectRatioDoubleSpinBox.setProperty("value", 0.8)
|
||||
self.maxAspectRatioDoubleSpinBox.setObjectName("maxAspectRatioDoubleSpinBox")
|
||||
self.gridLayout.addWidget(self.maxAspectRatioDoubleSpinBox, 4, 2, 1, 1)
|
||||
self.label_7 = QtGui.QLabel(self.gridLayoutWidget)
|
||||
self.label_7.setObjectName("label_7")
|
||||
self.gridLayout.addWidget(self.label_7, 4, 3, 1, 1)
|
||||
self.labelLabel = QtGui.QLabel(self.gridLayoutWidget)
|
||||
self.labelLabel.setObjectName("labelLabel")
|
||||
self.gridLayout.addWidget(self.labelLabel, 1, 1, 1, 1)
|
||||
self.progressBar = QtGui.QProgressBar(twoPhaseModelDryCaseDialog)
|
||||
self.progressBar.setGeometry(QtCore.QRect(30*scaleUI, 210*scaleUI, 411*scaleUI, 23*scaleUI))
|
||||
self.progressBar.setProperty("value", 24)
|
||||
self.progressBar.setObjectName("progressBar")
|
||||
|
||||
self.retranslateUi(twoPhaseModelDryCaseDialog)
|
||||
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), twoPhaseModelDryCaseDialog.accept)
|
||||
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), twoPhaseModelDryCaseDialog.reject)
|
||||
QtCore.QMetaObject.connectSlotsByName(twoPhaseModelDryCaseDialog)
|
||||
|
||||
def retranslateUi(self, twoPhaseModelDryCaseDialog):
|
||||
twoPhaseModelDryCaseDialog.setWindowTitle(QtGui.QApplication.translate("twoPhaseModelDryCaseDialog", "Two-Phase Model (Dry Case)", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.label_5.setText(QtGui.QApplication.translate("twoPhaseModelDryCaseDialog", "Grading Curve Coeff", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.label_4.setText(QtGui.QApplication.translate("twoPhaseModelDryCaseDialog", "Max Diameter (mm)", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.fractionLabel.setText(QtGui.QApplication.translate("twoPhaseModelDryCaseDialog", "Concentration (%)", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.label_2.setText(QtGui.QApplication.translate("twoPhaseModelDryCaseDialog", "Min Diameter (mm)", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.fractionDoubleSpinBox.setSuffix(QtGui.QApplication.translate("twoPhaseModelDryCaseDialog", "%", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.label_6.setText(QtGui.QApplication.translate("twoPhaseModelDryCaseDialog", "Min Aspect Ratio", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.label_7.setText(QtGui.QApplication.translate("twoPhaseModelDryCaseDialog", "Max Aspect Ratio", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.labelLabel.setText(QtGui.QApplication.translate("twoPhaseModelDryCaseDialog", "Label", None, QtGui.QApplication.UnicodeUTF8))
|
||||
|
Loading…
Reference in New Issue
Block a user