def METHOD_NAME(self, layout):
    # Shuffle
    shuffle_label = QtWidgets.QLabel("Shuffle")
    self.shuffle = ShuffleSpinBox(root=self.root, parent=self)
    # Display iterations
    dispiters_label = QtWidgets.QLabel("Display iterations")
    self.display_iters_spin = QtWidgets.QSpinBox()
    self.display_iters_spin.setMinimum(1)
    self.display_iters_spin.setMaximum(int(self.max_iters))
    self.display_iters_spin.setValue(1000)
    self.display_iters_spin.valueChanged.connect(self.log_display_iters)
    # Save iterations
    saveiters_label = QtWidgets.QLabel("Save iterations")
    self.save_iters_spin = QtWidgets.QSpinBox()
    self.save_iters_spin.setMinimum(1)
    self.save_iters_spin.setMaximum(int(self.max_iters))
    self.save_iters_spin.setValue(50000)
    self.save_iters_spin.valueChanged.connect(self.log_save_iters)
    # Max iterations
    maxiters_label = QtWidgets.QLabel("Maximum iterations")
    self.max_iters_spin = QtWidgets.QSpinBox()
    self.max_iters_spin.setMinimum(1)
    self.max_iters_spin.setMaximum(int(self.max_iters))
    self.max_iters_spin.setValue(100000)
    self.max_iters_spin.valueChanged.connect(self.log_max_iters)
    # Max number snapshots to keep
    snapkeep_label = QtWidgets.QLabel("Number of snapshots to keep")
    self.snapshots = QtWidgets.QSpinBox()
    self.snapshots.setMinimum(1)
    self.snapshots.setMaximum(100)
    self.snapshots.setValue(5)
    self.snapshots.valueChanged.connect(self.log_snapshots)
    layout.addWidget(shuffle_label, 0, 0)
    layout.addWidget(self.shuffle, 0, 1)
    layout.addWidget(dispiters_label, 0, 2)
    layout.addWidget(self.display_iters_spin, 0, 3)
    layout.addWidget(saveiters_label, 0, 4)
    layout.addWidget(self.save_iters_spin, 0, 5)
    layout.addWidget(maxiters_label, 0, 6)
    layout.addWidget(self.max_iters_spin, 0, 7)
    layout.addWidget(snapkeep_label, 0, 8)
    layout.addWidget(self.snapshots, 0, 9)
    # layout.addWidget()