Kstars

opsalign.h
1/*
2 SPDX-FileCopyrightText: 2017 Jasem Mutlaq <mutlaqja@ikarustech.com>
3 SPDX-FileCopyrightText: 2017 Robert Lancaster <rlancaste@gmail.com>
4
5 SPDX-License-Identifier: GPL-2.0-or-later
6*/
7
8#pragma once
9
10#include "ui_opsalign.h"
11#include "parameters.h"
12
13#include <QWidget>
14
15class KConfigDialog;
16
17namespace Ekos
18{
19class Align;
20
21class OpsAlign : public QWidget, public Ui::OpsAlign
22{
24
25 public:
26 explicit OpsAlign(Align *parent);
27 virtual ~OpsAlign() override = default;
28
29 typedef enum { ROTATOR_ANGLE = 0, POSITION_ANGLE = 1 } FlipPriority;
30 void setFlipPolicy(FlipPriority Priority);
31
32 public slots:
33 void reloadOptionsProfiles();
34
35 protected:
36
37 private slots:
38 void slotApply();
39
40 signals:
41 void settingsUpdated();
42 void needToLoadProfile(const QString &profile);
43
44 private:
46 KConfigDialog *m_ConfigDialog { nullptr };
47 Align *alignModule { nullptr };
48};
49}
Ekos is an advanced Astrophotography tool for Linux.
Definition align.cpp:79
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:49:21 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.