Kstars
planetsitem.cpp
19 : SkyItem(LabelsItem::label_t::PLANET_LABEL, rootNode), m_planetComponents(planets) /*, m_moonsComponents(moons)*/
A base class that is used for displaying SkyComponents on SkyMapLite.
Definition: skyitem.h:29
A container for nodes that holds collection of textures for stars and provides clipping.
Definition: rootnode.h:59
bool selected() override
Definition: solarsystemsinglecomponent.cpp:53
KSPlanetBase * planet()
Return pointer to stored planet object.
Definition: solarsystemsinglecomponent.h:37
void appendChildNode(QSGNode *node)
QSGNode * firstChild() const const
A container for planets and moons that provides z-order.
Definition: planetmoonsnode.h:30
PlanetsItem(QList< SolarSystemSingleComponent * > planets, RootNode *rootNode=nullptr)
Constructor.
Definition: planetsitem.cpp:17
virtual void hide() override
hides this item and labels for all moons (currently only Jupiter moons.
Definition: planetsitem.cpp:70
virtual void update() override
If planet has any moons first updateMoons() is called then the planet is updated.
Definition: planetmoonsnode.cpp:31
SolarSystemSingleComponent * getParentComponent(SkyObject *planet)
returns SolarSystemSingleComponent that corresponds to the planet.
Definition: planetsitem.cpp:36
virtual void show() override
shows this item and labels for all moons (currently only Jupiter moons.
Definition: planetsitem.cpp:64
QSGNode * nextSibling() const const
Provides necessary information about objects in the solar system.
Definition: ksplanetbase.h:49
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Aug 15 2022 04:04:03 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Aug 15 2022 04:04:03 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.