marble
#include <GeoDataIconStyle.h>
Public Member Functions | |
GeoDataIconStyle () | |
GeoDataIconStyle (const GeoDataIconStyle &other) | |
GeoDataIconStyle (const QImage &icon, const QPointF &hotSpot=QPointF(0.5, 0.5)) | |
~GeoDataIconStyle () | |
int | heading () const |
QPointF | hotSpot (GeoDataHotSpot::Units &xunits, GeoDataHotSpot::Units &yunits) const |
QImage | icon () const |
QString | iconPath () const |
virtual const char * | nodeType () const |
GeoDataIconStyle & | operator= (const GeoDataIconStyle &other) |
virtual void | pack (QDataStream &stream) const |
float | scale () const |
void | setHeading (int heading) |
void | setHotSpot (const QPointF &hotSpot, GeoDataHotSpot::Units xunits, GeoDataHotSpot::Units yunits) |
void | setIcon (const QImage &icon) |
void | setIconPath (const QString &filename) |
void | setScale (const float &scale) |
virtual void | unpack (QDataStream &stream) |
Public Member Functions inherited from Marble::GeoDataColorStyle | |
GeoDataColorStyle () | |
GeoDataColorStyle (const GeoDataColorStyle &other) | |
virtual | ~GeoDataColorStyle () |
QColor | color () const |
ColorMode | colorMode () const |
GeoDataColorStyle & | operator= (const GeoDataColorStyle &other) |
QColor | paintedColor () const |
void | setColor (const QColor &value) |
void | setColorMode (const ColorMode &colorMode) |
Public Member Functions inherited from Marble::GeoDataObject | |
GeoDataObject () | |
GeoDataObject (const GeoDataObject &) | |
virtual | ~GeoDataObject () |
int | id () const |
GeoDataObject & | operator= (const GeoDataObject &) |
virtual GeoDataObject * | parent () const |
QString | resolvePath (const QString &relativePath) const |
void | setId (int value) |
virtual void | setParent (GeoDataObject *parent) |
void | setTargetId (int value) |
int | targetId () const |
Public Member Functions inherited from Marble::GeoNode | |
GeoNode () | |
virtual | ~GeoNode () |
Public Member Functions inherited from Marble::Serializable | |
virtual | ~Serializable () |
Additional Inherited Members | |
Public Types inherited from Marble::GeoDataColorStyle | |
enum | ColorMode { Normal, Random } |
Detailed Description
Definition at line 29 of file GeoDataIconStyle.h.
Constructor & Destructor Documentation
Marble::GeoDataIconStyle::GeoDataIconStyle | ( | ) |
Definition at line 52 of file GeoDataIconStyle.cpp.
Marble::GeoDataIconStyle::GeoDataIconStyle | ( | const GeoDataIconStyle & | other | ) |
Definition at line 57 of file GeoDataIconStyle.cpp.
|
explicit |
Definition at line 62 of file GeoDataIconStyle.cpp.
Marble::GeoDataIconStyle::~GeoDataIconStyle | ( | ) |
Definition at line 67 of file GeoDataIconStyle.cpp.
Member Function Documentation
int Marble::GeoDataIconStyle::heading | ( | ) | const |
Definition at line 133 of file GeoDataIconStyle.cpp.
QPointF Marble::GeoDataIconStyle::hotSpot | ( | GeoDataHotSpot::Units & | xunits, |
GeoDataHotSpot::Units & | yunits | ||
) | const |
Definition at line 118 of file GeoDataIconStyle.cpp.
QImage Marble::GeoDataIconStyle::icon | ( | ) | const |
Definition at line 99 of file GeoDataIconStyle.cpp.
QString Marble::GeoDataIconStyle::iconPath | ( | ) | const |
Definition at line 94 of file GeoDataIconStyle.cpp.
|
virtual |
Provides type information for downcasting a GeoData.
Reimplemented from Marble::GeoDataColorStyle.
Definition at line 79 of file GeoDataIconStyle.cpp.
GeoDataIconStyle & Marble::GeoDataIconStyle::operator= | ( | const GeoDataIconStyle & | other | ) |
Definition at line 72 of file GeoDataIconStyle.cpp.
|
virtual |
Serialize the style to a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataColorStyle.
Definition at line 143 of file GeoDataIconStyle.cpp.
float Marble::GeoDataIconStyle::scale | ( | ) | const |
Definition at line 128 of file GeoDataIconStyle.cpp.
void Marble::GeoDataIconStyle::setHeading | ( | int | heading | ) |
Definition at line 138 of file GeoDataIconStyle.cpp.
void Marble::GeoDataIconStyle::setHotSpot | ( | const QPointF & | hotSpot, |
GeoDataHotSpot::Units | xunits, | ||
GeoDataHotSpot::Units | yunits | ||
) |
Definition at line 111 of file GeoDataIconStyle.cpp.
void Marble::GeoDataIconStyle::setIcon | ( | const QImage & | icon | ) |
Definition at line 84 of file GeoDataIconStyle.cpp.
void Marble::GeoDataIconStyle::setIconPath | ( | const QString & | filename | ) |
Definition at line 89 of file GeoDataIconStyle.cpp.
void Marble::GeoDataIconStyle::setScale | ( | const float & | scale | ) |
Definition at line 123 of file GeoDataIconStyle.cpp.
|
virtual |
Unserialize the style from a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataColorStyle.
Definition at line 152 of file GeoDataIconStyle.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.