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, |
|
|
|
QImage |
icon, |
|
|
QPointF |
hotSpot=QPointF(0.5,0.5) |
|
) |
|
|
|
Convenience method that transforms the hotspot to the topleft corner
QString iconPath |
( |
|
self ) |
|
QString nodeType |
( |
|
self ) |
|
pack |
( |
self, |
|
|
|
QDataStream |
stream |
|
) |
|
|
|
setIcon |
( |
self, |
|
|
|
QImage |
icon |
|
) |
|
|
|
setIconPath |
( |
self, |
|
|
|
QString |
filename |
|
) |
|
|
|
setScale |
( |
self, |
|
|
|
float |
scale |
|
) |
|
|
|
unpack |
( |
self, |
|
|
|
QDataStream |
stream |
|
) |
|
|
|