Skip to content
Permalink
Browse files

enable test and clear to search query builder

git-svn-id: http://svn.osgeo.org/qgis/trunk@12398 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Dec 10, 2009
1 parent 917afbc commit 50736224ac293fb4f777af01342130f5e4b97cd0
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/app/qgssearchquerybuilder.cpp
@@ -40,6 +40,14 @@ QgsSearchQueryBuilder::QgsSearchQueryBuilder( QgsVectorLayer* layer,

setWindowTitle( tr( "Search query builder" ) );

QPushButton *pbn = new QPushButton( tr( "&Test" ) );
buttonBox->addButton( pbn, QDialogButtonBox::ActionRole );
connect( pbn, SIGNAL( clicked() ), this, SLOT( on_btnTest_clicked() ) );

pbn = new QPushButton( tr( "&Clear" ) );
buttonBox->addButton( pbn, QDialogButtonBox::ActionRole );
connect( pbn, SIGNAL( clicked() ), this, SLOT( on_btnClear_clicked() ) );

// disable unsupported operators
btnIn->setEnabled( false );
btnNotIn->setEnabled( false );

0 comments on commit 5073622

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