Skip to content


use Exclude field by default for relation search widget wrapper
Browse files Browse the repository at this point in the history
fix #20201
  • Loading branch information
3nids committed Oct 25, 2018
1 parent 3088574 commit 95142cc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
Expand Up @@ -47,8 +47,6 @@ Returns a variant representing the current state of the widget.

virtual QgsSearchWidgetWrapper::FilterFlags supportedFlags() const;

virtual QgsSearchWidgetWrapper::FilterFlags defaultFlags() const;

virtual QString createExpression( QgsSearchWidgetWrapper::FilterFlags flags ) const;

Expand Down
Expand Up @@ -56,11 +56,6 @@ QgsSearchWidgetWrapper::FilterFlags QgsRelationReferenceSearchWidgetWrapper::sup
return EqualTo | NotEqualTo | IsNull | IsNotNull;

QgsSearchWidgetWrapper::FilterFlags QgsRelationReferenceSearchWidgetWrapper::defaultFlags() const
return EqualTo;

QString QgsRelationReferenceSearchWidgetWrapper::createExpression( QgsSearchWidgetWrapper::FilterFlags flags ) const
QString fieldName = createFieldIdentifier();
Expand Down
Expand Up @@ -58,7 +58,6 @@ class GUI_EXPORT QgsRelationReferenceSearchWidgetWrapper : public QgsSearchWidge
QString expression() const override;
bool valid() const override;
QgsSearchWidgetWrapper::FilterFlags supportedFlags() const override;
QgsSearchWidgetWrapper::FilterFlags defaultFlags() const override;
QString createExpression( QgsSearchWidgetWrapper::FilterFlags flags ) const override;

public slots:
Expand Down

0 comments on commit 95142cc

Please sign in to comment.