|
| __init__ (self, parent=None) |
|
| getDevice (self, device_id) |
|
| deviceCount (self) |
|
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) |
|
A list model providing a list of all registered OutputDevice instances.
This list model wraps OutputDeviceManager's list of OutputDevice instances.
Additionally it provides a function to set OutputDeviceManager's active device.
Exposes the following roles:
* id - The device ID
* name - The human-readable name of the device
* short_description - The short description of the device
* description - The full description of the device
* icon_name - The name of the icon used to identify the device
* priority - The device priority