Skip to content


Merge pull request #8338 from 3nids/fix20201
Browse files Browse the repository at this point in the history
use Exclude field by default for relation search widget wrapper
  • Loading branch information
m-kuhn committed Oct 26, 2018
2 parents f0735d9 + 95142cc commit 6944240
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 6944240

Please sign in to comment.