def METHOD_NAME(self, group):
    """Add a group of manipulations into its own tab."""
    widget = QWidget()
    layout = QHBoxLayout()
    for manipulation in group.manipulations:
        layout.addWidget(manipulation.label)
        layout.addWidget(manipulation.slider)
    # Add some spacing for small groups
    for _ in range(4 - len(group.manipulations)):
        layout.addStretch()
    widget.setLayout(layout)
    self.insertTab(-1, widget, group.title)