QGIS API Documentation
3.0.2-Girona (307d082)
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.h
QgsTextEditWidgetFactory
Definition:
qgstexteditwidgetfactory.h:30
QgsDefaultSearchWidgetWrapper
Wraps a search widget.
Definition:
qgsdefaultsearchwidgetwrapper.h:31
SIP_NO_FILE
#define SIP_NO_FILE
Definition:
qgis_sip.h:23
QgsDefaultSearchWidgetWrapper::applyDirectly
bool applyDirectly() override
If this is true, then this search widget should take effect directly when its expression changes...
Definition:
qgsdefaultsearchwidgetwrapper.cpp:85
QgsTextEditSearchWidgetWrapper
Wraps a text edit widget for searching.
Definition:
qgstexteditsearchwidgetwrapper.h:34
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition:
qgsvectorlayer.h:353
Generated on Sat Apr 21 2018 11:45:00 for QGIS API Documentation by
1.8.13