(text, details=None)
Shows a MessageBox
Shows a MessageBox
Shows a MessageBox
def show_message_box(text, details=None):
    """ Shows a MessageBox
    """
    msg = QMessageBox()
    msg.setIconPixmap(get_app_icon())

    msg.setText(text)
    if details and isinstance(details, str):
        msg.setDetailedText(details)
    msg.setStandardButtons(QMessageBox.Ok)
    msg.exec_()
def show_message_box ( text , details = None ) : msg = QMessageBox ( ) msg . setIconPixmap ( get_app_icon ( ) ) msg . setText ( text ) if details and isinstance ( details , str ) : msg . setDetailedText ( details ) msg . setStandardButtons ( QMessageBox . Ok ) msg . exec_ ( )