hardware_sets_view
frog.gui.hardware_set.hardware_sets_view
¤
Provides a panel for choosing between hardware sets and (dis)connecting.
Attributes¤
Classes¤
ActiveDeviceProperties(args, state)
dataclass
¤
The properties of a device that is connecting or connected.
Attributes¤
args
instance-attribute
¤
Arguments used to open the device.
state
instance-attribute
¤
Whether the device is connecting or connected.
Functions¤
__post_init__()
¤
Check whether user attempted to create for a disconnected device.
Source code in frog/gui/hardware_set/hardware_sets_view.py
41 42 43 44 45 46 |
|
HardwareSetsControl()
¤
Bases: QGroupBox
A panel for choosing between hardware sets and (dis)connecting.
Create a new HardwareSetsControl.
Source code in frog/gui/hardware_set/hardware_sets_view.py
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
|
Functions¤
ManageDevicesDialog(connected_devices)
¤
Bases: QDialog
A dialog for manually opening, closing and configuring devices.
Create a new ManageDevicesDialog.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
connected_devices
|
Set[OpenDeviceArgs]
|
Which devices are already connected |
required |
Source code in frog/gui/hardware_set/hardware_sets_view.py
68 69 70 71 72 73 74 75 76 77 78 79 80 |
|