Kstars

polaralignwidget.h
1 /*
2  SPDX-FileCopyrightText: 2022 Hy Murveit <[email protected]>
3  SPDX-License-Identifier: GPL-2.0-or-later
4 */
5 
6 #pragma once
7 
8 #include "ui_polaralignwidget.h"
9 
10 #include "ekos/ekos.h"
11 
12 #include <QWidget>
13 #include <KLed>
14 
15 #include "polaralignmentassistant.h"
16 
17 namespace Ekos
18 {
19 
20 class PolarAlignWidget : public QWidget, public Ui::PolarAlignWidget
21 {
22  Q_OBJECT
23 
24  public:
25  enum PAState
26  {
27  CAPTURE1,
28  SOLVE1,
29  SLEW1,
30  CAPTURE2,
31  SOLVE2,
32  SLEW2,
33  CAPTURE3,
34  SOLVE3,
35  SETUP,
36  ADJUST
37  };
38 
39  PolarAlignWidget(QWidget * parent = nullptr);
40  void init();
41 
42  void update(PAState state);
43  void updatePAHStage(PolarAlignmentAssistant::PAHStage stage);
44 
45 
46  public slots:
47 
48  private:
49  void setPreviousGreen(PAState state);
50 
51 };
52 }
Q_OBJECTQ_OBJECT
Ekos is an advanced Astrophotography tool for Linux. It is based on a modular extensible framework to...
Definition: align.cpp:66
QCA_EXPORT void init()
void update()
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 19 2022 03:57:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.