PropertiesWidget
PropertiesWidget
#
Bases: QWidget
Convenience container to control a specific set of PropertyWidgets.
Properties can be filtered by a number of criteria, which are passed to
CMMCorePlus.iterProperties
.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
property_type
|
int | Sequence[int] | None
|
PropertyType (or types) to filter by, by default all property types will be yielded. |
None
|
property_name_pattern
|
str | Pattern | None
|
Property name to filter by, by default all property names will be yielded.
May be a compiled regular expression or a string, in which case it will be
compiled with |
None
|
device_type
|
DeviceType | None
|
DeviceType to filter by, by default all device types will be yielded. |
None
|
device_label
|
str | None
|
Device label to filter by, by default all device labels will be yielded. |
None
|
has_limits
|
bool | None
|
If provided, only properties with |
None
|
is_read_only
|
bool | None
|
If provided, only properties with |
None
|
is_sequenceable
|
bool | None
|
If provided only properties with |
None
|
rebuild() -> None
#
Rebuild the layout, populating based on current filters.
Example#
properties_widget.py | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
|