Uranium
Application Framework
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

def __init__ (self, parent=None)
 
def onStageSelected (self)
 Something to do when this Stage is selected.
 
def onStageDeselected (self)
 Something to do when this Stage is deselected.
 
def addDisplayComponent (self, str name, Union[str, QUrl] source)
 Add a QML component to the stage.
 
def getDisplayComponent (self, str name)
 Get a QUrl by name. More...
 
def iconSource (self)
 
def setIconSource (self, Union[str, QUrl] source)
 
- Public Member Functions inherited from UM.PluginObject.PluginObject
def __init__ (self)
 
def getPluginId (self)
 
def setPluginId (self, plugin_id)
 
def setVersion (self, str version)
 
str getVersion (self)
 

Static Public Attributes

 iconSourceChanged = pyqtSignal()
 
 QUrl
 
 notify
 

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.

Member Function Documentation

◆ getDisplayComponent()

def UM.Stage.Stage.getDisplayComponent (   self,
str  name 
)

Get a QUrl by name.


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