QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
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
21
class
QgsTextEditWidgetFactory
;
22
30
class
GUI_EXPORT
QgsTextEditSearchWidgetWrapper
:
public
QgsDefaultSearchWidgetWrapper
31
{
32
Q_OBJECT
33
34
public
:
35
41
explicit
QgsTextEditSearchWidgetWrapper
(
QgsVectorLayer
* vl,
int
fieldIdx,
QWidget
* parent =
nullptr
);
42
43
bool
applyDirectly
()
override
;
44
45
private
:
46
47
friend
class
QgsTextEditWidgetFactory
;
48
};
49
50
#endif // QGSTEXTEDITSEARCHWIDGETWRAPPER_H
QWidget
qgsdefaultsearchwidgetwrapper.h
QgsTextEditWidgetFactory
Definition:
qgstexteditwidgetfactory.h:26
QgsDefaultSearchWidgetWrapper
Wraps a search widget.
Definition:
qgsdefaultsearchwidgetwrapper.h:28
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:30
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition:
qgsvectorlayer.h:408
Generated on Sun Jun 24 2018 11:42:48 for QGIS API Documentation by
1.8.13