Kstars

skylabel.h
1/*
2 SPDX-FileCopyrightText: 2007 James B. Bowlin <bowlin@mindspring.com>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "skyobjects/skyobject.h"
10
11#include <QList>
12#include <QPointF>
13
14class SkyLabel;
16
17class SkyLabel
18{
19 public:
20 SkyLabel(qreal ra, qreal dec, SkyObject *obj_in) : o(ra, dec), obj(obj_in) {}
21
22 // SkyLabel( double ra, double dec, QString& text_in) :
23 // o( ra, dec), text(text_in)
24 // {}
25
26 SkyLabel(const QPointF o_in, SkyObject *obj_in) : o(o_in), obj(obj_in) {}
27
28 //~StarLabel() { delete m_p; }
29
30 QPointF &point() { return o; }
31 QPointF o;
32 SkyObject *obj;
33};
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
QTextStream & dec(QTextStream &stream)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.