5#ifndef QDECLARATIVEGEOMAPITEMVIEW_H
6#define QDECLARATIVEGEOMAPITEMVIEW_H
19#include <QtLocation/private/qlocationglobal_p.h>
21#include <QtCore/QModelIndex>
22#include <QtQml/QQmlParserStatus>
23#include <QtQml/QQmlIncubator>
24#include <QtQml/qqml.h>
25#include <private/qqmldelegatemodel_p.h>
26#include <QtQuick/private/qquicktransition_p.h>
27#include <QtLocation/private/qdeclarativegeomapitemgroup_p.h>
38class MapItemViewDelegateIncubator;
39class QDeclarativeGeoMapItemViewItemData;
50 Q_PROPERTY(
bool autoFitViewport READ autoFitViewport WRITE setAutoFitViewport NOTIFY autoFitViewportChanged)
54 Q_PROPERTY(
bool incubateDelegates READ incubateDelegates WRITE setIncubateDelegates NOTIFY incubateDelegatesChanged REVISION(5, 12))
66 bool autoFitViewport()
const;
67 void setAutoFitViewport(
const bool &fit);
70 void removeInstantiatedItems(
bool transition =
true);
71 void instantiateAllItems();
73 void setIncubateDelegates(
bool useIncubators);
74 bool incubateDelegates()
const;
89 void destroyingItem(
QObject *
object);
93 void exitTransitionFinished();
97 void removeDelegateFromMap(
int index,
bool transition =
true);
101 QQmlInstanceModel::ReleaseFlags disposeDelegate(
QQuickItem *
item);
107 void addDelegateToMap(
QQuickItem *
object,
int index,
bool createdItem =
false);
109 bool m_componentCompleted =
false;
115 bool m_fitViewport =
false;
116 bool m_creatingObject =
false;
DarwinBluetooth::DeviceInquiryDelegate * m_delegate
void classBegin() override
Invoked after class creation, but before any properties have been set.
void componentComplete() override
Invoked after the root component that caused this instantiation has completed construction.
friend class QDeclarativeGeoMapItemView
QList< QQuickItem * > mapItems()
void autoFitViewportChanged()
void incubateDelegatesChanged()
The QQmlChangeSet class stores an ordered list of notifications about changes to a linear data set.
The QQmlComponent class encapsulates a QML component definition.
IncubationMode
Specifies the mode the incubator operates in.
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Combined button and popup list for selecting options.
static void add(QPainterPath &path, const QWingedEdge &list, int edge, QPathEdge::Traversal traversal)
#define QML_DECLARE_TYPE(TYPE)
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
view setModel(model)
[17] //! [18]
QSqlQueryModel * model
[16]
settings remove("monkey")
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent