mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Solved bugs with double deletion of map canvas items in Python bindings.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6909 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
7e367f30b8
commit
c825b86f0e
@ -8,7 +8,7 @@ class QgsMapCanvasItem : QGraphicsItem
|
||||
protected:
|
||||
|
||||
//! protected constructor: cannot be constructed directly
|
||||
QgsMapCanvasItem(QgsMapCanvas* mapCanvas);
|
||||
QgsMapCanvasItem(QgsMapCanvas* mapCanvas /TransferThis/);
|
||||
|
||||
virtual ~QgsMapCanvasItem();
|
||||
|
||||
|
@ -6,7 +6,7 @@ class QgsRubberBand: QgsMapCanvasItem
|
||||
%End
|
||||
|
||||
public:
|
||||
QgsRubberBand(QgsMapCanvas* mapCanvas, bool isPolygon = false);
|
||||
QgsRubberBand(QgsMapCanvas* mapCanvas /TransferThis/, bool isPolygon = false);
|
||||
~QgsRubberBand();
|
||||
|
||||
void setColor(const QColor & color);
|
||||
|
@ -16,7 +16,7 @@ class QgsVertexMarker : QgsMapCanvasItem
|
||||
ICON_BOX
|
||||
};
|
||||
|
||||
QgsVertexMarker(QgsMapCanvas* mapCanvas);
|
||||
QgsVertexMarker(QgsMapCanvas* mapCanvas /TransferThis/);
|
||||
|
||||
void setCenter(const QgsPoint& point);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user