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
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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QDECLARATIVEGEOMAPITEMGROUP_P_H
6
#
define
QDECLARATIVEGEOMAPITEMGROUP_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtLocation
/
private
/
qlocationglobal_p
.
h
>
20
#
include
<
QtLocation
/
private
/
qdeclarativegeomapitemtransitionmanager_p
.
h
>
21
#
include
<
QtQuick
/
QQuickItem
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QDeclarativeGeoMap;
26
class
Q_LOCATION_EXPORT
QDeclarativeGeoMapItemGroup
:
public
QQuickItem
27
{
28
Q_OBJECT
29
QML_NAMED_ELEMENT(MapItemGroup)
30
QML_ADDED_IN_VERSION(5, 0)
31
32
public
:
33
explicit
QDeclarativeGeoMapItemGroup(QQuickItem *parent =
nullptr
);
34
virtual
~QDeclarativeGeoMapItemGroup();
35
36
void
setParentGroup(QDeclarativeGeoMapItemGroup &parentGroup);
37
void
setQuickMap(QDeclarativeGeoMap *quickMap);
38
QDeclarativeGeoMap *quickMap()
const
;
39
40
qreal mapItemOpacity()
const
;
41
42
Q_SIGNALS:
43
void
mapItemOpacityChanged();
44
void
addTransitionFinished();
45
void
removeTransitionFinished();
46
47
protected
:
48
// QQmlParserStatus interface
49
void
classBegin() override;
50
void
componentComplete() override;
51
52
protected
slots:
53
void
onMapSizeChanged();
54
55
private
:
56
QDeclarativeGeoMap *m_quickMap =
nullptr
;
57
QDeclarativeGeoMapItemGroup *m_parentGroup =
nullptr
;
58
std::unique_ptr<QDeclarativeGeoMapItemTransitionManager> m_transitionManager;
59
60
friend
class
QDeclarativeGeoMapItemView;
61
friend
class
QDeclarativeGeoMapItemTransitionManager;
62
};
63
64
QT_END_NAMESPACE
65
66
QML_DECLARE_TYPE(
QDeclarativeGeoMapItemGroup
)
67
68
#
endif
// QDECLARATIVEGEOMAPITEMGROUP_P_H
QDeclarativeGeoMapItemGroup
Definition
qdeclarativegeomapitemgroup_p.h:27
qtlocation
src
location
quickmapitems
qdeclarativegeomapitemgroup_p.h
Generated on
for Qt by
1.18.0