ConstellationArtComponent
#include <constellationartcomponent.h>
Public Attributes | |
QList< ConstellationsArt * > | m_ConstList |
Detailed Description
Represents the ConstellationsArt objects.
For each skyculture there is a separate table in skycultures.sqlite.
- Version
- 0.1
Definition at line 21 of file constellationartcomponent.h.
Constructor & Destructor Documentation
◆ ConstellationArtComponent()
|
explicit |
Constructor.
Definition at line 21 of file constellationartcomponent.cpp.
◆ ~ConstellationArtComponent()
|
override |
Destructor.
Definition at line 28 of file constellationartcomponent.cpp.
Member Function Documentation
◆ deleteData()
void ConstellationArtComponent::deleteData | ( | ) |
deletes all created ConstellationsArt objects.
Used in KStars Lite to reduce memory consumption if Constellation Art is switched off
Definition at line 33 of file constellationartcomponent.cpp.
◆ draw()
|
overridevirtual |
Draw the object on the SkyMap skyp
a pointer to the SkyPainter to use.
Implements SkyComponent.
Definition at line 105 of file constellationartcomponent.cpp.
◆ loadData()
void ConstellationArtComponent::loadData | ( | ) |
Read the skycultures.sqlite database file.
Parse all the data from the skycultures database.Construct a ConstellationsArt object from the data, and add it to a QList.
- Returns
- true if data file is successfully read.
Definition at line 39 of file constellationartcomponent.cpp.
◆ showList()
void ConstellationArtComponent::showList | ( | ) |
Shows the details of the constellations selected skyculture.
Definition at line 95 of file constellationartcomponent.cpp.
Member Data Documentation
◆ m_ConstList
QList<ConstellationsArt *> ConstellationArtComponent::m_ConstList |
Definition at line 49 of file constellationartcomponent.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:04 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.