[Qgis-developer] Python bindings for "QgsMapToolCapture"
Matthias Kuhn
matthias at opengis.ch
Thu Jan 19 06:36:38 PST 2017
Hi Bo,
2.18.2 here:
from qgis.gui import QgsMapToolCapture
tool = QgsMapToolCapture()
Hint: You probably want to subclass QgsMapToolCapture
Matthias
On 01/19/2017 03:33 PM, Bo Victor Thomsen wrote:
> To the QGIS developers (and not a newbie QGIS plugin developer like me) -
>
> Is there a QGIS python binding for class "QgsMapToolCapture". Or do I
> have to recreate the various point, line and polygon capture tools ?
>
> My goal is to have 3 tools (point, line and polygon capture) available
> though a QGIS plugin and show the capture - result in the canvas using
> QgsRubberBand. I can't find any documentations for the python bindings
> for QgsMapToolCapture and I guess that they doesn't exist.
>
> I refuse to believe I'm the only one having this problem - So:
>
> * Does the python bindings exist or not ?
> * If the first answer are "not": Is there some QGIS / qt / python
> based replacement for "QgsMapToolCapture" ??
>
> Regards
>
> Bo Victor Thomsen
>
>
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
More information about the Qgis-developer
mailing list