Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
13
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:103
QVariant value(QQmlAdaptorModel *adaptorModel, int row, int column, const QString &role) const
virtual QString role() const =0
QQmlAbstractDelegateComponent(QObject *parent=nullptr)
The QQmlComponent class encapsulates a QML component definition.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\inmodule QtCore
Definition qvariant.h:65
Combined button and popup list for selecting options.
GLenum GLenum GLsizei void GLsizei void * column
GLenum GLenum GLsizei void * row