Kstars

polarishourangle.h
1/*
2 SPDX-FileCopyrightText: 2015-2017 Pavel Mraz
3
4 SPDX-FileCopyrightText: 2017 Jasem Mutlaq
5
6 SPDX-License-Identifier: GPL-2.0-or-later
7*/
8
9#pragma once
10
11#include <memory>
12
13#include "ui_polarishourangle.h"
14
15class SkyObject;
16
17class PolarisHourAngle : public QDialog, public Ui::PolarisHourAngle
18{
20
21public:
22 explicit PolarisHourAngle(QWidget *parent);
23
24protected:
25 void paintEvent(QPaintEvent *) override;
26
27private slots:
28 void onTimeUpdated(QDateTime newDateTime);
29
30private:
31 double m_polarisHourAngle;
32
33 SkyObject *m_polaris = { nullptr };
34 std::unique_ptr<QPixmap> m_reticle12;
35 std::unique_ptr<QPixmap> m_reticle24;
36};
37
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:57:49 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.