marble
#include <GeoDataHotSpot.h>

| Public Types | |
| enum | Units { Fraction, Pixels, InsetPixels } | 
| Public Member Functions | |
| GeoDataHotSpot (const QPointF &hotSpot=QPointF(0.5, 0.5), Units xunits=Fraction, Units yunits=Fraction) | |
| GeoDataHotSpot (const GeoDataHotSpot &other) | |
| ~GeoDataHotSpot () | |
| const QPointF & | hotSpot (Units &xunits, Units &yunits) const | 
| virtual const char * | nodeType () const | 
| bool | operator!= (const GeoDataHotSpot &other) | 
| GeoDataHotSpot & | operator= (const GeoDataHotSpot &other) | 
| bool | operator== (const GeoDataHotSpot &other) | 
| virtual void | pack (QDataStream &stream) const | 
| void | setHotSpot (const QPointF &hotSpot=QPointF(0.5, 0.5), Units xunits=Fraction, Units yunits=Fraction) | 
| virtual void | unpack (QDataStream &stream) | 
|  Public Member Functions inherited from Marble::GeoDataObject | |
| GeoDataObject () | |
| GeoDataObject (const GeoDataObject &) | |
| virtual | ~GeoDataObject () | 
| QString | id () const | 
| GeoDataObject & | operator= (const GeoDataObject &) | 
| virtual GeoDataObject * | parent () const | 
| QString | resolvePath (const QString &relativePath) const | 
| void | setId (const QString &value) | 
| virtual void | setParent (GeoDataObject *parent) | 
| void | setTargetId (const QString &value) | 
| QString | targetId () const | 
|  Public Member Functions inherited from Marble::GeoNode | |
| GeoNode () | |
| virtual | ~GeoNode () | 
|  Public Member Functions inherited from Marble::Serializable | |
| virtual | ~Serializable () | 
| Additional Inherited Members | |
|  Protected Member Functions inherited from Marble::GeoDataObject | |
| virtual bool | equals (const GeoDataObject &other) const | 
Detailed Description
Definition at line 27 of file GeoDataHotSpot.h.
Member Enumeration Documentation
| Enumerator | |
|---|---|
| Fraction | |
| Pixels | |
| InsetPixels | |
Definition at line 30 of file GeoDataHotSpot.h.
Constructor & Destructor Documentation
| Marble::GeoDataHotSpot::GeoDataHotSpot | ( | const QPointF & | hotSpot = QPointF( 0.5, 0.5 ), | 
| Units | xunits = Fraction, | ||
| Units | yunits = Fraction | ||
| ) | 
Definition at line 46 of file GeoDataHotSpot.cpp.
| Marble::GeoDataHotSpot::GeoDataHotSpot | ( | const GeoDataHotSpot & | other | ) | 
Definition at line 51 of file GeoDataHotSpot.cpp.
| Marble::GeoDataHotSpot::~GeoDataHotSpot | ( | ) | 
Definition at line 56 of file GeoDataHotSpot.cpp.
Member Function Documentation
this function returns the hotspot and the units the hotspot is measured in
- Parameters
- 
  xunits after running hotspot, you'll receive the unit in which x is measured yunits the same for y 
- Returns
- the point of the hotspot
Definition at line 82 of file GeoDataHotSpot.cpp.
| 
 | virtual | 
Provides type information for downcasting a GeoData.
Implements Marble::GeoDataObject.
Definition at line 98 of file GeoDataHotSpot.cpp.
| bool Marble::GeoDataHotSpot::operator!= | ( | const GeoDataHotSpot & | other | ) | 
Definition at line 77 of file GeoDataHotSpot.cpp.
| GeoDataHotSpot & Marble::GeoDataHotSpot::operator= | ( | const GeoDataHotSpot & | other | ) | 
Definition at line 61 of file GeoDataHotSpot.cpp.
| bool Marble::GeoDataHotSpot::operator== | ( | const GeoDataHotSpot & | other | ) | 
Definition at line 69 of file GeoDataHotSpot.cpp.
| 
 | virtual | 
Serialize the contents of the feature to stream. 
Reimplemented from Marble::GeoDataObject.
Definition at line 103 of file GeoDataHotSpot.cpp.
| void Marble::GeoDataHotSpot::setHotSpot | ( | const QPointF & | hotSpot = QPointF( 0.5, 0.5 ), | 
| Units | xunits = Fraction, | ||
| Units | yunits = Fraction | ||
| ) | 
Definition at line 91 of file GeoDataHotSpot.cpp.
| 
 | virtual | 
Unserialize the contents of the feature from stream. 
Reimplemented from Marble::GeoDataObject.
Definition at line 111 of file GeoDataHotSpot.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
 KDE API Reference
    KDE API Reference