• 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
equator.h
Go to the documentation of this file.
1 /***************************************************************************
2  equator.h - K Desktop Planetarium
3  -------------------
4  begin : 2007-08-09
5  copyright : (C) 2007 by James B. Bowlin
6  email : bowlin@mindspring.com
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 EQUATOR_H
19 #define EQUATOR_H
20 
21 #include "noprecessindex.h"
22 #include "linelistlabel.h"
23 
24 
32 class Equator : public NoPrecessIndex
33 {
34 public:
35 
36  /* @short Constructor
37  * @p parent pointer to the parent SkyComposite object
38  * name is the name of the subclass
39  */
40  explicit Equator( SkyComposite *parent );
41 
42  virtual bool selected();
43  virtual void draw( SkyPainter *skyp );
44  virtual void drawCompassLabels();
45  virtual LineListLabel* label() {return &m_label;};
46 
47 protected:
48  virtual void preDraw( SkyPainter *skyp );
49 
50 private:
51  LineListLabel m_label;
52 };
53 
54 #endif
SkyComponent::parent
SkyComposite * parent()
Definition: skycomponent.h:82
Equator
Represents the equator on the sky map.
Definition: equator.h:32
LineListLabel
Definition: linelistlabel.h:36
Equator::Equator
Equator(SkyComposite *parent)
Definition: equator.cpp:32
Equator::label
virtual LineListLabel * label()
Definition: equator.h:45
NoPrecessIndex
Definition: noprecessindex.h:28
linelistlabel.h
Equator::draw
virtual void draw(SkyPainter *skyp)
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition: equator.cpp:68
noprecessindex.h
SkyComposite
SkyComposite is a kind of container class for SkyComponent objects.
Definition: skycomposite.h:43
Equator::preDraw
virtual void preDraw(SkyPainter *skyp)
Definition: equator.cpp:61
Equator::drawCompassLabels
virtual void drawCompassLabels()
Definition: equator.cpp:83
SkyPainter
Draws things on the sky, without regard to backend.
Definition: skypainter.h:47
Equator::selected
virtual bool selected()
Definition: equator.cpp:56
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