Kstars

mountmotionwidget.h
1/* Widget to control the mount motion.
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_mountmotionwidget.h"
10#include "indipropertyview.h"
11
12#include <QWidget>
13
14namespace Ekos
15{
16class MountMotionWidget : public QWidget, public Ui::MountMotionWidget
17{
19
20 friend class MountControlPanel;
21
22public:
23 explicit MountMotionWidget(QWidget *parent = nullptr);
24
25 void syncSpeedInfo(INDI::PropertyView<ISwitch> *svp);
26 void updateSpeedInfo(INDI::PropertyView<ISwitch> *svp);
27
28protected:
29 void keyPressEvent(QKeyEvent *event) override;
30 void keyReleaseEvent(QKeyEvent *event) override;
31
32signals:
33 void newMotionCommand(int command, int NS, int WE);
34 void newSlewRate(int rate);
35 void aborted();
36 void updownReversed(bool enable);
37 void leftrightReversed(bool enable);
38
39};
40
41} // namespace
Ekos is an advanced Astrophotography tool for Linux.
Definition align.cpp:79
Q_OBJECTQ_OBJECT
QObject * parent() const const
virtual bool event(QEvent *event) override
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.