QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
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 
20 #include "qgis_gui.h"
21 
23 
25 
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 
53 };
54 
55 #endif // QGSTEXTEDITSEARCHWIDGETWRAPPER_H
QgsDefaultSearchWidgetWrapper
Wraps a search widget. Default form is just a QgsLineFilterEdit.
Definition: qgsdefaultsearchwidgetwrapper.h:31
qgsdefaultsearchwidgetwrapper.h
QgsTextEditWidgetFactory
Definition: qgstexteditwidgetfactory.h:30
SIP_NO_FILE
#define SIP_NO_FILE
Definition: fromencodedcomponenthelper.h:18
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition: qgsvectorlayer.h:391
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:34