# -*- 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_DSCEvalDialog(object): def setupUi(self, DSCEvalDialog): DSCEvalDialog.setObjectName("DSCEvalDialog") DSCEvalDialog.resize(996, 712) self.gridLayout = QtWidgets.QGridLayout(DSCEvalDialog) self.gridLayout.setObjectName("gridLayout") self.listWidget = QListWidgetSelect(DSCEvalDialog) 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.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection) self.listWidget.setObjectName("listWidget") self.gridLayout.addWidget(self.listWidget, 0, 0, 1, 1) self.stackedWidget = QtWidgets.QStackedWidget(DSCEvalDialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.stackedWidget.sizePolicy().hasHeightForWidth()) self.stackedWidget.setSizePolicy(sizePolicy) self.stackedWidget.setFrameShape(QtWidgets.QFrame.Box) self.stackedWidget.setObjectName("stackedWidget") self.page = QtWidgets.QWidget() self.page.setObjectName("page") self.gridLayout_2 = QtWidgets.QGridLayout(self.page) self.gridLayout_2.setObjectName("gridLayout_2") self.gridLayout_9 = QtWidgets.QGridLayout() self.gridLayout_9.setObjectName("gridLayout_9") self.tg_export_check = QtWidgets.QCheckBox(self.page) 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.page) 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.tg_export_button = QtWidgets.QPushButton(self.page) self.tg_export_button.setObjectName("tg_export_button") self.gridLayout_9.addWidget(self.tg_export_button, 2, 0, 1, 2) self.gridLayout_2.addLayout(self.gridLayout_9, 2, 1, 1, 1) self.tg_tree = QtWidgets.QTreeWidget(self.page) self.tg_tree.setObjectName("tg_tree") self.tg_tree.headerItem().setText(0, "1") self.tg_tree.header().setVisible(False) self.gridLayout_2.addWidget(self.tg_tree, 2, 0, 1, 1) self.dsc_plot = NMRPlotWidget(self.page) 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_2.addWidget(self.dsc_plot, 1, 0, 1, 2) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.label = QtWidgets.QLabel(self.page) self.label.setObjectName("label") self.horizontalLayout_4.addWidget(self.label) self.calctg_button = QtWidgets.QPushButton(self.page) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) 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_4.addWidget(self.calctg_button) self.gridLayout_2.addLayout(self.horizontalLayout_4, 0, 0, 1, 2) self.stackedWidget.addWidget(self.page) self.page_2 = QtWidgets.QWidget() self.page_2.setObjectName("page_2") self.gridLayout_3 = QtWidgets.QGridLayout(self.page_2) self.gridLayout_3.setObjectName("gridLayout_3") self.label_4 = QtWidgets.QLabel(self.page_2) self.label_4.setObjectName("label_4") self.gridLayout_3.addWidget(self.label_4, 2, 0, 1, 1) self.tghodge_graph = NMRPlotWidget(self.page_2) self.tghodge_graph.setObjectName("tghodge_graph") self.gridLayout_3.addWidget(self.tghodge_graph, 1, 0, 1, 1) self.tau_plot = NMRPlotWidget(self.page_2) 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, 1, 1, 1, 1) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label_2 = QtWidgets.QLabel(self.page_2) self.label_2.setObjectName("label_2") self.horizontalLayout_3.addWidget(self.label_2) self.hodge_button = QtWidgets.QPushButton(self.page_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.hodge_button.sizePolicy().hasHeightForWidth()) self.hodge_button.setSizePolicy(sizePolicy) self.hodge_button.setObjectName("hodge_button") self.horizontalLayout_3.addWidget(self.hodge_button) self.gridLayout_3.addLayout(self.horizontalLayout_3, 0, 0, 1, 2) self.export_hodge_button = QtWidgets.QPushButton(self.page_2) self.export_hodge_button.setObjectName("export_hodge_button") self.gridLayout_3.addWidget(self.export_hodge_button, 5, 1, 1, 1) self.hodge_graph_combo = QtWidgets.QComboBox(self.page_2) self.hodge_graph_combo.setEnabled(False) self.hodge_graph_combo.setObjectName("hodge_graph_combo") self.gridLayout_3.addWidget(self.hodge_graph_combo, 4, 1, 1, 1) self.hodge_graph_check = QtWidgets.QCheckBox(self.page_2) self.hodge_graph_check.setChecked(True) self.hodge_graph_check.setObjectName("hodge_graph_check") self.gridLayout_3.addWidget(self.hodge_graph_check, 4, 0, 1, 1) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.onset_check = QtWidgets.QCheckBox(self.page_2) self.onset_check.setChecked(True) self.onset_check.setObjectName("onset_check") self.horizontalLayout_5.addWidget(self.onset_check) self.mid_check = QtWidgets.QCheckBox(self.page_2) self.mid_check.setChecked(True) self.mid_check.setObjectName("mid_check") self.horizontalLayout_5.addWidget(self.mid_check) self.end_check = QtWidgets.QCheckBox(self.page_2) self.end_check.setChecked(True) self.end_check.setObjectName("end_check") self.horizontalLayout_5.addWidget(self.end_check) self.inflection_check = QtWidgets.QCheckBox(self.page_2) self.inflection_check.setChecked(True) self.inflection_check.setObjectName("inflection_check") self.horizontalLayout_5.addWidget(self.inflection_check) self.fictive_check = QtWidgets.QCheckBox(self.page_2) self.fictive_check.setChecked(True) self.fictive_check.setObjectName("fictive_check") self.horizontalLayout_5.addWidget(self.fictive_check) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem1) self.gridLayout_3.addLayout(self.horizontalLayout_5, 3, 0, 1, 2) self.stackedWidget.addWidget(self.page_2) self.page_3 = QtWidgets.QWidget() self.page_3.setObjectName("page_3") self.gridLayout_6 = QtWidgets.QGridLayout(self.page_3) self.gridLayout_6.setObjectName("gridLayout_6") self.tnmh_graphics = NMRPlotWidget(self.page_3) self.tnmh_graphics.setObjectName("tnmh_graphics") self.gridLayout_6.addWidget(self.tnmh_graphics, 1, 0, 1, 2) self.tnmh_tree = QtWidgets.QTreeWidget(self.page_3) self.tnmh_tree.setObjectName("tnmh_tree") self.tnmh_tree.headerItem().setText(0, "1") self.tnmh_tree.header().setVisible(False) self.gridLayout_6.addWidget(self.tnmh_tree, 2, 0, 1, 1) self.gridLayout_5 = QtWidgets.QGridLayout() self.gridLayout_5.setObjectName("gridLayout_5") self.tnmh_graph_check = QtWidgets.QCheckBox(self.page_3) self.tnmh_graph_check.setChecked(True) self.tnmh_graph_check.setObjectName("tnmh_graph_check") self.gridLayout_5.addWidget(self.tnmh_graph_check, 1, 0, 1, 1) self.tnmhfit_export_check = QtWidgets.QCheckBox(self.page_3) self.tnmhfit_export_check.setChecked(True) self.tnmhfit_export_check.setObjectName("tnmhfit_export_check") self.gridLayout_5.addWidget(self.tnmhfit_export_check, 0, 0, 1, 1) self.tnmh_export_button = QtWidgets.QPushButton(self.page_3) self.tnmh_export_button.setObjectName("tnmh_export_button") self.gridLayout_5.addWidget(self.tnmh_export_button, 2, 0, 1, 2) self.fictive_export_check = QtWidgets.QCheckBox(self.page_3) self.fictive_export_check.setChecked(True) self.fictive_export_check.setObjectName("fictive_export_check") self.gridLayout_5.addWidget(self.fictive_export_check, 0, 1, 1, 1) self.tnmh_graph_combo = QtWidgets.QComboBox(self.page_3) self.tnmh_graph_combo.setEnabled(False) self.tnmh_graph_combo.setObjectName("tnmh_graph_combo") self.gridLayout_5.addWidget(self.tnmh_graph_combo, 1, 1, 1, 1) spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_5.addItem(spacerItem2, 3, 0, 1, 1) self.gridLayout_6.addLayout(self.gridLayout_5, 2, 1, 1, 1) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.label_3 = QtWidgets.QLabel(self.page_3) self.label_3.setObjectName("label_3") self.horizontalLayout_2.addWidget(self.label_3) self.tnhm_fitbutton = QtWidgets.QPushButton(self.page_3) self.tnhm_fitbutton.setObjectName("tnhm_fitbutton") self.horizontalLayout_2.addWidget(self.tnhm_fitbutton) self.gridLayout_6.addLayout(self.horizontalLayout_2, 0, 0, 1, 2) self.stackedWidget.addWidget(self.page_3) self.gridLayout.addWidget(self.stackedWidget, 0, 1, 1, 1) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem3) self.back_button = QtWidgets.QToolButton(DSCEvalDialog) self.back_button.setToolButtonStyle(QtCore.Qt.ToolButtonTextBesideIcon) self.back_button.setArrowType(QtCore.Qt.LeftArrow) self.back_button.setObjectName("back_button") self.horizontalLayout.addWidget(self.back_button) self.next_button = QtWidgets.QToolButton(DSCEvalDialog) self.next_button.setToolButtonStyle(QtCore.Qt.ToolButtonTextBesideIcon) self.next_button.setArrowType(QtCore.Qt.RightArrow) self.next_button.setObjectName("next_button") self.horizontalLayout.addWidget(self.next_button) self.close_button = QtWidgets.QPushButton(DSCEvalDialog) self.close_button.setObjectName("close_button") self.horizontalLayout.addWidget(self.close_button) self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 2) self.retranslateUi(DSCEvalDialog) self.stackedWidget.setCurrentIndex(0) self.close_button.clicked.connect(DSCEvalDialog.close) # type: ignore QtCore.QMetaObject.connectSlotsByName(DSCEvalDialog) def retranslateUi(self, DSCEvalDialog): _translate = QtCore.QCoreApplication.translate DSCEvalDialog.setWindowTitle(_translate("DSCEvalDialog", "To boldly go where no man has gone before")) self.tg_export_check.setText(_translate("DSCEvalDialog", "Export Tg")) self.tglines_export_check.setText(_translate("DSCEvalDialog", "Export lines")) self.tg_export_button.setText(_translate("DSCEvalDialog", "Export")) self.label.setText(_translate("DSCEvalDialog", "

