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:83
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.