KDE 4.9 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

GeoDataIconStyle Class Reference

from PyKDE4.marble import *

Inherits: Marble.GeoDataColorStyle → Marble.GeoDataObject → Marble.GeoNode
Namespace: Marble

Detailed Description


Methods

 __init__ (self)
 __init__ (self, Marble.GeoDataIconStyle other)
 __init__ (self, QImage icon, QPointF hotSpot=QPointF(0.5,0.5))
QPointF hotSpot (self)
QImage icon (self)
QString iconPath (self)
QString nodeType (self)
 pack (self, QDataStream stream)
float scale (self)
 setHotSpot (self, QPointF hotSpot, Marble.GeoDataHotSpot.Units xunits, Marble.GeoDataHotSpot.Units yunits)
 setIcon (self, QImage icon)
 setIconPath (self, QString filename)
 setScale (self, float scale)
 unpack (self, QDataStream stream)

Method Documentation

__init__ (   self )
__init__ (  self,
Marble.GeoDataIconStyle  other
)
__init__ (  self,
QImage  icon,
QPointF  hotSpot=QPointF(0.5,0.5)
)
QPointF hotSpot (   self )

Convenience method that transforms the hotspot to the topleft corner

QImage icon (   self )
QString iconPath (   self )
QString nodeType (   self )
pack (  self,
QDataStream  stream
)
float scale (   self )
setHotSpot (  self,
QPointF  hotSpot,
Marble.GeoDataHotSpot.Units  xunits,
Marble.GeoDataHotSpot.Units  yunits
)
setIcon (  self,
QImage  icon
)
setIconPath (  self,
QString  filename
)
setScale (  self,
float  scale
)
unpack (  self,
QDataStream  stream
)
  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal