|
| __init__ (self, application, *args, **kwargs) |
|
| addFaultyContainers (self, Union[Iterable, str] faulty_containers, *args) |
|
"ConfigurationErrorMessage" | getInstance (cls, *args, **kwargs) |
|
None | __init__ (self, str text="", int lifetime=30, bool dismissable=True, float progress=None, Optional[str] title=None, parent=None, bool use_inactivity_timer=True, str image_source="", str image_caption="", str option_text="", bool option_state=True, MessageType message_type=MessageType.NEUTRAL) |
|
None | show (self) |
|
bool | visible (self) |
|
bool | isDismissable (self) |
|
None | setLifetimeTimer (self, QTimer timer) |
|
None | setInactivityTimer (self, QTimer inactivity_timer) |
|
| addAction (self, str action_id, str name, str icon, str description, int button_style=ActionButtonStyle.DEFAULT, int button_align=ActionButtonAlignment.ALIGN_RIGHT) |
|
List[Dict[str, Union[str, int]]] | getActions (self) |
|
str | getOptionText (self) |
|
bool | getOptionState (self) |
|
str | getImageSource (self) |
|
str | getImageCaption (self) |
|
MessageType | getMessageType (self) |
|
None | setText (self, str text) |
|
str | getText (self) |
|
None | setMaxProgress (self, float max_progress) |
|
float | getMaxProgress (self) |
|
None | setProgress (self, Optional[float] progress) |
|
Optional[float] | getProgress (self) |
|
None | setTitle (self, str title) |
|
Optional[str] | getTitle (self) |
|
None | hide (self, send_signal=True) |
|
|
| _faulty_containers = set() |
|
| _actionTriggered = "Reset your configuration to factory defaults.") |
|
| _application = Application.getInstance() |
|
bool | _visible = False |
|
| _text = text.replace("\n", "<br>") |
|
| _progress = progress |
|
int | _max_progress = 100 |
|
int | _lifetime = lifetime |
|
| _lifetime_timer = None |
|
| _option_text = option_text |
|
| _option_state = option_state |
|
| _image_source = image_source |
|
| _image_caption = image_caption |
|
| _use_inactivity_timer = use_inactivity_timer |
|
| _inactivity_timer = None |
|
bool | _dismissable = dismissable |
|
list | _actions = [] |
|
| _title = title |
|
| _message_type = message_type |
|
| _onActionTriggered |
|
| _onInactivityTriggered = inactivity_timer |
|
| _startInactivityTimer |
|
| _stopInactivityTimer |
|
This is a specialised message that shows errors in the configuration.
This class coalesces all errors in the configuration. Whenever there are new
errors the message gets updated (and shown if it was hidden).