Main class of the Equation of Time plugin.
More...
#include <EquationOfTime.hpp>
Main class of the Equation of Time plugin.
- Author
- Alexander Wolf
Definition at line 59 of file EquationOfTime.hpp.
void EquationOfTime::enableEquationOfTime |
( |
bool |
b | ) |
|
|
slot |
bool EquationOfTime::getFlagInvertedValue |
( |
void |
| ) |
const |
|
inline |
Get status of usage inverted values for equation of time.
Definition at line 111 of file EquationOfTime.hpp.
bool EquationOfTime::getFlagMsFormat |
( |
void |
| ) |
const |
|
inline |
Get status of usage minutes and seconds for value of equation.
Definition at line 106 of file EquationOfTime.hpp.
int EquationOfTime::getFontSize |
( |
void |
| ) |
|
|
inline |
double EquationOfTime::getSolutionEquationOfTime |
( |
const double |
JDE | ) |
const |
Get solution of equation of time Source: J.
Meeus "Astronomical Algorithms" (2nd ed., with corrections as of August 10, 2009) p.183-187.
- Parameters
-
JDE | JD in Dynamical Time (previously called Ephemeris Time) |
- Returns
- time in minutes
bool EquationOfTime::isEnabled |
( |
| ) |
const |
|
inline |
void EquationOfTime::readSettingsFromConfig |
( |
void |
| ) |
|
Read (or re-read) settings from the main config file.
This will be called from init and also when restoring defaults (i.e. from the configuration dialog / restore defaults button).
void EquationOfTime::restoreDefaults |
( |
void |
| ) |
|
Set up the plugin with default values.
This means clearing out the Pulsars section in the main config.ini (if one already exists), and populating it with default values.
void EquationOfTime::saveSettingsToConfig |
( |
void |
| ) |
|
Save the settings to the main configuration file.
void EquationOfTime::setFlagEnableAtStartup |
( |
bool |
b | ) |
|
|
slot |
Enable plugin usage at startup.
void EquationOfTime::setFlagInvertedValue |
( |
bool |
b | ) |
|
|
slot |
Enable usage inverted value for equation of time (switch sign of equation)
void EquationOfTime::setFlagMsFormat |
( |
bool |
b | ) |
|
|
slot |
Enable usage minutes and seconds for value.
void EquationOfTime::setFlagShowEOTButton |
( |
bool |
b | ) |
|
|
slot |
Display plugin button on toolbar.
void EquationOfTime::setFontSize |
( |
int |
size | ) |
|
|
slot |
Set font size for message.
The documentation for this class was generated from the following file: