Kstars
constellationartcomponent.cpp
21ConstellationArtComponent::ConstellationArtComponent(SkyComposite *parent, CultureList *cultures) : SkyComponent(parent)
85 ConstellationsArt *ca = new ConstellationsArt(midpointra, midpointdec, pa, w, h, abbreviation, filename);
void showList()
Shows the details of the constellations selected skyculture.
Definition constellationartcomponent.cpp:95
void loadData()
Read the skycultures.sqlite database file.
Definition constellationartcomponent.cpp:39
void deleteData()
deletes all created ConstellationsArt objects.
Definition constellationartcomponent.cpp:33
ConstellationArtComponent(SkyComposite *, CultureList *cultures)
Constructor.
Definition constellationartcomponent.cpp:21
void draw(SkyPainter *skyp) override
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use.
Definition constellationartcomponent.cpp:105
SkyComposite is a kind of container class for SkyComponent objects.
Definition skycomposite.h:30
virtual bool drawConstellationArtImage(ConstellationsArt *obj)=0
Draw a ConstellationsArt object.
static dms fromString(const QString &s, bool deg)
Static function to create a DMS object from a QString.
Definition dms.cpp:429
void append(QList< T > &&value)
void clear()
bool isEmpty() const const
qsizetype size() const const
QSqlDatabase addDatabase(QSqlDriver *driver, const QString &connectionName)
void close()
bool open()
void setDatabaseName(const QString &name)
bool exec()
QSqlError lastError() const const
bool next()
QVariant value(const QString &name) const const
AppLocalDataLocation
double toDouble(bool *ok) const const
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.