kstars
moonphasecalendarwidget.h
Go to the documentation of this file.
void computeMoonImageSize()
Computes the optimum moon image size.
Definition: moonphasecalendarwidget.cpp:73
virtual void paintEvent(QPaintEvent *e)
Overrides KDateTable::paintEvent() to draw moon phases on the calendar cells by calling this->paintCe...
Definition: moonphasecalendarwidget.cpp:89
virtual void setGeometry(int x, int y, int w, int h)
Set the geometry of the moon phase calendar (overloaded from QWidget).
Definition: moonphasecalendarwidget.cpp:80
MoonPhaseCalendar(KSMoon &moon, KSSun &sun, QWidget *parent=0)
Constructor.
Definition: moonphasecalendarwidget.cpp:41
Extension of KDateTime for KStars KStarsDateTime can represent the date/time as a Julian Day...
Definition: kstarsdatetime.h:45
A subclass of SkyObject that provides information needed for the Moon.
Definition: ksmoon.h:36
Definition: moonphasecalendarwidget.h:28
virtual QSize sizeHint() const
Definition: moonphasecalendarwidget.cpp:55
void loadImages()
Loads the moon images, appropriately resized depending on the current cell size.
Definition: moonphasecalendarwidget.cpp:61
void paintCell(QPainter *painter, int row, int col, const KColorScheme &colorScheme)
Replaces KDateTable::paintCell() to draw moon phases on the calendar cells.
Definition: moonphasecalendarwidget.cpp:115
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.