Kstars
trailobject.cpp
25TrailObject::TrailObject(int t, dms r, dms d, float m, const QString &n) : SkyObject(t, r, d, m, n)
29TrailObject::TrailObject(int t, double r, double d, float m, const QString &n) : SkyObject(t, r, d, m, n)
void createPlanetMenu(SkyObject *p)
Create a popup menu for a solar system body.
Definition kspopupmenu.cpp:248
QPointF toScreen(const SkyPoint *o, bool oRefract=true, bool *onVisibleHemisphere=nullptr) const
This is exactly the same as toScreenVec but it returns a QPointF.
Definition projector.cpp:93
The purpose of this class is to prevent labels from overlapping.
Definition skylabeler.h:99
bool drawGuideLabel(QPointF &o, const QString &text, double angle)
Tries to draw the text at the position and angle specified.
Definition skylabeler.cpp:112
void setPen(const QPen &pen)
sets the pen used for drawing labels on the sky.
Definition skylabeler.cpp:197
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
virtual void drawSkyLine(SkyPoint *a, SkyPoint *b)=0
Draw a line between points in the sky.
TrailObject(int t=TYPE_UNKNOWN, dms r=dms(0.0), dms d=dms(0.0), float m=0.0, const QString &n=QString())
Constructor.
Definition trailobject.cpp:25
void addToTrail(const QString &label=QString())
adds a point to the planet's trail
Definition trailobject.cpp:60
static void clearTrailsExcept(SkyObject *o)
Remove trail for all objects but one which is passed as parameter.
Definition trailobject.cpp:86
void initPopupMenu(KSPopupMenu *pmenu) override
Initialize the popup menut.
Definition trailobject.cpp:51
static QSet< TrailObject * > trailObjects
Store list of objects with trails.
Definition trailobject.h:74
void updateTrail(dms *LST, const dms *lat)
update Horizontal coords of the trail
Definition trailobject.cpp:45
void setAlphaF(float alpha)
void append(QList< T > &&value)
void clear()
void removeFirst()
qsizetype size() const const
iterator insert(const T &value)
bool remove(const T &value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:09:53 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:09:53 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.