Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/render/elevationprofilemarker/ElevationProfileMarker.h
Show All 35 Lines | |||||
36 | public: | 36 | public: | ||
37 | explicit ElevationProfileMarker( const MarbleModel *marbleModel = 0 ); | 37 | explicit ElevationProfileMarker( const MarbleModel *marbleModel = 0 ); | ||
38 | ~ElevationProfileMarker(); | 38 | ~ElevationProfileMarker(); | ||
39 | 39 | | |||
40 | QStringList backendTypes() const; | 40 | QStringList backendTypes() const; | ||
41 | 41 | | |||
42 | QString renderPolicy() const; | 42 | QString renderPolicy() const; | ||
43 | 43 | | |||
44 | QStringList renderPosition() const; | 44 | RenderPositions renderPositions() const override; | ||
45 | 45 | | |||
46 | qreal zValue() const; // Overriding LayerInterface to paint on top of the route | 46 | qreal zValue() const; // Overriding LayerInterface to paint on top of the route | ||
47 | 47 | | |||
48 | QString name() const; | 48 | QString name() const; | ||
49 | 49 | | |||
50 | QString guiString() const; | 50 | QString guiString() const; | ||
51 | 51 | | |||
52 | QString nameId() const; | 52 | QString nameId() const; | ||
53 | 53 | | |||
54 | QString version() const; | 54 | QString version() const; | ||
55 | 55 | | |||
56 | QString description() const; | 56 | QString description() const; | ||
57 | 57 | | |||
58 | QString copyrightYears() const; | 58 | QString copyrightYears() const; | ||
59 | 59 | | |||
60 | QVector<PluginAuthor> pluginAuthors() const override; | 60 | QVector<PluginAuthor> pluginAuthors() const override; | ||
61 | 61 | | |||
62 | QIcon icon() const; | 62 | QIcon icon() const; | ||
63 | 63 | | |||
64 | void initialize(); | 64 | void initialize(); | ||
65 | 65 | | |||
66 | bool isInitialized() const; | 66 | bool isInitialized() const; | ||
67 | 67 | | |||
68 | bool render( GeoPainter *painter, ViewportParams *viewport, | 68 | bool render(GeoPainter *painter, ViewportParams *viewport, | ||
69 | const QString &renderPos, GeoSceneLayer *layer = 0 ); | 69 | RenderPosition renderPos, GeoSceneLayer *layer) override; | ||
70 | 70 | | |||
71 | private Q_SLOTS: | 71 | private Q_SLOTS: | ||
72 | void onGeoObjectAdded( GeoDataObject *object ); | 72 | void onGeoObjectAdded( GeoDataObject *object ); | ||
73 | void onGeoObjectRemoved( GeoDataObject *object ); | 73 | void onGeoObjectRemoved( GeoDataObject *object ); | ||
74 | 74 | | |||
75 | private: | 75 | private: | ||
76 | GeoDataPlacemark *m_markerPlacemark; | 76 | GeoDataPlacemark *m_markerPlacemark; | ||
77 | GeoDataCoordinates m_currentPosition; | 77 | GeoDataCoordinates m_currentPosition; | ||
Show All 10 Lines |