Skip to content

Commit d17ea5d

Browse files
committedOct 29, 2013
rubberband: respect enum order, add new icon type in SIP
1 parent 4d6be55 commit d17ea5d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed
 

‎python/gui/qgsrubberband.sip

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class QgsRubberBand: QgsMapCanvasItem
1313
ICON_CROSS,
1414
ICON_X,
1515
ICON_BOX,
16-
ICON_CIRCLE
16+
ICON_CIRCLE,
17+
ICON_FULL_BOX
1718
};
1819

1920
QgsRubberBand( QgsMapCanvas* mapCanvas /TransferThis/, QGis::GeometryType geometryType = QGis::Line );

‎src/gui/qgsrubberband.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ class GUI_EXPORT QgsRubberBand: public QgsMapCanvasItem
5454
*/
5555
ICON_BOX,
5656
/**
57-
* A full box is used to highlight points ()
57+
* A circle is used to highlight points ()
5858
*/
59-
ICON_FULL_BOX,
59+
ICON_CIRCLE,
6060
/**
61-
* A circle is used to highlight points ()
61+
* A full box is used to highlight points ()
6262
*/
63-
ICON_CIRCLE
63+
ICON_FULL_BOX
6464
};
6565

6666
/**

0 commit comments

Comments
 (0)
Please sign in to comment.