• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

marble/src

GeoDataStyle Class Reference

#include <GeoDataStyle.h>

Inheritance diagram for GeoDataStyle:

Inheritance graph
[legend]

List of all members.


Detailed Description

an addressable style group

A 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

GeoDataLabelStyle

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 default style.

Definition at line 14 of file GeoDataStyle.cpp.

GeoDataStyle::GeoDataStyle ( const QPixmap &  icon,
const QFont &  font,
const QColor &  color 
)

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 (  ) 

Return the icon style of this style.

Definition at line 33 of file GeoDataStyle.cpp.

GeoDataLabelStyle * GeoDataStyle::labelStyle (  ) 

Return the label style of this style.

Definition at line 38 of file GeoDataStyle.cpp.

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:
  • GeoDataStyle.h
  • GeoDataStyle.cpp

marble/src

Skip menu "marble/src"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal