Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QGeoMapMapboxGLPrivate Class Reference

#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>
 

Public Member Functions

 QGeoMapMapboxGLPrivate (QGeoMappingManagerEngineMapboxGL *engine)
 
 ~QGeoMapMapboxGLPrivate ()
 
QSGNodeupdateSceneGraph (QSGNode *oldNode, QQuickWindow *window)
 
QGeoMap::ItemTypes supportedMapItemTypes () const override
 
void addMapItem (QDeclarativeGeoMapItemBase *item) override
 
void removeMapItem (QDeclarativeGeoMapItemBase *item) override
 
 Q_DECLARE_FLAGS (SyncStates, SyncState)
 
- Public Member Functions inherited from QGeoMapPrivate
 QGeoMapPrivate (QGeoMappingManagerEngine *engine, QGeoProjection *geoProjection)
 
virtual ~QGeoMapPrivate ()
 
const QGeoProjectiongeoProjection () const
 
void setCameraCapabilities (const QGeoCameraCapabilities &cameraCapabilities)
 
const QGeoCameraCapabilitiescameraCapabilities () const
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
QObjectList receiverList (const char *signal) const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
virtual void writeToDebugStream (QDebug &) const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Public Attributes

QMapboxGLSettings m_settings
 
bool m_useFBO = true
 
bool m_developmentMode = false
 
QString m_mapItemsBefore
 
QTimer m_refresh
 
bool m_shouldRefresh = true
 
bool m_warned = false
 
bool m_threadedRendering = false
 
bool m_styleLoaded = false
 
SyncStates m_syncState = NoSync
 
QList< QSharedPointer< QMapboxGLStyleChange > > m_styleChanges
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint isQuickItem: 1
 
uint willBeWidget: 1
 
uint wasWidget: 1
 
uint receiveParentEvents: 1
 
uint unused: 20
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Protected Member Functions

void changeViewportSize (const QSize &size) override
 
void changeCameraData (const QGeoCameraData &oldCameraData) override
 
void changeActiveMapType (const QGeoMapType &mapType) override
 
void setVisibleArea (const QRectF &visibleArea) override
 
QRectF visibleArea () const override
 
- Protected Member Functions inherited from QGeoMapPrivate
virtual double mapWidth () const
 
virtual double mapHeight () const
 
virtual void setCopyrightVisible (bool visible)
 
virtual bool copyrightVisible () const
 
virtual double maximumCenterLatitudeAtZoom (const QGeoCameraData &cameraData) const
 
virtual double minimumCenterLatitudeAtZoom (const QGeoCameraData &cameraData) const
 
QRectF clampVisibleArea (const QRectF &visibleArea) const
 

Additional Inherited Members

