def METHOD_NAME(self, parent, title):
    """
    Adds a collapsible group to the given widget.
    """
    g = collapsibleGroupBox2(title=title)
    parent.layout().addWidget(g)
    g.setLayout(QVBoxLayout())
    return g