Skip to content

Commit 5d2c39b

Browse files
committedNov 1, 2017
Add doxymentation
1 parent e0c1f0b commit 5d2c39b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed
 

‎python/gui/editorwidgets/core/qgssearchwidgetwrapper.sip

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,11 @@ class QgsSearchWidgetWrapper : QgsWidgetWrapper
206206

207207
protected slots:
208208

209-
virtual void setExpression( const QString &value ) = 0;
209+
virtual void setExpression( const QString &expression ) = 0;
210+
%Docstring
211+
Set the ``expression`` which is currently used as filter for this widget.
212+
%End
213+
210214
virtual void setFeature( const QgsFeature &feature );
211215

212216

‎src/gui/editorwidgets/core/qgssearchwidgetwrapper.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,11 @@ class GUI_EXPORT QgsSearchWidgetWrapper : public QgsWidgetWrapper
225225

226226
protected slots:
227227

228-
virtual void setExpression( const QString &value ) = 0;
228+
/**
229+
* Set the \a expression which is currently used as filter for this widget.
230+
*/
231+
virtual void setExpression( const QString &expression ) = 0;
232+
229233
void setFeature( const QgsFeature &feature ) override;
230234

231235
protected:

0 commit comments

Comments
 (0)
Please sign in to comment.