def METHOD_NAME(self, text, title="Warning"):
    """
    Message box
    :param text: Text to display
    :param title: Name of the window
    """
    METHOD_NAME = QMessageBox()
    METHOD_NAME.setIcon(QMessageBox.Information)
    METHOD_NAME.setText(text)
    # msg.setInformativeText("This is additional information")
    METHOD_NAME.setWindowTitle(title)
    # msg.setDetailedText("The details are as follows:")
    METHOD_NAME.setStandardButtons(QMessageBox.Ok)
    retval = METHOD_NAME.exec_()