16#ifndef QGSVECTORLAYERTOOLS_H
17#define QGSVECTORLAYERTOOLS_H
72 return addFeatureV2( layer, defaultValues, defaultGeometry, feature, context );
91 return addFeature( layer, defaultValues, defaultGeometry, feature, context.parentWidget(), context.showModal(), context.hideParent() );
157 bool forceSuppressFormPopup()
const;
167 void setForceSuppressFormPopup(
bool forceSuppressFormPopup );
186 bool mForceSuppressFormPopup {
false };
Wraps a request for features to a vector layer (or directly its vector data provider).
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
A geometry is the spatial representation of a feature.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
Contains settings which reflect the context in which vector layer tool operations should be considere...
void setParentWidget(QWidget *parent)
Sets the widget which should be parented to tools' dialogues.
void setHideParent(bool hide)
Sets whether the parent widget should be hidden when showing tools' dialogues.
void setShowModal(bool modal)
Sets whether tools' dialogues should be modal.
Represents a vector layer which manages a vector based dataset.
QMap< int, QVariant > QgsAttributeMap