Kstars

mountpositionwidget.h
1/* Widget to display the mount position.
2 SPDX-FileCopyrightText: Wolfgang Reissenberger <sterne-jaeger@openfuture.de>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "ui_mountpositionwidget.h"
10
11#include "indi/indistd.h"
12#include "indi/indimount.h"
13
14#include <QObject>
15#include <QWidget>
16
17namespace Ekos
18{
19class MountPositionWidget : public QWidget, public Ui::MountPositionWidget
20{
22public:
23 explicit MountPositionWidget(QWidget *parent = nullptr);
24
25 /**
26 * @brief updateTelescopeCoords Update the coordinates
27 * @param position latest coordinates the mount reports it is pointing to
28 * @param ha hour angle of the latest coordinates
29 */
30 void updateTelescopeCoords(const SkyPoint &position, const dms &ha);
31
32 // J2000 flag
33 bool isJ2000Enabled();
34 void setJ2000Enabled(bool enabled);
35
36signals:
37 void J2000Enabled(bool enabled);
38
39};
40
41} // namespace
The sky coordinates of a point in the sky.
Definition skypoint.h:45
An angle, stored as degrees, but expressible in many ways.
Definition dms.h:38
Ekos is an advanced Astrophotography tool for Linux.
Definition align.cpp:79
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 Jul 26 2024 11:59:51 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.