Marble
Tracking.cpp
24 connect(&m_lastKnownPosition, &Coordinate::longitudeChanged, this, &Tracking::setHasLastKnownPosition);
25 connect(&m_lastKnownPosition, &Coordinate::latitudeChanged, this, &Tracking::setHasLastKnownPosition);
79 connect(m_marbleQuickItem, SIGNAL(visibleLatLonAltBoxChanged()), this, SLOT(updatePositionMarker()));
115 Marble::GeoDataCoordinates const pos(position->longitude(), position->latitude(), 0.0, GeoDataCoordinates::Degree);
116 visible = visible && m_marbleQuickItem->map()->viewport()->screenCoordinates(pos.longitude(), pos.latitude(), x, y);
194 m_autoNavigation = new Marble::AutoNavigation(m_marbleQuickItem->model(), m_marbleQuickItem->map()->viewport(), this);
197 connect(m_autoNavigation, SIGNAL(centerOn(GeoDataCoordinates, bool)), m_marbleQuickItem, SLOT(centerOn(GeoDataCoordinates)));
199 connect(m_marbleQuickItem, SIGNAL(visibleLatLonAltBoxChanged()), m_autoNavigation, SLOT(inhibitAutoAdjustments()));
223 m_autoNavigation = new Marble::AutoNavigation(m_marbleQuickItem->model(), m_marbleQuickItem->map()->viewport(), this);
226 connect(m_autoNavigation, SIGNAL(centerOn(GeoDataCoordinates, bool)), m_marbleQuickItem, SLOT(centerOn(GeoDataCoordinates)));
228 connect(m_marbleQuickItem, SIGNAL(visibleLatLonAltBoxChanged()), m_autoNavigation, SLOT(inhibitAutoAdjustments()));
255 return m_marbleQuickItem ? m_marbleQuickItem->model()->positionTracking()->length(m_marbleQuickItem->model()->planetRadius()) : 0.0;
262 QString target = fileName.startsWith(QLatin1StringView("file://")) ? fileName.mid(7) : fileName;
271 QString target = fileName.startsWith(QLatin1StringView("file://")) ? fileName.mid(7) : fileName;
This file contains the headers for MarbleModel.
This file contains the headers for ViewportParams.
Represents a coordinate with the properties of a name and coordinates.
Definition Coordinate.h:19
Marble::GeoDataCoordinates coordinates() const
Change the altitude of the coordinate.
Definition Coordinate.cpp:61
VehicleSection::Type type(QStringView coachNumber, QStringView coachClassification)
QAction * zoomIn(const QObject *recvr, const char *slot, QObject *parent)
QAction * zoomOut(const QObject *recvr, const char *slot, QObject *parent)
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
None
height
void setVisible(bool)
width
void setX(qreal)
void setY(qreal)
QString mid(qsizetype position, qsizetype n) const const
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:08 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:52:08 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.