# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'src/resources/_ui/tnmh_dialog.ui' # # Created by: PyQt5 UI code generator 5.15.9 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(1041, 773) self.gridLayout = QtWidgets.QGridLayout(Dialog) self.gridLayout.setObjectName("gridLayout") self.buttonBox = QtWidgets.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Close) self.buttonBox.setObjectName("buttonBox") self.gridLayout.addWidget(self.buttonBox, 5, 1, 1, 1) self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.listWidget = QtWidgets.QListWidget(Dialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.listWidget.sizePolicy().hasHeightForWidth()) self.listWidget.setSizePolicy(sizePolicy) self.listWidget.setObjectName("listWidget") self.verticalLayout.addWidget(self.listWidget) self.label = QtWidgets.QLabel(Dialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth()) self.label.setSizePolicy(sizePolicy) self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) self.label.setObjectName("label") self.verticalLayout.addWidget(self.label) self.tg_value_label = QtWidgets.QLabel(Dialog) self.tg_value_label.setText("") self.tg_value_label.setObjectName("tg_value_label") self.verticalLayout.addWidget(self.tg_value_label) self.label_4 = QtWidgets.QLabel(Dialog) self.label_4.setObjectName("label_4") self.verticalLayout.addWidget(self.label_4) self.label_5 = QtWidgets.QLabel(Dialog) self.label_5.setText("") self.label_5.setObjectName("label_5") self.verticalLayout.addWidget(self.label_5) self.gridLayout.addLayout(self.verticalLayout, 0, 0, 5, 1) self.dsc_plot = PlotWidget(Dialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.dsc_plot.sizePolicy().hasHeightForWidth()) self.dsc_plot.setSizePolicy(sizePolicy) self.dsc_plot.setObjectName("dsc_plot") self.gridLayout.addWidget(self.dsc_plot, 0, 1, 1, 1) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.calctg_button = QtWidgets.QPushButton(Dialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.calctg_button.sizePolicy().hasHeightForWidth()) self.calctg_button.setSizePolicy(sizePolicy) self.calctg_button.setObjectName("calctg_button") self.horizontalLayout_2.addWidget(self.calctg_button) self.pushButton_2 = QtWidgets.QPushButton(Dialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pushButton_2.sizePolicy().hasHeightForWidth()) self.pushButton_2.setSizePolicy(sizePolicy) self.pushButton_2.setObjectName("pushButton_2") self.horizontalLayout_2.addWidget(self.pushButton_2) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.gridLayout.addLayout(self.horizontalLayout_2, 2, 1, 1, 1) self.tabWidget = QtWidgets.QTabWidget(Dialog) self.tabWidget.setTabPosition(QtWidgets.QTabWidget.East) self.tabWidget.setObjectName("tabWidget") self.tabWidgetPage1 = QtWidgets.QWidget() self.tabWidgetPage1.setObjectName("tabWidgetPage1") self.gridLayout_3 = QtWidgets.QGridLayout(self.tabWidgetPage1) self.gridLayout_3.setObjectName("gridLayout_3") self.tg_export_check = QtWidgets.QCheckBox(self.tabWidgetPage1) self.tg_export_check.setChecked(True) self.tg_export_check.setObjectName("tg_export_check") self.gridLayout_3.addWidget(self.tg_export_check, 2, 1, 1, 1) self.tglines_export_check = QtWidgets.QCheckBox(self.tabWidgetPage1) self.tglines_export_check.setChecked(True) self.tglines_export_check.setObjectName("tglines_export_check") self.gridLayout_3.addWidget(self.tglines_export_check, 2, 2, 1, 1) self.label_6 = QtWidgets.QLabel(self.tabWidgetPage1) self.label_6.setObjectName("label_6") self.gridLayout_3.addWidget(self.label_6, 4, 1, 1, 1) self.new_graph_tau_combo = QtWidgets.QComboBox(self.tabWidgetPage1) self.new_graph_tau_combo.setObjectName("new_graph_tau_combo") self.gridLayout_3.addWidget(self.new_graph_tau_combo, 5, 2, 1, 1) self.new_graph_tau_check = QtWidgets.QCheckBox(self.tabWidgetPage1) self.new_graph_tau_check.setChecked(True) self.new_graph_tau_check.setObjectName("new_graph_tau_check") self.gridLayout_3.addWidget(self.new_graph_tau_check, 5, 1, 1, 1) self.line = QtWidgets.QFrame(self.tabWidgetPage1) self.line.setFrameShape(QtWidgets.QFrame.HLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.gridLayout_3.addWidget(self.line, 3, 1, 1, 2) self.hodge_selection = CheckCombobox(self.tabWidgetPage1) self.hodge_selection.setObjectName("hodge_selection") self.hodge_selection.addItem("") self.hodge_selection.addItem("") self.hodge_selection.addItem("") self.hodge_selection.addItem("") self.hodge_selection.addItem("") self.gridLayout_3.addWidget(self.hodge_selection, 4, 2, 1, 1) self.tau_plot = PlotWidget(self.tabWidgetPage1) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.MinimumExpanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.tau_plot.sizePolicy().hasHeightForWidth()) self.tau_plot.setSizePolicy(sizePolicy) self.tau_plot.setObjectName("tau_plot") self.gridLayout_3.addWidget(self.tau_plot, 0, 0, 8, 1) spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_3.addItem(spacerItem1, 7, 2, 1, 1) self.pushButton_4 = QtWidgets.QPushButton(self.tabWidgetPage1) self.pushButton_4.setObjectName("pushButton_4") self.gridLayout_3.addWidget(self.pushButton_4, 6, 1, 1, 2) self.tabWidget.addTab(self.tabWidgetPage1, "") self.tabWidgetPage2 = QtWidgets.QWidget() self.tabWidgetPage2.setObjectName("tabWidgetPage2") self.gridLayout_2 = QtWidgets.QGridLayout(self.tabWidgetPage2) self.gridLayout_2.setObjectName("gridLayout_2") self.pushButton_3 = QtWidgets.QPushButton(self.tabWidgetPage2) self.pushButton_3.setObjectName("pushButton_3") self.gridLayout_2.addWidget(self.pushButton_3, 1, 1, 1, 2) self.graphicsView_2 = PlotWidget(self.tabWidgetPage2) self.graphicsView_2.setObjectName("graphicsView_2") self.gridLayout_2.addWidget(self.graphicsView_2, 0, 0, 9, 1) self.checkBox = QtWidgets.QCheckBox(self.tabWidgetPage2) self.checkBox.setChecked(True) self.checkBox.setObjectName("checkBox") self.gridLayout_2.addWidget(self.checkBox, 5, 1, 1, 1) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label_2 = QtWidgets.QLabel(self.tabWidgetPage2) self.label_2.setObjectName("label_2") self.horizontalLayout.addWidget(self.label_2) self.comboBox = QtWidgets.QComboBox(self.tabWidgetPage2) self.comboBox.setObjectName("comboBox") self.comboBox.addItem("") self.comboBox.addItem("") self.comboBox.addItem("") self.comboBox.addItem("") self.comboBox.addItem("") self.horizontalLayout.addWidget(self.comboBox) self.gridLayout_2.addLayout(self.horizontalLayout, 0, 1, 1, 2) self.comboBox_2 = QtWidgets.QComboBox(self.tabWidgetPage2) self.comboBox_2.setObjectName("comboBox_2") self.gridLayout_2.addWidget(self.comboBox_2, 5, 2, 1, 1) self.line_2 = QtWidgets.QFrame(self.tabWidgetPage2) self.line_2.setMinimumSize(QtCore.QSize(0, 0)) self.line_2.setFrameShape(QtWidgets.QFrame.HLine) self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_2.setObjectName("line_2") self.gridLayout_2.addWidget(self.line_2, 2, 1, 1, 2) self.checkBox_2 = QtWidgets.QCheckBox(self.tabWidgetPage2) self.checkBox_2.setObjectName("checkBox_2") self.gridLayout_2.addWidget(self.checkBox_2, 3, 1, 1, 2) self.checkBox_3 = QtWidgets.QCheckBox(self.tabWidgetPage2) self.checkBox_3.setObjectName("checkBox_3") self.gridLayout_2.addWidget(self.checkBox_3, 4, 1, 1, 2) spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem2, 8, 1, 1, 1) self.pushButton = QtWidgets.QPushButton(self.tabWidgetPage2) self.pushButton.setObjectName("pushButton") self.gridLayout_2.addWidget(self.pushButton, 7, 1, 1, 2) self.tabWidget.addTab(self.tabWidgetPage2, "") self.gridLayout.addWidget(self.tabWidget, 4, 1, 1, 1) self.retranslateUi(Dialog) self.tabWidget.setCurrentIndex(0) self.buttonBox.accepted.connect(Dialog.accept) # type: ignore self.buttonBox.rejected.connect(Dialog.reject) # type: ignore QtCore.QMetaObject.connectSlotsByName(Dialog) def retranslateUi(self, Dialog): _translate = QtCore.QCoreApplication.translate Dialog.setWindowTitle(_translate("Dialog", "SImba, everything the light touches is our kingdom")) self.label.setText(_translate("Dialog", "
Tg values:
")) self.label_4.setText(_translate("Dialog", "TNMH parameter:
")) self.calctg_button.setText(_translate("Dialog", "Calculate Tg")) self.pushButton_2.setText(_translate("Dialog", "Calculate fictive Cp")) self.tg_export_check.setText(_translate("Dialog", "Export Tg")) self.tglines_export_check.setText(_translate("Dialog", "Export lines")) self.label_6.setText(_translate("Dialog", "Export Hodge:")) self.new_graph_tau_check.setText(_translate("Dialog", "New graph")) self.hodge_selection.setItemText(0, _translate("Dialog", "Onset")) self.hodge_selection.setItemText(1, _translate("Dialog", "Midpoint")) self.hodge_selection.setItemText(2, _translate("Dialog", "End")) self.hodge_selection.setItemText(3, _translate("Dialog", "Inflection")) self.hodge_selection.setItemText(4, _translate("Dialog", "Fictive")) self.pushButton_4.setText(_translate("Dialog", "Save")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabWidgetPage1), _translate("Dialog", "Tg / Hodge")) self.pushButton_3.setText(_translate("Dialog", "Fit TNMH model")) self.checkBox.setText(_translate("Dialog", "New graph")) self.label_2.setText(_translate("Dialog", "Tg for TNMH")) self.comboBox.setItemText(0, _translate("Dialog", "Fictive")) self.comboBox.setItemText(1, _translate("Dialog", "Onset")) self.comboBox.setItemText(2, _translate("Dialog", "Midpoint")) self.comboBox.setItemText(3, _translate("Dialog", "End")) self.comboBox.setItemText(4, _translate("Dialog", "Inflection")) self.checkBox_2.setText(_translate("Dialog", "Export dTf / dT")) self.checkBox_3.setText(_translate("Dialog", "Export fit")) self.pushButton.setText(_translate("Dialog", "Save")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabWidgetPage2), _translate("Dialog", "TNMH")) from ..lib.forms import CheckCombobox from pyqtgraph import PlotWidget