|
|
|
@ -1,29 +1,113 @@
|
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
|
|
# Form implementation generated from reading ui file 'resources/_ui/dscfile_dialog.ui'
|
|
|
|
|
# Form implementation generated from reading ui file 'src/resources/_ui/dscfile_dialog.ui'
|
|
|
|
|
#
|
|
|
|
|
# Created by: PyQt5 UI code generator 5.9.2
|
|
|
|
|
# Created by: PyQt5 UI code generator 5.15.2
|
|
|
|
|
#
|
|
|
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
|
# 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(962, 662)
|
|
|
|
|
self.gridLayout_2 = QtWidgets.QGridLayout(Dialog)
|
|
|
|
|
self.gridLayout_2.setObjectName("gridLayout_2")
|
|
|
|
|
self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
|
|
|
|
|
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
|
|
|
|
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply|QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok|QtWidgets.QDialogButtonBox.Save)
|
|
|
|
|
self.buttonBox.setObjectName("buttonBox")
|
|
|
|
|
self.gridLayout_2.addWidget(self.buttonBox, 1, 1, 1, 1)
|
|
|
|
|
self.gridLayout_4 = QtWidgets.QGridLayout()
|
|
|
|
|
self.gridLayout_4.setContentsMargins(-1, 0, 0, -1)
|
|
|
|
|
self.gridLayout_4.setSpacing(3)
|
|
|
|
|
self.gridLayout_4.setObjectName("gridLayout_4")
|
|
|
|
|
self.cp_checkBox = QtWidgets.QCheckBox(Dialog)
|
|
|
|
|
Dialog.resize(1341, 799)
|
|
|
|
|
self.verticalLayout_5 = QtWidgets.QVBoxLayout(Dialog)
|
|
|
|
|
self.verticalLayout_5.setObjectName("verticalLayout_5")
|
|
|
|
|
self.splitter = QtWidgets.QSplitter(Dialog)
|
|
|
|
|
self.splitter.setOrientation(QtCore.Qt.Horizontal)
|
|
|
|
|
self.splitter.setObjectName("splitter")
|
|
|
|
|
self.verticalLayoutWidget = QtWidgets.QWidget(self.splitter)
|
|
|
|
|
self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
|
|
|
|
|
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
|
|
|
|
|
self.verticalLayout_4.setContentsMargins(6, 6, 6, 6)
|
|
|
|
|
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
|
|
|
|
self.groupBox = QtWidgets.QGroupBox(self.verticalLayoutWidget)
|
|
|
|
|
self.groupBox.setFlat(False)
|
|
|
|
|
self.groupBox.setObjectName("groupBox")
|
|
|
|
|
self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
|
|
|
|
|
self.verticalLayout.setContentsMargins(6, 6, 6, 6)
|
|
|
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
|
|
|
self.step_listWidget = QtWidgets.QListWidget(self.groupBox)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
|
sizePolicy.setHeightForWidth(self.step_listWidget.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.step_listWidget.setSizePolicy(sizePolicy)
|
|
|
|
|
self.step_listWidget.setMinimumSize(QtCore.QSize(0, 0))
|
|
|
|
|
self.step_listWidget.setObjectName("step_listWidget")
|
|
|
|
|
self.verticalLayout.addWidget(self.step_listWidget)
|
|
|
|
|
self.verticalLayout_4.addWidget(self.groupBox)
|
|
|
|
|
self.groupBox_2 = QtWidgets.QGroupBox(self.verticalLayoutWidget)
|
|
|
|
|
self.groupBox_2.setObjectName("groupBox_2")
|
|
|
|
|
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_2)
|
|
|
|
|
self.verticalLayout_2.setContentsMargins(6, 6, 6, 6)
|
|
|
|
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
|
|
|
|
self.groupBox_4 = QtWidgets.QGroupBox(self.groupBox_2)
|
|
|
|
|
self.groupBox_4.setObjectName("groupBox_4")
|
|
|
|
|
self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox_4)
|
|
|
|
|
self.verticalLayout_6.setContentsMargins(6, 6, 6, 6)
|
|
|
|
|
self.verticalLayout_6.setObjectName("verticalLayout_6")
|
|
|
|
|
self.empty_label = QtWidgets.QLabel(self.groupBox_4)
|
|
|
|
|
self.empty_label.setObjectName("empty_label")
|
|
|
|
|
self.verticalLayout_6.addWidget(self.empty_label)
|
|
|
|
|
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
|
|
|
|
|
self.horizontalLayout_2.setSpacing(3)
|
|
|
|
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
|
|
|
|
self.loadempty_button = QtWidgets.QPushButton(self.groupBox_4)
|
|
|
|
|
self.loadempty_button.setObjectName("loadempty_button")
|
|
|
|
|
self.horizontalLayout_2.addWidget(self.loadempty_button)
|
|
|
|
|
self.delempty_button = QtWidgets.QPushButton(self.groupBox_4)
|
|
|
|
|
self.delempty_button.setObjectName("delempty_button")
|
|
|
|
|
self.horizontalLayout_2.addWidget(self.delempty_button)
|
|
|
|
|
self.verticalLayout_6.addLayout(self.horizontalLayout_2)
|
|
|
|
|
self.verticalLayout_2.addWidget(self.groupBox_4)
|
|
|
|
|
self.groupBox_5 = QtWidgets.QGroupBox(self.groupBox_2)
|
|
|
|
|
self.groupBox_5.setObjectName("groupBox_5")
|
|
|
|
|
self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupBox_5)
|
|
|
|
|
self.verticalLayout_7.setContentsMargins(6, 6, 6, 6)
|
|
|
|
|
self.verticalLayout_7.setSpacing(3)
|
|
|
|
|
self.verticalLayout_7.setObjectName("verticalLayout_7")
|
|
|
|
|
self.none_radioButton = QtWidgets.QRadioButton(self.groupBox_5)
|
|
|
|
|
self.none_radioButton.setObjectName("none_radioButton")
|
|
|
|
|
self.buttonGroup = QtWidgets.QButtonGroup(Dialog)
|
|
|
|
|
self.buttonGroup.setObjectName("buttonGroup")
|
|
|
|
|
self.buttonGroup.addButton(self.none_radioButton)
|
|
|
|
|
self.verticalLayout_7.addWidget(self.none_radioButton)
|
|
|
|
|
self.isotherm_radioButton = QtWidgets.QRadioButton(self.groupBox_5)
|
|
|
|
|
self.isotherm_radioButton.setChecked(True)
|
|
|
|
|
self.isotherm_radioButton.setObjectName("isotherm_radioButton")
|
|
|
|
|
self.buttonGroup.addButton(self.isotherm_radioButton)
|
|
|
|
|
self.verticalLayout_7.addWidget(self.isotherm_radioButton)
|
|
|
|
|
self.slope_radioButton = QtWidgets.QRadioButton(self.groupBox_5)
|
|
|
|
|
self.slope_radioButton.setObjectName("slope_radioButton")
|
|
|
|
|
self.buttonGroup.addButton(self.slope_radioButton)
|
|
|
|
|
self.verticalLayout_7.addWidget(self.slope_radioButton)
|
|
|
|
|
self.widget = QtWidgets.QWidget(self.groupBox_5)
|
|
|
|
|
self.widget.setMinimumSize(QtCore.QSize(0, 33))
|
|
|
|
|
self.widget.setObjectName("widget")
|
|
|
|
|
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.widget)
|
|
|
|
|
self.horizontalLayout_3.setContentsMargins(3, 3, 3, 3)
|
|
|
|
|
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
|
|
|
|
self.limit1_lineedit = QtWidgets.QLineEdit(self.widget)
|
|
|
|
|
self.limit1_lineedit.setObjectName("limit1_lineedit")
|
|
|
|
|
self.horizontalLayout_3.addWidget(self.limit1_lineedit)
|
|
|
|
|
self.limit2_lineedit = QtWidgets.QLineEdit(self.widget)
|
|
|
|
|
self.limit2_lineedit.setText("")
|
|
|
|
|
self.limit2_lineedit.setObjectName("limit2_lineedit")
|
|
|
|
|
self.horizontalLayout_3.addWidget(self.limit2_lineedit)
|
|
|
|
|
self.verticalLayout_7.addWidget(self.widget)
|
|
|
|
|
self.verticalLayout_2.addWidget(self.groupBox_5)
|
|
|
|
|
self.verticalLayout_4.addWidget(self.groupBox_2)
|
|
|
|
|
self.groupBox_3 = QtWidgets.QGroupBox(self.verticalLayoutWidget)
|
|
|
|
|
self.groupBox_3.setObjectName("groupBox_3")
|
|
|
|
|
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox_3)
|
|
|
|
|
self.verticalLayout_3.setContentsMargins(6, 6, 6, 6)
|
|
|
|
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
|
|
|
|
self.cp_checkBox = QtWidgets.QCheckBox(self.groupBox_3)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.MinimumExpanding)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
@ -31,36 +115,8 @@ class Ui_Dialog(object):
|
|
|
|
|
self.cp_checkBox.setSizePolicy(sizePolicy)
|
|
|
|
|
self.cp_checkBox.setChecked(True)
|
|
|
|
|
self.cp_checkBox.setObjectName("cp_checkBox")
|
|
|
|
|
self.gridLayout_4.addWidget(self.cp_checkBox, 11, 0, 1, 4)
|
|
|
|
|
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
|
|
|
|
|
self.horizontalLayout_2.setSpacing(3)
|
|
|
|
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
|
|
|
|
self.loadempty_button = QtWidgets.QPushButton(Dialog)
|
|
|
|
|
self.loadempty_button.setObjectName("loadempty_button")
|
|
|
|
|
self.horizontalLayout_2.addWidget(self.loadempty_button)
|
|
|
|
|
self.delempty_button = QtWidgets.QPushButton(Dialog)
|
|
|
|
|
self.delempty_button.setObjectName("delempty_button")
|
|
|
|
|
self.horizontalLayout_2.addWidget(self.delempty_button)
|
|
|
|
|
self.gridLayout_4.addLayout(self.horizontalLayout_2, 5, 0, 1, 4)
|
|
|
|
|
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
|
|
|
self.gridLayout_4.addItem(spacerItem, 12, 0, 1, 1)
|
|
|
|
|
self.isotherm_radioButton = QtWidgets.QRadioButton(Dialog)
|
|
|
|
|
self.isotherm_radioButton.setChecked(True)
|
|
|
|
|
self.isotherm_radioButton.setObjectName("isotherm_radioButton")
|
|
|
|
|
self.buttonGroup = QtWidgets.QButtonGroup(Dialog)
|
|
|
|
|
self.buttonGroup.setObjectName("buttonGroup")
|
|
|
|
|
self.buttonGroup.addButton(self.isotherm_radioButton)
|
|
|
|
|
self.gridLayout_4.addWidget(self.isotherm_radioButton, 6, 1, 1, 1)
|
|
|
|
|
self.label_4 = QtWidgets.QLabel(Dialog)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
|
sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.label_4.setSizePolicy(sizePolicy)
|
|
|
|
|
self.label_4.setStyleSheet("font-weight: bold")
|
|
|
|
|
self.label_4.setObjectName("label_4")
|
|
|
|
|
self.gridLayout_4.addWidget(self.label_4, 0, 0, 1, 4)
|
|
|
|
|
self.reference_tableWidget = QtWidgets.QTableWidget(Dialog)
|
|
|
|
|
self.verticalLayout_3.addWidget(self.cp_checkBox)
|
|
|
|
|
self.reference_tableWidget = QtWidgets.QTableWidget(self.groupBox_3)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Maximum)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
@ -75,57 +131,11 @@ class Ui_Dialog(object):
|
|
|
|
|
self.reference_tableWidget.horizontalHeader().setVisible(False)
|
|
|
|
|
self.reference_tableWidget.horizontalHeader().setStretchLastSection(True)
|
|
|
|
|
self.reference_tableWidget.verticalHeader().setVisible(False)
|
|
|
|
|
self.gridLayout_4.addWidget(self.reference_tableWidget, 9, 0, 1, 4)
|
|
|
|
|
self.step_listWidget = QtWidgets.QListWidget(Dialog)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
|
sizePolicy.setHeightForWidth(self.step_listWidget.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.step_listWidget.setSizePolicy(sizePolicy)
|
|
|
|
|
self.step_listWidget.setMinimumSize(QtCore.QSize(0, 0))
|
|
|
|
|
self.step_listWidget.setObjectName("step_listWidget")
|
|
|
|
|
self.gridLayout_4.addWidget(self.step_listWidget, 1, 0, 1, 4)
|
|
|
|
|
self.label = QtWidgets.QLabel(Dialog)
|
|
|
|
|
self.label.setObjectName("label")
|
|
|
|
|
self.gridLayout_4.addWidget(self.label, 6, 0, 1, 1)
|
|
|
|
|
self.slope_radioButton = QtWidgets.QRadioButton(Dialog)
|
|
|
|
|
self.slope_radioButton.setObjectName("slope_radioButton")
|
|
|
|
|
self.buttonGroup.addButton(self.slope_radioButton)
|
|
|
|
|
self.gridLayout_4.addWidget(self.slope_radioButton, 6, 2, 1, 1)
|
|
|
|
|
self.empty_label = QtWidgets.QLabel(Dialog)
|
|
|
|
|
self.empty_label.setObjectName("empty_label")
|
|
|
|
|
self.gridLayout_4.addWidget(self.empty_label, 4, 0, 1, 4)
|
|
|
|
|
self.label_3 = QtWidgets.QLabel(Dialog)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
|
sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.label_3.setSizePolicy(sizePolicy)
|
|
|
|
|
self.label_3.setStyleSheet("font-weight: bold")
|
|
|
|
|
self.label_3.setObjectName("label_3")
|
|
|
|
|
self.gridLayout_4.addWidget(self.label_3, 8, 0, 1, 4)
|
|
|
|
|
self.label_2 = QtWidgets.QLabel(Dialog)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
|
sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.label_2.setSizePolicy(sizePolicy)
|
|
|
|
|
self.label_2.setStyleSheet("font-weight: bold")
|
|
|
|
|
self.label_2.setObjectName("label_2")
|
|
|
|
|
self.gridLayout_4.addWidget(self.label_2, 3, 0, 1, 4)
|
|
|
|
|
self.line = QtWidgets.QFrame(Dialog)
|
|
|
|
|
self.line.setFrameShape(QtWidgets.QFrame.HLine)
|
|
|
|
|
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
|
|
|
|
|
self.line.setObjectName("line")
|
|
|
|
|
self.gridLayout_4.addWidget(self.line, 7, 0, 1, 4)
|
|
|
|
|
self.none_radioButton = QtWidgets.QRadioButton(Dialog)
|
|
|
|
|
self.none_radioButton.setObjectName("none_radioButton")
|
|
|
|
|
self.buttonGroup.addButton(self.none_radioButton)
|
|
|
|
|
self.gridLayout_4.addWidget(self.none_radioButton, 6, 3, 1, 1)
|
|
|
|
|
self.verticalLayout_3.addWidget(self.reference_tableWidget)
|
|
|
|
|
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
|
|
|
|
self.horizontalLayout.setSpacing(3)
|
|
|
|
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
|
|
|
self.ref_add_pushButton = QtWidgets.QPushButton(Dialog)
|
|
|
|
|
self.ref_add_pushButton = QtWidgets.QPushButton(self.groupBox_3)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Maximum)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
@ -133,7 +143,7 @@ class Ui_Dialog(object):
|
|
|
|
|
self.ref_add_pushButton.setSizePolicy(sizePolicy)
|
|
|
|
|
self.ref_add_pushButton.setObjectName("ref_add_pushButton")
|
|
|
|
|
self.horizontalLayout.addWidget(self.ref_add_pushButton)
|
|
|
|
|
self.ref_remove_pushButton = QtWidgets.QPushButton(Dialog)
|
|
|
|
|
self.ref_remove_pushButton = QtWidgets.QPushButton(self.groupBox_3)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Maximum)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
@ -141,16 +151,22 @@ class Ui_Dialog(object):
|
|
|
|
|
self.ref_remove_pushButton.setSizePolicy(sizePolicy)
|
|
|
|
|
self.ref_remove_pushButton.setObjectName("ref_remove_pushButton")
|
|
|
|
|
self.horizontalLayout.addWidget(self.ref_remove_pushButton)
|
|
|
|
|
self.gridLayout_4.addLayout(self.horizontalLayout, 10, 0, 1, 4)
|
|
|
|
|
self.line_2 = QtWidgets.QFrame(Dialog)
|
|
|
|
|
self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
|
|
|
|
|
self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
|
|
|
|
|
self.line_2.setObjectName("line_2")
|
|
|
|
|
self.gridLayout_4.addWidget(self.line_2, 2, 0, 1, 4)
|
|
|
|
|
self.gridLayout_2.addLayout(self.gridLayout_4, 0, 0, 1, 1)
|
|
|
|
|
self.gridLayout = QtWidgets.QGridLayout()
|
|
|
|
|
self.verticalLayout_3.addLayout(self.horizontalLayout)
|
|
|
|
|
self.verticalLayout_4.addWidget(self.groupBox_3)
|
|
|
|
|
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
|
|
|
self.verticalLayout_4.addItem(spacerItem)
|
|
|
|
|
self.buttonBox = QtWidgets.QDialogButtonBox(self.verticalLayoutWidget)
|
|
|
|
|
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
|
|
|
|
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply|QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok|QtWidgets.QDialogButtonBox.Save)
|
|
|
|
|
self.buttonBox.setCenterButtons(True)
|
|
|
|
|
self.buttonBox.setObjectName("buttonBox")
|
|
|
|
|
self.verticalLayout_4.addWidget(self.buttonBox)
|
|
|
|
|
self.widget1 = QtWidgets.QWidget(self.splitter)
|
|
|
|
|
self.widget1.setObjectName("widget1")
|
|
|
|
|
self.gridLayout = QtWidgets.QGridLayout(self.widget1)
|
|
|
|
|
self.gridLayout.setContentsMargins(0, 0, 0, 0)
|
|
|
|
|
self.gridLayout.setObjectName("gridLayout")
|
|
|
|
|
self.raw_graph = PlotWidget(Dialog)
|
|
|
|
|
self.raw_graph = PlotWidget(self.widget1)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
@ -159,7 +175,7 @@ class Ui_Dialog(object):
|
|
|
|
|
self.raw_graph.setMinimumSize(QtCore.QSize(300, 200))
|
|
|
|
|
self.raw_graph.setObjectName("raw_graph")
|
|
|
|
|
self.gridLayout.addWidget(self.raw_graph, 0, 0, 1, 1)
|
|
|
|
|
self.calib_graph = PlotWidget(Dialog)
|
|
|
|
|
self.calib_graph = PlotWidget(self.widget1)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
@ -168,7 +184,7 @@ class Ui_Dialog(object):
|
|
|
|
|
self.calib_graph.setMinimumSize(QtCore.QSize(300, 200))
|
|
|
|
|
self.calib_graph.setObjectName("calib_graph")
|
|
|
|
|
self.gridLayout.addWidget(self.calib_graph, 1, 0, 1, 1)
|
|
|
|
|
self.baseline_graph = PlotWidget(Dialog)
|
|
|
|
|
self.baseline_graph = PlotWidget(self.widget1)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
@ -177,7 +193,7 @@ class Ui_Dialog(object):
|
|
|
|
|
self.baseline_graph.setMinimumSize(QtCore.QSize(300, 200))
|
|
|
|
|
self.baseline_graph.setObjectName("baseline_graph")
|
|
|
|
|
self.gridLayout.addWidget(self.baseline_graph, 0, 1, 1, 1)
|
|
|
|
|
self.end_graph = PlotWidget(Dialog)
|
|
|
|
|
self.end_graph = PlotWidget(self.widget1)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
@ -186,7 +202,7 @@ class Ui_Dialog(object):
|
|
|
|
|
self.end_graph.setMinimumSize(QtCore.QSize(0, 0))
|
|
|
|
|
self.end_graph.setObjectName("end_graph")
|
|
|
|
|
self.gridLayout.addWidget(self.end_graph, 1, 1, 1, 1)
|
|
|
|
|
self.gridLayout_2.addLayout(self.gridLayout, 0, 1, 1, 1)
|
|
|
|
|
self.verticalLayout_5.addWidget(self.splitter)
|
|
|
|
|
|
|
|
|
|
self.retranslateUi(Dialog)
|
|
|
|
|
self.buttonBox.accepted.connect(Dialog.accept)
|
|
|
|
@ -196,18 +212,20 @@ class Ui_Dialog(object):
|
|
|
|
|
def retranslateUi(self, Dialog):
|
|
|
|
|
_translate = QtCore.QCoreApplication.translate
|
|
|
|
|
Dialog.setWindowTitle(_translate("Dialog", "Read DSC file"))
|
|
|
|
|
self.cp_checkBox.setText(_translate("Dialog", "Convert to heat capacity"))
|
|
|
|
|
self.groupBox.setTitle(_translate("Dialog", "Detected steps"))
|
|
|
|
|
self.groupBox_2.setTitle(_translate("Dialog", "Baseline corrections"))
|
|
|
|
|
self.groupBox_4.setTitle(_translate("Dialog", "Empty measurement"))
|
|
|
|
|
self.empty_label.setText(_translate("Dialog", "No emtpy measurement"))
|
|
|
|
|
self.loadempty_button.setText(_translate("Dialog", "Load empty"))
|
|
|
|
|
self.delempty_button.setText(_translate("Dialog", "Remove empty"))
|
|
|
|
|
self.isotherm_radioButton.setText(_translate("Dialog", "Isotherms"))
|
|
|
|
|
self.label_4.setText(_translate("Dialog", "Detected steps"))
|
|
|
|
|
self.label.setText(_translate("Dialog", "Slope"))
|
|
|
|
|
self.slope_radioButton.setText(_translate("Dialog", "Initial slope"))
|
|
|
|
|
self.empty_label.setText(_translate("Dialog", "Empty measurement"))
|
|
|
|
|
self.label_3.setText(_translate("Dialog", "Calibration"))
|
|
|
|
|
self.label_2.setText(_translate("Dialog", "Baseline"))
|
|
|
|
|
self.groupBox_5.setTitle(_translate("Dialog", "Slope correction"))
|
|
|
|
|
self.none_radioButton.setText(_translate("Dialog", "None"))
|
|
|
|
|
self.isotherm_radioButton.setText(_translate("Dialog", "Isotherms"))
|
|
|
|
|
self.slope_radioButton.setText(_translate("Dialog", "Initial slope"))
|
|
|
|
|
self.limit1_lineedit.setPlaceholderText(_translate("Dialog", "start (in min)"))
|
|
|
|
|
self.limit2_lineedit.setPlaceholderText(_translate("Dialog", "stop (in min)"))
|
|
|
|
|
self.groupBox_3.setTitle(_translate("Dialog", "References"))
|
|
|
|
|
self.cp_checkBox.setText(_translate("Dialog", "Use reference to convert to heat capacity"))
|
|
|
|
|
self.ref_add_pushButton.setText(_translate("Dialog", "Add reference"))
|
|
|
|
|
self.ref_remove_pushButton.setText(_translate("Dialog", "Remove reference"))
|
|
|
|
|
|
|
|
|
|
from pyqtgraph import PlotWidget
|
|
|
|
|