Kstars

guidestatewidget.h
1/*
2 SPDX-FileCopyrightText: 2012 Jasem Mutlaq <mutlaqja@ikarustech.com>
3 SPDX-FileCopyrightText: 2021 Wolfgang Reissenberger <sterne-jaeger@openfuture.de>
4
5 SPDX-License-Identifier: GPL-2.0-or-later
6*/
7
8#pragma once
9
10#include "ui_guidestatewidget.h"
11
12#include "ekos/ekos.h"
13
14#include <QWidget>
15#include <KLed>
16
17namespace Ekos
18{
19
20class GuideStateWidget : public QWidget, public Ui::GuideStateWidget
21{
23
24public:
25 GuideStateWidget(QWidget * parent = nullptr);
26 void init();
27
28public slots:
29 void updateGuideStatus(GuideState state);
30
31private:
32 // State
33 KLed * idlingStateLed { nullptr };
34 KLed * preparingStateLed { nullptr };
35 KLed * runningStateLed { nullptr };
36
37
38};
39}
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 May 17 2024 11:48:26 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.