mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-07 00:03:52 -05:00
needsGeometry getter is not a signal
This commit is contained in:
parent
4f1cc22b54
commit
6d74da2300
@ -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:
|
||||
@ -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
|
||||
|
||||
};
|
||||
|
||||
@ -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:
|
||||
|
||||
/**
|
||||
@ -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 );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user