marble
#include <GeoDataBalloonStyle.h>
Public Types | |
enum | DisplayMode { Default, Hide } |
Public Types inherited from Marble::GeoDataColorStyle | |
enum | ColorMode { Normal, Random } |
Public Member Functions | |
GeoDataBalloonStyle () | |
GeoDataBalloonStyle (const GeoDataBalloonStyle &other) | |
~GeoDataBalloonStyle () | |
QColor | backgroundColor () const |
DisplayMode | displayMode () const |
virtual const char * | nodeType () const |
GeoDataBalloonStyle & | operator= (const GeoDataBalloonStyle &other) |
virtual void | pack (QDataStream &stream) const |
void | setBackgroundColor (const QColor &color) |
void | setDisplayMode (const DisplayMode &mode) |
void | setText (const QString &text) |
void | setTextColor (const QColor &color) |
QString | text () const |
QColor | textColor () const |
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 () |
Detailed Description
Definition at line 23 of file GeoDataBalloonStyle.h.
Member Enumeration Documentation
Enumerator | |
---|---|
Default | |
Hide |
Definition at line 37 of file GeoDataBalloonStyle.h.
Constructor & Destructor Documentation
Marble::GeoDataBalloonStyle::GeoDataBalloonStyle | ( | ) |
Definition at line 36 of file GeoDataBalloonStyle.cpp.
Marble::GeoDataBalloonStyle::GeoDataBalloonStyle | ( | const GeoDataBalloonStyle & | other | ) |
Definition at line 41 of file GeoDataBalloonStyle.cpp.
Marble::GeoDataBalloonStyle::~GeoDataBalloonStyle | ( | ) |
Definition at line 53 of file GeoDataBalloonStyle.cpp.
Member Function Documentation
QColor Marble::GeoDataBalloonStyle::backgroundColor | ( | ) | const |
Definition at line 63 of file GeoDataBalloonStyle.cpp.
GeoDataBalloonStyle::DisplayMode Marble::GeoDataBalloonStyle::displayMode | ( | ) | const |
Definition at line 93 of file GeoDataBalloonStyle.cpp.
|
virtual |
Provides type information for downcasting a GeoNode.
Reimplemented from Marble::GeoDataColorStyle.
Definition at line 58 of file GeoDataBalloonStyle.cpp.
GeoDataBalloonStyle & Marble::GeoDataBalloonStyle::operator= | ( | const GeoDataBalloonStyle & | other | ) |
Definition at line 46 of file GeoDataBalloonStyle.cpp.
|
virtual |
Serialize the style to a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataColorStyle.
Definition at line 103 of file GeoDataBalloonStyle.cpp.
void Marble::GeoDataBalloonStyle::setBackgroundColor | ( | const QColor & | color | ) |
Definition at line 68 of file GeoDataBalloonStyle.cpp.
void Marble::GeoDataBalloonStyle::setDisplayMode | ( | const DisplayMode & | mode | ) |
Definition at line 98 of file GeoDataBalloonStyle.cpp.
void Marble::GeoDataBalloonStyle::setText | ( | const QString & | text | ) |
Definition at line 88 of file GeoDataBalloonStyle.cpp.
void Marble::GeoDataBalloonStyle::setTextColor | ( | const QColor & | color | ) |
Definition at line 78 of file GeoDataBalloonStyle.cpp.
QString Marble::GeoDataBalloonStyle::text | ( | ) | const |
Definition at line 83 of file GeoDataBalloonStyle.cpp.
QColor Marble::GeoDataBalloonStyle::textColor | ( | ) | const |
Definition at line 73 of file GeoDataBalloonStyle.cpp.
|
virtual |
Unserialize the style from a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataColorStyle.
Definition at line 112 of file GeoDataBalloonStyle.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:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.