[Qgis-developer] [patch] rubberband extension

Jürgen E. Fischer jef+qgis at norbit.de
Sat Sep 29 14:31:35 EDT 2007


Hi there,

attached patch adds the ability to query the points currently in a
QgsRubberBand and to remove the last.

I use this in a plugin to avoid the need to keep track of the selected
points twice and to be able to take back the last entered point from a
context menu.

QgsMapToolCapture should probably be updated accordingly, but didn't find the
time yet.


Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-0
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rubberband.diff
Type: text/x-diff
Size: 1776 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20070929/da251e19/rubberband.bin


More information about the Qgis-developer mailing list