Kstars
planetsitem.cpp
19 : SkyItem(LabelsItem::label_t::PLANET_LABEL, rootNode), m_planetComponents(planets) /*, m_moonsComponents(moons)*/
A subclass of TrailObject that provides additional information needed for most solar system objects.
Definition ksplanetbase.h:50
A SkyNode derived class used as a container for displaying a planet with its moons (if any).
Definition planetmoonsnode.h:31
virtual void update() override
If planet has any moons first updateMoons() is called then the planet is updated.
Definition planetmoonsnode.cpp:31
virtual void hide() override
hides this item and labels for all moons (currently only Jupiter moons.
Definition planetsitem.cpp:70
SolarSystemSingleComponent * getParentComponent(SkyObject *planet)
returns SolarSystemSingleComponent that corresponds to the planet.
Definition planetsitem.cpp:36
PlanetsItem(QList< SolarSystemSingleComponent * > planets, RootNode *rootNode=nullptr)
Constructor.
Definition planetsitem.cpp:17
virtual void show() override
shows this item and labels for all moons (currently only Jupiter moons.
Definition planetsitem.cpp:64
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 all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
This class encapsulates some methods which are shared between all single-object solar system componen...
Definition solarsystemsinglecomponent.h:29
KSPlanetBase * planet()
Return pointer to stored planet object.
Definition solarsystemsinglecomponent.h:37
bool selected() override
Definition solarsystemsinglecomponent.cpp:53
void appendChildNode(QSGNode *node)
QSGNode * firstChild() const const
QSGNode * nextSibling() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:53:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:53:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.