marble/src
GeoDataIconStyle Class Reference
#include <GeoDataIconStyle.h>
Detailed Description
Definition at line 23 of file GeoDataIconStyle.h.
Public Member Functions | |
| GeoDataIconStyle () | |
| GeoDataIconStyle (const QPixmap &icon, const QPointF &hotSpot=QPointF(0.5, 0.5)) | |
| ~GeoDataIconStyle () | |
| void | setIcon (const QPixmap &icon) |
| QPixmap | icon () const |
| void | setHotSpot (const QPointF &hotSpot, GeoDataHotSpot::Units xunits, GeoDataHotSpot::Units yunits) |
| const QPointF & | hotSpot () const |
| void | setScale (const float &scale) |
| float | scale () const |
| virtual void | pack (QDataStream &stream) const |
| virtual void | unpack (QDataStream &stream) |
Constructor & Destructor Documentation
| GeoDataIconStyle::GeoDataIconStyle | ( | ) |
Definition at line 16 of file GeoDataIconStyle.cpp.
| GeoDataIconStyle::GeoDataIconStyle | ( | const QPixmap & | icon, | |
| const QPointF & | hotSpot = QPointF( 0.5, 0.5 ) | |||
| ) |
Definition at line 23 of file GeoDataIconStyle.cpp.
| GeoDataIconStyle::~GeoDataIconStyle | ( | ) |
Definition at line 30 of file GeoDataIconStyle.cpp.
Member Function Documentation
| void GeoDataIconStyle::setIcon | ( | const QPixmap & | icon | ) |
Definition at line 35 of file GeoDataIconStyle.cpp.
| QPixmap GeoDataIconStyle::icon | ( | ) | const |
Definition at line 40 of file GeoDataIconStyle.cpp.
| void GeoDataIconStyle::setHotSpot | ( | const QPointF & | hotSpot, | |
| GeoDataHotSpot::Units | xunits, | |||
| GeoDataHotSpot::Units | yunits | |||
| ) |
Definition at line 45 of file GeoDataIconStyle.cpp.
| const QPointF & GeoDataIconStyle::hotSpot | ( | ) | const |
Definition at line 52 of file GeoDataIconStyle.cpp.
| void GeoDataIconStyle::setScale | ( | const float & | scale | ) |
Definition at line 76 of file GeoDataIconStyle.cpp.
| float GeoDataIconStyle::scale | ( | ) | const |
Definition at line 81 of file GeoDataIconStyle.cpp.
| void GeoDataIconStyle::pack | ( | QDataStream & | stream | ) | const [virtual] |
Serialize the style to a stream.
- Parameters:
-
stream the stream
Reimplemented from GeoDataColorStyle.
Definition at line 86 of file GeoDataIconStyle.cpp.
| void GeoDataIconStyle::unpack | ( | QDataStream & | stream | ) | [virtual] |
Unserialize the style from a stream.
- Parameters:
-
stream the stream
Reimplemented from GeoDataColorStyle.
Definition at line 93 of file GeoDataIconStyle.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference