16 #ifndef QGSSEARCHQUERYBUILDER_H
17 #define QGSSEARCHQUERYBUILDER_H
21 #include <QStandardItemModel>
22 #include <QModelIndex>
24 #include "ui_qgsquerybuilderbase.h"
48 QString searchString();
51 void setSearchString( QString searchString );
54 void on_btnEqual_clicked();
55 void on_btnOk_clicked();
56 void on_btnLessThan_clicked();
57 void on_btnGreaterThan_clicked();
58 void on_btnLike_clicked();
59 void on_btnILike_clicked();
60 void on_btnPct_clicked();
61 void on_btnIn_clicked();
62 void on_btnNotIn_clicked();
64 void on_lstFields_doubleClicked(
const QModelIndex &
index );
65 void on_lstValues_doubleClicked(
const QModelIndex &index );
66 void on_btnLessEqual_clicked();
67 void on_btnGreaterEqual_clicked();
68 void on_btnNotEqual_clicked();
69 void on_btnAnd_clicked();
70 void on_btnNot_clicked();
71 void on_btnOr_clicked();
72 void on_btnClear_clicked();
77 void on_btnTest_clicked();
83 void on_btnGetAllValues_clicked();
90 void on_btnSampleValues_clicked();
102 void populateFields();
106 void setupListViews();
111 long countRecords( QString sql );
117 void getFieldValues(
int limit );
124 QMap<QString, int> mFieldMap;
126 QStandardItemModel *mModelFields;
128 QStandardItemModel *mModelValues;
130 #endif //QGSSEARCHQUERYBUILDER_H