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

kstars

astrocalc.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           astrocalc.h  -  description
00003                              -------------------
00004     begin                : wed dec 19 16:20:11 CET 2002
00005     copyright            : (C) 2001-2002 by Pablo de Vicente
00006     email                : vicente@oan.es
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 ASTROCALC_H
00019 #define ASTROCALC_H
00020 
00021 #ifdef HAVE_CONFIG_H
00022 #include <config.h>
00023 #endif
00024 
00025 #include <qwidget.h>
00026 #include <kdialogbase.h>
00027 
00028 #include <kapplication.h>
00029 
00030 #include "dms.h"
00031 
00032 class QSplitter;
00033 class QListView;
00034 class QTextView;
00035 class QListViewItem;
00036 class QVBox;
00037 class QString;
00038 class modCalcJD;
00039 class modCalcGeodCoord;
00040 class modCalcGalCoord;
00041 class modCalcSidTime;
00042 class modCalcPrec;
00043 class modCalcApCoord;
00044 class modCalcDayLength;
00045 class modCalcAzel;
00046 class modCalcEquinox;
00047 class modCalcPlanets;
00048 class modCalcEclCoords;
00049 class modCalcAngDist;
00050 class modCalcVlsr;
00051 
00057 class AstroCalc : public KDialogBase
00058 {
00059 
00060 Q_OBJECT 
00061     public:
00063     AstroCalc(QWidget *parent = 0);
00064 
00066     ~AstroCalc();
00067 
00069         void genTimeText(void);
00070 
00072         void genCoordText(void);
00073 
00075         void genGeodText(void);
00076 
00078         void genSolarText(void);
00079 
00081         void genJdFrame(void);
00082 
00084         void genSidFrame(void);
00085 
00087         void genDayFrame(void);
00088 
00090         void genEquinoxFrame(void);
00091 
00093         void genGeodCoordFrame(void);
00094 
00096         void genGalFrame(void);
00097 
00099         void genEclFrame(void);
00100 
00102         void genPrecFrame(void);
00103 
00105         void genAppFrame(void);
00106 
00108         void genAzelFrame(void);
00109 
00111         void genPlanetsFrame(void);
00112         
00114         void genAngDistFrame(void);
00115 
00117         void genVlsrFrame(void);
00118         
00120         void delRightPanel(void);
00121 
00123         QSize sizeHint() const;
00124 
00125     public slots:
00129         void slotItemSelection(QListViewItem *it);
00130         
00131     private:
00132         
00133         QSplitter *split;
00134         QListView *navigationPanel, *auxiliar;
00135         QTextView *splashScreen;
00136 //      QListViewItem *timeItem, *coordItem, *jdItem, *stItem, *dayItem;
00137         QVBox *vbox, *rightBox;
00138         QString previousElection;
00139 
00140         enum typeOfPanel {GenText, TimeText, GeoText, SolarText, CoordText, JD, SidTime, DayLength, Equinox, GeoCoord, Galactic, Precessor, Apparent, Azel, Planets, Ecliptic, AngDist, Vlsr};
00141         typeOfPanel rightPanel;
00142 
00143         modCalcJD *JDFrame;
00144         modCalcGeodCoord *GeodCoordFrame;
00145         modCalcGalCoord *GalFrame;
00146         modCalcSidTime *SidFrame;
00147         modCalcPrec *PrecFrame;
00148         modCalcApCoord *AppFrame;
00149         modCalcDayLength *DayFrame;
00150         modCalcAzel *AzelFrame;
00151         modCalcPlanets *PlanetsFrame;
00152         modCalcEquinox *EquinoxFrame;
00153         modCalcEclCoords *EclFrame;
00154         modCalcAngDist *AngDistFrame;
00155         modCalcVlsr *VlsrFrame;
00156 };
00157 
00158 #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