rubberband: respect enum order, add new icon type in SIP

This commit is contained in:
Denis Rouzaud 2013-10-29 07:17:52 +01:00
parent 4d6be5568a
commit d17ea5d829
2 changed files with 7 additions and 6 deletions

View File

@ -13,7 +13,8 @@ class QgsRubberBand: QgsMapCanvasItem
ICON_CROSS, ICON_CROSS,
ICON_X, ICON_X,
ICON_BOX, ICON_BOX,
ICON_CIRCLE ICON_CIRCLE,
ICON_FULL_BOX
}; };
QgsRubberBand( QgsMapCanvas* mapCanvas /TransferThis/, QGis::GeometryType geometryType = QGis::Line ); QgsRubberBand( QgsMapCanvas* mapCanvas /TransferThis/, QGis::GeometryType geometryType = QGis::Line );

View File

@ -53,14 +53,14 @@ class GUI_EXPORT QgsRubberBand: public QgsMapCanvasItem
* A box is used to highlight points () * A box is used to highlight points ()
*/ */
ICON_BOX, ICON_BOX,
/**
* A full box is used to highlight points ()
*/
ICON_FULL_BOX,
/** /**
* A circle is used to highlight points () * A circle is used to highlight points ()
*/ */
ICON_CIRCLE ICON_CIRCLE,
/**
* A full box is used to highlight points ()
*/
ICON_FULL_BOX
}; };
/** /**