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

kstars

  • extragear
  • edu
  • kstars
  • kstars
  • skycomponents
ecliptic.h
Go to the documentation of this file.
1 /***************************************************************************
2  ecliptic.h - K Desktop Planetarium
3  -------------------
4  begin : 2007-08-09
5  copyright : (C) 2007 by James B. Bowlin
6  email : [email protected]
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 #pragma once
19 
20 #include "linelistindex.h"
21 #include "linelistlabel.h"
22 
30 class Ecliptic : public LineListIndex
31 {
32  public:
37  explicit Ecliptic(SkyComposite *parent);
38 
39  void draw(SkyPainter *skyp) override;
40  virtual void drawCompassLabels();
41  bool selected() override;
42 
43  LineListLabel *label() override { return &m_label; }
44 
45  private:
46  LineListLabel m_label;
47 };
Ecliptic::Ecliptic
Ecliptic(SkyComposite *parent)
Constructor parent pointer to the parent SkyComposite object name is the name of the subclass...
Definition: ecliptic.cpp:32
SkyComponent::parent
SkyComposite * parent()
Definition: skycomponent.h:145
LineListLabel
Definition: linelistlabel.h:35
Ecliptic::drawCompassLabels
virtual void drawCompassLabels()
Definition: ecliptic.cpp:85
Ecliptic::draw
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition: ecliptic.cpp:68
linelistindex.h
Ecliptic::selected
bool selected() override
Definition: ecliptic.cpp:63
Ecliptic::label
LineListLabel * label() override
Definition: ecliptic.h:43
linelistlabel.h
Ecliptic
Represents the ecliptic on the sky map.
Definition: ecliptic.h:30
SkyComposite
SkyComposite is a kind of container class for SkyComponent objects.
Definition: skycomposite.h:40
LineListIndex
Contains almost all the code needed for indexing and drawing and clipping lines and polygons...
Definition: linelistindex.h:40
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-2019 The KDE developers.
Generated on Sat Dec 14 2019 02:20:00 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
  • Modules
  • Related Pages

edu API Reference

Skip menu "edu API Reference"
  •     core
  • kstars

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