Skip to content
Permalink
Browse files

fix help button in query builder

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12202 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Nov 20, 2009
1 parent b3e34c0 commit 65395c5d1db1c0b3209bf958baf9f7ee3a426370
Showing with 6 additions and 1 deletion.
  1. +1 −0 src/app/qgsquerybuilder.cpp
  2. +5 −1 src/app/qgsquerybuilder.h
@@ -18,6 +18,7 @@
#include <QListView>
#include <QMessageBox>
#include <QRegExp>
#include <QPushButton>
#include "qgslogger.h"
#include "qgsvectorlayer.h"
#include "qgsvectordataprovider.h"
@@ -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.
@@ -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

0 comments on commit 65395c5

Please sign in to comment.
You can’t perform that action at this time.