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

kstars

kspopupmenu.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           kspopupmenu.h  -  K Desktop Planetarium
00003                              -------------------
00004     begin                : Sat Feb 27 2003
00005     copyright            : (C) 2001 by Jason Harris
00006     email                : jharris@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 
00019 #ifndef KSPOPUPMENU_H
00020 #define KSPOPUPMENU_H
00021 
00022 #include <kpopupmenu.h>
00023 
00034 class KStars;
00035 class StarObject;
00036 class SkyObject;
00037 class QLabel;
00038 
00039 class KSPopupMenu : public KPopupMenu
00040 {
00041 Q_OBJECT
00042 public:
00044     KSPopupMenu( QWidget *parent = 0, const char *name = 0 );
00045     
00047     ~KSPopupMenu();
00048 
00065     void initPopupMenu( SkyObject *obj, QString name1, QString name2, QString type,
00066             bool showRiseSet=true, bool showCenterTrack=true,
00067             bool showDetails=true, bool showTrail=false, 
00068             bool addTrail=false, bool showAngularDistance=true,
00069             bool showObsList=true );
00070 
00081     void addLinksToMenu( SkyObject *obj, bool showDSS=true, bool allowCustom=true );
00082     
00093     void createStarMenu( StarObject *star );
00094     
00105     void createDeepSkyObjectMenu( SkyObject *obj );
00106     
00113     void createCustomObjectMenu( SkyObject *obj );
00114     
00125     void createPlanetMenu( SkyObject *p );
00126 
00136     void createEmptyMenu( SkyObject *nullObj=0 );
00137     
00144     void setRiseSetLabels( SkyObject *obj );
00145     
00149     bool addINDI(void);
00150 
00151 private:
00152     KStars *ksw;
00153     QLabel *pmTitle, *pmTitle2, *pmType, *pmConstellation;
00154     QLabel *pmRiseTime, *pmSetTime, *pmTransitTime;
00155 
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