parameters: (visible)
docstring: Show/hide status bar
  
    If there is no main window or status bar then the function has no effect.
docstring_summary: Show/hide status bar
docstring_tokens: Show / hide status bar
function: def setStatusBarVisible(visible):
    """Show/hide status bar
  
    If there is no main window or status bar then the function has no effect.
    """
    mw = mainWindow()
    if not mw or not mw.statusBar():
      return
    mw.statusBar().setVisible(visible)
function_tokens: def setStatusBarVisible ( visible ) : mw = mainWindow ( ) if not mw or not mw . statusBar ( ) : return mw . statusBar ( ) . setVisible ( visible )