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

marble

  • Marble
  • GeoDataStyle
Public Member Functions | List of all members
Marble::GeoDataStyle Class Reference

#include <GeoDataStyle.h>

Inheritance diagram for Marble::GeoDataStyle:
Inheritance graph
[legend]

Public Member Functions

 GeoDataStyle ()
 
 GeoDataStyle (const GeoDataStyle &other)
 
 GeoDataStyle (const QImage &icon, const QFont &font, const QColor &color)
 
 ~GeoDataStyle ()
 
GeoDataBalloonStyle & balloonStyle ()
 
const GeoDataBalloonStyle & balloonStyle () const
 
GeoDataIconStyle & iconStyle () const
 
GeoDataLabelStyle & labelStyle () const
 
GeoDataLineStyle & lineStyle () const
 
GeoDataListStyle & listStyle ()
 
const GeoDataListStyle & listStyle () const
 
virtual const char * nodeType () const
 
GeoDataStyle & operator= (const GeoDataStyle &other)
 
virtual void pack (QDataStream &stream) const
 
GeoDataPolyStyle & polyStyle () const
 
void setBalloonStyle (const GeoDataBalloonStyle &style)
 
void setIconStyle (const GeoDataIconStyle &style)
 
void setLabelStyle (const GeoDataLabelStyle &style)
 
void setLineStyle (const GeoDataLineStyle &style)
 
void setListStyle (const GeoDataListStyle &style)
 
void setPolyStyle (const GeoDataPolyStyle &style)
 
virtual void unpack (QDataStream &stream)
 
- Public Member Functions inherited from Marble::GeoDataStyleSelector
 GeoDataStyleSelector ()
 
 GeoDataStyleSelector (const GeoDataStyleSelector &other)
 
 ~GeoDataStyleSelector ()
 
GeoDataStyleSelector & operator= (const GeoDataStyleSelector &other)
 
void setStyleId (const QString &value)
 
QString styleId () const
 
- 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 ()
 

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
GeoDataLineStyle
GeoDataPolyStyle
GeoDataBalloonStyle
GeoDataListStyle

Definition at line 55 of file GeoDataStyle.h.

Constructor & Destructor Documentation

Marble::GeoDataStyle::GeoDataStyle ( )

Construct a default style.

Definition at line 49 of file GeoDataStyle.cpp.

Marble::GeoDataStyle::GeoDataStyle ( const GeoDataStyle &  other)

Definition at line 54 of file GeoDataStyle.cpp.

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

Construct a new style.

Parameters
iconused to construct the icon style
fontused to construct the label styles
colorused to construct the label styles

Definition at line 59 of file GeoDataStyle.cpp.

Marble::GeoDataStyle::~GeoDataStyle ( )

Definition at line 65 of file GeoDataStyle.cpp.

Member Function Documentation

GeoDataBalloonStyle & Marble::GeoDataStyle::balloonStyle ( )

Return the balloon style of this style.

Definition at line 133 of file GeoDataStyle.cpp.

const GeoDataBalloonStyle & Marble::GeoDataStyle::balloonStyle ( ) const

Definition at line 138 of file GeoDataStyle.cpp.

GeoDataIconStyle & Marble::GeoDataStyle::iconStyle ( ) const

Return the icon style of this style.

Definition at line 113 of file GeoDataStyle.cpp.

GeoDataLabelStyle & Marble::GeoDataStyle::labelStyle ( ) const

Return the label style of this style.

Definition at line 128 of file GeoDataStyle.cpp.

GeoDataLineStyle & Marble::GeoDataStyle::lineStyle ( ) const

Return the label style of this style.

Definition at line 118 of file GeoDataStyle.cpp.

GeoDataListStyle & Marble::GeoDataStyle::listStyle ( )

Return the list style of this style.

Definition at line 143 of file GeoDataStyle.cpp.

const GeoDataListStyle & Marble::GeoDataStyle::listStyle ( ) const

Definition at line 148 of file GeoDataStyle.cpp.

const char * Marble::GeoDataStyle::nodeType ( ) const
virtual

Provides type information for downcasting a GeoNode.

Reimplemented from Marble::GeoDataStyleSelector.

Definition at line 77 of file GeoDataStyle.cpp.

GeoDataStyle & Marble::GeoDataStyle::operator= ( const GeoDataStyle &  other)

assignment operator

Parameters
otherthe GeoDataStyle that gets duplicated

Definition at line 70 of file GeoDataStyle.cpp.

void Marble::GeoDataStyle::pack ( QDataStream &  stream) const
virtual

Serialize the style to a stream.

Parameters
streamthe stream

Reimplemented from Marble::GeoDataStyleSelector.

Definition at line 153 of file GeoDataStyle.cpp.

GeoDataPolyStyle & Marble::GeoDataStyle::polyStyle ( ) const

Return the label style of this style.

Definition at line 123 of file GeoDataStyle.cpp.

void Marble::GeoDataStyle::setBalloonStyle ( const GeoDataBalloonStyle &  style)

set the balloon style

Definition at line 103 of file GeoDataStyle.cpp.

void Marble::GeoDataStyle::setIconStyle ( const GeoDataIconStyle &  style)

set the icon style

Definition at line 82 of file GeoDataStyle.cpp.

void Marble::GeoDataStyle::setLabelStyle ( const GeoDataLabelStyle &  style)

set the label style

Definition at line 93 of file GeoDataStyle.cpp.

void Marble::GeoDataStyle::setLineStyle ( const GeoDataLineStyle &  style)

set the line style

Definition at line 88 of file GeoDataStyle.cpp.

void Marble::GeoDataStyle::setListStyle ( const GeoDataListStyle &  style)

set the list style

Definition at line 108 of file GeoDataStyle.cpp.

void Marble::GeoDataStyle::setPolyStyle ( const GeoDataPolyStyle &  style)

set the poly style

Definition at line 98 of file GeoDataStyle.cpp.

void Marble::GeoDataStyle::unpack ( QDataStream &  stream)
virtual

Unserialize the style from a stream.

Parameters
streamthe stream

Reimplemented from Marble::GeoDataStyleSelector.

Definition at line 165 of file GeoDataStyle.cpp.


The documentation for this class was generated from the following files:
  • GeoDataStyle.h
  • GeoDataStyle.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal