Uranium
Application Framework
Loading...
Searching...
No Matches
UM.Stage.Stage Class Reference

Stages handle combined views in an Uranium application. More...

Inheritance diagram for UM.Stage.Stage:
UM.PluginObject.PluginObject

Public Member Functions

 __init__ (self, parent=None)
 
 addDisplayComponent (self, str name, Union[str, QUrl] source)
 Add a QML component to the stage.
 
 getDisplayComponent (self, str name)
 Get a QUrl by name.
 
 iconSource (self)
 
 setIconSource (self, Union[str, QUrl] source)
 
- Public Member Functions inherited from UM.PluginObject.PluginObject
 __init__ (self)
 
 getPluginId (self)
 
 setPluginId (self, plugin_id)
 

Static Public Attributes

 iconSourceChanged = pyqtSignal()
 

Protected Attributes

 _components
 
 _icon_source
 
- Protected Attributes inherited from UM.PluginObject.PluginObject
 _plugin_id
 

Detailed Description

Stages handle combined views in an Uranium application.

The active stage decides which QML component to show where. Uranium has no notion of specific view locations as that's application specific.

Constructor & Destructor Documentation

◆ __init__()

UM.Stage.Stage.__init__ (   self,
  parent = None 
)

Reimplemented from UM.PluginObject.PluginObject.


The documentation for this class was generated from the following file: