7#include "manualpulse.h"
17 emit newSinglePulse(DEC_INC_DIR, pulseDuration->value(), DontCaptureAfterPulses);
18 northPulseB->setEnabled(
false);
21 northPulseB->setEnabled(true);
27 emit newSinglePulse(DEC_DEC_DIR, pulseDuration->value(), DontCaptureAfterPulses);
28 southPulseB->setEnabled(
false);
31 southPulseB->setEnabled(true);
37 emit newSinglePulse(RA_INC_DIR, pulseDuration->value(), DontCaptureAfterPulses);
38 westPulseB->setEnabled(
false);
41 westPulseB->setEnabled(true);
47 emit newSinglePulse(RA_DEC_DIR, pulseDuration->value(), DontCaptureAfterPulses);
48 eastPulseB->setEnabled(
false);
51 eastPulseB->setEnabled(true);
58void ManualPulse::reset()
61 raOffset->setText(
"0");
62 raOffset->setStyleSheet(
QString());
63 deOffset->setText(
"0");
64 deOffset->setStyleSheet(
QString());
67void ManualPulse::setMountCoords(
const SkyPoint &position)
69 if (m_LastCoord.ra().Degrees() < 0)
71 m_LastCoord = position;
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
const dms deltaAngle(dms angle) const
deltaAngle Return the shortest difference (path) between this angle and the supplied angle.
const double & Degrees() 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 Mon Nov 4 2024 16:38:43 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.