Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qdeclarativegeomapitemgroup_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 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
4#ifndef QDECLARATIVEGEOMAPITEMGROUP_P_H
5#define QDECLARATIVEGEOMAPITEMGROUP_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 <QtLocation/private/qlocationglobal_p.h>
19#include <QtLocation/private/qdeclarativegeomapitemtransitionmanager_p.h>
20#include <QtQuick/QQuickItem>
21
23
25class Q_LOCATION_PRIVATE_EXPORT QDeclarativeGeoMapItemGroup : public QQuickItem
26{
28 QML_NAMED_ELEMENT(MapItemGroup)
30
31public:
34
35 void setParentGroup(QDeclarativeGeoMapItemGroup &parentGroup);
36 void setQuickMap(QDeclarativeGeoMap *quickMap);
37 QDeclarativeGeoMap *quickMap() const;
38
39 qreal mapItemOpacity() const;
40
45
46protected:
47 // QQmlParserStatus interface
48 void classBegin() override;
49 void componentComplete() override;
50
51protected slots:
52 void onMapSizeChanged();
53
54private:
55 QDeclarativeGeoMap *m_quickMap = nullptr;
56 QDeclarativeGeoMapItemGroup *m_parentGroup = nullptr;
57 std::unique_ptr<QDeclarativeGeoMapItemTransitionManager> m_transitionManager;
58
61};
62
64
66
67#endif // QDECLARATIVEGEOMAPITEMGROUP_P_H
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition qquickitem.h:64
void classBegin() override
\reimp Derived classes should call the base class method before adding their own action to perform at...
void componentComplete() override
\reimp Derived classes should call the base class method before adding their own actions to perform a...
Combined button and popup list for selecting options.
#define QML_DECLARE_TYPE(TYPE)
Definition qqml.h:19
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define Q_OBJECT
#define slots
#define Q_SIGNALS
double qreal
Definition qtypes.h:92
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent