@staticmethod<EOL><INDENT>def show_error_dialog(message: str, details: str=None):<DEDENT>
<EOL>message_box = QMessageBox(<EOL>QMessageBox.Critical,<EOL>"<STR_LIT>",<EOL>message,<EOL>QMessageBox.Ok,<EOL>None<EOL>)<EOL>if details:<EOL><INDENT>message_box.setDetailedText(details)<EOL><DEDENT>message_box.exec_()<EOL>
Convenience method for showing an error dialog.