'Add widgets/spacing to dialog vertical layout'

def add_widgets(self, *widgets_or_spacings):

    layout = self.layout()
    for widget_or_spacing in widgets_or_spacings:
        if isinstance(widget_or_spacing, int):
            layout.addSpacing(widget_or_spacing)
        else:
            layout.addWidget(widget_or_spacing)
