Source code for gui.ui.Rubberband

# -*- 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.n_iter_label = QtWidgets.QLabel(self.groupbox) self.n_iter_label.setObjectName("n_iter_label") self.formLayout_2.setWidget( 0, QtWidgets.QFormLayout.LabelRole, self.n_iter_label ) self.n_iter_spin = QtWidgets.QSpinBox(self.groupbox) self.n_iter_spin.setObjectName("n_iter_spin") self.formLayout_2.setWidget( 0, QtWidgets.QFormLayout.FieldRole, self.n_iter_spin ) self.numOfRangesLabel = QtWidgets.QLabel(self.groupbox) self.numOfRangesLabel.setObjectName("numOfRangesLabel") self.formLayout_2.setWidget( 1, QtWidgets.QFormLayout.LabelRole, self.numOfRangesLabel ) self.numOfRangesSpinBox = QtWidgets.QSpinBox(self.groupbox) self.numOfRangesSpinBox.setObjectName("numOfRangesSpinBox") self.formLayout_2.setWidget( 1, QtWidgets.QFormLayout.FieldRole, self.numOfRangesSpinBox ) 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.n_iter_label.setText(("# iterations")) self.numOfRangesLabel.setText(("# ranges"))
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_())