File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
python/gui/editorwidgets/core
src/gui/editorwidgets/core Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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:
You can’t perform that action at this time.
0 commit comments