Uranium
Application Framework
UM.Qt.Bindings.StageModel.StageModel Class Reference
Inheritance diagram for UM.Qt.Bindings.StageModel.StageModel:
UM.Qt.ListModel.ListModel

Public Member Functions

def __init__ (self, parent=None)
 
- Public Member Functions inherited from UM.Qt.ListModel.ListModel
def __init__ (self, parent=None)
 
def count (self)
 
def rowCount (self, parent=None)
 
def addRoleName
 
def roleNames (self)
 
def data (self, index, role)
 
def getItem
 
def items (self)
 
def setItems
 
def appendItem
 
def insertItem
 
def removeItem
 
def clear (self)
 
def setProperty
 
def sort
 
def find
 

Static Public Attributes

int IdRole = Qt.UserRole + 1
 
int NameRole = Qt.UserRole + 2
 
int StageRole = Qt.UserRole + 4
 
- Static Public Attributes inherited from UM.Qt.ListModel.ListModel
 itemsChanged = pyqtSignal()
 
 int
 
 notify
 
 result
 
 str
 
 QVariant
 

Detailed Description

The StageModel is a representation of all stages in QML.

Use it to populate a stage based menu (like top bar).

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