Class: QgsValueRelationSearchWidgetWrapper¶
Wraps a value relation search widget.
This widget will offer a combobox with values from another layer referenced by a foreign key (a constraint may be set but is not required on data level).
It will be used as a search widget and produces expression to look for in the layer.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Shows a search widget on a filter form. |
|
Manages an editor widget. |
|
Constructor
Methods
Called when current value of search widget changes |
|
Virtual Methods
In PyQGIS, only methods marked as virtual can be safely overridden in a Python subclass of QgsValueRelationSearchWidgetWrapper. See the FAQ for more details.
- class qgis.gui.QgsValueRelationSearchWidgetWrapper[source]¶
Bases:
QgsSearchWidgetWrapper- __init__(vl: QgsVectorLayer | None, fieldIdx: int, parent: QWidget | None = None)¶
Constructor for QgsValueRelationSearchWidgetWrapper
- Parameters:
vl (QgsVectorLayer|None)
fieldIdx (int)
parent (QWidget|None = None)