forked from IPKM/nmreval
8d148b639b
change to src layout
99 lines
5.1 KiB
Python
99 lines
5.1 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'resources/_ui/userfitassist.ui'
|
|
#
|
|
# Created by: PyQt5 UI code generator 5.12.3
|
|
#
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
|
|
class Ui_Dialog(object):
|
|
def setupUi(self, Dialog):
|
|
Dialog.setObjectName("Dialog")
|
|
Dialog.resize(675, 682)
|
|
self.verticalLayout = QtWidgets.QVBoxLayout(Dialog)
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
self.label_3 = QtWidgets.QLabel(Dialog)
|
|
self.label_3.setIndent(4)
|
|
self.label_3.setObjectName("label_3")
|
|
self.verticalLayout.addWidget(self.label_3)
|
|
self.lineEdit_2 = QtWidgets.QLineEdit(Dialog)
|
|
self.lineEdit_2.setObjectName("lineEdit_2")
|
|
self.verticalLayout.addWidget(self.lineEdit_2)
|
|
self.label_4 = QtWidgets.QLabel(Dialog)
|
|
self.label_4.setIndent(4)
|
|
self.label_4.setObjectName("label_4")
|
|
self.verticalLayout.addWidget(self.label_4)
|
|
self.lineEdit_3 = QtWidgets.QLineEdit(Dialog)
|
|
self.lineEdit_3.setObjectName("lineEdit_3")
|
|
self.verticalLayout.addWidget(self.lineEdit_3)
|
|
self.label_2 = QtWidgets.QLabel(Dialog)
|
|
self.label_2.setIndent(4)
|
|
self.label_2.setObjectName("label_2")
|
|
self.verticalLayout.addWidget(self.label_2)
|
|
self.lineEdit = QtWidgets.QLineEdit(Dialog)
|
|
self.lineEdit.setText("")
|
|
self.lineEdit.setObjectName("lineEdit")
|
|
self.verticalLayout.addWidget(self.lineEdit)
|
|
self.parameterLabel = QtWidgets.QLabel(Dialog)
|
|
self.parameterLabel.setIndent(4)
|
|
self.parameterLabel.setObjectName("parameterLabel")
|
|
self.verticalLayout.addWidget(self.parameterLabel)
|
|
self.parameterLineEdit = QtWidgets.QLineEdit(Dialog)
|
|
self.parameterLineEdit.setObjectName("parameterLineEdit")
|
|
self.verticalLayout.addWidget(self.parameterLineEdit)
|
|
self.checkBox = QtWidgets.QCheckBox(Dialog)
|
|
self.checkBox.setObjectName("checkBox")
|
|
self.verticalLayout.addWidget(self.checkBox)
|
|
self.externalParametersLineEdit = QtWidgets.QLineEdit(Dialog)
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.externalParametersLineEdit.sizePolicy().hasHeightForWidth())
|
|
self.externalParametersLineEdit.setSizePolicy(sizePolicy)
|
|
self.externalParametersLineEdit.setObjectName("externalParametersLineEdit")
|
|
self.verticalLayout.addWidget(self.externalParametersLineEdit)
|
|
self.checkBox_2 = QtWidgets.QCheckBox(Dialog)
|
|
self.checkBox_2.setObjectName("checkBox_2")
|
|
self.verticalLayout.addWidget(self.checkBox_2)
|
|
self.tableWidget = QtWidgets.QTableWidget(Dialog)
|
|
self.tableWidget.setObjectName("tableWidget")
|
|
self.tableWidget.setColumnCount(0)
|
|
self.tableWidget.setRowCount(0)
|
|
self.verticalLayout.addWidget(self.tableWidget)
|
|
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
self.verticalLayout.addItem(spacerItem)
|
|
self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
|
|
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
|
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Save)
|
|
self.buttonBox.setObjectName("buttonBox")
|
|
self.verticalLayout.addWidget(self.buttonBox)
|
|
self.label_3.setBuddy(self.lineEdit_2)
|
|
self.label_4.setBuddy(self.lineEdit_3)
|
|
self.label_2.setBuddy(self.lineEdit)
|
|
self.parameterLabel.setBuddy(self.parameterLineEdit)
|
|
|
|
self.retranslateUi(Dialog)
|
|
self.buttonBox.accepted.connect(Dialog.accept)
|
|
self.buttonBox.rejected.connect(Dialog.reject)
|
|
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
|
|
|
def retranslateUi(self, Dialog):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
|
|
self.label_3.setText(_translate("Dialog", "Name"))
|
|
self.lineEdit_2.setPlaceholderText(_translate("Dialog", "Name of function, e.g. Hopperbagger"))
|
|
self.label_4.setText(_translate("Dialog", "Group"))
|
|
self.lineEdit_3.setPlaceholderText(_translate("Dialog", "Type of function, e.g., Relaxation, Diffusion, Dredge,..."))
|
|
self.label_2.setText(_translate("Dialog", "Equation"))
|
|
self.lineEdit.setPlaceholderText(_translate("Dialog", "\\alpha + B*exp(x*C_{33}) + D"))
|
|
self.parameterLabel.setText(_translate("Dialog", "Parameters"))
|
|
self.parameterLineEdit.setPlaceholderText(_translate("Dialog", "\\alpha B C_{33}"))
|
|
self.checkBox.setText(_translate("Dialog", "Fixed parameter"))
|
|
self.externalParametersLineEdit.setPlaceholderText(_translate("Dialog", "D"))
|
|
self.checkBox_2.setText(_translate("Dialog", "Selection"))
|
|
self.buttonBox.setToolTip(_translate("Dialog", "Fit model is saved in myfitmodels.py and ready to use without restart."))
|