![]() |
Qt 6.x
The Qt SDK
|
Classes | |
struct | SourceModelForRowResult |
Additional Inherited Members | |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
![]() | |
static QAbstractItemModel * | staticEmptyModel () |
static bool | variantLessThan (const QVariant &v1, const QVariant &v2) |
static const QHash< int, QByteArray > & | defaultRoleNames () |
static bool | isVariantLessThan (const QVariant &left, const QVariant &right, Qt::CaseSensitivity cs=Qt::CaseSensitive, bool isLocaleAware=false) |
![]() | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Definition at line 12 of file qconcatenatetablesproxymodel.cpp.
QConcatenateTablesProxyModelPrivate::QConcatenateTablesProxyModelPrivate | ( | ) |
Definition at line 60 of file qconcatenatetablesproxymodel.cpp.
void QConcatenateTablesProxyModelPrivate::_q_slotColumnsAboutToBeInserted | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) |
Definition at line 529 of file qconcatenatetablesproxymodel.cpp.
References QSqlQueryModel::columnCount(), columnCountAfterChange(), m_newColumnCount, model, QObjectData::parent, Q_ASSERT, and qMin().
void QConcatenateTablesProxyModelPrivate::_q_slotColumnsAboutToBeRemoved | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) |
Definition at line 558 of file qconcatenatetablesproxymodel.cpp.
References QSqlQueryModel::columnCount(), columnCountAfterChange(), m_newColumnCount, model, QObjectData::parent, Q_ASSERT, and qMax().
void QConcatenateTablesProxyModelPrivate::_q_slotColumnsInserted | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) |
Definition at line 545 of file qconcatenatetablesproxymodel.cpp.
References m_columnCount, m_newColumnCount, QObjectData::parent, and Q_UNUSED.
void QConcatenateTablesProxyModelPrivate::_q_slotColumnsRemoved | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) |
Definition at line 572 of file qconcatenatetablesproxymodel.cpp.
References m_columnCount, m_newColumnCount, QObjectData::parent, and Q_UNUSED.
void QConcatenateTablesProxyModelPrivate::_q_slotDataChanged | ( | const QModelIndex & | from, |
const QModelIndex & | to, | ||
const QList< int > & | roles | ||
) |
Definition at line 585 of file qconcatenatetablesproxymodel.cpp.
References QModelIndex::column(), emit, QAbstractItemModel::IndexIsValid, QModelIndex::isValid(), m_columnCount, Q_ASSERT, and QModelIndex::siblingAtColumn().
void QConcatenateTablesProxyModelPrivate::_q_slotModelAboutToBeReset | ( | ) |
Definition at line 641 of file qconcatenatetablesproxymodel.cpp.
References QListSpecialMethodsBase< T >::contains(), m_models, and Q_ASSERT.
void QConcatenateTablesProxyModelPrivate::_q_slotModelReset | ( | ) |
Definition at line 651 of file qconcatenatetablesproxymodel.cpp.
References calculatedColumnCount(), computeRowsPrior(), QListSpecialMethodsBase< T >::contains(), m_columnCount, m_models, m_rowCount, and Q_ASSERT.
void QConcatenateTablesProxyModelPrivate::_q_slotRowsAboutToBeInserted | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) |
Definition at line 491 of file qconcatenatetablesproxymodel.cpp.
References computeRowsPrior(), model, and QObjectData::parent.
void QConcatenateTablesProxyModelPrivate::_q_slotRowsAboutToBeRemoved | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) |
Definition at line 510 of file qconcatenatetablesproxymodel.cpp.
References computeRowsPrior(), model, and QObjectData::parent.
void QConcatenateTablesProxyModelPrivate::_q_slotRowsInserted | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) |
Definition at line 501 of file qconcatenatetablesproxymodel.cpp.
References m_rowCount, and QObjectData::parent.
void QConcatenateTablesProxyModelPrivate::_q_slotRowsRemoved | ( | const QModelIndex & | parent, |
int | start, | ||
int | end | ||
) |
Definition at line 520 of file qconcatenatetablesproxymodel.cpp.
References m_rowCount, and QObjectData::parent.
void QConcatenateTablesProxyModelPrivate::_q_slotSourceLayoutAboutToBeChanged | ( | const QList< QPersistentModelIndex > & | sourceParents, |
QAbstractItemModel::LayoutChangeHint | hint | ||
) |
Definition at line 602 of file qconcatenatetablesproxymodel.cpp.
References QList< T >::append(), QListSpecialMethodsBase< T >::contains(), emit, hint(), QList< T >::isEmpty(), QPersistentModelIndex::isValid(), layoutChangePersistentIndexes, layoutChangeProxyIndexes, Q_ASSERT, QList< T >::reserve(), and QList< T >::size().
void QConcatenateTablesProxyModelPrivate::_q_slotSourceLayoutChanged | ( | const QList< QPersistentModelIndex > & | sourceParents, |
QAbstractItemModel::LayoutChangeHint | hint | ||
) |
Definition at line 624 of file qconcatenatetablesproxymodel.cpp.
References QList< T >::at(), QList< T >::clear(), QListSpecialMethodsBase< T >::contains(), emit, hint(), i, QList< T >::isEmpty(), layoutChangePersistentIndexes, layoutChangeProxyIndexes, and QList< T >::size().
int QConcatenateTablesProxyModelPrivate::calculatedColumnCount | ( | ) | const |
Definition at line 660 of file qconcatenatetablesproxymodel.cpp.
References QList< T >::begin(), QList< T >::end(), QList< T >::isEmpty(), it, and m_models.
Referenced by _q_slotModelReset(), and updateColumnCount().
int QConcatenateTablesProxyModelPrivate::columnCountAfterChange | ( | const QAbstractItemModel * | model, |
int | newCount | ||
) | const |
Definition at line 688 of file qconcatenatetablesproxymodel.cpp.
References QList< T >::at(), QAbstractItemModel::columnCount(), i, m_models, model, qMin(), and QList< T >::size().
Referenced by _q_slotColumnsAboutToBeInserted(), and _q_slotColumnsAboutToBeRemoved().
int QConcatenateTablesProxyModelPrivate::computeRowsPrior | ( | const QAbstractItemModel * | sourceModel | ) | const |
Definition at line 702 of file qconcatenatetablesproxymodel.cpp.
References m_models, model, and QSqlQueryModel::rowCount().
Referenced by _q_slotModelReset(), _q_slotRowsAboutToBeInserted(), and _q_slotRowsAboutToBeRemoved().
bool QConcatenateTablesProxyModelPrivate::mapDropCoordinatesToSource | ( | int | row, |
int | column, | ||
const QModelIndex & | parent, | ||
int * | sourceRow, | ||
int * | sourceColumn, | ||
QModelIndex * | sourceParent, | ||
QAbstractItemModel ** | sourceModel | ||
) | const |
Definition at line 328 of file qconcatenatetablesproxymodel.cpp.
References QList< T >::constLast(), m_models, m_rowCount, QObjectData::parent, Q_ASSERT, and sourceModelForRow().
QConcatenateTablesProxyModelPrivate::SourceModelForRowResult QConcatenateTablesProxyModelPrivate::sourceModelForRow | ( | int | row | ) | const |
Definition at line 713 of file qconcatenatetablesproxymodel.cpp.
References m_models, model, QSqlQueryModel::rowCount(), and QAbstractItemModel::sourceRow.
Referenced by mapDropCoordinatesToSource().
void QConcatenateTablesProxyModelPrivate::updateColumnCount | ( | ) |
Definition at line 671 of file qconcatenatetablesproxymodel.cpp.
References calculatedColumnCount(), and m_columnCount.
QList<QPersistentModelIndex> QConcatenateTablesProxyModelPrivate::layoutChangePersistentIndexes |
Definition at line 56 of file qconcatenatetablesproxymodel.cpp.
Referenced by _q_slotSourceLayoutAboutToBeChanged(), and _q_slotSourceLayoutChanged().
QList<QModelIndex> QConcatenateTablesProxyModelPrivate::layoutChangeProxyIndexes |
Definition at line 57 of file qconcatenatetablesproxymodel.cpp.
Referenced by _q_slotSourceLayoutAboutToBeChanged(), and _q_slotSourceLayoutChanged().
int QConcatenateTablesProxyModelPrivate::m_columnCount |
Definition at line 50 of file qconcatenatetablesproxymodel.cpp.
Referenced by _q_slotColumnsInserted(), _q_slotColumnsRemoved(), _q_slotDataChanged(), _q_slotModelReset(), and updateColumnCount().
QList<QAbstractItemModel *> QConcatenateTablesProxyModelPrivate::m_models |
Definition at line 48 of file qconcatenatetablesproxymodel.cpp.
Referenced by _q_slotModelAboutToBeReset(), _q_slotModelReset(), calculatedColumnCount(), columnCountAfterChange(), computeRowsPrior(), mapDropCoordinatesToSource(), and sourceModelForRow().
int QConcatenateTablesProxyModelPrivate::m_newColumnCount |
Definition at line 53 of file qconcatenatetablesproxymodel.cpp.
Referenced by _q_slotColumnsAboutToBeInserted(), _q_slotColumnsAboutToBeRemoved(), _q_slotColumnsInserted(), and _q_slotColumnsRemoved().
int QConcatenateTablesProxyModelPrivate::m_rowCount |
Definition at line 49 of file qconcatenatetablesproxymodel.cpp.
Referenced by _q_slotModelReset(), _q_slotRowsInserted(), _q_slotRowsRemoved(), and mapDropCoordinatesToSource().