Marble
4#ifndef GEODATASCREENOVERLAY_H
5#define GEODATASCREENOVERLAY_H
7#include "GeoDataOverlay.h"
8#include "GeoDataVec2.h"
9#include "MarbleGlobal.h"
13class GeoDataScreenOverlayPrivate;
17class GEODATA_EXPORT GeoDataScreenOverlay:
public GeoDataOverlay
20 GeoDataScreenOverlay();
22 GeoDataScreenOverlay(
const GeoDataScreenOverlay &other );
24 ~GeoDataScreenOverlay()
override;
26 GeoDataScreenOverlay& operator=(
const GeoDataScreenOverlay &other );
27 bool operator==(
const GeoDataScreenOverlay &other )
const;
28 bool operator!=(
const GeoDataScreenOverlay &other )
const;
30 GeoDataFeature * clone()
const override;
33 const char* nodeType()
const override;
35 GeoDataVec2 overlayXY()
const;
36 void setOverlayXY(
const GeoDataVec2 &vec2 );
37 void setOverlayXY(qreal x, qreal y, GeoDataVec2::Unit xunit, GeoDataVec2::Unit yunit);
39 GeoDataVec2 screenXY()
const;
40 void setScreenXY(
const GeoDataVec2 &vec2 );
41 void setScreenXY(qreal x, qreal y, GeoDataVec2::Unit xunit, GeoDataVec2::Unit yunit);
43 GeoDataVec2 rotationXY()
const;
44 void setRotationXY(
const GeoDataVec2 &vec2 );
45 void setRotationXY(qreal x, qreal y, GeoDataVec2::Unit xunit, GeoDataVec2::Unit yunit);
47 GeoDataVec2 size()
const;
48 void setSize(
const GeoDataVec2 &vec2 );
49 void setSize(qreal x, qreal y, GeoDataVec2::Unit xunit, GeoDataVec2::Unit yunit);
51 qreal rotation()
const;
52 void setRotation( qreal rotation );
55 Q_DECLARE_PRIVATE(GeoDataScreenOverlay)
Binds a QML item to a specific geodetic location in screen coordinates.
bool operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
bool operator!=(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.