Kstars
focusdialog.cpp
45 QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
146 // Set RA and Dec to whatever epoch we have been given (may be J2000, JNow or something completely different)
164 Point->apparentCoord(static_cast<long double>(J2000), KStarsData::Instance()->updateNum()->julianDay());
166 Point->EquatorialToHorizontal(KStarsData::Instance()->lst(), KStarsData::Instance()->geo()->lat());
void activateAzAltPage() const
Show the Az/Alt page instead of the RA/Dec page.
Definition focusdialog.cpp:215
void checkLineEdits()
If text has been entered in both KLineEdits, enable the Ok button.
Definition focusdialog.cpp:98
void validatePoint()
Attempt to interpret the text in the KLineEdits as Ra and Dec values.
Definition focusdialog.cpp:113
static long double epochToJd(double epoch, EpochType type=JULIAN)
Takes in an epoch and returns a Julian Date.
Definition kstarsdatetime.cpp:256
static double stringToEpoch(const QString &eName, bool &ok)
Takes in a string and returns a Julian epoch.
Definition kstarsdatetime.cpp:288
SkyPoint * focus()
Retrieve the Focus point; the position on the sky at the center of the skymap.
Definition skymap.h:123
SkyObject * focusObject() const
Retrieve the object which is centered in the sky map.
Definition skymap.h:262
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
void clicked(bool checked)
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
virtual void accept()
void accepted()
virtual void reject()
void rejected()
QPushButton * button(StandardButton which) const const
QRect boundingRect(QChar ch) const const
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
int width() const const
bool isEmpty() const const
Tool
void setEnabled(bool)
QFontMetrics fontMetrics() const const
void setMinimumWidth(int minw)
void setFocus()
void setLayout(QLayout *layout)
void show()
void setWindowFlags(Qt::WindowFlags type)
void setWindowTitle(const QString &)
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
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.