File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ class QgsSelectedFeature;
27
27
class QgsVectorLayer ;
28
28
class QTableWidget ;
29
29
30
+ /* * A widget to select and edit the vertex coordinates of a geometry numerically*/
30
31
class QgsNodeEditor : public QDockWidget
31
32
{
32
33
Q_OBJECT
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ class QgsAbstractGeometryV2;
27
27
class QgsPointV2 ;
28
28
struct QgsVertexId ;
29
29
30
+ /* * A rubberband class for QgsAbstractGeometryV2 (considering curved geometries)*/
30
31
class GUI_EXPORT QgsGeometryRubberBand: public QgsMapCanvasItem
31
32
{
32
33
public:
@@ -63,15 +64,21 @@ class GUI_EXPORT QgsGeometryRubberBand: public QgsMapCanvasItem
63
64
64
65
/* * Sets geometry (takes ownership). Geometry is expected to be in map coordinates */
65
66
void setGeometry ( QgsAbstractGeometryV2* geom );
67
+ /* * Returns a pointer to the geometry*/
66
68
const QgsAbstractGeometryV2* geometry () { return mGeometry ; }
67
-
69
+ /* * Moves vertex to new position (in map coordinates) */
68
70
void moveVertex ( const QgsVertexId& id, const QgsPointV2& newPos );
69
-
71
+ /* * Sets fill color for vertex markers */
70
72
void setFillColor ( const QColor& c );
73
+ /* * Sets outline color for vertex markes*/
71
74
void setOutlineColor ( const QColor& c );
75
+ /* * Sets outline width*/
72
76
void setOutlineWidth ( int width );
73
- void setLineStyle ( Qt::PenStyle penStyle );
77
+ /* * Sets pen style*/
78
+ void setLineStyle ( Qt::PenStyle penStyle )
79
+ /* * Sets brush style*/
74
80
void setBrushStyle( Qt::BrushStyle brushStyle );
81
+ /* * Sets vertex marker icon type*/
75
82
void setIconType ( IconType iconType ) { mIconType = iconType; }
76
83
77
84
protected:
You can’t perform that action at this time.
0 commit comments