mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
to an abstract base class QgsVectorLayerTools in the gui library, so these can be reimplemented for a custom app, but can also be used from plugins or in the gui library.
11 lines
387 B
Plaintext
11 lines
387 B
Plaintext
class QgsVectorLayerTools
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsvectorlayertools.h>
|
|
%End
|
|
public:
|
|
virtual bool addFeature( QgsVectorLayer* layer, QgsAttributeMap defaultValues = QgsAttributeMap(), const QgsGeometry& = QgsGeometry() ) = 0;
|
|
virtual bool startEditing( QgsVectorLayer* layer ) = 0;
|
|
virtual bool stopEditing( QgsVectorLayer* layer, bool allowCancel = true ) = 0;
|
|
};
|