[Kstars-devel] KDE/kdeedu/kstars/kstars
Akarsh Simha
akarshsimha at gmail.com
Mon Aug 16 19:04:27 CEST 2010
SVN commit 1164399 by asimha:
Add a Moon Phase calendar tool that shows a calendar with the moon
phases. Useful for planning observation sessions.
Further ideas: When a date is selected on the calendar, show more
lunar information below the calendar, and permit scheduling of an
observation session.
CCMAIL: kstars-devel at kde.org
FEATURE
M +7 -1 CMakeLists.txt
M +2 -0 tools/astrocalc.cpp
A tools/moonphasetool.cpp [License: GPL (v2+)]
A tools/moonphasetool.h [License: GPL (v2+)]
--- trunk/KDE/kdeedu/kstars/kstars/CMakeLists.txt #1164398:1164399
@@ -102,7 +102,7 @@
tools/skycalendar.cpp
tools/wutdialog.cpp
tools/flagmanager.cpp
-
+ tools/moonphasetool.cpp
)
kde4_add_ui_files(libkstarstools_SRCS
@@ -219,8 +219,14 @@
widgets/timestepbox.cpp
widgets/timeunitbox.cpp
widgets/infoboxwidget.cpp
+ widgets/genericcalendarwidget.cpp
+ widgets/moonphasecalendarwidget.cpp
)
+kde4_add_ui_files(libkstarswidgets_SRCS
+ widgets/genericcalendarwidget.ui
+)
+
set( kstars_KCFG_SRCS Options.kcfgc )
set(kstars_options_SRCS
--- trunk/KDE/kdeedu/kstars/kstars/tools/astrocalc.cpp #1164398:1164399
@@ -39,6 +39,7 @@
#include "modcalcvizequinox.h"
#include "modcalcvlsr.h"
#include "conjunctions.h"
+#include "moonphasetool.h"
AstroCalc::AstroCalc( QWidget* parent ) :
KDialog( parent )
@@ -168,6 +169,7 @@
solarItem->setIcon(0,solarIcon);
addTreeItem<modCalcPlanets> (solarItem, i18n("Planets Coordinates"));
addTreeItem<ConjunctionsTool>(solarItem, i18n("Conjunctions"));
+ addTreeItem<MoonPhaseTool>(solarItem, i18n("Moon Phase Almanac"));
acStack->setCurrentWidget( splashScreen );
connect(navigationPanel, SIGNAL(itemClicked(QTreeWidgetItem *, int)),
More information about the Kstars-devel
mailing list