Skip to content

Commit

Permalink
Add doxymentation
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Nov 1, 2017
1 parent e0c1f0b commit 5d2c39b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion python/gui/editorwidgets/core/qgssearchwidgetwrapper.sip
Expand Up @@ -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 );


Expand Down
6 changes: 5 additions & 1 deletion src/gui/editorwidgets/core/qgssearchwidgetwrapper.h
Expand Up @@ -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:
Expand Down

0 comments on commit 5d2c39b

Please sign in to comment.