QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
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.
Definition:
qgsdefaultsearchwidgetwrapper.h:32
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:387
Generated on Sat Oct 24 2020 17:43:09 for QGIS API Documentation by
1.8.20