marble
#include <GeoDataPolyStyle.h>

Public Member Functions | |
| GeoDataPolyStyle () | |
| GeoDataPolyStyle (const GeoDataPolyStyle &other) | |
| GeoDataPolyStyle (const QColor &color) | |
| ~GeoDataPolyStyle () | |
| Qt::BrushStyle | brushStyle () const |
| bool | fill () const |
| virtual const char * | nodeType () const |
| GeoDataPolyStyle & | operator= (const GeoDataPolyStyle &other) |
| bool | outline () const |
| virtual void | pack (QDataStream &stream) const |
| void | setBrushStyle (const Qt::BrushStyle style) |
| void | setFill (const bool &fill) |
| void | setOutline (const bool &outline) |
| virtual void | unpack (QDataStream &stream) |
Public Member Functions inherited from Marble::GeoDataColorStyle | |
| GeoDataColorStyle () | |
| GeoDataColorStyle (const GeoDataColorStyle &other) | |
| virtual | ~GeoDataColorStyle () |
| QColor | color () const |
| ColorMode | colorMode () const |
| GeoDataColorStyle & | operator= (const GeoDataColorStyle &other) |
| QColor | paintedColor () const |
| void | setColor (const QColor &value) |
| void | setColorMode (const ColorMode &colorMode) |
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 () |
Additional Inherited Members | |
Public Types inherited from Marble::GeoDataColorStyle | |
| enum | ColorMode { Normal, Random } |
Detailed Description
specifies the style how polygons are drawn
A GeoDataPolyStyle specifies how Polygons are drawn in the viewer. A custom color, color mode (both inherited from GeoDataColorStyle) and two boolean values whether to fill and whether to draw the outline.
Definition at line 34 of file GeoDataPolyStyle.h.
Constructor & Destructor Documentation
| Marble::GeoDataPolyStyle::GeoDataPolyStyle | ( | ) |
Construct a new GeoDataPolyStyle.
Definition at line 39 of file GeoDataPolyStyle.cpp.
| Marble::GeoDataPolyStyle::GeoDataPolyStyle | ( | const GeoDataPolyStyle & | other | ) |
Definition at line 44 of file GeoDataPolyStyle.cpp.
|
explicit |
Construct a new GeoDataPolyStyle.
- Parameters
-
color the color to use when showing the name
- See also
- GeoDataColorStyle
Definition at line 49 of file GeoDataPolyStyle.cpp.
| Marble::GeoDataPolyStyle::~GeoDataPolyStyle | ( | ) |
Definition at line 55 of file GeoDataPolyStyle.cpp.
Member Function Documentation
| Qt::BrushStyle Marble::GeoDataPolyStyle::brushStyle | ( | ) | const |
| bool Marble::GeoDataPolyStyle::fill | ( | ) | const |
Return true if polygons get filled.
- Returns
- whether to fill
Definition at line 77 of file GeoDataPolyStyle.cpp.
|
virtual |
Provides type information for downcasting a GeoNode.
Reimplemented from Marble::GeoDataColorStyle.
Definition at line 67 of file GeoDataPolyStyle.cpp.
| GeoDataPolyStyle & Marble::GeoDataPolyStyle::operator= | ( | const GeoDataPolyStyle & | other | ) |
assignment operator
Definition at line 60 of file GeoDataPolyStyle.cpp.
| bool Marble::GeoDataPolyStyle::outline | ( | ) | const |
Return true if outlines of polygons get drawn.
- Returns
- whether outline is drawn
Definition at line 87 of file GeoDataPolyStyle.cpp.
|
virtual |
Serialize the style to a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataColorStyle.
Definition at line 102 of file GeoDataPolyStyle.cpp.
| void Marble::GeoDataPolyStyle::setBrushStyle | ( | const Qt::BrushStyle | style | ) |
| void Marble::GeoDataPolyStyle::setFill | ( | const bool & | fill | ) |
Set whether to fill the polygon.
- Parameters
-
fill
Definition at line 72 of file GeoDataPolyStyle.cpp.
| void Marble::GeoDataPolyStyle::setOutline | ( | const bool & | outline | ) |
Set whether to draw the outline.
- Parameters
-
outline
Definition at line 82 of file GeoDataPolyStyle.cpp.
|
virtual |
Unserialize the style from a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataColorStyle.
Definition at line 110 of file GeoDataPolyStyle.cpp.
The documentation for this class was generated from the following files:
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.
KDE API Reference
Public Member Functions inherited from