# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'src/resources/_ui/sdmodelwidget.ui' # # Created by: PyQt5 UI code generator 5.15.7 # # 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_SDParameter(object): def setupUi(self, SDParameter): SDParameter.setObjectName("SDParameter") SDParameter.setWindowModality(QtCore.Qt.WindowModal) SDParameter.resize(290, 37) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(SDParameter.sizePolicy().hasHeightForWidth()) SDParameter.setSizePolicy(sizePolicy) SDParameter.setAutoFillBackground(True) self.verticalLayout = QtWidgets.QVBoxLayout(SDParameter) self.verticalLayout.setContentsMargins(1, 0, 0, 0) self.verticalLayout.setSpacing(0) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setContentsMargins(6, -1, 0, -1) self.gridLayout.setSpacing(0) self.gridLayout.setObjectName("gridLayout") self.parameter_line = LineEdit(SDParameter) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.parameter_line.sizePolicy().hasHeightForWidth()) self.parameter_line.setSizePolicy(sizePolicy) self.parameter_line.setObjectName("parameter_line") self.gridLayout.addWidget(self.parameter_line, 0, 2, 1, 1) self.parametername = QtWidgets.QLabel(SDParameter) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(1) sizePolicy.setVerticalStretch(10) sizePolicy.setHeightForWidth(self.parametername.sizePolicy().hasHeightForWidth()) self.parametername.setSizePolicy(sizePolicy) self.parametername.setFrameShape(QtWidgets.QFrame.NoFrame) self.parametername.setObjectName("parametername") self.gridLayout.addWidget(self.parametername, 0, 0, 1, 1) self.checkBox = QtWidgets.QCheckBox(SDParameter) self.checkBox.setObjectName("checkBox") self.gridLayout.addWidget(self.checkBox, 0, 3, 1, 1) self.line_2 = QtWidgets.QFrame(SDParameter) self.line_2.setFrameShape(QtWidgets.QFrame.HLine) self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_2.setObjectName("line_2") self.gridLayout.addWidget(self.line_2, 1, 0, 1, 4) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 0, 1, 1, 1) self.verticalLayout.addLayout(self.gridLayout) self.retranslateUi(SDParameter) QtCore.QMetaObject.connectSlotsByName(SDParameter) def retranslateUi(self, SDParameter): _translate = QtCore.QCoreApplication.translate SDParameter.setWindowTitle(_translate("SDParameter", "Form")) self.parameter_line.setText(_translate("SDParameter", "1")) self.parametername.setText(_translate("SDParameter", "Fitparameter")) self.checkBox.setText(_translate("SDParameter", "Fix?")) from nmrevalgui.lib.forms import LineEdit