Kstars
satellitescomponent.cpp
51 m_groups.append(new SatelliteGroup(group_infos.at(0), group_infos.at(1), QUrl(group_infos.at(2))));
97 bool hideLabels = (!Options::showSatellitesLabels() || (SkyMap::Instance()->isSlewing() && Options::hideLabels()));
void append(const T &value)
Definition: ksfilereader.h:53
QString errorString() const const
Definition: skylabeler.h:98
QFuture< T > run(Function function,...)
WriteOnly
void update(KSNumbers *num) override
Update satellites position.
Definition: satellitescomponent.cpp:78
void setValue(int progress)
static void AddLabel(SkyObject *obj, label_t type)
static version of addLabel() below.
Definition: skylabeler.h:135
void drawTrails(SkyPainter *skyp) override
Draw trails for objects.
Definition: satellitescomponent.cpp:135
virtual bool open(QIODevice::OpenMode mode) override
Stores dms coordinates for a point in the sky. for converting between coordinate systems.
Definition: skypoint.h:44
QStringList split(const QString &sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs) const const
int count(const T &value) const const
bool open(const QString &fname)
opens the file fname from the QStandardPaths::AppLocalDataLocation directory and uses that file for t...
Definition: ksfilereader.cpp:31
WindowModal
QNetworkReply::NetworkError error() const const
QString trimmed() const const
void clear()
void setLabelText(const QString &text)
Definition: skycomposite.h:29
void setPen(const QPen &pen)
sets the pen used for drawing labels on the sky.
Definition: skylabeler.cpp:197
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QNetworkReply * get(const QNetworkRequest &request)
virtual void emitProgressText(const QString &message)
Emit signal about progress.
Definition: skycomponent.cpp:18
int size() const const
QString i18n(const char *text, const TYPE &arg...)
bool isEmpty() const const
Satellite * findSatellite(QString name)
Search a satellite by name.
Definition: satellitescomponent.cpp:196
bool isEmpty() const const
void setWindowModality(Qt::WindowModality windowModality)
void setWindowTitle(const QString &)
void readTLE()
Read TLE file of the group and create all satellites found in the file.
Definition: satellitegroup.cpp:25
const T & at(int i) const const
QString toLocalFile() const const
Definition: satellitegroup.h:20
virtual void close() override
QList< SatelliteGroup * > groups()
Definition: satellitescomponent.cpp:191
Definition: skycomponent.h:95
dms angularDistanceTo(const SkyPoint *sp, double *const positionAngle=nullptr) const
Computes the angular distance between two SkyObjects.
Definition: skypoint.cpp:899
void updateSatellitesPos()
Compute current position of the each satellites in the group.
Definition: satellitegroup.cpp:52
QString toLower() const const
void drawLabel(Satellite *sat, const QPointF &pos)
Draw label of a satellite.
Definition: satellitescomponent.cpp:128
bool drawNameLabel(SkyObject *obj, const QPointF &_p, const qreal padding_factor=1)
Tries to draw a label for an object.
Definition: skylabeler.cpp:161
wasCanceled
QString readLine()
increments the line number and returns the next line from the file as a QString.
Definition: ksfilereader.h:105
NoError
const QChar at(int position) const const
void clear()
QString i18nc(const char *context, const char *text, const TYPE &arg...)
SkyObject * objectNearest(SkyPoint *p, double &maxrad) override
Search the nearest satellite from point p.
Definition: satellitescomponent.cpp:211
QByteArray readAll()
bool contains(const Key &key) const const
SkyObject * findByName(const QString &name, bool exact=true) override
Return object given name.
Definition: satellitescomponent.cpp:246
Definition: satellite.h:22
qint64 write(const char *data, qint64 maxSize)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:00:57 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:00:57 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.