Class: QgsDefaultSearchWidgetWrapper¶
Wraps a search widget.
Default form is just a QgsLineFilterEdit
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
Returns a pointer to the case sensitivity checkbox in the widget. |
|
Returns a pointer to the line edit part of the widget. |
Virtual Methods
In PyQGIS, only methods marked as virtual can be safely overridden in a Python subclass of QgsDefaultSearchWidgetWrapper. See the FAQ for more details.
- class qgis.gui.QgsDefaultSearchWidgetWrapper[source]¶
Bases:
QgsSearchWidgetWrapper- __init__(vl: QgsVectorLayer | None, fieldIdx: int, parent: QWidget | None = None)¶
Constructor for QgsDefaultSearchWidgetWrapper
- Parameters:
vl (QgsVectorLayer|None)
fieldIdx (int)
parent (QWidget|None = 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:
QCheckBox|None
- virtual createWidget(self, parent: QWidget | None) QWidget | None[source]¶
- Parameters:
parent (QWidget|None)
- Return type:
QWidget|None
- 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:
QgsFilterLineEdit|None