Add doxymentation

This commit is contained in:
Matthias Kuhn 2017-11-01 20:44:23 +01:00
parent e0c1f0b050
commit 5d2c39bbfb
2 changed files with 10 additions and 2 deletions

View File

@ -206,7 +206,11 @@ class QgsSearchWidgetWrapper : QgsWidgetWrapper
protected slots:
virtual void setExpression( const QString &value ) = 0;
virtual void setExpression( const QString &expression ) = 0;
%Docstring
Set the ``expression`` which is currently used as filter for this widget.
%End
virtual void setFeature( const QgsFeature &feature );

View File

@ -225,7 +225,11 @@ class GUI_EXPORT QgsSearchWidgetWrapper : public QgsWidgetWrapper
protected slots:
virtual void setExpression( const QString &value ) = 0;
/**
* Set the \a expression which is currently used as filter for this widget.
*/
virtual void setExpression( const QString &expression ) = 0;
void setFeature( const QgsFeature &feature ) override;
protected: