Skip to content


fix help button in query builder
Browse files Browse the repository at this point in the history
git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Nov 20, 2009
1 parent cbcadb4 commit 12f3400
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app/qgsquerybuilder.cpp
Expand Up @@ -18,6 +18,7 @@
#include <QListView>
#include <QMessageBox>
#include <QRegExp>
#include <QPushButton>
#include "qgslogger.h"
#include "qgsvectorlayer.h"
#include "qgsvectordataprovider.h"
Expand Down
6 changes: 5 additions & 1 deletion src/app/qgsquerybuilder.h
Expand Up @@ -22,9 +22,10 @@
#include "ui_qgsquerybuilderbase.h"
#include "qgisgui.h"
#include "qgsfield.h"
#include <QPushButton>
#include "qgscontexthelp.h"

class QgsVectorLayer;

* \class QgsQueryBuilder
* \brief Query Builder for PostgreSQL layers.
Expand Down Expand Up @@ -93,6 +94,9 @@ class QgsQueryBuilder : public QDialog, private Ui::QgsQueryBuilderBase
void on_btnNot_clicked();
void on_btnOr_clicked();

void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }

/*! Test the constructed sql statement to see if the database likes it.
* The number of rows that would be returned is displayed in a message box.
* The test uses a "select count(*) from ..." query to test the SQL
Expand Down

0 comments on commit 12f3400

Please sign in to comment.