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

SunLocator Class Reference

from PyKDE4.marble import *

Inherits: QObject
Namespace: Marble

Detailed Description


Signals

 centerSun ()
 reenableWidgetInput ()
 updateStars ()
 updateSun ()

Methods

 __init__ (self, ExtDateTime dateTime, Marble.Planet planet)
 __init__ (self, Marble.SunLocator a0)
 centerSun (self)
ExtDateTime datetime (self)
bool getCentered (self)
bool getCitylights (self)
float getLat (self)
float getLon (self)
bool getShow (self)
Marble.Planet planet (self)
 reenableWidgetInput (self)
 setCentered (self, bool show)
 setCitylights (self, bool show)
 setPlanet (self, Marble.Planet planet)
 setShow (self, bool show)
 shadePixel (self, QRgb pixcol, float shade)
 shadePixelComposite (self, QRgb pixcol, QRgb dpixcol, float shade)
float shading (self, float lon, float a, float c)
 update (self)
 updateStars (self)
 updateSun (self)

Method Documentation

__init__ (  self,
ExtDateTime  dateTime,
Marble.Planet  planet
)

At the moment Sunlocator does not take ownership of dateTime. However in the destructor there is a delete commented out. So strictly Q_DISABLE_COPY is not necessary in this class. FIXME: clarify this issue.

__init__ (  self,
Marble.SunLocator  a0
)
centerSun (   self )
Signal syntax:
QObject.connect(source, SIGNAL("centerSun()"), target_slot)
ExtDateTime datetime (   self )
bool getCentered (   self )
bool getCitylights (   self )
float getLat (   self )
float getLon (   self )
bool getShow (   self )
Marble.Planet planet (   self )
reenableWidgetInput (   self )
Signal syntax:
QObject.connect(source, SIGNAL("reenableWidgetInput()"), target_slot)
setCentered (  self,
bool  show
)
setCitylights (  self,
bool  show
)
setPlanet (  self,
Marble.Planet  planet
)
setShow (  self,
bool  show
)
shadePixel (  self,
QRgb  pixcol,
float  shade
)
shadePixelComposite (  self,
QRgb  pixcol,
QRgb  dpixcol,
float  shade
)
float shading (  self,
float  lon,
float  a,
float  c
)
update (   self )
updateStars (   self )
Signal syntax:
QObject.connect(source, SIGNAL("updateStars()"), target_slot)
updateSun (   self )
Signal syntax:
QObject.connect(source, SIGNAL("updateSun()"), target_slot)
  • Full Index

Modules

  • marble
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal