2023-05-24 17:34:06 +00:00
|
|
|
# -*- 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
|
|
|
|
|
|
|
|
|
2023-07-03 16:21:55 +00:00
|
|
|
class Ui_Wizard(object):
|
|
|
|
def setupUi(self, Wizard):
|
|
|
|
Wizard.setObjectName("Wizard")
|
|
|
|
Wizard.resize(854, 619)
|
|
|
|
self.wizardPage1 = QtWidgets.QWizardPage()
|
|
|
|
self.wizardPage1.setObjectName("wizardPage1")
|
|
|
|
self.gridLayout = QtWidgets.QGridLayout(self.wizardPage1)
|
2023-05-24 17:34:06 +00:00
|
|
|
self.gridLayout.setObjectName("gridLayout")
|
2023-07-03 16:21:55 +00:00
|
|
|
self.treeWidget = QtWidgets.QTreeWidget(self.wizardPage1)
|
|
|
|
self.treeWidget.setObjectName("treeWidget")
|
|
|
|
self.treeWidget.headerItem().setText(0, "1")
|
|
|
|
self.treeWidget.header().setVisible(False)
|
|
|
|
self.gridLayout.addWidget(self.treeWidget, 2, 0, 1, 1)
|
|
|
|
self.gridLayout_9 = QtWidgets.QGridLayout()
|
|
|
|
self.gridLayout_9.setObjectName("gridLayout_9")
|
|
|
|
self.tg_export_check = QtWidgets.QCheckBox(self.wizardPage1)
|
|
|
|
self.tg_export_check.setChecked(True)
|
|
|
|
self.tg_export_check.setObjectName("tg_export_check")
|
|
|
|
self.gridLayout_9.addWidget(self.tg_export_check, 0, 0, 1, 1)
|
|
|
|
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
|
|
self.gridLayout_9.addItem(spacerItem, 3, 0, 1, 1)
|
|
|
|
self.tglines_export_check = QtWidgets.QCheckBox(self.wizardPage1)
|
|
|
|
self.tglines_export_check.setChecked(True)
|
|
|
|
self.tglines_export_check.setObjectName("tglines_export_check")
|
|
|
|
self.gridLayout_9.addWidget(self.tglines_export_check, 0, 1, 1, 1)
|
|
|
|
self.pushButton = QtWidgets.QPushButton(self.wizardPage1)
|
|
|
|
self.pushButton.setObjectName("pushButton")
|
|
|
|
self.gridLayout_9.addWidget(self.pushButton, 2, 0, 1, 2)
|
|
|
|
self.gridLayout.addLayout(self.gridLayout_9, 2, 1, 1, 1)
|
|
|
|
self.dsc_plot = PlotWidget(self.wizardPage1)
|
2023-06-26 17:57:23 +00:00
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
|
2023-05-24 17:34:06 +00:00
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
2023-06-26 17:57:23 +00:00
|
|
|
sizePolicy.setHeightForWidth(self.dsc_plot.sizePolicy().hasHeightForWidth())
|
|
|
|
self.dsc_plot.setSizePolicy(sizePolicy)
|
|
|
|
self.dsc_plot.setObjectName("dsc_plot")
|
2023-07-03 16:21:55 +00:00
|
|
|
self.gridLayout.addWidget(self.dsc_plot, 1, 0, 1, 2)
|
|
|
|
self.calctg_button = QtWidgets.QToolButton(self.wizardPage1)
|
2023-06-27 16:23:41 +00:00
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
2023-06-26 17:57:23 +00:00
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
sizePolicy.setHeightForWidth(self.calctg_button.sizePolicy().hasHeightForWidth())
|
|
|
|
self.calctg_button.setSizePolicy(sizePolicy)
|
2023-06-27 16:23:41 +00:00
|
|
|
self.calctg_button.setToolButtonStyle(QtCore.Qt.ToolButtonTextBesideIcon)
|
|
|
|
self.calctg_button.setArrowType(QtCore.Qt.RightArrow)
|
2023-06-26 17:57:23 +00:00
|
|
|
self.calctg_button.setObjectName("calctg_button")
|
2023-07-03 16:21:55 +00:00
|
|
|
self.gridLayout.addWidget(self.calctg_button, 0, 0, 1, 2)
|
|
|
|
Wizard.addPage(self.wizardPage1)
|
|
|
|
self.wizardPage2 = QtWidgets.QWizardPage()
|
|
|
|
self.wizardPage2.setObjectName("wizardPage2")
|
|
|
|
self.gridLayout_2 = QtWidgets.QGridLayout(self.wizardPage2)
|
|
|
|
self.gridLayout_2.setObjectName("gridLayout_2")
|
|
|
|
self.toolButton = QtWidgets.QToolButton(self.wizardPage2)
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
2023-06-26 17:57:23 +00:00
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
2023-07-03 16:21:55 +00:00
|
|
|
sizePolicy.setHeightForWidth(self.toolButton.sizePolicy().hasHeightForWidth())
|
|
|
|
self.toolButton.setSizePolicy(sizePolicy)
|
|
|
|
self.toolButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextBesideIcon)
|
|
|
|
self.toolButton.setArrowType(QtCore.Qt.RightArrow)
|
|
|
|
self.toolButton.setObjectName("toolButton")
|
|
|
|
self.gridLayout_2.addWidget(self.toolButton, 0, 0, 1, 2)
|
|
|
|
self.tghodge_graph = PlotWidget(self.wizardPage2)
|
|
|
|
self.tghodge_graph.setObjectName("tghodge_graph")
|
|
|
|
self.gridLayout_2.addWidget(self.tghodge_graph, 2, 0, 1, 1)
|
|
|
|
self.tau_plot = PlotWidget(self.wizardPage2)
|
|
|
|
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_2.addWidget(self.tau_plot, 2, 1, 1, 1)
|
|
|
|
self.gridLayout_4 = QtWidgets.QGridLayout()
|
|
|
|
self.gridLayout_4.setObjectName("gridLayout_4")
|
|
|
|
self.checkBox_6 = QtWidgets.QCheckBox(self.wizardPage2)
|
2023-06-27 16:23:41 +00:00
|
|
|
self.checkBox_6.setChecked(True)
|
|
|
|
self.checkBox_6.setObjectName("checkBox_6")
|
2023-07-03 16:21:55 +00:00
|
|
|
self.gridLayout_4.addWidget(self.checkBox_6, 2, 0, 1, 1)
|
|
|
|
self.new_graph_tau_check = QtWidgets.QCheckBox(self.wizardPage2)
|
2023-06-27 16:23:41 +00:00
|
|
|
self.new_graph_tau_check.setChecked(True)
|
|
|
|
self.new_graph_tau_check.setObjectName("new_graph_tau_check")
|
2023-07-03 16:21:55 +00:00
|
|
|
self.gridLayout_4.addWidget(self.new_graph_tau_check, 0, 1, 1, 1)
|
|
|
|
self.checkBox_7 = QtWidgets.QCheckBox(self.wizardPage2)
|
|
|
|
self.checkBox_7.setChecked(True)
|
|
|
|
self.checkBox_7.setObjectName("checkBox_7")
|
|
|
|
self.gridLayout_4.addWidget(self.checkBox_7, 4, 0, 1, 1)
|
|
|
|
self.checkBox_5 = QtWidgets.QCheckBox(self.wizardPage2)
|
2023-06-27 16:23:41 +00:00
|
|
|
self.checkBox_5.setChecked(True)
|
|
|
|
self.checkBox_5.setObjectName("checkBox_5")
|
2023-07-03 16:21:55 +00:00
|
|
|
self.gridLayout_4.addWidget(self.checkBox_5, 3, 0, 1, 1)
|
|
|
|
self.new_graph_tau_combo = QtWidgets.QComboBox(self.wizardPage2)
|
2023-07-05 17:51:06 +00:00
|
|
|
self.new_graph_tau_combo.setEnabled(False)
|
2023-07-03 16:21:55 +00:00
|
|
|
self.new_graph_tau_combo.setObjectName("new_graph_tau_combo")
|
|
|
|
self.gridLayout_4.addWidget(self.new_graph_tau_combo, 0, 2, 1, 1)
|
|
|
|
self.checkBox_4 = QtWidgets.QCheckBox(self.wizardPage2)
|
2023-06-27 16:23:41 +00:00
|
|
|
self.checkBox_4.setChecked(True)
|
|
|
|
self.checkBox_4.setObjectName("checkBox_4")
|
2023-07-03 16:21:55 +00:00
|
|
|
self.gridLayout_4.addWidget(self.checkBox_4, 1, 0, 1, 1)
|
|
|
|
self.checkBox = QtWidgets.QCheckBox(self.wizardPage2)
|
|
|
|
self.checkBox.setChecked(True)
|
|
|
|
self.checkBox.setObjectName("checkBox")
|
|
|
|
self.gridLayout_4.addWidget(self.checkBox, 0, 0, 1, 1)
|
2023-07-05 17:51:06 +00:00
|
|
|
self.pushButton_4 = QtWidgets.QPushButton(self.wizardPage2)
|
|
|
|
self.pushButton_4.setObjectName("pushButton_4")
|
|
|
|
self.gridLayout_4.addWidget(self.pushButton_4, 4, 1, 1, 2)
|
2023-07-03 16:21:55 +00:00
|
|
|
self.gridLayout_2.addLayout(self.gridLayout_4, 3, 0, 1, 2)
|
|
|
|
Wizard.addPage(self.wizardPage2)
|
|
|
|
self.wizardPage = QtWidgets.QWizardPage()
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding)
|
2023-06-26 17:57:23 +00:00
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
2023-07-03 16:21:55 +00:00
|
|
|
sizePolicy.setHeightForWidth(self.wizardPage.sizePolicy().hasHeightForWidth())
|
|
|
|
self.wizardPage.setSizePolicy(sizePolicy)
|
|
|
|
self.wizardPage.setSubTitle("")
|
|
|
|
self.wizardPage.setObjectName("wizardPage")
|
|
|
|
self.gridLayout_6 = QtWidgets.QGridLayout(self.wizardPage)
|
|
|
|
self.gridLayout_6.setObjectName("gridLayout_6")
|
2023-07-05 17:51:06 +00:00
|
|
|
self.fit_tnhm_fitbutton = QtWidgets.QPushButton(self.wizardPage)
|
|
|
|
self.fit_tnhm_fitbutton.setObjectName("fit_tnhm_fitbutton")
|
|
|
|
self.gridLayout_6.addWidget(self.fit_tnhm_fitbutton, 0, 0, 1, 2)
|
2023-07-03 16:21:55 +00:00
|
|
|
self.treeWidget_2 = QtWidgets.QTreeWidget(self.wizardPage)
|
|
|
|
self.treeWidget_2.setObjectName("treeWidget_2")
|
|
|
|
self.treeWidget_2.headerItem().setText(0, "1")
|
2023-07-05 17:51:06 +00:00
|
|
|
self.treeWidget_2.header().setVisible(False)
|
2023-07-03 16:21:55 +00:00
|
|
|
self.gridLayout_6.addWidget(self.treeWidget_2, 2, 0, 1, 1)
|
|
|
|
self.gridLayout_5 = QtWidgets.QGridLayout()
|
|
|
|
self.gridLayout_5.setObjectName("gridLayout_5")
|
|
|
|
self.new_graph_tnmh_check_2 = QtWidgets.QCheckBox(self.wizardPage)
|
|
|
|
self.new_graph_tnmh_check_2.setChecked(True)
|
|
|
|
self.new_graph_tnmh_check_2.setObjectName("new_graph_tnmh_check_2")
|
|
|
|
self.gridLayout_5.addWidget(self.new_graph_tnmh_check_2, 1, 0, 1, 1)
|
|
|
|
self.checkBox_14 = QtWidgets.QCheckBox(self.wizardPage)
|
2023-07-05 17:51:06 +00:00
|
|
|
self.checkBox_14.setChecked(True)
|
2023-07-03 16:21:55 +00:00
|
|
|
self.checkBox_14.setObjectName("checkBox_14")
|
|
|
|
self.gridLayout_5.addWidget(self.checkBox_14, 0, 0, 1, 1)
|
|
|
|
self.pushButton_2 = QtWidgets.QPushButton(self.wizardPage)
|
|
|
|
self.pushButton_2.setObjectName("pushButton_2")
|
|
|
|
self.gridLayout_5.addWidget(self.pushButton_2, 2, 0, 1, 2)
|
|
|
|
self.checkBox_13 = QtWidgets.QCheckBox(self.wizardPage)
|
2023-07-05 17:51:06 +00:00
|
|
|
self.checkBox_13.setChecked(True)
|
2023-07-03 16:21:55 +00:00
|
|
|
self.checkBox_13.setObjectName("checkBox_13")
|
|
|
|
self.gridLayout_5.addWidget(self.checkBox_13, 0, 1, 1, 1)
|
|
|
|
self.new_graph_tnmh_combo_2 = QtWidgets.QComboBox(self.wizardPage)
|
2023-07-05 17:51:06 +00:00
|
|
|
self.new_graph_tnmh_combo_2.setEnabled(False)
|
2023-07-03 16:21:55 +00:00
|
|
|
self.new_graph_tnmh_combo_2.setObjectName("new_graph_tnmh_combo_2")
|
|
|
|
self.gridLayout_5.addWidget(self.new_graph_tnmh_combo_2, 1, 1, 1, 1)
|
2023-07-05 17:51:06 +00:00
|
|
|
spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
|
|
self.gridLayout_5.addItem(spacerItem1, 3, 0, 1, 1)
|
2023-07-03 16:21:55 +00:00
|
|
|
self.gridLayout_6.addLayout(self.gridLayout_5, 2, 1, 1, 1)
|
2023-07-05 17:51:06 +00:00
|
|
|
self.graphicsView_3 = PlotWidget(self.wizardPage)
|
|
|
|
self.graphicsView_3.setObjectName("graphicsView_3")
|
|
|
|
self.gridLayout_6.addWidget(self.graphicsView_3, 1, 0, 1, 2)
|
2023-07-03 16:21:55 +00:00
|
|
|
Wizard.addPage(self.wizardPage)
|
2023-05-24 17:34:06 +00:00
|
|
|
|
2023-07-03 16:21:55 +00:00
|
|
|
self.retranslateUi(Wizard)
|
|
|
|
QtCore.QMetaObject.connectSlotsByName(Wizard)
|
2023-05-24 17:34:06 +00:00
|
|
|
|
2023-07-03 16:21:55 +00:00
|
|
|
def retranslateUi(self, Wizard):
|
2023-05-24 17:34:06 +00:00
|
|
|
_translate = QtCore.QCoreApplication.translate
|
2023-07-03 16:21:55 +00:00
|
|
|
Wizard.setWindowTitle(_translate("Wizard", "Wizard"))
|
|
|
|
self.wizardPage1.setTitle(_translate("Wizard", "Glass transition"))
|
|
|
|
self.tg_export_check.setText(_translate("Wizard", "Export Tg"))
|
|
|
|
self.tglines_export_check.setText(_translate("Wizard", "Export lines"))
|
|
|
|
self.pushButton.setText(_translate("Wizard", "Export"))
|
|
|
|
self.calctg_button.setText(_translate("Wizard", "Calculate Tg"))
|
|
|
|
self.wizardPage2.setTitle(_translate("Wizard", "Hodge"))
|
|
|
|
self.toolButton.setText(_translate("Wizard", "Calculate Hodge"))
|
|
|
|
self.checkBox_6.setText(_translate("Wizard", "End"))
|
|
|
|
self.new_graph_tau_check.setText(_translate("Wizard", "New graph"))
|
|
|
|
self.checkBox_7.setText(_translate("Wizard", "Fictive"))
|
|
|
|
self.checkBox_5.setText(_translate("Wizard", "Inflection"))
|
|
|
|
self.checkBox_4.setText(_translate("Wizard", "Midpoint"))
|
|
|
|
self.checkBox.setText(_translate("Wizard", "Onset"))
|
2023-07-05 17:51:06 +00:00
|
|
|
self.pushButton_4.setText(_translate("Wizard", "Export"))
|
2023-07-03 16:21:55 +00:00
|
|
|
self.wizardPage.setTitle(_translate("Wizard", "TNMH"))
|
2023-07-05 17:51:06 +00:00
|
|
|
self.fit_tnhm_fitbutton.setText(_translate("Wizard", "Fit TNMH model"))
|
2023-07-03 16:21:55 +00:00
|
|
|
self.new_graph_tnmh_check_2.setText(_translate("Wizard", "New graph"))
|
|
|
|
self.checkBox_14.setText(_translate("Wizard", "Export fit"))
|
|
|
|
self.pushButton_2.setText(_translate("Wizard", "Export"))
|
|
|
|
self.checkBox_13.setText(_translate("Wizard", "Export dTf / dT"))
|
2023-05-24 17:34:06 +00:00
|
|
|
from pyqtgraph import PlotWidget
|