Kstars

guidemanager.h
1 /*
2  SPDX-FileCopyrightText: 2012 Jasem Mutlaq <[email protected]>
3  SPDX-FileCopyrightText: 2021 Wolfgang Reissenberger <[email protected]>
4 
5  SPDX-License-Identifier: GPL-2.0-or-later
6 */
7 
8 #pragma once
9 
10 #include "ui_guidemanager.h"
11 
12 #include "ekos/ekos.h"
13 #include "ekos/guide/guide.h"
14 
15 #include <QWidget>
16 #include <QProgressIndicator.h>
17 
18 class QProgressIndicator;
19 
20 namespace Ekos
21 {
22 
23 class GuideManager : public QWidget, public Ui::GuideManager
24 {
25  Q_OBJECT
26 public:
27  GuideManager(QWidget *parent = nullptr);
28  void init(Guide *guideProcess);
29  void updateGuideDetailView();
30  void reset();
31 
32 public slots:
33  void updateGuideStatus(GuideState status);
34  void updateGuideStarPixmap(QPixmap &starPix);
35  void updateSigmas(double ra, double de);
36 
37 private:
38  QProgressIndicator *guidePI { nullptr };
39  GuideStateWidget *guideStateWidget { nullptr };
40  std::unique_ptr<QPixmap> guideStarPixmap;
41 
42 };
43 }
Q_OBJECTQ_OBJECT
Ekos is an advanced Astrophotography tool for Linux. It is based on a modular extensible framework to...
Definition: align.cpp:70
QCA_EXPORT void init()
The QProgressIndicator class lets an application display a progress indicator to show that a long tas...
KGuiItem reset()
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Aug 8 2022 04:13:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.