nmreval/src/gui_qt/_py/fitmodelfixwidget.py

68 lines
3.3 KiB
Python
Raw Normal View History

2022-03-08 09:27:40 +00:00
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'resources/_ui/fitmodelfixwidget.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_FitFixParameter(object):
def setupUi(self, FitFixParameter):
FitFixParameter.setObjectName("FitFixParameter")
FitFixParameter.setWindowModality(QtCore.Qt.WindowModal)
FitFixParameter.resize(480, 267)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(FitFixParameter.sizePolicy().hasHeightForWidth())
FitFixParameter.setSizePolicy(sizePolicy)
FitFixParameter.setAutoFillBackground(True)
self.gridLayout = QtWidgets.QGridLayout(FitFixParameter)
self.gridLayout.setContentsMargins(0, 0, 0, 0)
self.gridLayout.setSpacing(0)
self.gridLayout.setObjectName("gridLayout")
self.frame = QtWidgets.QFrame(FitFixParameter)
self.frame.setFrameShape(QtWidgets.QFrame.NoFrame)
self.frame.setFrameShadow(QtWidgets.QFrame.Plain)
self.frame.setObjectName("frame")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame)
self.horizontalLayout.setContentsMargins(0, 0, 3, 0)
self.horizontalLayout.setSpacing(3)
self.horizontalLayout.setObjectName("horizontalLayout")
self.parametername = QtWidgets.QLabel(self.frame)
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.setIndent(6)
self.parametername.setObjectName("parametername")
self.horizontalLayout.addWidget(self.parametername)
self.label = QtWidgets.QLabel(self.frame)
self.label.setObjectName("label")
self.horizontalLayout.addWidget(self.label)
self.gridLayout.addWidget(self.frame, 1, 0, 1, 1)
self.parameter_line = QtWidgets.QLineEdit(FitFixParameter)
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, 1, 1, 1, 1)
self.retranslateUi(FitFixParameter)
QtCore.QMetaObject.connectSlotsByName(FitFixParameter)
def retranslateUi(self, FitFixParameter):
_translate = QtCore.QCoreApplication.translate
FitFixParameter.setWindowTitle(_translate("FitFixParameter", "Form"))
self.parametername.setText(_translate("FitFixParameter", "Parameter"))
self.label.setText(_translate("FitFixParameter", "Unit"))
self.parameter_line.setText(_translate("FitFixParameter", "1"))