def METHOD_NAME(self, layout):
    # Shuffle
    shuffle_label = QtWidgets.QLabel("Shuffle")
    self.shuffle = ShuffleSpinBox(root=self.root, parent=self)
    # Tracker Type
    trackingtype_label = QtWidgets.QLabel("Tracking method")
    self.tracker_type_widget = QtWidgets.QComboBox()
    self.tracker_type_widget.addItems(["ellipse", "box"])
    self.tracker_type_widget.currentTextChanged.connect(self.log_tracker_type)
    # Num animals
    num_animals_label = QtWidgets.QLabel("Number of animals in videos")
    self.num_animals_in_videos = QtWidgets.QSpinBox()
    self.num_animals_in_videos.setValue(len(self.root.all_individuals))
    self.num_animals_in_videos.setMaximum(100)
    self.num_animals_in_videos.valueChanged.connect(self.log_num_animals)
    # Num triplets
    num_triplets_label = QtWidgets.QLabel("Number of triplets")
    self.num_triplets = QtWidgets.QSpinBox()
    self.num_triplets.setMaximum(1000000)
    self.num_triplets.setValue(1000)
    self.num_triplets.valueChanged.connect(self.log_num_triplets)
    layout.addWidget(shuffle_label, 0, 0)
    layout.addWidget(self.shuffle, 0, 1)
    layout.addWidget(trackingtype_label, 0, 2)
    layout.addWidget(self.tracker_type_widget, 0, 3)
    layout.addWidget(num_animals_label, 1, 0)
    layout.addWidget(self.num_animals_in_videos, 1, 1)
    layout.addWidget(num_triplets_label, 1, 2)
    layout.addWidget(self.num_triplets, 1, 3)
    # layout.addWidget()