diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-11-20 12:05:27 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-11-23 15:36:26 +0200 |
commit | 43aefbffd0c5c4b99dc626c1558db8a608c89d67 (patch) | |
tree | cef1bcdac56f4a074b09aa972603a5afc8789484 /platform/qt/include/qmapbox.hpp | |
parent | aa5a2b2c875216e9d412e3a7ad4e1bf615ff19b3 (diff) | |
download | qtlocation-mapboxgl-43aefbffd0c5c4b99dc626c1558db8a608c89d67.tar.gz |
[Qt] Update documentation
Diffstat (limited to 'platform/qt/include/qmapbox.hpp')
-rw-r--r-- | platform/qt/include/qmapbox.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/qt/include/qmapbox.hpp b/platform/qt/include/qmapbox.hpp index d138f4057b..2bb5d8705c 100644 --- a/platform/qt/include/qmapbox.hpp +++ b/platform/qt/include/qmapbox.hpp @@ -27,6 +27,7 @@ struct Q_DECL_EXPORT Feature { PolygonType }; + /*! Class constructor. */ Feature(Type type_ = PointType, const CoordinatesCollections& geometry_ = CoordinatesCollections(), const QVariantMap& properties_ = QVariantMap(), const QVariant& id_ = QVariant()) : type(type_), geometry(geometry_), properties(properties_), id(id_) {} @@ -45,6 +46,7 @@ struct Q_DECL_EXPORT ShapeAnnotationGeometry { MultiPolygonType }; + /*! Class constructor. */ ShapeAnnotationGeometry(Type type_ = LineStringType, const CoordinatesCollections& geometry_ = CoordinatesCollections()) : type(type_), geometry(geometry_) {} @@ -58,6 +60,7 @@ struct Q_DECL_EXPORT SymbolAnnotation { }; struct Q_DECL_EXPORT LineAnnotation { + /*! Class constructor. */ LineAnnotation(const ShapeAnnotationGeometry& geometry_ = ShapeAnnotationGeometry(), float opacity_ = 1.0f, float width_ = 1.0f, const QColor& color_ = Qt::black) : geometry(geometry_), opacity(opacity_), width(width_), color(color_) {} @@ -69,6 +72,7 @@ struct Q_DECL_EXPORT LineAnnotation { }; struct Q_DECL_EXPORT FillAnnotation { + /*! Class constructor. */ FillAnnotation(const ShapeAnnotationGeometry& geometry_ = ShapeAnnotationGeometry(), float opacity_ = 1.0f, const QColor& color_ = Qt::black, const QVariant& outlineColor_ = QVariant()) : geometry(geometry_), opacity(opacity_), color(color_), outlineColor(outlineColor_) {} |