16 #ifndef QGSSEARCHQUERYBUILDER_H
17 #define QGSSEARCHQUERYBUILDER_H
21 #include <QStandardItemModel>
22 #include <QModelIndex>
24 #include "ui_qgsquerybuilderbase.h"
44 Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
47 QString searchString();
50 void setSearchString(
const QString &searchString );
58 void btnEqual_clicked();
60 void btnLessThan_clicked();
61 void btnGreaterThan_clicked();
62 void btnLike_clicked();
63 void btnILike_clicked();
64 void btnPct_clicked();
66 void btnNotIn_clicked();
68 void lstFields_doubleClicked(
const QModelIndex &index );
69 void lstValues_doubleClicked(
const QModelIndex &index );
70 void btnLessEqual_clicked();
71 void btnGreaterEqual_clicked();
72 void btnNotEqual_clicked();
73 void btnAnd_clicked();
74 void btnNot_clicked();
76 void btnClear_clicked();
82 void btnTest_clicked();
88 void btnGetAllValues_clicked();
95 void btnSampleValues_clicked();
102 void populateFields();
107 void setupListViews();
113 long countRecords(
const QString &sql );
119 void getFieldValues(
int limit );
131 QMap<QString, int> mFieldMap;
133 QStandardItemModel *mModelFields =
nullptr;
135 QStandardItemModel *mModelValues =
nullptr;
137 #endif //QGSSEARCHQUERYBUILDER_H