Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmlabstractdelegatecomponent.cpp
Go to the documentation of this file.
1// Copyright (C) 2019 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#include <QtQmlModels/private/qqmlabstractdelegatecomponent_p.h>
5#include <QtQmlModels/private/qqmladaptormodel_p.h>
6
8
11{
12}
13
15{
16}
17
19{
20 if (!adaptorModel)
21 return QVariant();
22 return adaptorModel->value(adaptorModel->indexAt(row, column), role);
23}
24
26
27#include "moc_qqmlabstractdelegatecomponent_p.cpp"
\inmodule QtCore
Definition qobject.h:90
QVariant value(QQmlAdaptorModel *adaptorModel, int row, int column, const QString &role) const
QQmlAbstractDelegateComponent(QObject *parent=nullptr)
QVariant value(int index, const QString &role) const
int indexAt(int row, int column) const
The QQmlComponent class encapsulates a QML component definition.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
\inmodule QtCore
Definition qvariant.h:64
Combined button and popup list for selecting options.
GLenum GLenum GLsizei void GLsizei void * column
GLenum GLenum GLsizei void * row
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent