Go to the documentation of this file.
6 #include <QSvgRenderer>
8 #include <QXmlStreamReader>
61 explicit QeRaDec(QWidget *parent =
nullptr);
113 double m_currentRa = 0.0;
114 double m_currentDec = 0.0;
115 double m_targetRa = 0.0;
116 double m_targetDec = 0.0;
117 double m_windDirection = 0.0;
118 double m_telescopeLat = 0.0;
119 double m_telescopeLong = 0.0;
121 QString m_originalXml;
122 double m_ratio = 0.0;
123 const QString c_skyDayImagePath =
":/sky_day.svg";
126 QColor calculateColor();
double getTelescopeLat()
Definition: QeRaDec.hpp:66
double getTelescopeLong()
Definition: QeRaDec.hpp:67
void setTargetRa(double newValue)
Definition: QeRaDec.hpp:103
void paintEvent(QPaintEvent *event)
Definition: QeRaDec.cpp:29
double targetDec
Declination coordinate of the target position in radians.
Definition: QeRaDec.hpp:46
void setCurrentRa(double newValue)
Definition: QeRaDec.hpp:101
void resizeEvent(QResizeEvent *event)
Definition: QeRaDec.cpp:85
double getCurrentDec()
Definition: QeRaDec.hpp:63
double getTargetDec()
Definition: QeRaDec.hpp:65
double currentRa
Right Ascension coordinate of the current position in radians.
Definition: QeRaDec.hpp:28
double getTargetRa()
Definition: QeRaDec.hpp:64
void currentDecChanged(double newValue)
Indicates a change in the declination coordinate for the current position.
QeRaDec(QWidget *parent=nullptr)
Definition: QeRaDec.cpp:8
double telescopeLong
Longitude coordinate of the telescope @accessors getTelescopeLong(), setTelescopeLong(double)
Definition: QeRaDec.hpp:58
double targetRa
Right Ascension coordinate of the target position in radians.
Definition: QeRaDec.hpp:40
void targetDecChanged(double newValue)
Indicates a change in the declination coordinate for the target position.
void setTelescopeLong(double newValue)
Definition: QeRaDec.hpp:106
void setTargetDec(double newValue)
Definition: QeRaDec.hpp:104
double getCurrentRa()
Definition: QeRaDec.hpp:62
void telescopeLongChanged(double newValue)
Indicates a change in the telescope longitude coordinate.
double telescopeLat
Latitude coordinate of the telescope @accessors getTelescopeLat(), setTelescopeLat(double)
Definition: QeRaDec.hpp:52
void setTelescopeLat(double newValue)
Definition: QeRaDec.hpp:105
void setCurrentDec(double newValue)
Definition: QeRaDec.hpp:102
A widget that renders two set of RA/Dec coordinates using cylindrical projection.
Definition: QeRaDec.hpp:21
void targetRaChanged(double newValue)
Indicates a change in the right ascension coordinate for the target position.
double currentDec
Declination coordinate of the current position in radians.
Definition: QeRaDec.hpp:34
void telescopeLatChanged(double newValue)
Indicates a change in the telescope latitude coordinate.
void currentRaChanged(double newValue)
Indicates a change in the right ascension coordinate for the current position.