- Static Public Member Functions inherited from QGeoMapPrivate
static const QGeoMapPrivateget (const QGeoMap &map)
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (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
 
QGeoProjectionm_geoProjection
 
QPointer< QGeoMappingManagerEnginem_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
 

Detailed Description

Definition at line 19 of file qgeomapmapboxgl_p.h.

Member Enumeration Documentation

◆ SyncState

Enumerator
NoSync 
ViewportSync 
CameraDataSync 
MapTypeSync 
VisibleAreaSync 

Definition at line 35 of file qgeomapmapboxgl_p.h.

Constructor & Destructor Documentation

◆ QGeoMapMapboxGLPrivate()

QGeoMapMapboxGLPrivate::QGeoMapMapboxGLPrivate ( QGeoMappingManagerEngineMapboxGL * engine)

Definition at line 47 of file qgeomapmapboxgl.cpp.

◆ ~QGeoMapMapboxGLPrivate()

QGeoMapMapboxGLPrivate::~QGeoMapMapboxGLPrivate ( )

Definition at line 52 of file qgeomapmapboxgl.cpp.

Member Function Documentation

◆ addMapItem()

◆ changeActiveMapType()

void QGeoMapMapboxGLPrivate::changeActiveMapType ( const QGeoMapType & mapType)
overrideprotectedvirtual

Implements QGeoMapPrivate.

Definition at line 249 of file qgeomapmapboxgl.cpp.

References emit, m_syncState, and MapTypeSync.

◆ changeCameraData()

void QGeoMapMapboxGLPrivate::changeCameraData ( const QGeoCameraData & oldCameraData)
overrideprotectedvirtual

Implements QGeoMapPrivate.

Definition at line 241 of file qgeomapmapboxgl.cpp.

References CameraDataSync, emit, and m_syncState.

◆ changeViewportSize()

void QGeoMapMapboxGLPrivate::changeViewportSize ( const QSize & size)
overrideprotectedvirtual

Implements QGeoMapPrivate.

Definition at line 233 of file qgeomapmapboxgl.cpp.

References emit, m_syncState, and ViewportSync.

◆ Q_DECLARE_FLAGS()

QGeoMapMapboxGLPrivate::Q_DECLARE_FLAGS ( SyncStates ,
SyncState  )

◆ removeMapItem()

void QGeoMapMapboxGLPrivate::removeMapItem ( QDeclarativeGeoMapItemBase * item)
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:

◆ setVisibleArea()

void QGeoMapMapboxGLPrivate::setVisibleArea ( const QRectF & visibleArea)
overrideprotectedvirtual

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:

◆ supportedMapItemTypes()

QGeoMap::ItemTypes QGeoMapMapboxGLPrivate::supportedMapItemTypes ( ) const
overridevirtual

◆ updateSceneGraph()

◆ visibleArea()

QRectF QGeoMapMapboxGLPrivate::visibleArea ( ) const
overrideprotectedvirtual

Reimplemented from QGeoMapPrivate.

Definition at line 271 of file qgeomapmapboxgl.cpp.

Referenced by setVisibleArea().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_developmentMode

bool QGeoMapMapboxGLPrivate::m_developmentMode = false

Definition at line 46 of file qgeomapmapboxgl_p.h.

Referenced by updateSceneGraph().

◆ m_mapItemsBefore

QString QGeoMapMapboxGLPrivate::m_mapItemsBefore

Definition at line 47 of file qgeomapmapboxgl_p.h.

Referenced by addMapItem().

◆ m_refresh

QTimer QGeoMapMapboxGLPrivate::m_refresh

Definition at line 49 of file qgeomapmapboxgl_p.h.

◆ m_settings

QMapboxGLSettings QGeoMapMapboxGLPrivate::m_settings

Definition at line 44 of file qgeomapmapboxgl_p.h.

Referenced by updateSceneGraph().

◆ m_shouldRefresh

bool QGeoMapMapboxGLPrivate::m_shouldRefresh = true

Definition at line 50 of file qgeomapmapboxgl_p.h.

◆ m_styleChanges

QList<QSharedPointer<QMapboxGLStyleChange> > QGeoMapMapboxGLPrivate::m_styleChanges

Definition at line 57 of file qgeomapmapboxgl_p.h.

Referenced by addMapItem(), and removeMapItem().

◆ m_styleLoaded

bool QGeoMapMapboxGLPrivate::m_styleLoaded = false

Definition at line 53 of file qgeomapmapboxgl_p.h.

Referenced by updateSceneGraph().

◆ m_syncState

SyncStates QGeoMapMapboxGLPrivate::m_syncState = NoSync

◆ m_threadedRendering

bool QGeoMapMapboxGLPrivate::m_threadedRendering = false

Definition at line 52 of file qgeomapmapboxgl_p.h.

◆ m_useFBO

bool QGeoMapMapboxGLPrivate::m_useFBO = true

Definition at line 45 of file qgeomapmapboxgl_p.h.

Referenced by updateSceneGraph().

◆ m_warned

bool QGeoMapMapboxGLPrivate::m_warned = false

Definition at line 51 of file qgeomapmapboxgl_p.h.


The documentation for this class was generated from the following files: