Wed 28 Aug 21:38:52 CEST 2024
This commit is contained in:
parent
6e41588e82
commit
9fdc1d7b02
67
src/SimNDT/gui/ui_advancedsetupinspections.py
Normal file
67
src/SimNDT/gui/ui_advancedsetupinspections.py
Normal file
|
@ -0,0 +1,67 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
from PySide import QtCore, QtGui
|
||||
from SimNDT.gui.constants import *
|
||||
|
||||
class Ui_advancedSetupDialog(object):
|
||||
def setupUi(self, advancedSetupDialog):
|
||||
scaleUI = SCALE_UI
|
||||
advancedSetupDialog.setObjectName("advancedSetupDialog")
|
||||
advancedSetupDialog.resize(273*scaleUI, 204*scaleUI)
|
||||
advancedSetupDialog.setMinimumSize(QtCore.QSize(273*scaleUI, 204*scaleUI))
|
||||
advancedSetupDialog.setMaximumSize(QtCore.QSize(273*scaleUI, 204*scaleUI))
|
||||
icon = QtGui.QIcon()
|
||||
icon.addPixmap(QtGui.QPixmap(":/simModel.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
advancedSetupDialog.setWindowIcon(icon)
|
||||
self.buttonBox = QtGui.QDialogButtonBox(advancedSetupDialog)
|
||||
self.buttonBox.setGeometry(QtCore.QRect(80*scaleUI, 170*scaleUI, 183*scaleUI, 32*scaleUI))
|
||||
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
||||
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
|
||||
self.buttonBox.setObjectName("buttonBox")
|
||||
self.groupBox = QtGui.QGroupBox(advancedSetupDialog)
|
||||
self.groupBox.setGeometry(QtCore.QRect(10*scaleUI, 10*scaleUI, 251*scaleUI, 151*scaleUI))
|
||||
self.groupBox.setObjectName("groupBox")
|
||||
self.horizontalLayoutWidget = QtGui.QWidget(self.groupBox)
|
||||
self.horizontalLayoutWidget.setGeometry(QtCore.QRect(9*scaleUI, 30*scaleUI, 232*scaleUI, 41*scaleUI))
|
||||
self.horizontalLayoutWidget.setObjectName("horizontalLayoutWidget")
|
||||
self.horizontalLayout = QtGui.QHBoxLayout(self.horizontalLayoutWidget)
|
||||
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
|
||||
self.horizontalLayout.setObjectName("horizontalLayout")
|
||||
self.backingCheckBox = QtGui.QCheckBox(self.horizontalLayoutWidget)
|
||||
self.backingCheckBox.setFocusPolicy(QtCore.Qt.WheelFocus)
|
||||
self.backingCheckBox.setObjectName("backingCheckBox")
|
||||
self.horizontalLayout.addWidget(self.backingCheckBox)
|
||||
self.windowedSourceCheckBox = QtGui.QCheckBox(self.horizontalLayoutWidget)
|
||||
self.windowedSourceCheckBox.setFocusPolicy(QtCore.Qt.WheelFocus)
|
||||
self.windowedSourceCheckBox.setObjectName("windowedSourceCheckBox")
|
||||
self.horizontalLayout.addWidget(self.windowedSourceCheckBox)
|
||||
self.waveSourceComboBox = QtGui.QComboBox(self.groupBox)
|
||||
self.waveSourceComboBox.setGeometry(QtCore.QRect(10*scaleUI, 80*scaleUI, 231*scaleUI, 26*scaleUI))
|
||||
self.waveSourceComboBox.setObjectName("waveSourceComboBox")
|
||||
self.waveSourceComboBox.addItem("")
|
||||
self.waveSourceComboBox.addItem("")
|
||||
self.waveSourceComboBox.addItem("")
|
||||
self.sourceTypeComboBox = QtGui.QComboBox(self.groupBox)
|
||||
self.sourceTypeComboBox.setGeometry(QtCore.QRect(10*scaleUI, 110*scaleUI, 231*scaleUI, 26*scaleUI))
|
||||
self.sourceTypeComboBox.setObjectName("sourceTypeComboBox")
|
||||
self.sourceTypeComboBox.addItem("")
|
||||
self.sourceTypeComboBox.addItem("")
|
||||
self.sourceTypeComboBox.addItem("")
|
||||
|
||||
self.retranslateUi(advancedSetupDialog)
|
||||
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), advancedSetupDialog.accept)
|
||||
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), advancedSetupDialog.reject)
|
||||
QtCore.QMetaObject.connectSlotsByName(advancedSetupDialog)
|
||||
|
||||
def retranslateUi(self, advancedSetupDialog):
|
||||
advancedSetupDialog.setWindowTitle(QtGui.QApplication.translate("advancedSetupDialog", "Advanced Setup", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.groupBox.setTitle(QtGui.QApplication.translate("advancedSetupDialog", "Transducer Setup", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.backingCheckBox.setText(QtGui.QApplication.translate("advancedSetupDialog", "PZT Backing", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.windowedSourceCheckBox.setText(QtGui.QApplication.translate("advancedSetupDialog", "Windowed Source", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.waveSourceComboBox.setItemText(0, QtGui.QApplication.translate("advancedSetupDialog", "Longitudinal Wave Source", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.waveSourceComboBox.setItemText(1, QtGui.QApplication.translate("advancedSetupDialog", "Shear Wave Source", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.waveSourceComboBox.setItemText(2, QtGui.QApplication.translate("advancedSetupDialog", "Longitudinal and Shear Wave Sources", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.sourceTypeComboBox.setItemText(0, QtGui.QApplication.translate("advancedSetupDialog", "Pressure", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.sourceTypeComboBox.setItemText(1, QtGui.QApplication.translate("advancedSetupDialog", "Displacement", None, QtGui.QApplication.UnicodeUTF8))
|
||||
self.sourceTypeComboBox.setItemText(2, QtGui.QApplication.translate("advancedSetupDialog", "Presure & Displacement", None, QtGui.QApplication.UnicodeUTF8))
|
Loading…
Reference in New Issue
Block a user