Source code for gui.ui.AirPLS

# -*- coding: utf-8 -*-

# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.


from PyQt5 import QtCore, QtWidgets


[docs] class Ui_Form(object):
[docs] def setupUi(self, Form): Form.setObjectName("Form") self.verticalLayout = QtWidgets.QVBoxLayout(Form) self.verticalLayout.setObjectName("verticalLayout") self.groupbox = QtWidgets.QGroupBox(Form) self.groupbox.setObjectName("groupbox") self.formLayout_2 = QtWidgets.QFormLayout(self.groupbox) self.formLayout_2.setFieldGrowthPolicy( QtWidgets.QFormLayout.AllNonFixedFieldsGrow ) self.formLayout_2.setObjectName("formLayout_2") self.smoothnessLabel = QtWidgets.QLabel(self.groupbox) self.smoothnessLabel.setObjectName("smoothnessLabel") self.formLayout_2.setWidget( 0, QtWidgets.QFormLayout.LabelRole, self.smoothnessLabel ) self.smoothnessSpinBox = QtWidgets.QSpinBox(self.groupbox) self.smoothnessSpinBox.setObjectName("smoothnessSpinBox") self.formLayout_2.setWidget( 0, QtWidgets.QFormLayout.FieldRole, self.smoothnessSpinBox ) self.maxNumOfIterationsLabel = QtWidgets.QLabel(self.groupbox) self.maxNumOfIterationsLabel.setObjectName("maxNumOfIterationsLabel") self.formLayout_2.setWidget( 1, QtWidgets.QFormLayout.LabelRole, self.maxNumOfIterationsLabel ) self.maxNumOfIterationsSpinBox = QtWidgets.QSpinBox(self.groupbox) self.maxNumOfIterationsSpinBox.setObjectName("maxNumOfIterationsSpinBox") self.formLayout_2.setWidget( 1, QtWidgets.QFormLayout.FieldRole, self.maxNumOfIterationsSpinBox ) self.convergenceThresholdLabel = QtWidgets.QLabel(self.groupbox) self.convergenceThresholdLabel.setObjectName("convergenceThresholdLabel") self.formLayout_2.setWidget( 2, QtWidgets.QFormLayout.LabelRole, self.convergenceThresholdLabel ) self.convergenceThresholdDoubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupbox) self.convergenceThresholdDoubleSpinBox.setObjectName( "convergenceThresholdDoubleSpinBox" ) self.formLayout_2.setWidget( 2, QtWidgets.QFormLayout.FieldRole, self.convergenceThresholdDoubleSpinBox ) self.verticalLayout.addWidget(self.groupbox) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form)
[docs] def retranslateUi(self, Form): _translate = QtCore.QCoreApplication.translate Form.setWindowTitle(("Form")) self.smoothnessLabel.setText(("Smoothness")) self.maxNumOfIterationsLabel.setText(("Max Num of Iterations")) self.convergenceThresholdLabel.setText(("Convergence Threshold"))
if __name__ == "__main__": import sys app = QtWidgets.QApplication(sys.argv) Form = QtWidgets.QWidget() ui = Ui_Form() ui.setupUi(Form) Form.show() sys.exit(app.exec_())