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

kstars

obslistwizard.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           obslistwizard.h  -  Display overhead view of the solar system
00003                              -------------------
00004     begin                : Thu 23 Jun 2005
00005     copyright            : (C) 2005 by Jason Harris
00006     email                : jharris@30doradus.org
00007  ***************************************************************************/
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU General Public License as published by  *
00012  *   the Free Software Foundation; either version 2 of the License, or     *
00013  *   (at your option) any later version.                                   *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00017 #ifndef OBSLISTWIZARD_H
00018 #define OBSLISTWIZARD_H
00019 
00020 #include <kdialogbase.h>
00021 
00022 #include "obslistwizardui.h"
00023 
00024 class KStars;
00025 class QListViewItem;
00026 
00031 class ObsListWizard : public KDialogBase
00032 {
00033     Q_OBJECT
00034     public:
00037         ObsListWizard( QWidget *parent = 0, const char *name = 0 );
00040         ~ObsListWizard();
00041 
00044         QPtrList<SkyObject>& obsList() { return ObsList; }
00045 
00046     private slots:
00047         void slotAllButton();
00048         void slotNoneButton();
00049         void slotDeepSkyButton();
00050         void slotSolarSystemButton();
00051         void slotChangeLocation();
00052         void slotShowStackWidget(QListViewItem*);
00053         void slotEnableConstellationPage(bool);
00054         void slotEnableRectPage(bool);
00055         void slotEnableCircPage(bool);
00056 //      void slotEnableDatePage(bool);
00057         void slotEnableMagPage(bool);
00058 
00061         void slotUpdateObjectCount();
00062         void slotApplyFilters() { applyFilters( true ); }
00063 
00064     private:
00065         void initialize();
00066         void applyFilters( bool doBuildList );
00067         void applyRegionFilter( SkyObject *o, bool doBuildList, bool doAdjustCount=true );
00068 
00069         QPtrList<SkyObject> ObsList;
00070         KStars *ksw;
00071         ObsListWizardUI *olw;
00072         uint ObjectCount, StarCount, PlanetCount, CometCount, AsteroidCount;
00073         uint GalaxyCount, OpenClusterCount, GlobClusterCount, GasNebCount, PlanNebCount;
00074         bool rectOk, circOk;
00075         double ra1, ra2, dc1, dc2, rCirc;
00076         SkyPoint pCirc;
00077 };
00078 
00079 #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