16#ifndef QGSVECTORLAYERTOOLS_H
17#define QGSVECTORLAYERTOOLS_H
71 QWidget *parentWidget =
nullptr,
72 bool showModal =
true,
73 bool hideParent =
false
80 return addFeatureV2( layer, defaultValues, defaultGeometry, feature, context );
105 return addFeature( layer, defaultValues, defaultGeometry, feature, context.parentWidget(), context.showModal(), context.hideParent() );
168 QString *errorMsg
SIP_OUT =
nullptr,
169 const bool topologicalEditing =
false,
171 QString *childrenInfoMsg =
nullptr
208 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