kstars
skyobjitem.cpp
Go to the documentation of this file.
25 SkyObjItem::SkyObjItem(SkyObject *so) : m_Name(so->name()), m_LongName(so->longname()),m_TypeName(so->typeName()), m_So(so)
90 m_Position = i18n("Now visible: About %1 degrees above the %2 horizon", rounded_altitude, KSUtils::toDirectionString( sp.az() ) );
Definition: skyobjitem.h:42
Definition: skyobjitem.h:36
QString getTypeName() const
Get category of sky-object associated with the SkyObjItem as a QString.
Definition: skyobjitem.h:79
Definition: skyobject.h:111
Definition: skyobject.h:108
KStarsDateTime LTtoUT(const KStarsDateTime <) const
Definition: geolocation.h:234
Definition: skyobject.h:109
Definition: skyobjitem.h:42
int getType() const
Get category of sky-object associated with the SkyObjItem as an integer.
Definition: skyobjitem.h:85
Definition: skyobject.h:111
Definition: skyobjitem.h:42
Definition: skyobjitem.h:42
Definition: skyobjitem.h:42
Extension of KDateTime for KStars KStarsDateTime can represent the date/time as a Julian Day...
Definition: kstarsdatetime.h:45
void setPosition(SkyObject *so)
Set current position of the sky-object in the sky.
Definition: skyobjitem.cpp:80
Definition: skyobjitem.h:36
void EquatorialToHorizontal(const dms *LST, const dms *lat)
Determine the (Altitude, Azimuth) coordinates of the SkyPoint from its (RA, Dec) coordinates, given the local sidereal time and the observer's latitude.
Definition: skypoint.cpp:55
QString getLongName() const
Get longname of sky-object associated with the SkyObjItem.
Definition: skyobjitem.h:73
Provides all necessary information about a deep-sky object: data inherited from SkyObject (coordinate...
Definition: deepskyobject.h:43
QVariant data(int role)
Get data associated with a particular role for the SkyObjItem.
Definition: skyobjitem.cpp:56
QString getSurfaceBrightness() const
Get surface-brightness of sky-object associated with the SkyObjItem as a QString to be displayed on t...
Definition: skyobjitem.cpp:137
SkyPoint recomputeCoords(const KStarsDateTime &dt, const GeoLocation *geo=0)
The coordinates for the object on date dt are computed and returned, but the object's internal coordi...
Definition: skyobject.cpp:296
Definition: ksfilereader.h:65
Definition: skyobject.h:110
QString getSize() const
Get size of sky-object associated with the SkyObjItem as a QString to be displayed on the details-vie...
Definition: skyobjitem.cpp:159
Definition: skyobject.h:109
A subclass of TrailObject that provides additional information needed for most solar system objects...
Definition: ksplanetbase.h:63
QString toDirectionString(dms angle)
Return a string corresponding to an angle specifying direction.
QHash< int, QByteArray > roleNames() const
Create and return a QHash of rolenames for the SkyObjItem.
Definition: skyobjitem.cpp:71
Definition: skyobject.h:109
Definition: skyobject.h:108
Definition: skyobjitem.h:42
Definition: skyobject.h:108
Provides all necessary information about an object in the sky: its coordinates, name(s), type, magnitude, and QStringLists of URLs for images and webpages regarding the object.
Definition: skyobject.h:46
Definition: skyobject.h:108
Definition: skyobjitem.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.