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.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_H
4#define QGEOTILEDMAP_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 <QObject>
18#include <QString>
19#include <QtLocation/private/qlocationglobal_p.h>
20#include <QtLocation/private/qgeomap_p.h>
21
23
24class QGeoTileSpec;
25struct QGeoTileTexture;
30
31class QQuickWindow;
32class QSGNode;
33
34class QPointF;
35
36class Q_LOCATION_EXPORT QGeoTiledMap : public QGeoMap
37{
39 Q_DECLARE_PRIVATE(QGeoTiledMap)
40public:
41 enum PrefetchStyle { NoPrefetching, PrefetchNeighbourLayer, PrefetchTwoNeighbourLayers };
43 virtual ~QGeoTiledMap();
44
45 QAbstractGeoTileCache *tileCache();
46 QGeoTileRequestManager *requestManager();
47 void updateTile(const QGeoTileSpec &spec);
48 void setPrefetchStyle(PrefetchStyle style);
49
50 void prefetchData() override;
51 void clearData() override;
52 Capabilities capabilities() const override;
53
54 void setCopyrightVisible(bool visible) override;
55
56public Q_SLOTS:
57 virtual void clearScene(int mapId);
58
59protected:
60 QSGNode *updateSceneGraph(QSGNode *, QQuickWindow *window) override;
61 virtual void evaluateCopyrights(const QSet<QGeoTileSpec> &visibleTiles);
62
64
65private Q_SLOTS:
66 void handleTileVersionChanged();
67
68private:
69 Q_DISABLE_COPY(QGeoTiledMap)
70
71};
72
74
75#endif // QGEOMAP_P_H
\inmodule QtCore
Definition qobject.h:103
\inmodule QtCore\reentrant
Definition qpoint.h:217
\qmltype Window \instantiates QQuickWindow \inqmlmodule QtQuick
\group qtquick-scenegraph-nodes \title Qt Quick Scene Graph Node classes
Definition qsgnode.h:37
Combined button and popup list for selecting options.
#define Q_OBJECT
#define Q_SLOTS
aWidget window() -> setWindowTitle("New Window Title")
[2]
QJSEngine engine
[0]