Skip to content

Commit

Permalink
needsGeometry getter is not a signal
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 23, 2022
1 parent 4f1cc22 commit 6d74da2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions python/gui/auto_generated/qgsattributeform.sip.in
Expand Up @@ -184,6 +184,13 @@ Sets an additional expression context scope to be used
for calculations in this form.

.. versionadded:: 3.16
%End

bool needsGeometry() const;
%Docstring
Returns ``True`` if any of the form widgets need feature geometry

.. versionadded:: 3.20
%End

signals:
Expand Down Expand Up @@ -326,13 +333,6 @@ Notify the form widgets that something has changed in case they
have filter expressions that depend on the parent form scope.

.. versionadded:: 3.14
%End

bool needsGeometry() const;
%Docstring
Returns ``True`` if any of the form widgets need feature geometry

.. versionadded:: 3.20
%End

};
Expand Down
12 changes: 6 additions & 6 deletions src/gui/qgsattributeform.h
Expand Up @@ -201,6 +201,12 @@ class GUI_EXPORT QgsAttributeForm : public QWidget
*/
void setExtraContextScope( QgsExpressionContextScope *extraScope SIP_TRANSFER );

/**
* Returns TRUE if any of the form widgets need feature geometry
* \since QGIS 3.20
*/
bool needsGeometry() const;

signals:

/**
Expand Down Expand Up @@ -340,12 +346,6 @@ class GUI_EXPORT QgsAttributeForm : public QWidget
*/
void parentFormValueChanged( const QString &attribute, const QVariant &newValue );

/**
* Returns TRUE if any of the form widgets need feature geometry
* \since QGIS 3.20
*/
bool needsGeometry() const;

private slots:
void onAttributeChanged( const QVariant &value, const QVariantList &additionalFieldValues );
void onAttributeAdded( int idx );
Expand Down

0 comments on commit 6d74da2

Please sign in to comment.