1
0
forked from IPKM/nmreval
nmreval/src/gui_qt/_py/coupling_calculator.py
dominik 8d148b639b BUGFIX: VFT;
change to src layout
2022-10-20 17:23:15 +02:00

58 lines
2.9 KiB
Python

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'resources/_ui/coupling_calculator.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_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(coupling_calc_dialog)
self.comboBox.setObjectName("comboBox")
self.verticalLayout.addWidget(self.comboBox)
self.label_2 = QtWidgets.QLabel(coupling_calc_dialog)
self.label_2.setObjectName("label_2")
self.verticalLayout.addWidget(self.label_2)
self.verticalFrame = QtWidgets.QFrame(coupling_calc_dialog)
self.verticalFrame.setFrameShape(QtWidgets.QFrame.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(coupling_calc_dialog)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.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.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem)
self.buttonBox = QtWidgets.QDialogButtonBox(coupling_calc_dialog)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Close)
self.buttonBox.setObjectName("buttonBox")
self.verticalLayout.addWidget(self.buttonBox)
self.retranslateUi(coupling_calc_dialog)
self.buttonBox.accepted.connect(coupling_calc_dialog.accept)
self.buttonBox.rejected.connect(coupling_calc_dialog.reject)
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"))