QGIS API Documentation  3.10.0-A Coruña (6c816b4204)
Public Slots | Public Member Functions | List of all members
QgsSearchQueryBuilder Class Reference

Query Builder for search strings. More...

#include <qgssearchquerybuilder.h>

Inheritance diagram for QgsSearchQueryBuilder:
Inheritance graph
[legend]

Public Slots

void loadQuery ()
 
void saveQuery ()
 

Public Member Functions

 QgsSearchQueryBuilder (QgsVectorLayer *layer, QWidget *parent SIP_TRANSFERTHIS=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
 Constructor - takes pointer to vector layer as a parameter. More...
 
QString searchString ()
 returns newly created search string More...
 
void setSearchString (const QString &searchString)
 change search string shown in text field More...
 

Detailed Description

Query Builder for search strings.

Definition at line 36 of file qgssearchquerybuilder.h.

Constructor & Destructor Documentation

◆ QgsSearchQueryBuilder()

QgsSearchQueryBuilder::QgsSearchQueryBuilder ( QgsVectorLayer layer,
QWidget *parent  SIP_TRANSFERTHIS = nullptr,
Qt::WindowFlags  fl = QgsGuiUtils::ModalDialogFlags 
)

Constructor - takes pointer to vector layer as a parameter.

Definition at line 38 of file qgssearchquerybuilder.cpp.

Member Function Documentation

◆ loadQuery

void QgsSearchQueryBuilder::loadQuery ( )
slot

Definition at line 416 of file qgssearchquerybuilder.cpp.

◆ saveQuery

void QgsSearchQueryBuilder::saveQuery ( )
slot

Definition at line 380 of file qgssearchquerybuilder.cpp.

◆ searchString()

QString QgsSearchQueryBuilder::searchString ( )

returns newly created search string

Definition at line 320 of file qgssearchquerybuilder.cpp.

◆ setSearchString()

void QgsSearchQueryBuilder::setSearchString ( const QString &  searchString)

change search string shown in text field

Definition at line 325 of file qgssearchquerybuilder.cpp.


The documentation for this class was generated from the following files: