Kstars
cometsitem.cpp
34 bool hideLabel = !Options::showCometNames() || (SkyMapLite::Instance()->isSlewing() && Options::hideLabels());
void recreateList()
recreates the node tree (deletes old nodes and appends new ones according to m_cometsList)
Definition cometsitem.cpp:72
virtual void update() override
Determines the visibility of the object and its label and hides/updates them accordingly.
Definition cometsitem.cpp:24
CometsItem(const QList< SkyObject * > &cometsList, RootNode *rootNode=nullptr)
Constructor.
Definition cometsitem.cpp:18
A SkyNode derived class used for displaying PointNode with coordinates provided by SkyObject.
Definition pointsourcenode.h:27
A QSGClipNode derived class used as a container for holding pointers to nodes and for clipping.
Definition rootnode.h:60
This is an interface for implementing SkyItems that represent SkyComponent derived objects on the Sky...
Definition skyitem.h:30
Provides virtual functions for update of coordinates and nodes hiding.
Definition skynode.h:28
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
void appendChildNode(QSGNode *node)
QSGNode * firstChild() const const
QSGNode * nextSibling() const const
void removeChildNode(QSGNode *node)
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
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.