16#ifndef QGSVECTORLAYERTOOLS_H
17#define QGSVECTORLAYERTOOLS_H
71 return addFeatureV2( layer, defaultValues, defaultGeometry, feature, context );
90 return addFeature( layer, defaultValues, defaultGeometry, feature, context.parentWidget(), context.showModal(), context.hideParent() );
156 bool forceSuppressFormPopup()
const;
166 void setForceSuppressFormPopup(
bool forceSuppressFormPopup );
185 bool mForceSuppressFormPopup {
false };
This class 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 consider.
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 data sets.
QMap< int, QVariant > QgsAttributeMap