Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickcumulativedirection.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 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
6
18{
19}
20
22{
23 return QQmlListProperty<QQuickDirection>(this, &m_directions);//TODO: Proper list property
24}
25
27{
29 foreach (QQuickDirection* dir, m_directions)
30 ret += dir->sample(from);
31 return ret;
32}
33
35
36#include "moc_qquickcumulativedirection_p.cpp"
\inmodule QtCore
Definition qobject.h:90
\inmodule QtCore\reentrant
Definition qpoint.h:214
The QQmlListProperty class allows applications to expose list-like properties of QObject-derived clas...
Definition qqmllist.h:24
QPointF sample(const QPointF &from) override
QQuickCumulativeDirection(QObject *parent=nullptr)
\qmltype CumulativeDirection \instantiates QQuickCumulativeDirection \inqmlmodule QtQuick....
QQmlListProperty< QQuickDirection > directions
Combined button and popup list for selecting options.
return ret
QString dir
[11]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent