1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-04-27 00:03:38 -04:00

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
python/gui/editorwidgets/core
src/gui/editorwidgets/core

@ -206,7 +206,11 @@ class QgsSearchWidgetWrapper : QgsWidgetWrapper
protected slots: 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 ); virtual void setFeature( const QgsFeature &feature );

@ -225,7 +225,11 @@ class GUI_EXPORT QgsSearchWidgetWrapper : public QgsWidgetWrapper
protected slots: 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; void setFeature( const QgsFeature &feature ) override;
protected: protected: