4#ifndef QDECLARATIVEGEOMAPITEMBASE_H
5#define QDECLARATIVEGEOMAPITEMBASE_H
18#include <QtLocation/private/qlocationglobal_p.h>
20#include <QtQuick/QQuickItem>
21#include <QtPositioning/QGeoShape>
23#include <QtLocation/qlocation.h>
24#include <QtLocation/private/qdeclarativegeomap_p.h>
25#include <QtLocation/private/qlocationglobal_p.h>
26#include <QtLocation/private/qgeomap_p.h>
27#include <QtLocation/private/qdeclarativegeomapitemtransitionmanager_p.h>
28#include <QScopedPointer>
29#include <QtQuickShapes/private/qquickshape_p.h>
38 bool zoomLevelChanged =
false;
39 bool centerChanged =
false;
40 bool mapSizeChanged =
false;
41 bool tiltChanged =
false;
42 bool bearingChanged =
false;
43 bool rollChanged =
false;
51 QML_UNCREATABLE(
"GeoMapItemBase is not intended instantiable by developer.")
55 Q_PROPERTY(
bool autoFadeIn READ autoFadeIn WRITE setAutoFadeIn REVISION(5, 14))
57 Q_PROPERTY(
int lodThreshold READ lodThreshold WRITE setLodThreshold NOTIFY lodThresholdChanged REVISION(5, 15))
72 bool autoFadeIn()
const;
73 void setAutoFadeIn(
bool fadeIn);
78 int lodThreshold()
const;
79 void setLodThreshold(
int lt);
80 unsigned int zoomForLOD(
int zoom)
const;
86 qreal mapItemOpacity()
const;
90 template <
typename T = QObject>
96 for (
const auto &quickKid : quickKids)
98 for (
auto *kid : std::as_const(kids)) {
99 if (
auto *
val = qobject_cast<T*>(kid))
111 void referenceSurfaceChanged();
112 void lodThresholdChanged();
115 virtual
void afterChildrenChanged();
117 void polishAndUpdate();
120 float zoomLevelOpacity() const;
121 bool isPolishScheduled() const;
127 void visibleAreaChanged();
139 bool m_autoFadeIn = true;
141 int m_lodThreshold = 0;
164 path.addPath(m_path);
QList< T * > quickChildren() const
QGeoMap::ItemType itemType() const
virtual const QGeoShape & geoShape() const =0
Q_REVISION(12) void addTransitionFinished()
void mapItemOpacityChanged()
virtual void setGeoShape(const QGeoShape &shape)=0
QDeclarativeGeoMap * quickMap() const
void setPath(const QPainterPath &path)
QPainterPath path() const
void addToPath(QPainterPath &path, const QQuickPathData &) override
QDeclarativeGeoMapPainterPath(QObject *parent=nullptr)
void append(parameter_type t)
\inmodule QtCore\reentrant
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
\group qtquick-scenegraph-nodes \title Qt Quick Scene Graph Node classes
QMap< QString, QString > map
[6]
\inmodule QtLocation \keyword QLocation Namespace
Combined button and popup list for selecting options.
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage void
GLenum GLuint GLintptr offset
GLsizei const GLchar *const * path
#define QML_UNCREATABLE(REASON)
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
QGeoCameraData cameraData
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent