Kstars
7#include "manualpulse.h"
17 emit newSinglePulse(DEC_INC_DIR, pulseDuration->value(), DontCaptureAfterPulses);
21 northPulseB->setEnabled(true);
27 emit newSinglePulse(DEC_DEC_DIR, pulseDuration->value(), DontCaptureAfterPulses);
31 southPulseB->setEnabled(true);
37 emit newSinglePulse(RA_INC_DIR, pulseDuration->value(), DontCaptureAfterPulses);
41 westPulseB->setEnabled(true);
47 emit newSinglePulse(RA_DEC_DIR, pulseDuration->value(), DontCaptureAfterPulses);
51 eastPulseB->setEnabled(true);
58void ManualPulse::reset()
67void ManualPulse::setMountCoords(
const SkyPoint &position)
69 if (m_LastCoord.ra().Degrees() < 0)
71 m_LastCoord = position;
75 auto raDiff = position.
ra().deltaAngle(m_LastCoord.ra()).Degrees() * 3600;
76 auto deDiff = position.
dec().deltaAngle(m_LastCoord.dec()).Degrees() * 3600;
79 raOffset->setStyleSheet(
"color:green");
81 raOffset->setStyleSheet(
"color:red");
84 deOffset->setStyleSheet(
"color:green");
86 deOffset->setStyleSheet(
"color:red");
The sky coordinates of a point in the sky.
const CachingDms & dec() const
const CachingDms & ra() const
Ekos is an advanced Astrophotography tool for Linux.
QString number(double n, char format, int precision)
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 3 2024 11:49:51 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.