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

kstars

focusdialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           focusdialog.h  -  description
00003                              -------------------
00004     begin                : Sat Mar 23 2002
00005     copyright            : (C) 2002 by Jason Harris
00006     email                : kstars@30doradus.org
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef FOCUSDIALOG_H
00019 #define FOCUSDIALOG_H
00020 
00021 #include <kdialogbase.h>
00022 #include "focusdialogdlg.h"
00023 
00024 class QVBoxLayout;
00025 class QHBoxLayout;
00026 class KLineEdit;
00027 class SkyPoint;
00028 class FocusDialogDlg;
00029 
00036 class FocusDialog : public KDialogBase {
00037     Q_OBJECT
00038 public:
00040     FocusDialog( QWidget *parent=0 );
00041 
00043     ~FocusDialog();
00044 
00046     SkyPoint* point() const { return Point; }
00047 
00049     QSize sizeHint() const;
00050 
00052     bool usedAltAz() const { return UsedAltAz; }
00053 
00054     void activateAzAltPage();
00055     long double epochToJd (double epoch);
00056 
00057     double getEpoch (QString eName);
00058 
00059 public slots:
00061     void checkLineEdits();
00062 
00066     void validatePoint();
00067     void slotOk();
00068 
00069 private:
00070     QVBoxLayout *vlay;
00071     QHBoxLayout *hlayRA, *hlayDec;
00072     KLineEdit *editRA, *editDec;
00073     SkyPoint *Point;
00074     FocusDialogDlg *fdlg;
00075     bool UsedAltAz;
00076 };
00077 
00078 #endif

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