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
qgeotiledmapscene_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
QGEOTILEDMAPSCENE_P_H
5
#
define
QGEOTILEDMAPSCENE_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
<
QObject
>
19
#
include
<
QtLocation
/
private
/
qlocationglobal_p
.
h
>
20
21
QT_BEGIN_NAMESPACE
22
23
class
QGeoCameraData;
24
class
QGeoTileSpec;
25
class
QDoubleVector2D;
26
struct
QGeoTileTexture
;
27
class
QSGNode;
28
class
QQuickWindow;
29
class
QGeoTiledMapScenePrivate;
30
31
class
Q_LOCATION_EXPORT
QGeoTiledMapScene
:
public
QObject
32
{
33
Q_OBJECT
34
Q_DECLARE_PRIVATE(QGeoTiledMapScene)
35
public
:
36
explicit
QGeoTiledMapScene(QObject *parent =
nullptr
);
37
virtual
~QGeoTiledMapScene();
38
39
void
setScreenSize(
const
QSize &size);
40
void
setTileSize(
int
tileSize);
41
void
setCameraData(
const
QGeoCameraData &cameraData);
42
void
setVisibleArea(
const
QRectF &visibleArea);
43
44
void
setVisibleTiles(
const
QSet<QGeoTileSpec> &tiles);
45
const
QSet<QGeoTileSpec> &visibleTiles()
const
;
46
47
void
addTile(
const
QGeoTileSpec &spec, QSharedPointer<QGeoTileTexture> texture);
48
49
QSGNode *updateSceneGraph(QSGNode *oldNode, QQuickWindow *window);
50
51
QSet<QGeoTileSpec> texturedTiles();
52
53
void
clearTexturedTiles();
54
55
Q_SIGNALS:
56
void
newTilesVisible(
const
QSet<QGeoTileSpec> &newTiles);
57
58
private
:
59
void
updateSceneParameters();
60
61
Q_DISABLE_COPY(QGeoTiledMapScene)
62
};
63
64
QT_END_NAMESPACE
65
66
#
endif
// QGEOTILEDMAPSCENE_P_H
QGeoTileRequestManagerPrivate
Definition
qgeotilerequestmanager.cpp:18
QGeoTileRequestManager
Definition
qgeotilerequestmanager_p.h:31
QGeoTiledMapPrivate
Definition
qgeotiledmap_p_p.h:41
QGeoTiledMapScene
Definition
qgeotiledmapscene_p.h:32
QGeoTiledMap
Definition
qgeotiledmap_p.h:38
QGeoTiledMappingManagerEnginePrivate
Definition
qgeotiledmappingmanagerengine_p_p.h:33
QGeoTiledMappingManagerEngine
Definition
qgeotiledmappingmanagerengine_p.h:35
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
qgeotiledmapscene_p.h
Generated on
for Qt by
1.18.0