'Collects the visible toolbars.'

def get_visible_toolbars(self):

    toolbars = []
    for toolbar in self.toolbarslist:
        if toolbar.toggleViewAction().isChecked():
            toolbars.append(toolbar)
    self.visible_toolbars = toolbars
