15 #ifndef QGSQUERYBUILDER_H
16 #define QGSQUERYBUILDER_H
19 #include <QStandardItemModel>
20 #include <QStandardItem>
21 #include <QModelIndex>
22 #include "ui_qgsquerybuilderbase.h"
40 class GUI_EXPORT
QgsQueryBuilder :
public QDialog,
private Ui::QgsQueryBuilderBase
59 void on_btnEqual_clicked();
60 void on_btnLessThan_clicked();
61 void on_btnGreaterThan_clicked();
62 void on_btnPct_clicked();
63 void on_btnIn_clicked();
64 void on_btnNotIn_clicked();
65 void on_btnLike_clicked();
66 void on_btnILike_clicked();
68 void setSql( QString sqlStatement );
69 void on_lstFields_clicked(
const QModelIndex &index );
70 void on_lstFields_doubleClicked(
const QModelIndex &index );
71 void on_lstValues_doubleClicked(
const QModelIndex &index );
72 void on_btnLessEqual_clicked();
73 void on_btnGreaterEqual_clicked();
74 void on_btnNotEqual_clicked();
75 void on_btnAnd_clicked();
76 void on_btnNot_clicked();
77 void on_btnOr_clicked();
91 void on_btnGetAllValues_clicked();
97 void on_btnSampleValues_clicked();
99 void setDatasourceDescription( QString uri );
105 void populateFields();
110 void setupGuiViews();
111 void setupLstFieldsModel();
112 void fillValues(
int idx,
int limit );
128 #endif //QGSQUERYBUILDER_H