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

Public Member Functions

def __init__ (self, parent=None)
 
- Public Member Functions inherited from UM.Qt.ListModel.ListModel
int count (self)
 
int rowCount (self, parent=None)
 
def addRoleName (self, int role, str name)
 
def roleNames (self)
 
def data (self, index, role)
 
Dict[str, Any] getItem (self, int index)
 
List[Dict[str, Any]] items (self)
 
None setItems (self, List[Dict[str, Any]] items)
 
def appendItem (self, Dict[str, Any] item)
 
None insertItem (self, int index, Dict[str, Any] item)
 
None removeItem (self, int index)
 
None clear (self)
 
None setProperty (self, int index, str property, Any value)
 
None sort (self, Callable[[Any], float] fun)
 
int find (self, str key, Any value)
 

Static Public Attributes

int IdRole = Qt.UserRole + 1
 
int NameRole = Qt.UserRole + 2
 
int PriorityRole = Qt.UserRole + 3
 
int ShortcutRole = Qt.UserRole + 4
 
 projectOutputDevicesChanged = pyqtSignal()
 
- Static Public Attributes inherited from UM.Qt.ListModel.ListModel
 itemsChanged = pyqtSignal()
 

Detailed Description

A list model providing a list of all registered OutputDevices that can save projects.

Exposes the following roles:
* id - The device ID
* name - The human-readable name of the device
* priority - The device priority

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