Translations:Macro HilbertCurve/43/en

iterationsLabel = QtGui.QLabel("Iterations:") # Iterations  and length spins in a grid self.iterationsSpin = QtGui.QSpinBox self.iterationsSpin.setMinimum(1) self.iterationsSpin.setMaximum(10) lengthLabel = QtGui.QLabel("Length:") self.lengthSpin = QtGui.QDoubleSpinBox self.lengthSpin.setMinimum(1.0) self.lengthSpin.setMaximum(999999.000000000000000) self.lengthSpin.setValue(10.000000000000000) grid = QtGui.QGridLayout grid.setSpacing(10) grid.addWidget(iterationsLabel, 1, 0) grid.addWidget(self.iterationsSpin, 1, 1) grid.addWidget(lengthLabel, 2, 0) grid.addWidget(self.lengthSpin, 2, 1)