Uranium
Application Framework
UM.ConfigurationErrorMessage.ConfigurationErrorMessage Class Reference

This is a specialised message that shows errors in the configuration. More...

Inheritance diagram for UM.ConfigurationErrorMessage.ConfigurationErrorMessage:
UM.Message.Message

Public Member Functions

def __init__ (self, application, *args, **kwargs)
 
def 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)
 Class for displaying messages to the user. More...
 
None show (self)
 Show the message (if not already visible)
 
bool visible (self)
 Returns a boolean indicating whether the message is currently visible. More...
 
bool isDismissable (self)
 Can the message be closed by user?
 
None setLifetimeTimer (self, QTimer timer)
 Set the lifetime timer of the message. More...
 
None setInactivityTimer (self, QTimer inactivity_timer)
 Set the inactivity timer of the message. More...
 
def addAction (self, str action_id, str name, str icon, str description, int button_style=ActionButtonStyle.DEFAULT, int button_align=ActionButtonAlignment.ALIGN_RIGHT)
 Add an action to the message Actions are useful for making messages that require input from the user. More...
 
List[Dict[str, Union[str, int]]] getActions (self)
 Get the list of actions to display buttons for on the message. More...
 
str getOptionText (self)
 
bool getOptionState (self)
 
str getImageSource (self)
 
str getImageCaption (self)
 
None setText (self, str text)
 Changes the text on the message. More...
 
str getText (self)
 Returns the text in the message. More...
 
None setMaxProgress (self, float max_progress)
 Sets the maximum numerical value of the progress bar on the message. More...
 
float getMaxProgress (self)
 Gets the maximum value of the progress bar on the message. More...
 
None setProgress (self, float progress)
 Changes the state of the progress bar. More...
 
Optional[float] getProgress (self)
 Returns the current progress. More...
 
None setTitle (self, str title)
 Changes the message title. More...
 
Optional[str] getTitle (self)
 Returns the message title. More...
 
None hide (self, send_signal=True)
 Hides this message. More...
 

Additional Inherited Members

- Static Public Attributes inherited from UM.Message.Message
 inactivityTimerStop = pyqtSignal()
 
 inactivityTimerStart = pyqtSignal()
 
 actionTriggered = Signal()
 
 optionToggled = Signal()
 
 progressChanged = Signal()
 Signal that gets emitted whenever the state of the progress bar on this message changes. More...
 

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: