Uranium
Application Framework
Loading...
Searching...
No Matches
UM.ConfigurationErrorMessage.ConfigurationErrorMessage Class Reference
Inheritance diagram for UM.ConfigurationErrorMessage.ConfigurationErrorMessage:
UM.Message.Message

Public Member Functions

 __init__ (self, application, *args, **kwargs)
 addFaultyContainers (self, Union[Iterable, str] faulty_containers, *args)
"ConfigurationErrorMessage" getInstance (cls, *args, **kwargs)
Public Member Functions inherited from UM.Message.Message
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)

Protected Member Functions

 _actionTriggered (self, _, action_id)
Protected Member Functions inherited from UM.Message.Message
 _onActionTriggered (self, message, action)
None _stopInactivityTimer (self)
None _startInactivityTimer (self)
None _onInactivityTriggered (self)

Protected Attributes

 _faulty_containers = set()
 _actionTriggered
Protected Attributes inherited from UM.Message.Message
 _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
 _startInactivityTimer
 _stopInactivityTimer

Additional Inherited Members

Public Attributes inherited from UM.Message.Message
 hide
Static Public Attributes inherited from UM.Message.Message
 inactivityTimerStop = pyqtSignal()
 inactivityTimerStart = pyqtSignal()
 pyQtActionTriggered = pyqtSignal(QObject, str)
 actionTriggered = Signal()
 optionToggled = Signal()
 titleChanged = Signal()
 textChanged = Signal()
 progressChanged = Signal()

Detailed Description

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).

The documentation for this class was generated from the following file:
  • UM/ConfigurationErrorMessage.py