65 lines
3.1 KiB
Python
65 lines
3.1 KiB
Python
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
# Form implementation generated from reading ui file 'resources/_ui/parameterform.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_parameterform(object):
|
||
|
def setupUi(self, parameterform):
|
||
|
parameterform.setObjectName("parameterform")
|
||
|
parameterform.setWindowModality(QtCore.Qt.WindowModal)
|
||
|
parameterform.resize(290, 37)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(parameterform.sizePolicy().hasHeightForWidth())
|
||
|
parameterform.setSizePolicy(sizePolicy)
|
||
|
parameterform.setAutoFillBackground(True)
|
||
|
self.horizontalLayout = QtWidgets.QHBoxLayout(parameterform)
|
||
|
self.horizontalLayout.setContentsMargins(1, 1, 1, 1)
|
||
|
self.horizontalLayout.setSpacing(2)
|
||
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
||
|
self.line_2 = QtWidgets.QFrame(parameterform)
|
||
|
self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
|
||
|
self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
|
||
|
self.line_2.setObjectName("line_2")
|
||
|
self.horizontalLayout.addWidget(self.line_2)
|
||
|
self.label = QtWidgets.QLabel(parameterform)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
|
||
|
sizePolicy.setHorizontalStretch(1)
|
||
|
sizePolicy.setVerticalStretch(10)
|
||
|
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
|
||
|
self.label.setSizePolicy(sizePolicy)
|
||
|
self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
|
||
|
self.label.setObjectName("label")
|
||
|
self.horizontalLayout.addWidget(self.label)
|
||
|
spacerItem = QtWidgets.QSpacerItem(65, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
||
|
self.horizontalLayout.addItem(spacerItem)
|
||
|
self.vals = QtWidgets.QLineEdit(parameterform)
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.vals.sizePolicy().hasHeightForWidth())
|
||
|
self.vals.setSizePolicy(sizePolicy)
|
||
|
self.vals.setObjectName("vals")
|
||
|
self.horizontalLayout.addWidget(self.vals)
|
||
|
self.checkBox = QtWidgets.QCheckBox(parameterform)
|
||
|
self.checkBox.setObjectName("checkBox")
|
||
|
self.horizontalLayout.addWidget(self.checkBox)
|
||
|
|
||
|
self.retranslateUi(parameterform)
|
||
|
QtCore.QMetaObject.connectSlotsByName(parameterform)
|
||
|
|
||
|
def retranslateUi(self, parameterform):
|
||
|
_translate = QtCore.QCoreApplication.translate
|
||
|
parameterform.setWindowTitle(_translate("parameterform", "Form"))
|
||
|
self.label.setText(_translate("parameterform", "Name"))
|
||
|
self.vals.setText(_translate("parameterform", "1"))
|
||
|
self.checkBox.setText(_translate("parameterform", "Fix?"))
|