10#include "ui_mountmodel.h"
26class MountModel :
public QDialog,
public Ui::mountModel
31 explicit MountModel(Align *
parent);
43 void setTelescopeCoord(
const SkyPoint &newCoord)
45 telescopeCoord = newCoord;
48 bool isRunning()
const
56 void slotWizardAlignmentPoints();
57 void slotStarSelected(
const QString selectedStar);
58 void slotLoadAlignmentPoints();
59 void slotSaveAlignmentPoints();
60 void slotClearAllAlignPoints();
61 void slotRemoveAlignPoint();
62 void slotAddAlignPoint();
63 void slotFindAlignObject();
64 void resetAlignmentProcedure();
65 void startStopAlignmentProcedure();
66 void startAlignmentPoint();
67 void finishAlignmentPoint(
bool solverSucceeded);
68 void moveAlignPoint(
int logicalIndex,
int oldVisualIndex,
int newVisualIndex);
69 void alignTypeChanged(
int alignType);
70 void togglePreviewAlignPoints();
71 void slotSortAlignmentPoints();
76 void generateAlignStarList();
77 bool alignmentPointsAreBad();
78 bool loadAlignmentPoints(
const QString &fileURL);
79 bool saveAlignmentPoints(
const QString &path);
83 const SkyObject *getWizardAlignObject(
double ra,
double de);
84 void calculateAngleForRALine(
double &raIncrement,
double &initRA,
double initDEC,
double lat,
double raPoints,
86 void calculateAZPointsForDEC(
dms dec,
dms alt,
dms &AZEast,
dms &AZWest);
87 void updatePreviewAlignPoints();
88 int findNextAlignmentPointAfter(
int currentSpot);
89 int findClosestAlignmentPointToTelescope();
90 void swapAlignPoints(
int firstPt,
int secondPt);
99 void getFormattedCoords(
double ra,
double dec,
QString &ra_str,
QString &dec_str);
107 Align *m_AlignInstance {
nullptr};
108 int currentAlignmentPoint { 0 };
109 bool m_IsRunning {
false };
110 bool previewShowing {
false };
The QProgressIndicator class lets an application display a progress indicator to show that a long tas...
Provides all necessary information about an object in the sky: its coordinates, name(s),...
The sky coordinates of a point in the sky.
This is a subclass of SkyObject.
An angle, stored as degrees, but expressible in many ways.
Ekos is an advanced Astrophotography tool for Linux.
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.