|
| QgsTrackedVectorLayerTools ()=default |
| Constructor for QgsTrackedVectorLayerTools. More...
|
|
bool | addFeature (QgsVectorLayer *layer, const QgsAttributeMap &defaultValues, const QgsGeometry &defaultGeometry, QgsFeature *feature, QWidget *parentWidget=nullptr, bool showModal=true, bool hideParent=false) const override |
| This method calls the addFeature method of the backend QgsVectorLayerTools. More...
|
|
bool | copyMoveFeatures (QgsVectorLayer *layer, QgsFeatureRequest &request, double dx=0, double dy=0, QString *errorMsg=nullptr, const bool topologicalEditing=false, QgsVectorLayer *topologicalLayer=nullptr) const override |
| Copy and move features with defined translation. More...
|
|
void | rollback () |
| Delete all features which have been added via this object. More...
|
|
bool | saveEdits (QgsVectorLayer *layer) const override |
| Should be called, when the features should be committed but the editing session is not ended. More...
|
|
void | setVectorLayerTools (const QgsVectorLayerTools *tools) |
| Set the vector layer tools that will be used to interact with the data. More...
|
|
bool | startEditing (QgsVectorLayer *layer) const override |
| This will be called, whenever a vector layer should be switched to edit mode. More...
|
|
bool | stopEditing (QgsVectorLayer *layer, bool allowCancel) const override |
| Will be called, when an editing session is ended and the features should be committed. More...
|
|
| QgsVectorLayerTools () |
|
virtual bool | addFeature (QgsVectorLayer *layer, const QgsAttributeMap &defaultValues=QgsAttributeMap(), const QgsGeometry &defaultGeometry=QgsGeometry(), QgsFeature *feature=nullptr, QWidget *parentWidget=nullptr, bool showModal=true, bool hideParent=false) const =0 |
| This method should/will be called, whenever a new feature will be added to the layer. More...
|
|
virtual bool | copyMoveFeatures (QgsVectorLayer *layer, QgsFeatureRequest &request, double dx=0, double dy=0, QString *errorMsg=nullptr, const bool topologicalEditing=false, QgsVectorLayer *topologicalLayer=nullptr) const |
| Copy and move features with defined translation. More...
|
|
bool | forceSuppressFormPopup () const |
| Returns force suppress form popup status. More...
|
|
virtual bool | saveEdits (QgsVectorLayer *layer) const =0 |
| Should be called, when the features should be committed but the editing session is not ended. More...
|
|
void | setForceSuppressFormPopup (bool forceSuppressFormPopup) |
| Sets force suppress form popup status to forceSuppressFormPopup. More...
|
|
virtual bool | startEditing (QgsVectorLayer *layer) const =0 |
| This will be called, whenever a vector layer should be switched to edit mode. More...
|
|
virtual bool | stopEditing (QgsVectorLayer *layer, bool allowCancel=true) const =0 |
| Will be called, when an editing session is ended and the features should be committed. More...
|
|