QGeoMapPolylineObject Class ReferenceThe QGeoMapPolylineObject class is a QGeoMapObject used to draw a segmented line on a map. More... #include <QGeoMapPolylineObject> Inherits QGeoMapObject. Properties
Public Functions
Reimplemented Public Functions
Signals
Additional Inherited Members
Detailed DescriptionThe QGeoMapPolylineObject class is a QGeoMapObject used to draw a segmented line on a map. The polyline is specified by a list of at least 2 valid QGeoCoordinate instances and a line will be drawn between every adjacent pairs of coordinates in the list. Property Documentation
|
QList<QGeoCoordinate> | path () const |
void | setPath ( const QList<QGeoCoordinate> & path ) |
Notifier signal:
void | pathChanged ( const QList<QGeoCoordinate> & path ) |
This property holds this property holds the pen that will be used to draw this object.
The pen is used to draw the polyline.
The pen will be treated as a cosmetic pen, which means that the width of the pen will be independent of the zoom level of the map.
Access functions:
QPen | pen () const |
void | setPen ( const QPen & pen ) |
Notifier signal:
void | penChanged ( const QPen & pen ) |
Constructs a new polyline object.
Destroys this polyline object.
This signal is emitted when the ordered list of coordinates that define the polyline to be drawn by this polyline object has changed.
The new value is path.
This signal is emitted when the pen used to draw the edge of this polyline object has changed.
The new value is pen.
Reimplemented from QGeoMapObject::type().
© 2008-2010 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy