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
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.
- Signal syntax:
QObject.connect(source, SIGNAL("centerSun()"), target_slot)
ExtDateTime datetime |
( |
|
self ) |
|
bool getCentered |
( |
|
self ) |
|
bool getCitylights |
( |
|
self ) |
|
reenableWidgetInput |
( |
|
self ) |
|
- Signal syntax:
QObject.connect(source, SIGNAL("reenableWidgetInput()"), target_slot)
setCentered |
( |
self, |
|
|
|
bool |
show |
|
) |
|
|
|
setCitylights |
( |
self, |
|
|
|
bool |
show |
|
) |
|
|
|
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 |
|
) |
|
|
|
- Signal syntax:
QObject.connect(source, SIGNAL("updateStars()"), target_slot)
- Signal syntax:
QObject.connect(source, SIGNAL("updateSun()"), target_slot)