Skip to content
Permalink
Browse files

[tracing curves] (sip)

  • Loading branch information
olivierdalang committed May 11, 2020
1 parent 943ac28 commit 16c9a5859368ca0803d644c7c592150f32d0333b
@@ -27,13 +27,27 @@ class QgsMapToolCapture : QgsMapToolAdvancedDigitizing
CapturePolygon
};

enum Capability
{
NoCapabilities,
SupportsCurves,
};

typedef QFlags<QgsMapToolCapture::Capability> Capabilities;


QgsMapToolCapture( QgsMapCanvas *canvas, QgsAdvancedDigitizingDockWidget *cadDockWidget, CaptureMode mode );
%Docstring
constructor
%End

~QgsMapToolCapture();

virtual QgsMapToolCapture::Capabilities capabilities() const;
%Docstring
Returns flags containing the supported capabilities
%End

virtual void activate();

virtual void deactivate();
@@ -266,6 +280,9 @@ Stop capturing

};

QFlags<QgsMapToolCapture::Capability> operator|(QgsMapToolCapture::Capability f1, QFlags<QgsMapToolCapture::Capability> f2);


/************************************************************************
* This file has been generated automatically from *
* *
@@ -32,6 +32,9 @@ QgsMapToolDigitizeFeature is a map tool to digitize a feature geometry
:param mode: type of geometry to capture (point/line/polygon), QgsMapToolCapture.CaptureNone to autodetect geometry
%End

virtual QgsMapToolCapture::Capabilities capabilities() const;


virtual void cadCanvasReleaseEvent( QgsMapMouseEvent *e );


0 comments on commit 16c9a58

Please sign in to comment.
You can’t perform that action at this time.