marble
#include <GeoDataStyle.h>
Additional Inherited Members | |
Protected Member Functions inherited from Marble::GeoDataObject | |
virtual bool | equals (const GeoDataObject &other) const |
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
-
icon used to construct the icon style font used to construct the label styles color used 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 173 of file GeoDataStyle.cpp.
const GeoDataBalloonStyle & Marble::GeoDataStyle::balloonStyle | ( | ) | const |
Definition at line 178 of file GeoDataStyle.cpp.
GeoDataIconStyle & Marble::GeoDataStyle::iconStyle | ( | ) |
Return the icon style of this style.
Definition at line 133 of file GeoDataStyle.cpp.
const GeoDataIconStyle & Marble::GeoDataStyle::iconStyle | ( | ) | const |
Definition at line 138 of file GeoDataStyle.cpp.
GeoDataLabelStyle & Marble::GeoDataStyle::labelStyle | ( | ) |
Return the label style of this style.
Definition at line 163 of file GeoDataStyle.cpp.
const GeoDataLabelStyle & Marble::GeoDataStyle::labelStyle | ( | ) | const |
Definition at line 168 of file GeoDataStyle.cpp.
GeoDataLineStyle & Marble::GeoDataStyle::lineStyle | ( | ) |
Return the label style of this style.
Definition at line 143 of file GeoDataStyle.cpp.
const GeoDataLineStyle & Marble::GeoDataStyle::lineStyle | ( | ) | const |
Definition at line 148 of file GeoDataStyle.cpp.
GeoDataListStyle & Marble::GeoDataStyle::listStyle | ( | ) |
Return the list style of this style.
Definition at line 183 of file GeoDataStyle.cpp.
const GeoDataListStyle & Marble::GeoDataStyle::listStyle | ( | ) | const |
Definition at line 188 of file GeoDataStyle.cpp.
|
virtual |
Provides type information for downcasting a GeoNode.
Reimplemented from Marble::GeoDataStyleSelector.
Definition at line 96 of file GeoDataStyle.cpp.
bool Marble::GeoDataStyle::operator!= | ( | const GeoDataStyle & | other | ) | const |
Definition at line 91 of file GeoDataStyle.cpp.
GeoDataStyle & Marble::GeoDataStyle::operator= | ( | const GeoDataStyle & | other | ) |
assignment operator
- Parameters
-
other the GeoDataStyle that gets duplicated
Definition at line 70 of file GeoDataStyle.cpp.
bool Marble::GeoDataStyle::operator== | ( | const GeoDataStyle & | other | ) | const |
Definition at line 77 of file GeoDataStyle.cpp.
|
virtual |
Serialize the style to a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataStyleSelector.
Definition at line 193 of file GeoDataStyle.cpp.
GeoDataPolyStyle & Marble::GeoDataStyle::polyStyle | ( | ) |
Return the label style of this style.
Definition at line 153 of file GeoDataStyle.cpp.
const GeoDataPolyStyle & Marble::GeoDataStyle::polyStyle | ( | ) | const |
Definition at line 158 of file GeoDataStyle.cpp.
void Marble::GeoDataStyle::setBalloonStyle | ( | const GeoDataBalloonStyle & | style | ) |
set the balloon style
Definition at line 122 of file GeoDataStyle.cpp.
void Marble::GeoDataStyle::setIconStyle | ( | const GeoDataIconStyle & | style | ) |
set the icon style
Definition at line 101 of file GeoDataStyle.cpp.
void Marble::GeoDataStyle::setLabelStyle | ( | const GeoDataLabelStyle & | style | ) |
set the label style
Definition at line 112 of file GeoDataStyle.cpp.
void Marble::GeoDataStyle::setLineStyle | ( | const GeoDataLineStyle & | style | ) |
set the line style
Definition at line 107 of file GeoDataStyle.cpp.
void Marble::GeoDataStyle::setListStyle | ( | const GeoDataListStyle & | style | ) |
set the list style
Definition at line 127 of file GeoDataStyle.cpp.
void Marble::GeoDataStyle::setPolyStyle | ( | const GeoDataPolyStyle & | style | ) |
set the poly style
Definition at line 117 of file GeoDataStyle.cpp.
|
virtual |
Unserialize the style from a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataStyleSelector.
Definition at line 205 of file GeoDataStyle.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.