Kstars

polaralignwidget.h
1/*
2 SPDX-FileCopyrightText: 2022 Hy Murveit <hy@murveit.com>
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
17namespace Ekos
18{
19
20class PolarAlignWidget : public QWidget, public Ui::PolarAlignWidget
21{
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::Stage stage);
44
45
46 public slots:
47
48 private:
49 void setPreviousGreen(PAState state);
50
51};
52}
Ekos is an advanced Astrophotography tool for Linux.
Definition align.cpp:83
Q_OBJECTQ_OBJECT
QObject * parent() const const
void update()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.