'Create and return toolbar with *title* and *object_name*'

def create_toolbar(self, title, object_name, iconsize=24):

    toolbar = self.addToolBar(title)
    toolbar.setObjectName(object_name)
    toolbar.setIconSize(QSize(iconsize, iconsize))
    self.toolbarslist.append(toolbar)
    return toolbar
