Kstars
rootnode.cpp
54 // LabelsItem needs to be created first so that other items could insert their labels in labelsList
61 m_linesItem->addLinesComponent(m_skyComposite->equatorialCoordGrid(), "EquatorialGridColor", 1, Qt::DotLine);
62 m_linesItem->addLinesComponent(m_skyComposite->horizontalCoordGrid(), "HorizontalGridColor", 2, Qt::DotLine);
66 m_linesItem->addLinesComponent(m_skyComposite->constellationBoundary(), "CBoundColor", 1, Qt::SolidLine);
71 m_linesItem->addLinesComponent(m_skyComposite->constellationLines(), "CLineColor", 1, Qt::SolidLine);
81 m_planetsItem = new PlanetsItem(m_solarSystem->planets(), /* m_solarSystem->planetMoonsComponent(),*/ this);
85 m_constelNamesItem = new ConstellationNamesItem(m_skyComposite->constellationNamesComponent(), this);
106 m_linesItem->addLinesComponent( m_skyComposite->equatorialCoordGrid(), "EquatorialGridColor", 1, Qt::DotLine );
107 m_linesItem->addLinesComponent( m_skyComposite->horizontalCoordGrid(), "HorizontalGridColor", 2, Qt::DotLine );
109 m_linesItem->addLinesComponent( m_skyComposite->constellationBoundary(), "CBoundColor", 1, Qt::SolidLine );
110 m_linesItem->addLinesComponent( m_skyComposite->constellationLines(), "CLineColor", 1, Qt::SolidLine );
119 m_planetsItem = new PlanetsItem(m_solarSystem->planets(), m_solarSystem->planetMoonsComponent(), this);
123 m_constelNamesItem = new ConstellationNamesItem(m_skyComposite->constellationNamesComponent(), this);
This class handles constellation art in SkyMapLite.
Definition constellationartitem.h:23
This class represents ConstellationNamesComponent in SkyMapLite.
Definition constellationnamesitem.h:39
Handles representation of HorizonComponent in SkyMapLite (lines, filled polygon and compass labels).
Definition horizonitem.h:23
Class that handles lines (Constellation lines and boundaries and both coordinate grids) in SkyMapLite...
Definition linesitem.h:38
void update(bool clearTextures=false)
update positions of all child SkyItems
Definition rootnode.cpp:216
void genCachedTextures()
initializes textureCache with cached images of stars from SkyMapLite
Definition rootnode.cpp:165
void updateClipPoly()
triangulates and sets new clipping polygon provided by Projection system
Definition rootnode.cpp:190
QSGTexture * getCachedTexture(int size, char spType)
returns cached texture from textureCache
Definition rootnode.cpp:185
This class handles representation of satellites in SkyMapLite.
Definition satellitesitem.h:23
This class handles representation of telescope symbols in SkyMapLite.
Definition telescopesymbolsitem.h:28
iterator begin()
iterator end()
qsizetype length() const const
qsizetype size() const const
TextureCanUseAtlas
QSGTexture * createTextureFromImage(const QImage &image) const const
void setGeometry(QSGGeometry *geometry)
const AttributeSet & defaultAttributes_Point2D()
DirtyGeometry
OwnsGeometry
void markDirty(DirtyState bits)
void setFlag(Flag f, bool enabled)
DotLine
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:02 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:02 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.