Kstars

focusprogresswidget.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_focusprogresswidget.h"
11
12#include "ekos/ekos.h"
13#include "ekos/focus/focus.h"
14
15#include <QWidget>
16#include <QProgressIndicator.h>
17
19
20namespace Ekos
21{
22
23class FocusProgressWidget : public QWidget, public Ui::FocusProgressWidget
24{
26
27public:
28 FocusProgressWidget(QWidget * parent);
29 void init();
30 void updateFocusDetailView();
31 void reset();
32
33public slots:
34 void updateFocusStatus(FocusState status);
35 void updateFocusStarPixmap(QPixmap &starPixmap);
36 void updateCurrentHFR(double newHFR);
37
38private:
39 std::unique_ptr<QPixmap> focusStarPixmap;
40
41};
42
43}
The QProgressIndicator class lets an application display a progress indicator to show that a long tas...
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 Mon Nov 18 2024 12:16:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.