![]() |
Qt 6.x
The Qt SDK
|
#include <qgeomapmapboxgl_p.h>
Inheritance diagram for QGeoMapMapboxGLPrivate:
Collaboration diagram for QGeoMapMapboxGLPrivate:Public Types | |
| enum | SyncState : int { NoSync = 0 , ViewportSync = 1 << 0 , CameraDataSync = 1 << 1 , MapTypeSync = 1 << 2 , VisibleAreaSync = 1 << 3 } |
Public Types inherited from QObjectPrivate | |
| typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
| using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Additional Inherited Members | |
Static Public Member Functions inherited from QGeoMapPrivate | |
| static const QGeoMapPrivate * | get (const QGeoMap &map) |
Static Public Member Functions inherited from QObjectPrivate | |
| static bool | removeConnection (Connection *c) |
| static QObjectPrivate * | get (QObject *o) |
| static const QObjectPrivate * | get (const QObject *o) |
| template<typename Func1 , typename Func2 > | |
| static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
| template<typename Func1 , typename Func2 > | |
| static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
| static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
| static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Protected Attributes inherited from QGeoMapPrivate | |
| QSize | m_viewportSize |
| QGeoProjection * | m_geoProjection |
| QPointer< QGeoMappingManagerEngine > | m_engine |
| QGeoCameraData | m_cameraData |
| QGeoMapType | m_activeMapType |
| QList< QDeclarativeGeoMapItemBase * > | m_mapItems |
| QGeoCameraCapabilities | m_cameraCapabilities |
| bool | m_copyrightVisible = true |
| double | m_maximumViewportLatitude = 0 |
| double | m_minimumViewportLatitude = 0 |
Definition at line 19 of file qgeomapmapboxgl_p.h.
| enum QGeoMapMapboxGLPrivate::SyncState : int |
| Enumerator | |
|---|---|
| NoSync | |
| ViewportSync | |
| CameraDataSync | |
| MapTypeSync | |
| VisibleAreaSync | |
Definition at line 35 of file qgeomapmapboxgl_p.h.
| QGeoMapMapboxGLPrivate::QGeoMapMapboxGLPrivate | ( | QGeoMappingManagerEngineMapboxGL * | engine | ) |
Definition at line 47 of file qgeomapmapboxgl.cpp.
| QGeoMapMapboxGLPrivate::~QGeoMapMapboxGLPrivate | ( | ) |
Definition at line 52 of file qgeomapmapboxgl.cpp.
|
overridevirtual |
Reimplemented from QGeoMapPrivate.
Definition at line 148 of file qgeomapmapboxgl.cpp.
References QMapboxGLStyleChange::addMapItem(), QDeclarativeCircleMapItem::border, QDeclarativePolygonMapItem::border, QDeclarativeRectangleMapItem::border, QDeclarativeRectangleMapItem::bottomRightChanged(), QDeclarativeCircleMapItem::centerChanged(), QDeclarativeCircleMapItem::colorChanged(), QDeclarativePolygonMapItem::colorChanged(), QDeclarativeMapLineProperties::colorChanged(), QDeclarativeRectangleMapItem::colorChanged(), QObject::connect(), QGeoMap::CustomMapItem, emit, item, QDeclarativePolylineMapItem::line, m_mapItemsBefore, m_styleChanges, QGeoMap::MapCircle, QDeclarativeGeoMapItemBase::mapItemOpacityChanged(), QGeoMap::MapPolygon, QGeoMap::MapPolyline, QGeoMap::MapQuickItem, QGeoMap::MapRectangle, QGeoMap::NoItem, QDeclarativePolygonMapItem::pathChanged(), QDeclarativePolylineMapItem::pathChanged(), QDeclarativeCircleMapItem::radiusChanged(), QDeclarativeRectangleMapItem::topLeftChanged(), QQuickItem::visibleChanged(), and QDeclarativeMapLineProperties::widthChanged().
Here is the call graph for this function:
|
overrideprotectedvirtual |
Implements QGeoMapPrivate.
Definition at line 249 of file qgeomapmapboxgl.cpp.
References emit, m_syncState, and MapTypeSync.
|
overrideprotectedvirtual |
Implements QGeoMapPrivate.
Definition at line 241 of file qgeomapmapboxgl.cpp.
References CameraDataSync, emit, and m_syncState.
Implements QGeoMapPrivate.
Definition at line 233 of file qgeomapmapboxgl.cpp.
References emit, m_syncState, and ViewportSync.
| QGeoMapMapboxGLPrivate::Q_DECLARE_FLAGS | ( | SyncStates | , |
| SyncState | |||
| ) |
|
overridevirtual |
Reimplemented from QGeoMapPrivate.
Definition at line 203 of file qgeomapmapboxgl.cpp.
References QGeoMap::CustomMapItem, emit, item, line, m_styleChanges, QGeoMap::MapCircle, QGeoMap::MapPolygon, QGeoMap::MapPolyline, QGeoMap::MapQuickItem, QGeoMap::MapRectangle, QGeoMap::NoItem, and QMapboxGLStyleChange::removeMapItem().
Here is the call graph for this function:Reimplemented from QGeoMapPrivate.
Definition at line 257 of file qgeomapmapboxgl.cpp.
References QGeoMapPrivate::clampVisibleArea(), emit, QGeoMapPrivate::m_geoProjection, m_syncState, QGeoProjection::setVisibleArea(), visibleArea(), and VisibleAreaSync.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QGeoMapPrivate.
Definition at line 143 of file qgeomapmapboxgl.cpp.
References QGeoMap::MapCircle, QGeoMap::MapPolygon, QGeoMap::MapPolyline, and QGeoMap::MapRectangle.
| QSGNode * QGeoMapMapboxGLPrivate::updateSceneGraph | ( | QSGNode * | oldNode, |
| QQuickWindow * | window | ||
| ) |
Definition at line 56 of file qgeomapmapboxgl.cpp.
References QSGContext::backend(), QGeoCameraData::bearing(), CameraDataSync, QGeoCameraData::center(), QObject::connect(), QOpenGLContext::currentContext(), QRectF::height(), QSize::height(), QRectF::isEmpty(), QSize::isEmpty(), QGeoCoordinate::latitude, QGeoCoordinate::longitude, QGeoMapPrivate::m_activeMapType, QGeoMapPrivate::m_cameraData, m_developmentMode, m_settings, m_styleLoaded, m_syncState, m_useFBO, QGeoMapPrivate::m_viewportSize, map, QSGMapboxGLTextureNode::map(), QSGMapboxGLRenderNode::map(), MapTypeSync, MBGL_TILE_SIZE, QGeoMapType::name, NoSync, qWarning, render(), resize(), QString::startsWith(), QGeoCameraData::tilt(), ViewportSync, VisibleAreaSync, QRectF::width(), QSize::width(), window(), QRectF::x(), QRectF::y(), and QGeoCameraData::zoomLevel().
Here is the call graph for this function:
|
overrideprotectedvirtual |
Reimplemented from QGeoMapPrivate.
Definition at line 271 of file qgeomapmapboxgl.cpp.
Referenced by setVisibleArea().
Here is the caller graph for this function:| bool QGeoMapMapboxGLPrivate::m_developmentMode = false |
Definition at line 46 of file qgeomapmapboxgl_p.h.
Referenced by updateSceneGraph().
| QString QGeoMapMapboxGLPrivate::m_mapItemsBefore |
Definition at line 47 of file qgeomapmapboxgl_p.h.
Referenced by addMapItem().
| QTimer QGeoMapMapboxGLPrivate::m_refresh |
Definition at line 49 of file qgeomapmapboxgl_p.h.
| QMapboxGLSettings QGeoMapMapboxGLPrivate::m_settings |
Definition at line 44 of file qgeomapmapboxgl_p.h.
Referenced by updateSceneGraph().
| bool QGeoMapMapboxGLPrivate::m_shouldRefresh = true |
Definition at line 50 of file qgeomapmapboxgl_p.h.
| QList<QSharedPointer<QMapboxGLStyleChange> > QGeoMapMapboxGLPrivate::m_styleChanges |
Definition at line 57 of file qgeomapmapboxgl_p.h.
Referenced by addMapItem(), and removeMapItem().
| bool QGeoMapMapboxGLPrivate::m_styleLoaded = false |
Definition at line 53 of file qgeomapmapboxgl_p.h.
Referenced by updateSceneGraph().
| SyncStates QGeoMapMapboxGLPrivate::m_syncState = NoSync |
Definition at line 55 of file qgeomapmapboxgl_p.h.
Referenced by changeActiveMapType(), changeCameraData(), changeViewportSize(), setVisibleArea(), and updateSceneGraph().
| bool QGeoMapMapboxGLPrivate::m_threadedRendering = false |
Definition at line 52 of file qgeomapmapboxgl_p.h.
| bool QGeoMapMapboxGLPrivate::m_useFBO = true |
Definition at line 45 of file qgeomapmapboxgl_p.h.
Referenced by updateSceneGraph().
| bool QGeoMapMapboxGLPrivate::m_warned = false |
Definition at line 51 of file qgeomapmapboxgl_p.h.