16 #ifndef QGSSEARCHQUERYBUILDER_H
17 #define QGSSEARCHQUERYBUILDER_H
21 #include <QStandardItemModel>
22 #include <QModelIndex>
24 #include "ui_qgsquerybuilderbase.h"
45 Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
48 QString searchString();
51 void setSearchString(
const QString &searchString );
59 void btnEqual_clicked();
61 void btnLessThan_clicked();
62 void btnGreaterThan_clicked();
63 void btnLike_clicked();
64 void btnILike_clicked();
65 void btnPct_clicked();
67 void btnNotIn_clicked();
69 void lstFields_doubleClicked(
const QModelIndex &index );
70 void lstValues_doubleClicked(
const QModelIndex &index );
71 void btnLessEqual_clicked();
72 void btnGreaterEqual_clicked();
73 void btnNotEqual_clicked();
74 void btnAnd_clicked();
75 void btnNot_clicked();
77 void btnClear_clicked();
83 void btnTest_clicked();
89 void btnGetAllValues_clicked();
96 void btnSampleValues_clicked();
103 void populateFields();
108 void setupListViews();
114 long countRecords(
const QString &sql );
120 void getFieldValues(
int limit );
132 QMap<QString, int> mFieldMap;
134 QStandardItemModel *mModelFields =
nullptr;
136 QStandardItemModel *mModelValues =
nullptr;
Encapsulate a field in an attribute table or data source.
Query Builder for search strings.
Represents a vector layer which manages a vector based data sets.