marble/src
GeoDataStyle Class Reference
#include <GeoDataStyle.h>

Detailed Description
an addressable style groupA GeoDataStyle defines an addressable style group that can be referenced by GeoDataStyleMaps and GeoDataFeatures. GeoDataStyles affect how Geometry is presented in the 3D viewer (not yet implemented) and how Features appear. Shared styles are collected in a GeoDataDocument and must have an id defined for them so that they can be referenced by the individual Features that use them.
- See also:
- GeoDataIconStyle
Definition at line 41 of file GeoDataStyle.h.
Public Member Functions | |
| GeoDataStyle () | |
| GeoDataStyle (const QPixmap &icon, const QFont &font, const QColor &color) | |
| ~GeoDataStyle () | |
| GeoDataIconStyle * | iconStyle () |
| GeoDataLabelStyle * | labelStyle () |
| virtual void | pack (QDataStream &stream) const |
| virtual void | unpack (QDataStream &stream) |
Constructor & Destructor Documentation
| GeoDataStyle::GeoDataStyle | ( | ) |
Construct a new style.
- Parameters:
-
icon used to construct the icon style font used to construct the label styls color used to construct the label styls
Definition at line 20 of file GeoDataStyle.cpp.
| GeoDataStyle::~GeoDataStyle | ( | ) |
Definition at line 27 of file GeoDataStyle.cpp.
Member Function Documentation
| GeoDataIconStyle * GeoDataStyle::iconStyle | ( | ) |
| GeoDataLabelStyle * GeoDataStyle::labelStyle | ( | ) |
| void GeoDataStyle::pack | ( | QDataStream & | stream | ) | const [virtual] |
Serialize the style to a stream.
- Parameters:
-
stream the stream
Reimplemented from GeoDataStyleSelector.
Definition at line 43 of file GeoDataStyle.cpp.
| void GeoDataStyle::unpack | ( | QDataStream & | stream | ) | [virtual] |
Unserialize the style from a stream.
- Parameters:
-
stream the stream
Reimplemented from GeoDataStyleSelector.
Definition at line 51 of file GeoDataStyle.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference