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
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#ifndef QGEOTILEDMAP_P_P_H
4#define QGEOTILEDMAP_P_P_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
17#include <QtCore/QPointer>
18
19#include <QtLocation/private/qlocationglobal_p.h>
20#include <QtLocation/private/qgeomap_p_p.h>
21#include <QtLocation/private/qgeocameradata_p.h>
22#include <QtLocation/private/qgeomaptype_p.h>
23
24#include <QtPositioning/private/qdoublevector2d_p.h>
25
27
28class QGeoCameraTiles;
32class QGeoTiledMap;
34class QGeoTileSpec;
35class QSGNode;
36class QQuickWindow;
38
39class Q_LOCATION_EXPORT QGeoTiledMapPrivate : public QGeoMapPrivate
40{
41 Q_DECLARE_PUBLIC(QGeoTiledMap)
42public:
45
46 QSGNode *updateSceneGraph(QSGNode *node, QQuickWindow *window);
47
48 void updateTile(const QGeoTileSpec &spec);
49 void prefetchTiles();
50 QGeoMapType activeMapType() const;
51 void onCameraCapabilitiesChanged(const QGeoCameraCapabilities &oldCameraCapabilities);
52
53protected:
54 void changeViewportSize(const QSize& size) override;
55 void changeCameraData(const QGeoCameraData &cameraData) override;
56 void changeActiveMapType(const QGeoMapType &mapType) override;
57 void changeTileVersion(int version);
58 void clearScene();
59
60 void updateScene();
61
62 void setVisibleArea(const QRectF &visibleArea) override;
63 QRectF visibleArea() const override;
64
65#ifdef QT_LOCATION_DEBUG
66public:
67#else
68protected:
69#endif
79 Q_DISABLE_COPY(QGeoTiledMapPrivate)
80};
81
83
84#endif // QGEOTILEDMAP_P_P_H
QGeoCameraTiles * m_visibleTiles
QGeoCameraTiles * m_prefetchTiles
QGeoTiledMap::PrefetchStyle m_prefetchStyle
QGeoTileRequestManager * m_tileRequests
QAbstractGeoTileCache * m_cache
QGeoTiledMapScene * m_mapScene
\qmltype Window \instantiates QQuickWindow \inqmlmodule QtQuick
\inmodule QtCore\reentrant
Definition qrect.h:484
\group qtquick-scenegraph-nodes \title Qt Quick Scene Graph Node classes
Definition qsgnode.h:37
\inmodule QtCore
Definition qsize.h:25
Combined button and popup list for selecting options.
GLenum GLuint GLintptr GLsizeiptr size
[1]
aWidget window() -> setWindowTitle("New Window Title")
[2]
QJSEngine engine
[0]