# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '.\src\sas\qtgui\Perspectives\Invariant\UI\InvariantDetailsUI.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# 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
[docs]class Ui_Dialog(object):
[docs] def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(511, 458)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(Dialog.sizePolicy().hasHeightForWidth())
Dialog.setSizePolicy(sizePolicy)
self.gridLayout_4 = QtWidgets.QGridLayout(Dialog)
self.gridLayout_4.setObjectName("gridLayout_4")
self.groupBox = QtWidgets.QGroupBox(Dialog)
self.groupBox.setObjectName("groupBox")
self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox)
self.gridLayout_2.setObjectName("gridLayout_2")
self.label_12 = QtWidgets.QLabel(self.groupBox)
self.label_12.setObjectName("label_12")
self.gridLayout_2.addWidget(self.label_12, 0, 0, 1, 1)
self.progressBarLowQ = QtWidgets.QProgressBar(self.groupBox)
self.progressBarLowQ.setProperty("value", 24)
self.progressBarLowQ.setObjectName("progressBarLowQ")
self.gridLayout_2.addWidget(self.progressBarLowQ, 0, 1, 1, 1)
self.label_10 = QtWidgets.QLabel(self.groupBox)
self.label_10.setObjectName("label_10")
self.gridLayout_2.addWidget(self.label_10, 1, 0, 1, 1)
self.progressBarData = QtWidgets.QProgressBar(self.groupBox)
self.progressBarData.setProperty("value", 24)
self.progressBarData.setObjectName("progressBarData")
self.gridLayout_2.addWidget(self.progressBarData, 1, 1, 1, 1)
self.label_11 = QtWidgets.QLabel(self.groupBox)
self.label_11.setObjectName("label_11")
self.gridLayout_2.addWidget(self.label_11, 2, 0, 1, 1)
self.progressBarHighQ = QtWidgets.QProgressBar(self.groupBox)
self.progressBarHighQ.setProperty("value", 24)
self.progressBarHighQ.setObjectName("progressBarHighQ")
self.gridLayout_2.addWidget(self.progressBarHighQ, 2, 1, 1, 1)
self.gridLayout_4.addWidget(self.groupBox, 0, 0, 1, 1)
self.groupBox_2 = QtWidgets.QGroupBox(Dialog)
self.groupBox_2.setObjectName("groupBox_2")
self.gridLayout = QtWidgets.QGridLayout(self.groupBox_2)
self.gridLayout.setObjectName("gridLayout")
self.label = QtWidgets.QLabel(self.groupBox_2)
self.label.setObjectName("label")
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
self.txtQLowQ = QtWidgets.QLineEdit(self.groupBox_2)
self.txtQLowQ.setReadOnly(True)
self.txtQLowQ.setObjectName("txtQLowQ")
self.gridLayout.addWidget(self.txtQLowQ, 0, 1, 1, 1)
self.label_2 = QtWidgets.QLabel(self.groupBox_2)
self.label_2.setObjectName("label_2")
self.gridLayout.addWidget(self.label_2, 0, 2, 1, 1)
self.txtQLowQErr = QtWidgets.QLineEdit(self.groupBox_2)
self.txtQLowQErr.setReadOnly(True)
self.txtQLowQErr.setObjectName("txtQLowQErr")
self.gridLayout.addWidget(self.txtQLowQErr, 0, 3, 1, 1)
self.lblQLowQUnits = QtWidgets.QLabel(self.groupBox_2)
self.lblQLowQUnits.setObjectName("lblQLowQUnits")
self.gridLayout.addWidget(self.lblQLowQUnits, 0, 4, 1, 1)
self.label_5 = QtWidgets.QLabel(self.groupBox_2)
self.label_5.setObjectName("label_5")
self.gridLayout.addWidget(self.label_5, 1, 0, 1, 1)
self.txtQData = QtWidgets.QLineEdit(self.groupBox_2)
self.txtQData.setReadOnly(True)
self.txtQData.setObjectName("txtQData")
self.gridLayout.addWidget(self.txtQData, 1, 1, 1, 1)
self.label_6 = QtWidgets.QLabel(self.groupBox_2)
self.label_6.setObjectName("label_6")
self.gridLayout.addWidget(self.label_6, 1, 2, 1, 1)
self.txtQDataErr = QtWidgets.QLineEdit(self.groupBox_2)
self.txtQDataErr.setReadOnly(True)
self.txtQDataErr.setObjectName("txtQDataErr")
self.gridLayout.addWidget(self.txtQDataErr, 1, 3, 1, 1)
self.lblQDataUnits = QtWidgets.QLabel(self.groupBox_2)
self.lblQDataUnits.setObjectName("lblQDataUnits")
self.gridLayout.addWidget(self.lblQDataUnits, 1, 4, 1, 1)
self.label_8 = QtWidgets.QLabel(self.groupBox_2)
self.label_8.setObjectName("label_8")
self.gridLayout.addWidget(self.label_8, 2, 0, 1, 1)
self.txtQHighQ = QtWidgets.QLineEdit(self.groupBox_2)
self.txtQHighQ.setReadOnly(True)
self.txtQHighQ.setObjectName("txtQHighQ")
self.gridLayout.addWidget(self.txtQHighQ, 2, 1, 1, 1)
self.label_9 = QtWidgets.QLabel(self.groupBox_2)
self.label_9.setObjectName("label_9")
self.gridLayout.addWidget(self.label_9, 2, 2, 1, 1)
self.txtQHighQErr = QtWidgets.QLineEdit(self.groupBox_2)
self.txtQHighQErr.setReadOnly(True)
self.txtQHighQErr.setObjectName("txtQHighQErr")
self.gridLayout.addWidget(self.txtQHighQErr, 2, 3, 1, 1)
self.lblQHighQUnits = QtWidgets.QLabel(self.groupBox_2)
self.lblQHighQUnits.setObjectName("lblQHighQUnits")
self.gridLayout.addWidget(self.lblQHighQUnits, 2, 4, 1, 1)
self.gridLayout_4.addWidget(self.groupBox_2, 1, 0, 1, 1)
self.groupBox_3 = QtWidgets.QGroupBox(Dialog)
self.groupBox_3.setObjectName("groupBox_3")
self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_3)
self.gridLayout_3.setObjectName("gridLayout_3")
self.lblWarning = QtWidgets.QLabel(self.groupBox_3)
self.lblWarning.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
self.lblWarning.setObjectName("lblWarning")
self.gridLayout_3.addWidget(self.lblWarning, 0, 0, 1, 1)
self.gridLayout_4.addWidget(self.groupBox_3, 2, 0, 1, 1)
self.cmdOK = QtWidgets.QDialogButtonBox(Dialog)
self.cmdOK.setOrientation(QtCore.Qt.Horizontal)
self.cmdOK.setStandardButtons(QtWidgets.QDialogButtonBox.Ok)
self.cmdOK.setObjectName("cmdOK")
self.gridLayout_4.addWidget(self.cmdOK, 3, 0, 1, 1)
self.retranslateUi(Dialog)
self.cmdOK.accepted.connect(Dialog.accept) # type: ignore
self.cmdOK.rejected.connect(Dialog.reject) # type: ignore
QtCore.QMetaObject.connectSlotsByName(Dialog)
[docs] def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
self.groupBox.setTitle(_translate("Dialog", "Invariant chart"))
self.label_12.setText(_translate("Dialog", "Q* from Low-Q"))
self.label_10.setText(_translate("Dialog", "Q* from Data"))
self.label_11.setText(_translate("Dialog", "Q* from High-Q"))
self.groupBox_2.setTitle(_translate("Dialog", "Numerical values"))
self.label.setText(_translate("Dialog", "Q* from Low-Q"))
self.txtQLowQ.setToolTip(_translate("Dialog", "Extrapolated invariant from low-Q range."))
self.label_2.setText(_translate("Dialog", "+/-"))
self.txtQLowQErr.setToolTip(_translate("Dialog", "Uncertainty on the invariant from low-Q range."))
self.lblQLowQUnits.setText(_translate("Dialog", "<html><head/><body><p>(cm Å<span style=\" vertical-align:super;\">3</span>)<span style=\" vertical-align:super;\">-1</span></p></body></html>"))
self.label_5.setText(_translate("Dialog", "Q* from Data"))
self.txtQData.setToolTip(_translate("Dialog", "Invariant in the data set\'s Q range."))
self.label_6.setText(_translate("Dialog", "+/-"))
self.txtQDataErr.setToolTip(_translate("Dialog", "Uncertainty on the invariant from data\'s range."))
self.lblQDataUnits.setText(_translate("Dialog", "<html><head/><body><p>(cm Å<span style=\" vertical-align:super;\">3</span>)<span style=\" vertical-align:super;\">-1</span></p></body></html>"))
self.label_8.setText(_translate("Dialog", "Q* from High-Q"))
self.txtQHighQ.setToolTip(_translate("Dialog", "Extrapolated invariant from high-Q range."))
self.label_9.setText(_translate("Dialog", "+/-"))
self.txtQHighQErr.setToolTip(_translate("Dialog", "Uncertainty on the invariant from high-Q range."))
self.lblQHighQUnits.setText(_translate("Dialog", "<html><head/><body><p>(cm Å<span style=\" vertical-align:super;\">3</span>)<span style=\" vertical-align:super;\">-1</span></p></body></html>"))
self.groupBox_3.setTitle(_translate("Dialog", "Warnings"))
self.lblWarning.setText(_translate("Dialog", "<html><head/><body><p>No Details on calculations available...</p></body></html>"))