kstars
#include <focusdialog.h>

Public Slots | |
void | checkLineEdits () |
void | validatePoint () |
Public Member Functions | |
FocusDialog (KStars *_ks) | |
~FocusDialog () | |
void | activateAzAltPage () const |
long double | epochToJd (double epoch) |
double | getEpoch (const QString &eName) |
SkyPoint & | point () |
QSize | sizeHint () const |
bool | usedAltAz () const |
Detailed Description
A small dialog for setting the focus coordinates manually.
- Version
- 1.0
Definition at line 40 of file focusdialog.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
Definition at line 36 of file focusdialog.cpp.
FocusDialog::~FocusDialog | ( | ) |
Destructor (empty).
Definition at line 64 of file focusdialog.cpp.
Member Function Documentation
void FocusDialog::activateAzAltPage | ( | ) | const |
Show the Az/Alt page instead of the RA/Dec page.
Definition at line 161 of file focusdialog.cpp.
|
slot |
If text has been entered in both KLineEdits, enable the Ok button.
Definition at line 67 of file focusdialog.cpp.
long double FocusDialog::epochToJd | ( | double | epoch | ) |
Convenience function to convert an epoch number (e.g., 2000.0) to the corresponding Julian Day number (e.g., 2451545.0).
- Parameters
-
epoch the epoch value to be converted. FIXME: This should probably move to KStarsDateTime
Definition at line 141 of file focusdialog.cpp.
double FocusDialog::getEpoch | ( | const QString & | eName | ) |
Convert a string to an epoch number; essentially just converts the string to a double.
- Parameters
-
eName the tring representation of the epoch number.
- Returns
- the epoch number described by the string argument. FIXME: This should probably move to KStarsDateTime
Definition at line 131 of file focusdialog.cpp.
|
inline |
- Returns
- pointer to the SkyPoint described by the entered RA, Dec
Definition at line 50 of file focusdialog.h.
QSize FocusDialog::sizeHint | ( | ) | const |
- Returns
- suggested size of focus window.
Definition at line 156 of file focusdialog.cpp.
|
inline |
- Returns
- whether user set the AltAz coords
Definition at line 56 of file focusdialog.h.
|
slot |
Attempt to interpret the text in the KLineEdits as Ra and Dec values.
If the point is validated, close the window.
Definition at line 79 of file focusdialog.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.