17 #ifndef QGSCOMPOSERPOLYLINE_H 18 #define QGSCOMPOSERPOLYLINE_H 69 bool _addNode(
const int indexPoint,
const QPointF &newPoint,
const double radius )
override;
83 void createDefaultPolylineStyleSymbol();
86 #endif // QGSCOMPOSERPOLYLINE_H
An abstract composer item that provides generic methods for nodes based shapes such as polygon or pol...
virtual QString displayName() const
Get item display name.
Composer item for polylines.
virtual void _readXMLStyle(const QDomElement &elmt)=0
Method called in readXML.
QgsLineSymbolV2 * polylineStyleSymbol()
Returns the QgsSymbolV2 used to draw the shape.
virtual void _writeXMLStyle(QDomDocument &doc, QDomElement &elmt) const =0
Method called in writeXML.
virtual bool _removeNode(const int nodeIndex)=0
Method called in removeNode.
virtual int type() const override
Overridden to return shape type.
virtual bool _addNode(const int nodeIndex, const QPointF &newNode, const double radius)=0
Method called in addNode.
virtual void _draw(QPainter *painter)=0
Method called in paint.
Graphics scene for map printing.
QScopedPointer< QgsLineSymbolV2 > mPolylineStyleSymbol
QgsSymbolV2 use to draw the shape.