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

marble

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

#include <GeoDataIconStyle.h>

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

Public Member Functions

 GeoDataIconStyle ()
 
 GeoDataIconStyle (const GeoDataIconStyle &other)
 
 GeoDataIconStyle (const QImage &icon, const QPointF &hotSpot=QPointF(0.5, 0.5))
 
 ~GeoDataIconStyle ()
 
int heading () const
 
QPointF hotSpot (GeoDataHotSpot::Units &xunits, GeoDataHotSpot::Units &yunits) const
 
QImage icon () const
 
QString iconPath () const
 
virtual const char * nodeType () const
 
bool operator!= (const GeoDataIconStyle &other) const
 
GeoDataIconStyle & operator= (const GeoDataIconStyle &other)
 
bool operator== (const GeoDataIconStyle &other) const
 
virtual void pack (QDataStream &stream) const
 
float scale () const
 
void setHeading (int heading)
 
void setHotSpot (const QPointF &hotSpot, GeoDataHotSpot::Units xunits, GeoDataHotSpot::Units yunits)
 
void setIcon (const QImage &icon)
 
void setIconPath (const QString &filename)
 
void setScale (const float &scale)
 
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
 
bool operator!= (const GeoDataColorStyle &other) const
 
GeoDataColorStyle & operator= (const GeoDataColorStyle &other)
 
bool operator== (const GeoDataColorStyle &other) const
 
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 ()
 
QString id () const
 
GeoDataObject & operator= (const GeoDataObject &)
 
virtual GeoDataObject * parent () const
 
QString resolvePath (const QString &relativePath) const
 
void setId (const QString &value)
 
virtual void setParent (GeoDataObject *parent)
 
void setTargetId (const QString &value)
 
QString 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 }
 
- Protected Member Functions inherited from Marble::GeoDataObject
virtual bool equals (const GeoDataObject &other) const
 

Detailed Description

Definition at line 29 of file GeoDataIconStyle.h.

Constructor & Destructor Documentation

Marble::GeoDataIconStyle::GeoDataIconStyle ( )

Definition at line 52 of file GeoDataIconStyle.cpp.

Marble::GeoDataIconStyle::GeoDataIconStyle ( const GeoDataIconStyle &  other)

Definition at line 57 of file GeoDataIconStyle.cpp.

Marble::GeoDataIconStyle::GeoDataIconStyle ( const QImage &  icon,
const QPointF &  hotSpot = QPointF( 0.5, 0.5 ) 
)
explicit

Definition at line 62 of file GeoDataIconStyle.cpp.

Marble::GeoDataIconStyle::~GeoDataIconStyle ( )

Definition at line 67 of file GeoDataIconStyle.cpp.

Member Function Documentation

int Marble::GeoDataIconStyle::heading ( ) const

Definition at line 151 of file GeoDataIconStyle.cpp.

QPointF Marble::GeoDataIconStyle::hotSpot ( GeoDataHotSpot::Units &  xunits,
GeoDataHotSpot::Units &  yunits 
) const

Definition at line 136 of file GeoDataIconStyle.cpp.

QImage Marble::GeoDataIconStyle::icon ( ) const

Definition at line 117 of file GeoDataIconStyle.cpp.

QString Marble::GeoDataIconStyle::iconPath ( ) const

Definition at line 112 of file GeoDataIconStyle.cpp.

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

Provides type information for downcasting a GeoData.

Reimplemented from Marble::GeoDataColorStyle.

Definition at line 97 of file GeoDataIconStyle.cpp.

bool Marble::GeoDataIconStyle::operator!= ( const GeoDataIconStyle &  other) const

Definition at line 92 of file GeoDataIconStyle.cpp.

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

Definition at line 72 of file GeoDataIconStyle.cpp.

bool Marble::GeoDataIconStyle::operator== ( const GeoDataIconStyle &  other) const

Definition at line 79 of file GeoDataIconStyle.cpp.

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

Serialize the style to a stream.

Parameters
streamthe stream

Reimplemented from Marble::GeoDataColorStyle.

Definition at line 161 of file GeoDataIconStyle.cpp.

float Marble::GeoDataIconStyle::scale ( ) const

Definition at line 146 of file GeoDataIconStyle.cpp.

void Marble::GeoDataIconStyle::setHeading ( int  heading)

Definition at line 156 of file GeoDataIconStyle.cpp.

void Marble::GeoDataIconStyle::setHotSpot ( const QPointF &  hotSpot,
GeoDataHotSpot::Units  xunits,
GeoDataHotSpot::Units  yunits 
)

Definition at line 129 of file GeoDataIconStyle.cpp.

void Marble::GeoDataIconStyle::setIcon ( const QImage &  icon)

Definition at line 102 of file GeoDataIconStyle.cpp.

void Marble::GeoDataIconStyle::setIconPath ( const QString &  filename)

Definition at line 107 of file GeoDataIconStyle.cpp.

void Marble::GeoDataIconStyle::setScale ( const float &  scale)

Definition at line 141 of file GeoDataIconStyle.cpp.

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

Unserialize the style from a stream.

Parameters
streamthe stream

Reimplemented from Marble::GeoDataColorStyle.

Definition at line 170 of file GeoDataIconStyle.cpp.


The documentation for this class was generated from the following files:
  • GeoDataIconStyle.h
  • GeoDataIconStyle.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:44 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
  • 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