nmreval/src/gui_qt/_py/fitfuncwidget_old.py

87 lines
4.4 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/fitfuncwidget_old.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_FormFit(object):
def setupUi(self, FormFit):
FormFit.setObjectName("FormFit")
FormFit.resize(402, 523)
self.verticalLayout = QtWidgets.QVBoxLayout(FormFit)
self.verticalLayout.setContentsMargins(0, 6, 0, 0)
self.verticalLayout.setSpacing(6)
self.verticalLayout.setObjectName("verticalLayout")
self.tabWidget = QtWidgets.QTabWidget(FormFit)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.MinimumExpanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
self.tabWidget.setSizePolicy(sizePolicy)
self.tabWidget.setObjectName("tabWidget")
self.general_tab = QtWidgets.QWidget()
self.general_tab.setObjectName("general_tab")
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.general_tab)
self.verticalLayout_3.setContentsMargins(2, 2, 2, 2)
self.verticalLayout_3.setSpacing(2)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.scrollArea = QtWidgets.QScrollArea(self.general_tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
self.scrollArea.setSizePolicy(sizePolicy)
self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame)
self.scrollArea.setFrameShadow(QtWidgets.QFrame.Plain)
self.scrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
self.scrollArea.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.scrollArea.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
self.scrollArea.setWidgetResizable(False)
self.scrollArea.setObjectName("scrollArea")
self.scrollwidget = QtWidgets.QWidget()
self.scrollwidget.setGeometry(QtCore.QRect(0, 0, 390, 478))
self.scrollwidget.setObjectName("scrollwidget")
self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.scrollwidget)
self.verticalLayout_6.setObjectName("verticalLayout_6")
self.scrollArea.setWidget(self.scrollwidget)
self.verticalLayout_3.addWidget(self.scrollArea)
self.tabWidget.addTab(self.general_tab, "")
self.data_tab = QtWidgets.QWidget()
self.data_tab.setObjectName("data_tab")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.data_tab)
self.verticalLayout_2.setContentsMargins(2, 2, 2, 2)
self.verticalLayout_2.setSpacing(2)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.comboBox = QtWidgets.QComboBox(self.data_tab)
self.comboBox.setObjectName("comboBox")
self.verticalLayout_2.addWidget(self.comboBox)
self.scrollArea2 = QtWidgets.QScrollArea(self.data_tab)
self.scrollArea2.setFrameShape(QtWidgets.QFrame.NoFrame)
self.scrollArea2.setWidgetResizable(True)
self.scrollArea2.setObjectName("scrollArea2")
self.scrollwidget2 = QtWidgets.QWidget()
self.scrollwidget2.setGeometry(QtCore.QRect(0, 0, 390, 444))
self.scrollwidget2.setObjectName("scrollwidget2")
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.scrollwidget2)
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.scrollArea2.setWidget(self.scrollwidget2)
self.verticalLayout_2.addWidget(self.scrollArea2)
self.tabWidget.addTab(self.data_tab, "")
self.verticalLayout.addWidget(self.tabWidget)
self.retranslateUi(FormFit)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(FormFit)
def retranslateUi(self, FormFit):
_translate = QtCore.QCoreApplication.translate
FormFit.setWindowTitle(_translate("FormFit", "Form"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.general_tab), _translate("FormFit", "General settings"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.data_tab), _translate("FormFit", "Data parameter"))