Kstars

coordinategrid.h
1 /*
2  SPDX-FileCopyrightText: 2005 Jason Harris <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "noprecessindex.h"
10 
11 class QString;
12 
13 class SkyComposite;
14 class SkyPainter;
15 
16 /**
17  * @class CoordinateGrid
18  * Collection of all the circles in the coordinate grid
19  *
20  * @author Jason Harris
21  * @version 0.1
22  */
24 {
25  public:
26  /**
27  * @short Constructor
28  * Simply adds all of the coordinate grid circles (meridians and parallels)
29  * @p parent Pointer to the parent SkyComposite object
30  */
32 
33  void preDraw(SkyPainter *skyp) override = 0;
34 
35  bool selected() override = 0;
36 };
QString name() const
retrieve name of object
Definition: linelistindex.h:84
SkyComposite * parent()
Definition: skycomponent.h:137
Draws things on the sky, without regard to backend.
Definition: skypainter.h:37
bool selected() override=0
CoordinateGrid(SkyComposite *parent, const QString &name)
Constructor Simply adds all of the coordinate grid circles (meridians and parallels) parent Pointer t...
void preDraw(SkyPainter *skyp) override=0
Gives the subclasses access to the top of the draw() method.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Aug 11 2022 03:59:57 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.