kstars
FocusDialog Class Reference
#include <focusdialog.h>
Inheritance diagram for FocusDialog:

Detailed Description
A small dialog for setting the focus coordinates manually.
- Version:
- 1.0
Definition at line 40 of file focusdialog.h.
Public Slots | |
| void | checkLineEdits () |
| void | validatePoint () |
Public Member Functions | |
| FocusDialog (KStars *_ks) | |
| ~FocusDialog () | |
| SkyPoint & | point () |
| QSize | sizeHint () const |
| bool | usedAltAz () const |
| void | activateAzAltPage () const |
| long double | epochToJd (double epoch) |
| double | getEpoch (const QString &eName) |
Constructor & Destructor Documentation
| FocusDialog::FocusDialog | ( | KStars * | _ks | ) |
| FocusDialog::~FocusDialog | ( | ) |
Member Function Documentation
| SkyPoint& FocusDialog::point | ( | ) | [inline] |
- Returns:
- pointer to the SkyPoint described by the entered RA, Dec
Definition at line 50 of file focusdialog.h.
| QSize FocusDialog::sizeHint | ( | ) | const |
| bool FocusDialog::usedAltAz | ( | ) | const [inline] |
| void FocusDialog::activateAzAltPage | ( | ) | const |
| 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.
| void FocusDialog::checkLineEdits | ( | ) | [slot] |
If text has been entered in both KLineEdits, enable the Ok button.
Definition at line 67 of file focusdialog.cpp.
| void FocusDialog::validatePoint | ( | ) | [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:
KDE 4.0 API Reference