• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
  • skycomponents
horizoncomponent.h
Go to the documentation of this file.
1 /***************************************************************************
2  horizoncomponent.h - K Desktop Planetarium
3  -------------------
4  begin : 2005/07/08
5  copyright : (C) 2005 by Thomas Kabelmann
6  email : thomas.kabelmann@gmx.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef HORIZONCOMPONENT_H
19 #define HORIZONCOMPONENT_H
20 
21 #include "pointlistcomponent.h"
22 
23 class SkyComposite;
24 class SkyMap;
25 class KSNumbers;
26 
34 class HorizonComponent: public PointListComponent
35 {
36 public:
37 
42  explicit HorizonComponent(SkyComposite *parent );
43 
47  virtual ~HorizonComponent();
48 
54  virtual void draw( SkyPainter *skyp );
55 
56  virtual void update( KSNumbers* );
57 
58  bool selected();
59 
60 private:
61  void drawCompassLabels();
62 };
63 
64 #endif
HorizonComponent::draw
virtual void draw(SkyPainter *skyp)
Draw the Horizon on the Sky map map Pointer to the SkyMap object psky Reference to the QPainter on wh...
Definition: horizoncomponent.cpp:75
HorizonComponent::~HorizonComponent
virtual ~HorizonComponent()
Destructor.
Definition: horizoncomponent.cpp:53
HorizonComponent::update
virtual void update(KSNumbers *)
Update the sky positions of this component.
Definition: horizoncomponent.cpp:61
SkyComponent::parent
SkyComposite * parent()
Definition: skycomponent.h:82
HorizonComponent::selected
bool selected()
Definition: horizoncomponent.cpp:56
HorizonComponent::HorizonComponent
HorizonComponent(SkyComposite *parent)
Constructor parent Pointer to the parent SkyComposite object.
Definition: horizoncomponent.cpp:36
SkyComposite
SkyComposite is a kind of container class for SkyComponent objects.
Definition: skycomposite.h:43
pointlistcomponent.h
KSNumbers
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition: ksnumbers.h:43
PointListComponent
An abstract parent class, to be inherited by SkyComponents that store a QList of SkyPoints.
Definition: pointlistcomponent.h:37
SkyMap
This is the canvas on which the sky is painted.
Definition: skymap.h:72
HorizonComponent
Represents the horizon on the sky map.
Definition: horizoncomponent.h:34
SkyPainter
Draws things on the sky, without regard to backend.
Definition: skypainter.h:47
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal