utils.gui.pyqt.error_popup.ErrorPopup.ErrorPopup
- class utils.gui.pyqt.error_popup.ErrorPopup.ErrorPopup(error_text, details=None, button_label=None, button_callback=None)
Bases:
object
A class to show a popup with an error message
- Parameters:
error_text – The error message
details – The details of the error
button_label – The label of the button
button_callback – The callback of the button
- Variables:
error_text – The error message
details – The details of the error
button_label – The label of the button
button_callback – The callback of the button
- Method show_popup:
Show the popup
Methods
Show the error popup with the specified error message.
- show_popup()
Show the error popup with the specified error message. If a button label and a button callback are specified, the popup will have a button with the specified label and the specified callback.