• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

FocusDialog Class Reference

A small dialog for setting the focus coordinates manually. More...

#include <focusdialog.h>

Inheritance diagram for FocusDialog:

Inheritance graph
[legend]

List of all members.


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.

Author:
Jason Harris
Version:
1.0

Definition at line 36 of file focusdialog.h.


Constructor & Destructor Documentation

FocusDialog::FocusDialog ( QWidget *  parent = 0  ) 

Constructor.

Definition at line 35 of file focusdialog.cpp.

FocusDialog::~FocusDialog (  ) 

Destructor (empty).

Definition at line 59 of file focusdialog.cpp.


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

Returns:
suggested size of focus window.

Definition at line 155 of file focusdialog.cpp.

void FocusDialog::slotOk (  )  [slot]

Definition at line 74 of file focusdialog.cpp.

bool FocusDialog::usedAltAz (  )  const [inline]

Returns:
whether user set the AltAz coords

Definition at line 52 of file focusdialog.h.

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:
  • focusdialog.h
  • focusdialog.cpp

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal