# Form implementation generated from reading ui file 'nmreval/src/resources/_ui/coupling_calculator.ui' # # Created by: PyQt6 UI code generator 6.7.1 # # WARNING: Any manual changes made to this file will be lost when pyuic6 is # run again. Do not edit this file unless you know what you are doing. from PyQt6 import QtCore, QtGui, QtWidgets class Ui_coupling_calc_dialog(object): def setupUi(self, coupling_calc_dialog): coupling_calc_dialog.setObjectName("coupling_calc_dialog") coupling_calc_dialog.resize(400, 280) self.verticalLayout = QtWidgets.QVBoxLayout(coupling_calc_dialog) self.verticalLayout.setObjectName("verticalLayout") self.comboBox = QtWidgets.QComboBox(parent=coupling_calc_dialog) self.comboBox.setObjectName("comboBox") self.verticalLayout.addWidget(self.comboBox) self.label_2 = QtWidgets.QLabel(parent=coupling_calc_dialog) self.label_2.setObjectName("label_2") self.verticalLayout.addWidget(self.label_2) self.verticalFrame = QtWidgets.QFrame(parent=coupling_calc_dialog) self.verticalFrame.setFrameShape(QtWidgets.QFrame.Shape.NoFrame) self.verticalFrame.setObjectName("verticalFrame") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.verticalFrame) self.verticalLayout_2.setObjectName("verticalLayout_2") self.verticalLayout.addWidget(self.verticalFrame) self.label = QtWidgets.QLabel(parent=coupling_calc_dialog) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth()) self.label.setSizePolicy(sizePolicy) self.label.setStyleSheet("font-weight: bold") self.label.setObjectName("label") self.verticalLayout.addWidget(self.label) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) self.verticalLayout.addItem(spacerItem) self.buttonBox = QtWidgets.QDialogButtonBox(parent=coupling_calc_dialog) self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close) self.buttonBox.setObjectName("buttonBox") self.verticalLayout.addWidget(self.buttonBox) self.retranslateUi(coupling_calc_dialog) self.buttonBox.accepted.connect(coupling_calc_dialog.accept) # type: ignore self.buttonBox.rejected.connect(coupling_calc_dialog.reject) # type: ignore QtCore.QMetaObject.connectSlotsByName(coupling_calc_dialog) def retranslateUi(self, coupling_calc_dialog): _translate = QtCore.QCoreApplication.translate coupling_calc_dialog.setWindowTitle(_translate("coupling_calc_dialog", "Calculate BPP coupling constants")) self.label_2.setText(_translate("coupling_calc_dialog", "TextLabel")) self.label.setText(_translate("coupling_calc_dialog", "TextLabel"))