Class: QgsDefaultSearchWidgetWrapper¶
Wraps a search widget. Default form is just a
QgsLineFilterEdit
Class Hierarchy¶
Base classes¶
Shows a search widget on a filter form. |
|
Manages an editor widget Widget and wrapper share the same parent |
|
Methods
Returns a pointer to the case sensitivity checkbox in the widget. |
|
Returns a pointer to the line edit part of the widget. |
- class qgis.gui.QgsDefaultSearchWidgetWrapper[source]¶
Bases:
QgsSearchWidgetWrapper
- __init__(vl: QgsVectorLayer | None, fieldIdx: int, parent: QWidget | None = None)
Constructor for QgsDefaultSearchWidgetWrapper
- Parameters:
vl (Optional[QgsVectorLayer])
fieldIdx (int)
parent (Optional[QWidget] = None)
- caseSensitiveCheckBox(self) QCheckBox | None [source]¶
Returns a pointer to the case sensitivity checkbox in the widget.
Note
this method is in place for unit testing only, and is not considered stable API
- Return type:
Optional[QCheckBox]
- lineEdit(self) QgsFilterLineEdit | None [source]¶
Returns a pointer to the line edit part of the widget.
Note
this method is in place for unit testing only, and is not considered stable API
- Return type:
Optional[QgsFilterLineEdit]