Kstars
constellationnamescomponent.cpp
21ConstellationNamesComponent::ConstellationNamesComponent(SkyComposite *parent, CultureList *cultures)
105 return Options::showCNames() && !(Options::hideOnSlew() && Options::hideCNames() && SkyMap::IsSlewing());
ConstellationNamesComponent(SkyComposite *parent, CultureList *cultures)
Constructor parent Pointer to the parent SkyComposite object.
Definition constellationnamescomponent.cpp:21
bool selected() override
Definition constellationnamescomponent.cpp:102
void update(KSNumbers *num) override
we need a custom routine (for now) so we don't precess the locations of the names.
Definition constellationnamescomponent.cpp:112
void draw(SkyPainter *skyp) override
Draw constellation names on the sky map.
Definition constellationnamescomponent.cpp:121
I totally rewrote this because the earlier scheme of reading all the lines of a file into a buffer be...
Definition ksfilereader.h:55
QString readLine()
increments the line number and returns the next line from the file as a QString.
Definition ksfilereader.h:106
bool open(const QString &fname)
opens the file fname from the QStandardPaths::AppLocalDataLocation directory and uses that file for t...
Definition ksfilereader.cpp:40
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition ksnumbers.h:43
An abstract parent class, to be inherited by SkyComponents that store a QList of SkyObjects.
Definition listcomponent.h:24
void appendListObject(SkyObject *object)
Add an object to the Object list.
Definition listcomponent.cpp:30
The Projector class is the primary class that serves as an interface to handle projections.
Definition projector.h:58
QPointF toScreen(const SkyPoint *o, bool oRefract=true, bool *onVisibleHemisphere=nullptr) const
This is exactly the same as toScreenVec but it returns a QPointF.
Definition projector.cpp:93
bool onScreen(const QPointF &p) const
Check whether the projected point is on-screen.
Definition projector.cpp:98
bool checkVisibility(const SkyPoint *p) const
Determine if the skypoint p is likely to be visible in the display window.
Definition projector.cpp:183
virtual void emitProgressText(const QString &message)
Emit signal about progress.
Definition skycomponent.cpp:18
SkyComposite is a kind of container class for SkyComponent objects.
Definition skycomposite.h:30
The purpose of this class is to prevent labels from overlapping.
Definition skylabeler.h:99
void resetFont()
sets the font in SkyLabeler and in psky back to the zoom dependent value that was set in reset().
Definition skylabeler.cpp:222
void setFont(const QFont &font)
tells the labeler the font you will be using so it can figure out the height and width of the labels.
Definition skylabeler.cpp:187
bool drawGuideLabel(QPointF &o, const QString &text, double angle)
Tries to draw the text at the position and angle specified.
Definition skylabeler.cpp:112
void setPen(const QPen &pen)
sets the pen used for drawing labels on the sky.
Definition skylabeler.cpp:197
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
void EquatorialToHorizontal(const CachingDms *LST, const CachingDms *lat)
Determine the (Altitude, Azimuth) coordinates of the SkyPoint from its (RA, Dec) coordinates,...
Definition skypoint.cpp:77
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
QString name(GameStandardAction id)
GeoCoordinates geo(const QVariant &location)
char * data()
void clear()
void setX(qreal x)
qreal x() const const
const QChar at(qsizetype position) const const
qsizetype length() const const
QString mid(qsizetype position, qsizetype n) const const
int toInt(bool *ok, int base) const const
QByteArray toLocal8Bit() const const
QString trimmed() const const
QFuture< T > run(Function function,...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.