Kstars

coordinategrid.h
1/*
2 SPDX-FileCopyrightText: 2005 Jason Harris <kstars@30doradus.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "noprecessindex.h"
10
11class QString;
12
13class SkyComposite;
14class 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};
Collection of all the circles in the coordinate grid.
bool selected() override=0
void preDraw(SkyPainter *skyp) override=0
Gives the subclasses access to the top of the draw() method.
CoordinateGrid(SkyComposite *parent, const QString &name)
Constructor Simply adds all of the coordinate grid circles (meridians and parallels) parent Pointer t...
QString name() const
retrieve name of object
SkyComposite * parent()
SkyComposite is a kind of container class for SkyComponent objects.
Draws things on the sky, without regard to backend.
Definition skypainter.h:40
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.