4#ifndef QABSTRACTPROXYMODEL_P_H
5#define QABSTRACTPROXYMODEL_P_H
20#include "private/qabstractitemmodel_p.h"
21#include "private/qproperty_p.h"
33 sourceHadZeroRows(
false),
34 sourceHadZeroColumns(
false),
35 updateVerticalHeader(
false),
36 updateHorizontalHeader(
false)
40 q_func()->setSourceModel(sourceModel);
44 Q_EMIT q_func()->sourceModelChanged(QAbstractProxyModel::QPrivateSignal());
52 virtual
void _q_sourceModelDestroyed();
53 void _q_sourceModelRowsAboutToBeInserted(const
QModelIndex &parent,
int first,
int last);
54 void _q_sourceModelRowsInserted(const
QModelIndex &parent,
int first,
int last);
55 void _q_sourceModelRowsRemoved(const
QModelIndex &parent,
int first,
int last);
56 void _q_sourceModelColumnsAboutToBeInserted(const
QModelIndex &parent,
int first,
int last);
57 void _q_sourceModelColumnsInserted(const
QModelIndex &parent,
int first,
int last);
58 void _q_sourceModelColumnsRemoved(const
QModelIndex &parent,
int first,
int last);
61 int *source_row,
int *source_column,
QModelIndex *source_parent) const;
63 void scheduleHeaderUpdate(
Qt::Orientation orientation);
64 void emitHeaderDataChanged();
66 unsigned int sourceHadZeroRows : 1;
67 unsigned int sourceHadZeroColumns : 1;
68 unsigned int updateVerticalHeader : 1;
69 unsigned int updateHorizontalHeader : 1;
QAbstractItemModel * getModelForwarder() const
void modelChangedForwarder()
QAbstractProxyModelPrivate()
void setModelForwarder(QAbstractItemModel *sourceModel)
Q_OBJECT_COMPAT_PROPERTY_WITH_ARGS(QAbstractProxyModelPrivate, QAbstractItemModel *, model, &QAbstractProxyModelPrivate::setModelForwarder, &QAbstractProxyModelPrivate::modelChangedForwarder, &QAbstractProxyModelPrivate::getModelForwarder, nullptr) virtual void _q_sourceModelDestroyed()
The QAbstractProxyModel class provides a base class for proxy item models that can do sorting,...
Combined button and popup list for selecting options.
GLenum GLenum GLsizei void GLsizei void * column
GLenum GLenum GLsizei void * row
#define QT_REQUIRE_CONFIG(feature)
QSqlQueryModel * model
[16]