'Shows/Hides the panel.
Automatically call PanelsManager.refresh_panels.
:param visible: Visible state'

def setVisible(self, visible):

    debug_print('{}    visibility    changed'.format(self.name))
    super(Panel, self).setVisible(visible)
    if self.editor:
        self.editor.panels.refresh()
