kstars
FocusDialog Class Reference
A small dialog for setting the focus coordinates manually. More...
#include <focusdialog.h>
Inheritance diagram for FocusDialog:

Public Slots | |
void | checkLineEdits () |
void | slotOk () |
void | validatePoint () |
Public Member Functions | |
void | activateAzAltPage () |
long double | epochToJd (double epoch) |
FocusDialog (QWidget *parent=0) | |
double | getEpoch (QString eName) |
SkyPoint * | point () const |
QSize | sizeHint () const |
bool | usedAltAz () const |
~FocusDialog () |
Detailed Description
A small dialog for setting the focus coordinates manually.
- Version:
- 1.0
Definition at line 36 of file focusdialog.h.
Constructor & Destructor Documentation
FocusDialog::FocusDialog | ( | QWidget * | parent = 0 |
) |
FocusDialog::~FocusDialog | ( | ) |
Member Function Documentation
void FocusDialog::activateAzAltPage | ( | ) |
Definition at line 160 of file focusdialog.cpp.
void FocusDialog::checkLineEdits | ( | ) | [slot] |
If text has been entered in both KLineEdits, enable the Ok button.
Definition at line 62 of file focusdialog.cpp.
long double FocusDialog::epochToJd | ( | double | epoch | ) |
Definition at line 140 of file focusdialog.cpp.
double FocusDialog::getEpoch | ( | QString | eName | ) |
Definition at line 130 of file focusdialog.cpp.
SkyPoint* FocusDialog::point | ( | ) | const [inline] |
- Returns:
- pointer to the SkyPoint described by the entered RA, Dec
Definition at line 46 of file focusdialog.h.
QSize FocusDialog::sizeHint | ( | ) | const |
void FocusDialog::slotOk | ( | ) | [slot] |
Definition at line 74 of file focusdialog.cpp.
bool FocusDialog::usedAltAz | ( | ) | const [inline] |
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 78 of file focusdialog.cpp.
The documentation for this class was generated from the following files: