Stellarium 0.14.3
List of all members | Public Slots | Public Member Functions
AngleMeasure Class Reference

Main class of the Angle Measure plug-in. More...

#include <AngleMeasure.hpp>

Public Slots

void enableAngleMeasure (bool b)
 
void useDmsFormat (bool b)
 
void showPositionAngle (bool b)
 
void showPositionAngleHor (bool b)
 
void showEquatorial (bool b)
 
void showHorizontal (bool b)
 
void showHorizontalStartSkylinked (bool b)
 
void showHorizontalEndSkylinked (bool b)
 

Public Member Functions

virtual void init ()
 
virtual void update (double deltaTime)
 
virtual void draw (StelCore *core)
 
virtual double getCallOrder (StelModuleActionName actionName) const
 
virtual void handleKeys (class QKeyEvent *event)
 
virtual void handleMouseClicks (class QMouseEvent *event)
 
virtual bool handleMouseMoves (int x, int y, Qt::MouseButtons b)
 
virtual bool configureGui (bool show=true)
 
bool isEnabled () const
 
bool isDmsFormat () const
 
bool isPaDisplayed () const
 
bool isEquatorial () const
 
bool isHorizontal () const
 
bool isHorizontalStartSkylinked () const
 
bool isHorizontalEndSkylinked () const
 
bool isHorPaDisplayed () const
 
void restoreDefaultSettings ()
 Restore the plug-in's settings to the default state. More...
 
void loadSettings ()
 Load the plug-in's settings from the configuration file. More...
 
void saveSettings ()
 Save the plug-in's settings to the configuration file. More...
 

Detailed Description

Main class of the Angle Measure plug-in.

Author
Matthew Gates
Alexander Wolf
Georg Zotti

Definition at line 70 of file AngleMeasure.hpp.

Member Function Documentation

void AngleMeasure::loadSettings ( )

Load the plug-in's settings from the configuration file.

Settings are kept in the "AngleMeasure" section in Stellarium's configuration file. If no such section exists, it will load default values.

See also
saveSettings(), restoreSettings()
void AngleMeasure::restoreDefaultSettings ( )

Restore the plug-in's settings to the default state.

Replace the plug-in's settings in Stellarium's configuration file with the default values and re-load them. Uses internally loadSettings() and saveSettings().

void AngleMeasure::saveSettings ( )

Save the plug-in's settings to the configuration file.

Warning
textColor and lineColor are not saved, probably because they can't be changed by the user in-program.

The documentation for this class was generated from the following file: