|
Uranium
Application Framework
|
Public Member Functions | |
| __init__ (self, parent=None) | |
Public Member Functions inherited from UM.Qt.ListModel.ListModel | |
| None | __init__ (self, parent=None) |
| int | count (self) |
| int | rowCount (self, parent=None) |
| addRoleName (self, int role, str name) | |
| roleNames (self) | |
| 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) |
| 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, Optional[str] key=None, reverse=False) |
| int | find (self, str key, Any value) |
Public Attributes | |
| IdRole | |
| NameRole | |
| PriorityRole | |
| ShortcutRole | |
Static Public Attributes | |
| int | IdRole = Qt.ItemDataRole.UserRole + 1 |
| int | NameRole = Qt.ItemDataRole.UserRole + 2 |
| int | PriorityRole = Qt.ItemDataRole.UserRole + 3 |
| int | ShortcutRole = Qt.ItemDataRole.UserRole + 4 |
| projectOutputDevicesChanged = pyqtSignal() | |
Static Public Attributes inherited from UM.Qt.ListModel.ListModel | |
| itemsChanged = pyqtSignal() | |
Protected Member Functions | |
| _update (self) | |
Protected Attributes | |
| _device_manager | |
| _update | |
Protected Attributes inherited from UM.Qt.ListModel.ListModel | |
| _items | |
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
| UM.Qt.Bindings.ProjectOutputDevicesModel.ProjectOutputDevicesModel.__init__ | ( | self, | |
parent = None |
|||
| ) |
Reimplemented from UM.Qt.ListModel.ListModel.