Hi Matthias -

Thanks for the tip and the hint :-)

Regards

Bo Victor



Den 19-01-2017 kl. 15:36 skrev Matthias Kuhn:
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
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
Qgis-developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
Qgis-developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to