Glass transition

")) self.calctg_button.setText(_translate("DSCEvalDialog", "Calculate Tg")) self.label_4.setText(_translate("DSCEvalDialog", "Export tau:")) self.label_2.setText(_translate("DSCEvalDialog", "

Hodge tau

")) self.hodge_button.setText(_translate("DSCEvalDialog", "Make it so.")) self.export_hodge_button.setText(_translate("DSCEvalDialog", "Export")) self.hodge_graph_check.setText(_translate("DSCEvalDialog", "New graph")) self.onset_check.setText(_translate("DSCEvalDialog", "Onset")) self.mid_check.setText(_translate("DSCEvalDialog", "Midpoint")) self.end_check.setText(_translate("DSCEvalDialog", "End")) self.inflection_check.setText(_translate("DSCEvalDialog", "Inflection")) self.fictive_check.setText(_translate("DSCEvalDialog", "Fictive")) self.tnmh_graph_check.setText(_translate("DSCEvalDialog", "New graph")) self.tnmhfit_export_check.setText(_translate("DSCEvalDialog", "Export fit")) self.tnmh_export_button.setText(_translate("DSCEvalDialog", "Export")) self.fictive_export_check.setText(_translate("DSCEvalDialog", "Export dTf / dT")) self.label_3.setText(_translate("DSCEvalDialog", "

dTf/dT and TNMH

")) self.tnhm_fitbutton.setText(_translate("DSCEvalDialog", "Engage!")) self.back_button.setText(_translate("DSCEvalDialog", "Back")) self.next_button.setText(_translate("DSCEvalDialog", "Next")) self.close_button.setText(_translate("DSCEvalDialog", "Close")) from ..lib.graph_items import NMRPlotWidget from ..lib.listwidget import QListWidgetSelect