QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | List of all members
QgsSearchQueryBuilder Class Reference

Query Builder for search strings. More...

#include <qgssearchquerybuilder.h>

Public Slots

void on_btnEqual_clicked ()
void on_btnOk_clicked ()
void on_btnLessThan_clicked ()
void on_btnGreaterThan_clicked ()
void on_btnLike_clicked ()
void on_btnILike_clicked ()
void on_btnPct_clicked ()
void on_btnIn_clicked ()
void on_btnNotIn_clicked ()
void on_lstFields_doubleClicked (const QModelIndex &index)
void on_lstValues_doubleClicked (const QModelIndex &index)
void on_btnLessEqual_clicked ()
void on_btnGreaterEqual_clicked ()
void on_btnNotEqual_clicked ()
void on_btnAnd_clicked ()
void on_btnNot_clicked ()
void on_btnOr_clicked ()
void on_btnClear_clicked ()
void on_btnTest_clicked ()
void on_btnGetAllValues_clicked ()
void on_btnSampleValues_clicked ()
void on_buttonBox_helpRequested ()
void saveQuery ()
void loadQuery ()

Public Member Functions

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

Detailed Description

Query Builder for search strings.

Constructor & Destructor Documentation

QgsSearchQueryBuilder::QgsSearchQueryBuilder ( QgsVectorLayer layer,
QWidget *  parent = 0,
Qt::WindowFlags  fl = QgisGui::ModalDialogFlags 
)

Constructor - takes pointer to vector layer as a parameter.

QgsSearchQueryBuilder::~QgsSearchQueryBuilder ( )

Member Function Documentation

void QgsSearchQueryBuilder::loadQuery ( )
slot
void QgsSearchQueryBuilder::on_btnAnd_clicked ( )
slot
void QgsSearchQueryBuilder::on_btnClear_clicked ( )
slot
void QgsSearchQueryBuilder::on_btnEqual_clicked ( )
slot
void QgsSearchQueryBuilder::on_btnGetAllValues_clicked ( )
slot

Get all distinct values for the field. Values are inserted into the value list box

void QgsSearchQueryBuilder::on_btnGreaterEqual_clicked ( )
slot
void QgsSearchQueryBuilder::on_btnGreaterThan_clicked ( )
slot
void QgsSearchQueryBuilder::on_btnILike_clicked ( )
slot
void QgsSearchQueryBuilder::on_btnIn_clicked ( )
slot
void QgsSearchQueryBuilder::on_btnLessEqual_clicked ( )
slot
void QgsSearchQueryBuilder::on_btnLessThan_clicked ( )
slot
void QgsSearchQueryBuilder::on_btnLike_clicked ( )
slot
void QgsSearchQueryBuilder::on_btnNot_clicked ( )
slot
void QgsSearchQueryBuilder::on_btnNotEqual_clicked ( )
slot
void QgsSearchQueryBuilder::on_btnNotIn_clicked ( )
slot
void QgsSearchQueryBuilder::on_btnOk_clicked ( )
slot
void QgsSearchQueryBuilder::on_btnOr_clicked ( )
slot
void QgsSearchQueryBuilder::on_btnPct_clicked ( )
slot
void QgsSearchQueryBuilder::on_btnSampleValues_clicked ( )
slot

Get sample distinct values for the selected field. The sample size is limited to an arbitrary value (currently set to 25). The values are inserted into the values list box.

void QgsSearchQueryBuilder::on_btnTest_clicked ( )
slot

Test the constructed search string to see if it's correct. The number of rows that would be returned is displayed in a message box.

void QgsSearchQueryBuilder::on_buttonBox_helpRequested ( )
inlineslot
void QgsSearchQueryBuilder::on_lstFields_doubleClicked ( const QModelIndex &  index)
slot
void QgsSearchQueryBuilder::on_lstValues_doubleClicked ( const QModelIndex &  index)
slot
void QgsSearchQueryBuilder::saveQuery ( )
slot
QString QgsSearchQueryBuilder::searchString ( )

returns newly created search string

void QgsSearchQueryBuilder::setSearchString ( QString  searchString)

change search string shown in text field


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