qgsfeatureaction.h (QGIS-final-3_10_11) | : | qgsfeatureaction.h (QGIS-final-3_10_12) | ||
---|---|---|---|---|
skipping to change at line 64 | skipping to change at line 64 | |||
*/ | */ | |||
bool addFeature( const QgsAttributeMap &defaultAttributes = QgsAttributeMap( ), bool showModal = true, QgsExpressionContextScope *scope = nullptr ); | bool addFeature( const QgsAttributeMap &defaultAttributes = QgsAttributeMap( ), bool showModal = true, QgsExpressionContextScope *scope = nullptr ); | |||
/** | /** | |||
* Sets whether to force suppression of the attribute form popup after creat ing a new feature. | * Sets whether to force suppression of the attribute form popup after creat ing a new feature. | |||
* If \a force is true, then regardless of any user settings, form settings, etc, the attribute | * If \a force is true, then regardless of any user settings, form settings, etc, the attribute | |||
* form will ALWAYS be suppressed. | * form will ALWAYS be suppressed. | |||
*/ | */ | |||
void setForceSuppressFormPopup( bool force ); | void setForceSuppressFormPopup( bool force ); | |||
/** | ||||
* Returns the added feature or invalid feature in case addFeature() was not | ||||
successful. | ||||
*/ | ||||
QgsFeature feature() const; | ||||
signals: | signals: | |||
/** | /** | |||
* This signal is emitted when the add feature process is finished. | * This signal is emitted when the add feature process is finished. | |||
* Either during the call to addFeature() already or when the dialog is even tually | * Either during the call to addFeature() already or when the dialog is even tually | |||
* closed (accepted or canceled). | * closed (accepted or canceled). | |||
* | * | |||
* \since QGIS 3.8 | * \since QGIS 3.8 | |||
*/ | */ | |||
void addFeatureFinished(); | void addFeatureFinished(); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 6 lines changed or added |