parameters: (text, windowTitle=None, parent=None, standardButtons=None, **kwargs)
docstring: Display popup with a warning message.
  
    If there is no main window, or if the application is running in testing mode (``slicer.app.testingEnabled() == True``),
    then the text is only logged (at warning level).
docstring_summary: Display popup with a warning message.
docstring_tokens: Display popup with a warning message .
function: def warningDisplay(text, windowTitle=None, parent=None, standardButtons=None, **kwargs):
    """Display popup with a warning message.
  
    If there is no main window, or if the application is running in testing mode (``slicer.app.testingEnabled() == True``),
    then the text is only logged (at warning level).
    """
    import qt, logging
    standardButtons = standardButtons if standardButtons else qt.QMessageBox.Ok
    _messageDisplay(logging.WARNING, text, None, parent=parent, windowTitle=windowTitle, mainWindowNeeded=True,
                     icon=qt.QMessageBox.Warning, standardButtons=standardButtons, **kwargs)
function_tokens: def warningDisplay ( text , windowTitle = None , parent = None , standardButtons = None , * * kwargs ) : import qt , logging standardButtons = standardButtons if standardButtons else qt . QMessageBox . Ok _messageDisplay ( logging . WARNING , text , None , parent = parent , windowTitle = windowTitle , mainWindowNeeded = True , icon = qt . QMessageBox . Warning , standardButtons = standardButtons , * * kwargs )