QGIS API Documentation
3.20.0-Odense (decaadbb31)
src
gui
editorwidgets
qgstexteditsearchwidgetwrapper.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgstexteditsearchwidgetwrapper.h
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
#ifndef QGSTEXTEDITSEARCHWIDGETWRAPPER_H
17
#define QGSTEXTEDITSEARCHWIDGETWRAPPER_H
18
19
#include "
qgsdefaultsearchwidgetwrapper.h
"
20
#include "qgis_gui.h"
21
22
SIP_NO_FILE
23
24
class
QgsTextEditWidgetFactory
;
25
34
class
GUI_EXPORT
QgsTextEditSearchWidgetWrapper
:
public
QgsDefaultSearchWidgetWrapper
35
{
36
Q_OBJECT
37
38
public
:
39
46
explicit
QgsTextEditSearchWidgetWrapper
(
QgsVectorLayer
*vl,
int
fieldIdx, QWidget *parent =
nullptr
);
47
48
bool
applyDirectly
()
override
;
49
50
private
:
51
52
friend
class
QgsTextEditWidgetFactory
;
53
};
54
55
#endif
// QGSTEXTEDITSEARCHWIDGETWRAPPER_H
QgsDefaultSearchWidgetWrapper
Wraps a search widget.
Definition:
qgsdefaultsearchwidgetwrapper.h:32
QgsDefaultSearchWidgetWrapper::applyDirectly
bool applyDirectly() override
If this is true, then this search widget should take effect directly when its expression changes.
Definition:
qgsdefaultsearchwidgetwrapper.cpp:86
QgsTextEditSearchWidgetWrapper
Wraps a text edit widget for searching.
Definition:
qgstexteditsearchwidgetwrapper.h:35
QgsTextEditWidgetFactory
Definition:
qgstexteditwidgetfactory.h:31
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition:
qgsvectorlayer.h:393
SIP_NO_FILE
#define SIP_NO_FILE
Definition:
qgis_sip.h:23
qgsdefaultsearchwidgetwrapper.h
Generated on Sun Jun 20 2021 10:45:59 for QGIS API Documentation by
1.9.1