QGeoMapPolylineObject Class ReferenceThe QGeoMapPolylineObject class is a QGeoMapObject used to draw a segmented line on a map. More... #include <QGeoMapPolylineObject> Inherits: QGeoMapObject. This class was introduced in Qt Mobility 1.1. 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 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.
This property was introduced in Qt Mobility 1.1.
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 function was introduced in Qt Mobility 1.1.
This signal is emitted when the pen used to draw the edge of this polyline object has changed.
The new value is pen.
This function was introduced in Qt Mobility 1.1.
Reimplemented from QGeoMapObject::type().
This function was introduced in Qt Mobility 1.1.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtmobility-1.2 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com