mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-09 00:04:30 -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.
|
for calculations in this form.
|
||||||
|
|
||||||
.. versionadded:: 3.16
|
.. versionadded:: 3.16
|
||||||
|
%End
|
||||||
|
|
||||||
|
bool needsGeometry() const;
|
||||||
|
%Docstring
|
||||||
|
Returns ``True`` if any of the form widgets need feature geometry
|
||||||
|
|
||||||
|
.. versionadded:: 3.20
|
||||||
%End
|
%End
|
||||||
|
|
||||||
signals:
|
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.
|
have filter expressions that depend on the parent form scope.
|
||||||
|
|
||||||
.. versionadded:: 3.14
|
.. versionadded:: 3.14
|
||||||
%End
|
|
||||||
|
|
||||||
bool needsGeometry() const;
|
|
||||||
%Docstring
|
|
||||||
Returns ``True`` if any of the form widgets need feature geometry
|
|
||||||
|
|
||||||
.. versionadded:: 3.20
|
|
||||||
%End
|
%End
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@ -201,6 +201,12 @@ class GUI_EXPORT QgsAttributeForm : public QWidget
|
|||||||
*/
|
*/
|
||||||
void setExtraContextScope( QgsExpressionContextScope *extraScope SIP_TRANSFER );
|
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:
|
signals:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -340,12 +346,6 @@ class GUI_EXPORT QgsAttributeForm : public QWidget
|
|||||||
*/
|
*/
|
||||||
void parentFormValueChanged( const QString &attribute, const QVariant &newValue );
|
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:
|
private slots:
|
||||||
void onAttributeChanged( const QVariant &value, const QVariantList &additionalFieldValues );
|
void onAttributeChanged( const QVariant &value, const QVariantList &additionalFieldValues );
|
||||||
void onAttributeAdded( int idx );
|
void onAttributeAdded( int idx );
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user