Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qgeotiledmap_p_p.h
Go to the documentation of this file.
1
// Copyright (C) 2015 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
#
ifndef
QGEOTILEDMAP_P_P_H
5
#
define
QGEOTILEDMAP_P_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
<
QtCore
/
QPointer
>
19
20
#
include
<
QtLocation
/
private
/
qlocationglobal_p
.
h
>
21
#
include
<
QtLocation
/
private
/
qgeomap_p_p
.
h
>
22
#
include
<
QtLocation
/
private
/
qgeocameradata_p
.
h
>
23
#
include
<
QtLocation
/
private
/
qgeomaptype_p
.
h
>
24
25
#
include
<
QtPositioning
/
private
/
qdoublevector2d_p
.
h
>
26
27
QT_BEGIN_NAMESPACE
28
29
class
QGeoCameraTiles;
30
class
QGeoTiledMapScene;
31
class
QAbstractGeoTileCache;
32
class
QGeoTiledMappingManagerEngine;
33
class
QGeoTiledMap;
34
class
QGeoTileRequestManager;
35
class
QGeoTileSpec;
36
class
QSGNode;
37
class
QQuickWindow;
38
class
QGeoCameraCapabilities;
39
40
class
Q_LOCATION_EXPORT
QGeoTiledMapPrivate
:
public
QGeoMapPrivate
41
{
42
Q_DECLARE_PUBLIC(QGeoTiledMap)
43
public
:
44
QGeoTiledMapPrivate(QGeoTiledMappingManagerEngine *engine);
45
~QGeoTiledMapPrivate();
46
47
QSGNode *updateSceneGraph(QSGNode *node, QQuickWindow *window);
48
49
void
updateTile(
const
QGeoTileSpec &spec);
50
void
prefetchTiles();
51
QGeoMapType activeMapType()
const
;
52
void
onCameraCapabilitiesChanged(
const
QGeoCameraCapabilities &oldCameraCapabilities);
53
54
protected
:
55
void
changeViewportSize(
const
QSize& size) override;
56
void
changeCameraData(
const
QGeoCameraData &cameraData) override;
57
void
changeActiveMapType(
const
QGeoMapType &mapType) override;
58
void
changeTileVersion(
int
version);
59
void
clearScene();
60
61
void
updateScene();
62
63
void
setVisibleArea(
const
QRectF &visibleArea) override;
64
QRectF visibleArea()
const
override;
65
66
#
ifdef
QT_LOCATION_DEBUG
67
public
:
68
#
else
69
protected
:
70
#
endif
71
QAbstractGeoTileCache *m_cache;
72
QGeoCameraTiles *m_visibleTiles;
73
QGeoCameraTiles *m_prefetchTiles;
74
QGeoTiledMapScene *m_mapScene;
75
QGeoTileRequestManager *m_tileRequests;
76
QRectF m_visibleArea;
77
int
m_maxZoomLevel;
78
int
m_minZoomLevel;
79
QGeoTiledMap::PrefetchStyle m_prefetchStyle;
80
Q_DISABLE_COPY(QGeoTiledMapPrivate)
81
};
82
83
QT_END_NAMESPACE
84
85
#
endif
// QGEOTILEDMAP_P_P_H
QGeoTiledMapPrivate
Definition
qgeotiledmap_p_p.h:41
QGeoTiledMap
Definition
qgeotiledmap_p.h:38
QPointF
\inmodule QtCore\reentrant
Definition
qpoint.h:232
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
PREFETCH_FRUSTUM_SCALE
#define PREFETCH_FRUSTUM_SCALE
Definition
qgeotiledmap.cpp:18
QGeoTileTexture
Definition
qabstractgeotilecache_p.h:40
qtlocation
src
location
maps
qgeotiledmap_p_p.h
Generated on
for Qt by
1.18.0