QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
src
gui
editorwidgets
qgstexteditsearchwidgetwrapper.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgstexteditsearchwidgetwrapper.cpp
3
---------------------------------
4
Date : 2016-05-23
5
Copyright : (C) 2016 Nyall Dawson
6
Email : nyall dot dawson at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#include "
qgstexteditsearchwidgetwrapper.h
"
17
18
#include "
qgsfields.h
"
19
#include "
qgsvectorlayer.h
"
20
21
QgsTextEditSearchWidgetWrapper::QgsTextEditSearchWidgetWrapper
(
QgsVectorLayer
*vl,
int
fieldIdx, QWidget *parent )
22
:
QgsDefaultSearchWidgetWrapper
( vl, fieldIdx, parent )
23
{
24
}
25
26
bool
QgsTextEditSearchWidgetWrapper::applyDirectly
()
27
{
28
return
true
;
29
}
qgsfields.h
QgsDefaultSearchWidgetWrapper
Wraps a search widget. Default form is just a QgsLineFilterEdit.
Definition:
qgsdefaultsearchwidgetwrapper.h:31
QgsTextEditSearchWidgetWrapper::QgsTextEditSearchWidgetWrapper
QgsTextEditSearchWidgetWrapper(QgsVectorLayer *vl, int fieldIdx, QWidget *parent=nullptr)
Constructor for QgsTextEditSearchWidgetWrapper.
Definition:
qgstexteditsearchwidgetwrapper.cpp:21
qgstexteditsearchwidgetwrapper.h
qgsvectorlayer.h
QgsTextEditSearchWidgetWrapper::applyDirectly
bool applyDirectly() override
If this is true, then this search widget should take effect directly when its expression changes.
Definition:
qgstexteditsearchwidgetwrapper.cpp:26
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition:
qgsvectorlayer.h:391
Generated on Sun Sep 11 2022 00:03:17 for QGIS API Documentation by
1.8.17