Skip to content
Permalink
Browse files

show search icon in expression builder widget

  • Loading branch information
slarosa committed Apr 2, 2018
1 parent a04d553 commit 1e5fe12d8c962340aca2c7e77edf86ad082eb66d
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/qgsexpressionbuilderwidget.cpp
@@ -81,12 +81,14 @@ QgsExpressionBuilderWidget::QgsExpressionBuilderWidget( QWidget *parent )
connect( button, &QAbstractButton::pressed, this, &QgsExpressionBuilderWidget::operatorButtonClicked );
}

txtSearchEdit->setShowSearchIcon( true );
txtSearchEdit->setPlaceholderText( tr( "Search" ) );

mValuesModel = new QStringListModel();
mProxyValues = new QSortFilterProxyModel();
mProxyValues->setSourceModel( mValuesModel );
mValuesListView->setModel( mProxyValues );
txtSearchEditValues->setShowSearchIcon( true );
txtSearchEditValues->setPlaceholderText( tr( "Search" ) );

QgsSettings settings;

0 comments on commit 1e5fe12

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