4#ifndef QABSTRACTPROXYMODEL_H
5#define QABSTRACTPROXYMODEL_H
7#include <QtCore/qabstractitemmodel.h>
20 NOTIFY sourceModelChanged BINDABLE bindableSourceModel)
28 QBindable<QAbstractItemModel *> bindableSourceModel();
36 bool submit()
override;
37 void revert()
override;
45 bool setItemData(
const QModelIndex&
index,
const QMap<int, QVariant> &roles)
override;
50 bool canFetchMore(
const QModelIndex &parent)
const override;
63 Qt::DropActions supportedDragActions()
const override;
64 Qt::DropActions supportedDropActions()
const override;
65 QHash<int, QByteArray> roleNames()
const override;
71 QModelIndex createSourceIndex(
int row,
int col,
void *internalPtr)
const;
The QAbstractProxyModel class provides a base class for proxy item models that can do sorting,...
virtual Q_INVOKABLE QModelIndex mapToSource(const QModelIndex &proxyIndex) const =0
Reimplement this function to return the model index in the source model that corresponds to the proxy...
virtual Q_INVOKABLE QModelIndex mapFromSource(const QModelIndex &sourceIndex) const =0
Reimplement this function to return the model index in the proxy model that corresponds to the source...
void sourceModelChanged(QPrivateSignal)
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLenum GLenum GLsizei void GLsizei void * column
GLenum GLenum GLsizei void * row
GLenum GLenum GLsizei void GLsizei void void * span
GLfixed GLfixed GLint GLint order
#define QT_REQUIRE_CONFIG(feature)
model setHeaderData(0, Qt::Horizontal, tr("Name"))
mimeData setData("text/csv", csvData)
QItemSelection * selection
[0]