Changeset View
Changeset View
Standalone View
Standalone View
src/lib/marble/layers/PopupLayer.h
Show All 34 Lines | |||||
35 | */ | 35 | */ | ||
36 | class MARBLE_EXPORT PopupLayer : public QObject, public LayerInterface | 36 | class MARBLE_EXPORT PopupLayer : public QObject, public LayerInterface | ||
37 | { | 37 | { | ||
38 | Q_OBJECT | 38 | Q_OBJECT | ||
39 | public: | 39 | public: | ||
40 | explicit PopupLayer( MarbleWidget *widget, QObject* parent = 0 ); | 40 | explicit PopupLayer( MarbleWidget *widget, QObject* parent = 0 ); | ||
41 | ~PopupLayer(); | 41 | ~PopupLayer(); | ||
42 | 42 | | |||
43 | QStringList renderPosition() const; | 43 | RenderPositions renderPositions() const override; | ||
44 | bool render( GeoPainter *painter, ViewportParams *viewport, | 44 | bool render(GeoPainter *painter, ViewportParams *viewport, | ||
45 | const QString &, GeoSceneLayer * ); | 45 | RenderPosition, GeoSceneLayer *) override; | ||
46 | virtual bool eventFilter( QObject *, QEvent * ); | 46 | virtual bool eventFilter( QObject *, QEvent * ); | ||
47 | qreal zValue() const; | 47 | qreal zValue() const; | ||
48 | 48 | | |||
49 | RenderState renderState() const; | 49 | RenderState renderState() const; | ||
50 | 50 | | |||
51 | virtual QString runtimeTrace() const { return "PopupLayer"; } | 51 | virtual QString runtimeTrace() const { return "PopupLayer"; } | ||
52 | 52 | | |||
53 | /** | 53 | /** | ||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |