Uranium
Application Framework
|
Stages handle combined views in an Uranium application. More...
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) |
![]() | |
None | __init__ (self) |
str | getPluginId (self) |
None | setPluginId (self, str plugin_id) |
None | setVersion (self, str version) |
str | getVersion (self) |
Static Public Attributes | |
iconSourceChanged = pyqtSignal() | |
QUrl | |
notify | |
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.
def UM.Stage.Stage.getDisplayComponent | ( | self, | |
str | name | ||
) |
Get a QUrl by name.