4#ifndef GEODATASCREENOVERLAY_H
5#define GEODATASCREENOVERLAY_H
7#include "GeoDataOverlay.h"
8#include "GeoDataVec2.h"
9#include "MarbleGlobal.h"
14class GeoDataScreenOverlayPrivate;
18class GEODATA_EXPORT GeoDataScreenOverlay :
public GeoDataOverlay
21 GeoDataScreenOverlay();
23 GeoDataScreenOverlay(
const GeoDataScreenOverlay &other);
25 ~GeoDataScreenOverlay()
override;
27 GeoDataScreenOverlay &operator=(
const GeoDataScreenOverlay &other);
28 bool operator==(
const GeoDataScreenOverlay &other)
const;
29 bool operator!=(
const GeoDataScreenOverlay &other)
const;
31 GeoDataFeature *clone()
const override;
34 const char *nodeType()
const override;
36 GeoDataVec2 overlayXY()
const;
37 void setOverlayXY(
const GeoDataVec2 &vec2);
38 void setOverlayXY(qreal x, qreal y, GeoDataVec2::Unit xunit, GeoDataVec2::Unit yunit);
40 GeoDataVec2 screenXY()
const;
41 void setScreenXY(
const GeoDataVec2 &vec2);
42 void setScreenXY(qreal x, qreal y, GeoDataVec2::Unit xunit, GeoDataVec2::Unit yunit);
44 GeoDataVec2 rotationXY()
const;
45 void setRotationXY(
const GeoDataVec2 &vec2);
46 void setRotationXY(qreal x, qreal y, GeoDataVec2::Unit xunit, GeoDataVec2::Unit yunit);
48 GeoDataVec2 size()
const;
49 void setSize(
const GeoDataVec2 &vec2);
50 void setSize(qreal x, qreal y, GeoDataVec2::Unit xunit, GeoDataVec2::Unit yunit);
52 qreal rotation()
const;
53 void setRotation(qreal rotation);
56 Q_DECLARE_PRIVATE(GeoDataScreenOverlay)
KIOCORE_EXPORT bool operator!=(const UDSEntry &entry, const UDSEntry &other)
KIOCORE_EXPORT bool operator==(const UDSEntry &entry, const UDSEntry &other)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:03 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.