Kstars
focusdialog.cpp
45 QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
145 // Set RA and Dec to whatever epoch we have been given (may be J2000, JNow or something completely different)
163 Point->apparentCoord(static_cast<long double>(J2000), KStarsData::Instance()->updateNum()->julianDay());
165 Point->EquatorialToHorizontal(KStarsData::Instance()->lst(), KStarsData::Instance()->geo()->lat());
virtual void reject()
Stores dms coordinates for a point in the sky. for converting between coordinate systems.
Definition: skypoint.h:44
void clicked(bool checked)
void validatePoint()
Attempt to interpret the text in the KLineEdits as Ra and Dec values.
Definition: focusdialog.cpp:113
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
void activateAzAltPage() const
Show the Az/Alt page instead of the RA/Dec page.
Definition: focusdialog.cpp:209
Tool
void rejected()
QString i18n(const char *text, const TYPE &arg...)
void setWindowFlags(Qt::WindowFlags type)
SkyPoint * focus()
Retrieve the Focus point; the position on the sky at the center of the skymap.
Definition: skymap.h:122
static double stringToEpoch(const QString &eName, bool &ok)
Takes in a string and returns a Julian epoch.
Definition: kstarsdatetime.cpp:288
bool isEmpty() const const
void setWindowTitle(const QString &)
virtual void accept()
static long double epochToJd(double epoch, EpochType type=JULIAN)
Takes in an epoch and returns a Julian Date.
Definition: kstarsdatetime.cpp:256
This is the main window for KStars. In addition to the GUI elements, the class contains the program c...
Definition: kstars.h:92
void setEnabled(bool)
SkyObject * focusObject() const
Retrieve the object which is centered in the sky map.
Definition: skymap.h:261
QPushButton * button(QDialogButtonBox::StandardButton which) const const
QString i18nc(const char *context, const char *text, const TYPE &arg...)
void setLayout(QLayout *layout)
void checkLineEdits()
If text has been entered in both KLineEdits, enable the Ok button.
Definition: focusdialog.cpp:98
QString message
void accepted()
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Aug 11 2022 03:59:59 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Aug 11 2022 03:59:59 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.