20 if (
parent.isValid() || m_spaceExtension ==
nullptr)
28 if (!
index.isValid() || m_spaceExtension ==
nullptr)
48 QHash<int, QByteArray> roles;
55 if (m_spaceExtension ==
nullptr)
64 if (m_spaceExtension ==
nullptr)
85 if (m_filterMode == newFilterMode)
87 m_filterMode = newFilterMode;
98 if (m_uuids == newUuids)
111 if (m_labels == newLabels)
113 m_labels = newLabels;
void endResetModel()
Completes a model reset operation.
void beginResetModel()
Begins a model reset operation.
QObject * parent() const
Returns a pointer to the parent object.
qsizetype count() const noexcept
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
const QList< QOpenXRSpatialAnchor * > & anchors() const
void requestSceneCapture()
static QOpenXRSpaceExtension * instance()
void anchorAdded(QOpenXRSpatialAnchor *anchor)
void setUuids(const QList< QUuid > &newUuids)
int rowCount(const QModelIndex &parent) const override
Returns the number of rows under the given parent.
QHash< int, QByteArray > roleNames() const override
Q_INVOKABLE void requestSceneCapture()
void setFilterMode(FilterMode newFilterMode)
QVariant data(const QModelIndex &index, int role) const override
Returns the data stored under the given role for the item referred to by the index.
QOpenXRSpatialAnchorModel(QObject *parent=nullptr)
void setLabels(const SemanticLabels &newLabels)
Q_INVOKABLE void queryAnchors()
static auto fromValue(T &&value) noexcept(std::is_nothrow_copy_constructible_v< T > &&Private::CanUseInternalSpace< T >) -> std::enable_if_t< std::conjunction_v< std::is_copy_constructible< T >, std::is_destructible< T > >, QVariant >
Combined button and popup list for selecting options.
QQuickAnchors * anchors(QQuickItem *item)