Item Selector

Used to select a Qubes item.

Properties

PropertyDescription
AutoCompleteModeDefines how the selectors behave. There are two possible values: Start/Contains.
EnabledBoolean indicating whether or not the component is enabled.
FamilyLimits the list to items in the specified family.
FormatDisplayValueMacro string defining a display format for the text in the selector's text zone.
Only the fields used to define display formats will be used to filter the elements in the selector list.
FormatSelectValueMacro string defining a display format for an element in the selector list.
These fields are not used to filter the elements in the selector list.
FormatResultValueMacro string defining a format for the value returned by the selector.
HintSpecifies the user hint string that will appear in the component's interactive help bubble.
SelectorColumnsList of fields to display as columns in the selector table that opens when the user clicks on a selector's button.
StateLimits the list to items with the specified state (see below) (Qubes 5.6)
SubFamilyLimits the list to items in the specified sub-family.
TabIndexInteger indicating the component's tab order (Qubes 5.6).
ValueInitialDetermines the component's initial value when the screen opens and each time it is reset (see Reset Button).
VisibleBoolean indicating whether or not the component will be visible.

List of available fields

NameDescription
IDItem identifier
GPAOIDItem GPAO identifier
NAMEItem name
DESCRIPTIONDescription of the item
SUB_FAMILYItem sub-family name
FAMILYItem family name

List of item states

ValueDescription
AnyAll items
ActiveActive item
InactiveInactive item

Value

The component returns the value defined by the FormatResultValue property, if the selection is valid; if not, it will return an empty string.

Remarks

The Family filter is applied to the family name or identifier (ID).
The SubFamily filter is applied to the sub-family name or identifier (ID).
For the State filter:

  • it can be a simple state of a list of multiple states;
  • if empty, it will filter for active items;
  • if a filtered state does not appear in the above list, that state will be ignored.

ID's column is not displayed by default, even with SelectorColumns=* so you have to explicitly specify this column in order to display it.

Classification

Sélecteurs SélecteursMatières