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>.
|
#include <qabstractitemview_p.h>
Definition at line 61 of file qabstractitemview_p.h.
QT_BEGIN_NAMESPACE QAbstractItemViewPrivate::QAbstractItemViewPrivate | ( | ) |
Definition at line 44 of file qabstractitemview.cpp.
References QElapsedTimer::invalidate(), and keyboardInputTime.
|
virtual |
Definition at line 93 of file qabstractitemview.cpp.
void QAbstractItemViewPrivate::addEditor | ( | const QModelIndex & | index, |
QWidget * | editor, | ||
bool | isStatic ) |
Definition at line 4620 of file qabstractitemview.cpp.
References editor(), editorIndexHash, indexEditorHash, and QHash< Key, T >::insert().
Referenced by editor().
|
inlinevirtual |
Reimplemented in QTreeViewPrivate.
Definition at line 181 of file qabstractitemview_p.h.
Referenced by renderToPixmap().
void QAbstractItemViewPrivate::checkMouseMove | ( | const QPersistentModelIndex & | index | ) |
Definition at line 141 of file qabstractitemview.cpp.
References QAbstractItemModel::data(), emit, emptyString, enteredIndex, QString::isEmpty(), model, QCoreApplication::sendEvent(), setHoverIndex(), shouldClearStatusTip, Qt::StatusTipRole, and viewportEnteredNeeded.
Definition at line 126 of file qabstractitemview_p.h.
References checkMouseMove(), and pos.
Referenced by checkMouseMove().
void QAbstractItemViewPrivate::checkPersistentEditorFocus | ( | ) |
When persistent aeditor gets/loses focus, we need to check and setcorrectly the current index.
Definition at line 4560 of file qabstractitemview.cpp.
References QSet< T >::contains(), QItemSelectionModel::currentIndex, QApplication::focusWidget(), indexForEditor(), persistent, selectionModel, and widget.
void QAbstractItemViewPrivate::clearOrRemove | ( | ) |
In DND if something has been moved then this is called. Typically this means you should "remove" the selected item or row, but the behavior is view-dependent (table just clears the selected indexes for example).
Either remove the selected rows or clear them
Definition at line 4524 of file qabstractitemview.cpp.
References QList< T >::at(), QAbstractItemModel::columnCount(), QList< T >::constBegin(), QList< T >::constEnd(), i, QItemSelection::indexes(), it, QAbstractItemModel::itemData(), list, model, QModelIndex::parent(), selection, QItemSelectionModel::selection, selectionModel, QAbstractItemModel::setItemData(), and QList< T >::size().
|
virtual |
This slot is called when columns are about to be removed. The deleted columns are those under the given parent from start to end inclusive.
Reimplemented in QTreeViewPrivate.
Definition at line 3596 of file qabstractitemview.cpp.
References QHash< Key, T >::begin(), QAbstractItemView::CollapsingState, QModelIndex::column(), QAbstractItemModel::columnCount(), editor(), editorIndexHash, QHash< Key, T >::end(), QHash< Key, T >::erase(), QAbstractItemModel::index(), indexEditorHash, info, isIndexEnabled(), QModelIndex::isValid(), it, QHash< QWidget *, QPersistentModelIndex >::iterator, model, next, QModelIndex::parent(), QAbstractItemModel::parent, qWarning, releaseEditor(), QModelIndex::row(), selectionMode, QAbstractItemView::SingleSelection, and QHash< Key, T >::take().
Referenced by QTreeViewPrivate::columnsAboutToBeRemoved(), and QAbstractItemView::setModel().
|
virtual |
This slot is called when columns have been inserted.
Reimplemented in QColumnViewPrivate.
Definition at line 3709 of file qabstractitemview.cpp.
References Q_UNUSED, and updateGeometry().
Referenced by QAbstractItemView::setModel().
|
virtual |
Definition at line 3760 of file qabstractitemview.cpp.
References layoutChanged().
Referenced by QAbstractItemView::setModel().
|
virtual |
This slot is called when columns have been removed. The deleted rows are those under the given parent from start to end inclusive.
Reimplemented in QTreeViewPrivate.
Definition at line 3659 of file qabstractitemview.cpp.
References QAbstractItemView::NoState, Q_UNUSED, and updateGeometry().
Referenced by QTreeViewPrivate::columnsRemoved(), and QAbstractItemView::setModel().
|
inlineoverride |
Definition at line 275 of file qabstractitemview_p.h.
QItemSelectionModel::SelectionFlags QAbstractItemViewPrivate::contiguousSelectionCommand | ( | const QModelIndex & | index, |
const QEvent * | event ) const |
Definition at line 4324 of file qabstractitemview.cpp.
References QItemSelectionModel::Clear, QItemSelectionModel::ClearAndSelect, QItemSelectionModel::Current, QItemSelectionModel::Deselect, extendedSelectionCommand(), QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QItemSelectionModel::NoUpdate, QItemSelectionModel::Select, QItemSelectionModel::SelectCurrent, selectionBehaviorFlags(), and QItemSelectionModel::Toggle.
|
inline |
For now, assume that we have few editors, if we need a more efficient implementation we should add a QMap<QAbstractItemDelegate*, int> member.
Definition at line 284 of file qabstractitemview_p.h.
References QSet< T >::begin(), QSet< T >::end(), and it.
void QAbstractItemViewPrivate::delegateSizeHintChanged | ( | const QModelIndex & | index | ) |
Definition at line 212 of file qabstractitemview.cpp.
References QAbstractItemModel::checkIndex(), QAbstractItemView::doItemsLayout(), QMetaObject::invokeMethod(), model, Qt::QueuedConnection, and qWarning.
void QAbstractItemViewPrivate::doDelayedItemsLayout | ( | int | delay = 0 | ) |
Definition at line 4416 of file qabstractitemview.cpp.
References delayedPendingLayout, and QBasicTimer::start().
Referenced by QTreeViewPrivate::columnsRemoved(), QListModeViewBase::dataChanged(), and layoutChanged().
|
inline |
Definition at line 319 of file qabstractitemview_p.h.
Referenced by modelDestroyed().
|
virtual |
Reimplemented in QListViewPrivate, and QTreeViewPrivate.
Definition at line 4671 of file qabstractitemview.cpp.
References QRect::intersects(), Q_ASSERT, rect, ret, QRect::setLeft(), and viewport().
Referenced by QTreeViewPrivate::draggablePaintPairs(), and renderToPixmap().
bool QAbstractItemViewPrivate::droppingOnItself | ( | QDropEvent * | event, |
const QModelIndex & | index ) |
QWidget * QAbstractItemViewPrivate::editor | ( | const QModelIndex & | index, |
const QStyleOptionViewItem & | options ) |
Definition at line 4461 of file qabstractitemview.cpp.
References addEditor(), QObject::connect(), QAbstractItemDelegate::createEditor(), QPointer< T >::data(), QObject::destroyed(), QAbstractItemView::editorDestroyed(), editorForIndex(), selectAllInEditor(), QAbstractItemDelegate::setEditorData(), QWidget::setTabOrder(), QAbstractItemDelegate::updateEditorGeometry(), viewport(), and QEditorInfo::widget.
Referenced by addEditor(), columnsAboutToBeRemoved(), QTableViewPrivate::heightHintForIndex(), indexForEditor(), openEditor(), removeEditor(), selectAllInEditor(), updateEditorData(), QTableViewPrivate::widthHintForIndex(), and QTreeViewPrivate::widthHintForIndex().
const QEditorInfo & QAbstractItemViewPrivate::editorForIndex | ( | const QModelIndex & | index | ) | const |
Definition at line 4574 of file qabstractitemview.cpp.
References QHash< QPersistentModelIndex, QEditorInfo >::const_iterator, QHash< Key, T >::end(), QHash< Key, T >::find(), indexEditorHash, QHash< Key, T >::isEmpty(), and it.
Referenced by editor(), QTableViewPrivate::heightHintForIndex(), QTableViewPrivate::widthHintForIndex(), and QTreeViewPrivate::widthHintForIndex().
|
inline |
Definition at line 199 of file qabstractitemview_p.h.
References QAbstractItemView::CollapsingState, and state.
Referenced by QListViewPrivate::cellRectForIndex(), QTreeViewPrivate::intersectedRect(), QListViewPrivate::intersectingSet(), QTreeViewPrivate::itemDecorationAt(), QListViewPrivate::rectForIndex(), QHeaderViewPrivate::resizeSections(), QHeaderViewPrivate::setDefaultSectionSize(), QTreeViewPrivate::updateScrollBars(), and QTreeViewPrivate::visualRect().
QItemSelectionModel::SelectionFlags QAbstractItemViewPrivate::extendedSelectionCommand | ( | const QModelIndex & | index, |
const QEvent * | event ) const |
Definition at line 4215 of file qabstractitemview.cpp.
References button, QItemSelectionModel::Clear, QItemSelectionModel::ClearAndSelect, Qt::ControlModifier, QAbstractItemView::DragSelectingState, QItemSelectionModel::isSelected(), Qt::Key_Backtab, Qt::Key_Down, Qt::Key_End, Qt::Key_Home, Qt::Key_Left, Qt::Key_PageDown, Qt::Key_PageUp, Qt::Key_Right, Qt::Key_Select, Qt::Key_Space, Qt::Key_Tab, Qt::Key_Up, QGuiApplication::keyboardModifiers(), QEvent::KeyPress, QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseMove, Qt::NavigationModeKeypadTabOrder, QItemSelectionModel::NoUpdate, pressedAlreadySelected, pressedIndex, Q_FALLTHROUGH, QT_CONFIG, Qt::RightButton, QItemSelectionModel::Select, QItemSelectionModel::SelectCurrent, selectionBehaviorFlags(), selectionModel, Qt::ShiftModifier, state, QItemSelectionModel::Toggle, and QItemSelectionModel::ToggleCurrent.
Referenced by contiguousSelectionCommand().
void QAbstractItemViewPrivate::fetchMore | ( | ) |
Definition at line 4348 of file qabstractitemview.cpp.
References QAbstractItemModel::canFetchMore(), QAbstractItemModel::fetchMore(), QAbstractItemModel::index(), model, rect, root, QAbstractItemModel::rowCount(), QBasicTimer::stop(), and viewport().
bool QAbstractItemViewPrivate::hasEditor | ( | const QModelIndex & | index | ) | const |
Definition at line 4589 of file qabstractitemview.cpp.
References QHash< Key, T >::contains(), indexEditorHash, and QHash< Key, T >::isEmpty().
Referenced by shouldEdit().
|
inline |
Definition at line 82 of file qabstractitemview_p.h.
Referenced by QAbstractItemView::setModel().
QModelIndex QAbstractItemViewPrivate::indexForEditor | ( | QWidget * | editor | ) | const |
Definition at line 4595 of file qabstractitemview.cpp.
References QHash< QWidget *, QPersistentModelIndex >::const_iterator, editor(), editorIndexHash, QHash< Key, T >::end(), QHash< Key, T >::find(), indexEditorHash, QHash< Key, T >::isEmpty(), and it.
Referenced by checkPersistentEditorFocus().
void QAbstractItemViewPrivate::init | ( | ) |
Definition at line 97 of file qabstractitemview.cpp.
References QAbstractSlider::actionTriggered(), QPalette::Base, QObject::connect(), QAbstractItemView::horizontalScrollbarAction(), QAbstractItemView::horizontalScrollbarValueChanged(), horizontalScrollMode, scrollbarConnections, QStyle::SH_ItemView_ScrollMode, QAbstractSlider::valueChanged(), QAbstractItemView::verticalScrollbarAction(), QAbstractItemView::verticalScrollbarValueChanged(), verticalScrollMode, viewport(), and Qt::WA_InputMethodEnabled.
void QAbstractItemViewPrivate::interruptDelayedItemsLayout | ( | ) | const |
Definition at line 4424 of file qabstractitemview.cpp.
References delayedPendingLayout, and QBasicTimer::stop().
|
virtual |
Reimplemented in QTableViewPrivate, and QTreeViewPrivate.
Definition at line 3765 of file qabstractitemview.cpp.
References QModelIndex::column(), QAbstractItemModel::index(), QRect::intersected(), model, QModelIndex::parent(), rect, and QModelIndex::row().
|
inline |
Definition at line 247 of file qabstractitemview_p.h.
References QAbstractItemView::AnimatingState, and state.
Referenced by QTreeViewPrivate::expandOrCollapseItemAtPos().
|
inline |
Definition at line 257 of file qabstractitemview_p.h.
References QAbstractTableModel::flags(), Qt::ItemIsEnabled, and model.
Referenced by columnsAboutToBeRemoved(), QListViewPrivate::isHiddenOrDisabled(), and QListViewPrivate::removeCurrentAndDisabled().
|
inline |
Definition at line 254 of file qabstractitemview_p.h.
References QAbstractTableModel::flags(), Qt::ItemIsSelectable, and model.
|
inline |
Definition at line 251 of file qabstractitemview_p.h.
References model.
Referenced by QListViewPrivate::hasRectForIndex(), and QTreeViewPrivate::visualRect().
|
inline |
return true if the index is registered as a QPersistentModelIndex
Definition at line 309 of file qabstractitemview_p.h.
References QObject::d_ptr, QScopedPointer< T, Cleanup >::data(), and model.
Referenced by QTreeViewPrivate::collapse(), and QListViewPrivate::isHidden().
|
virtual |
This slot is called when the layout is changed.
Definition at line 3743 of file qabstractitemview.cpp.
References doDelayedItemsLayout().
Referenced by columnsMoved(), rowsMoved(), QAbstractItemView::setModel(), and QTreeView::setModel().
|
virtual |
Reimplemented in QTreeViewPrivate.
Definition at line 3732 of file qabstractitemview.cpp.
References doDelayedReset(), model, and QAbstractItemModelPrivate::staticEmptyModel().
Referenced by QTreeViewPrivate::modelDestroyed(), and QAbstractItemView::setModel().
QItemSelectionModel::SelectionFlags QAbstractItemViewPrivate::multiSelectionCommand | ( | const QModelIndex & | index, |
const QEvent * | event ) const |
Definition at line 4168 of file qabstractitemview.cpp.
References button, Qt::Key_Select, Qt::Key_Space, QEvent::KeyPress, Qt::LeftButton, QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseMove, QItemSelectionModel::NoUpdate, pressedAlreadySelected, pressedIndex, Q_UNUSED, QT_CONFIG, selectionBehaviorFlags(), QItemSelectionModel::Toggle, and QItemSelectionModel::ToggleCurrent.
|
inline |
Definition at line 234 of file qabstractitemview_p.h.
Referenced by QTreeViewPrivate::lastVisibleItem(), and QCommonListViewBase::offset().
bool QAbstractItemViewPrivate::openEditor | ( | const QModelIndex & | index, |
QEvent * | event ) |
Definition at line 4638 of file qabstractitemview.cpp.
References QAbstractItemModel::buddy(), QAbstractItemView::EditingState, editor(), model, QCoreApplication::sendEvent(), QStyle::State_HasFocus, QStyle::State_None, and waitForIMCommit.
|
inline |
Definition at line 183 of file qabstractitemview_p.h.
References QObject::destroyed(), QAbstractItemDelegate::destroyEditor(), QObject::disconnect(), and QAbstractItemView::editorDestroyed().
Referenced by columnsAboutToBeRemoved().
Definition at line 4608 of file qabstractitemview.cpp.
References QHash< Key, T >::cend(), QHash< Key, T >::constFind(), QObject::destroyed(), QObject::disconnect(), editor(), QAbstractItemView::editorDestroyed(), editorIndexHash, QHash< Key, T >::erase(), indexEditorHash, it, and QHash< Key, T >::remove().
QPixmap QAbstractItemViewPrivate::renderToPixmap | ( | const QModelIndexList & | indexes, |
QRect * | r ) const |
Definition at line 4691 of file qabstractitemview.cpp.
References adjustViewOptionsForIndex(), draggablePaintPairs(), j, painter, pixmap, Q_ASSERT, QStyle::State_Selected, Qt::transparent, and window().
|
virtual |
This slot is called when rows have been inserted.
Definition at line 3686 of file qabstractitemview.cpp.
References Q_UNUSED, and updateGeometry().
Referenced by QAbstractItemView::setModel().
|
virtual |
Definition at line 3755 of file qabstractitemview.cpp.
References layoutChanged().
Referenced by QAbstractItemView::setModel().
|
virtual |
This slot is called when rows have been removed. The deleted rows are those under the given parent from start to end inclusive.
Definition at line 3568 of file qabstractitemview.cpp.
References QAbstractItemView::NoState, Q_UNUSED, and updateGeometry().
Referenced by QAbstractItemView::setModel(), and QTreeView::setModel().
|
inline |
Definition at line 218 of file qabstractitemview_p.h.
References viewport().
Referenced by QCommonListViewBase::scrollContentsBy().
|
inline |
Definition at line 212 of file qabstractitemview_p.h.
void QAbstractItemViewPrivate::scrollerStateChanged | ( | ) |
|
virtual |
Reimplemented in QListViewPrivate.
Definition at line 4719 of file qabstractitemview.cpp.
References QList< T >::append(), QAbstractItemModel::columnCount(), QAbstractItemModel::hasChildren(), QAbstractItemModel::index(), model, root, QAbstractItemModel::rowCount(), QItemSelectionModel::select(), selection, and selectionModel.
Definition at line 4444 of file qabstractitemview.cpp.
References editor(), QWidget::focusProxy(), fp, and le.
Referenced by editor().
|
inlinevirtual |
Reimplemented in QListViewPrivate.
Definition at line 269 of file qabstractitemview_p.h.
|
inline |
Definition at line 128 of file qabstractitemview_p.h.
References QItemSelectionModel::Columns, QItemSelectionModel::NoUpdate, QItemSelectionModel::Rows, QAbstractItemView::SelectColumns, QAbstractItemView::SelectItems, and QAbstractItemView::SelectRows.
Referenced by contiguousSelectionCommand(), extendedSelectionCommand(), and multiSelectionCommand().
bool QAbstractItemViewPrivate::sendDelegateEvent | ( | const QModelIndex & | index, |
QEvent * | event ) const |
Definition at line 4626 of file qabstractitemview.cpp.
References QAbstractItemModel::buddy(), QAbstractItemDelegate::editorEvent(), model, QStyle::State_HasFocus, and QStyle::State_None.
Definition at line 206 of file qabstractitemview_p.h.
void QAbstractItemViewPrivate::setHoverIndex | ( | const QPersistentModelIndex & | index | ) |
Definition at line 123 of file qabstractitemview.cpp.
References hover, selectionBehavior, QAbstractItemView::SelectRows, viewport(), and visualRect().
Referenced by checkMouseMove().
bool QAbstractItemViewPrivate::shouldAutoScroll | ( | const QPoint & | pos | ) | const |
Definition at line 4405 of file qabstractitemview.cpp.
References area(), autoScroll, autoScrollMargin, pos, and viewport().
bool QAbstractItemViewPrivate::shouldEdit | ( | QAbstractItemView::EditTrigger | trigger, |
const QModelIndex & | index ) const |
Definition at line 4365 of file qabstractitemview.cpp.
References QAbstractItemView::AllEditTriggers, QAbstractItemView::EditingState, editTriggers, QAbstractItemModel::flags(), hasEditor(), QItemSelectionModel::isSelected(), Qt::ItemIsEditable, Qt::ItemIsEnabled, model, QAbstractItemView::SelectedClicked, selectionModel, and state.
bool QAbstractItemViewPrivate::shouldForwardEvent | ( | QAbstractItemView::EditTrigger | trigger, |
const QEvent * | event ) const |
Definition at line 4385 of file qabstractitemview.cpp.
References QAbstractItemView::AnyKeyPressed, editTriggers, QEvent::KeyPress, QEvent::MouseButtonDblClick, QEvent::MouseButtonPress, QEvent::MouseButtonRelease, and QEvent::MouseMove.
|
inline |
Definition at line 96 of file qabstractitemview_p.h.
References QAbstractItemView::ScrollPerItem.
|
inline |
Definition at line 102 of file qabstractitemview_p.h.
|
inline |
Definition at line 223 of file qabstractitemview_p.h.
References viewport().
void QAbstractItemViewPrivate::updateEditorData | ( | const QModelIndex & | topLeft, |
const QModelIndex & | bottomRight ) |
Definition at line 4487 of file qabstractitemview.cpp.
References QModelIndex::column(), QHash< QPersistentModelIndex, QEditorInfo >::const_iterator, QSet< T >::constBegin(), QSet< T >::constEnd(), editor(), indexEditorHash, QModelIndex::isValid(), it, QModelIndex::parent(), QModelIndex::row(), and QAbstractItemDelegate::setEditorData().
void QAbstractItemViewPrivate::updateGeometry | ( | ) |
Definition at line 4430 of file qabstractitemview.cpp.
Referenced by columnsInserted(), columnsRemoved(), rowsInserted(), and rowsRemoved().
|
inlinevirtual |
Reimplemented in QTreeViewPrivate.
Definition at line 424 of file qabstractitemview_p.h.
Referenced by setHoverIndex().
bool QAbstractItemViewPrivate::alternatingColors |
Definition at line 392 of file qabstractitemview_p.h.
Referenced by QTableViewPrivate::drawAndClipSpans(), and QTreeViewPrivate::paintAlternatingRowColors().
bool QAbstractItemViewPrivate::autoScroll |
Definition at line 385 of file qabstractitemview_p.h.
Referenced by shouldAutoScroll().
int QAbstractItemViewPrivate::autoScrollCount |
Definition at line 388 of file qabstractitemview_p.h.
int QAbstractItemViewPrivate::autoScrollMargin |
Definition at line 387 of file qabstractitemview_p.h.
Referenced by shouldAutoScroll().
QBasicTimer QAbstractItemViewPrivate::autoScrollTimer |
Definition at line 386 of file qabstractitemview_p.h.
QMap<int, QPointer<QAbstractItemDelegate> > QAbstractItemViewPrivate::columnDelegates |
Definition at line 331 of file qabstractitemview_p.h.
QItemSelectionModel::SelectionFlag QAbstractItemViewPrivate::ctrlDragSelectionFlag |
Definition at line 333 of file qabstractitemview_p.h.
Referenced by QTableViewPrivate::selectColumn(), and QTableViewPrivate::selectRow().
bool QAbstractItemViewPrivate::currentIndexSet |
Definition at line 414 of file qabstractitemview_p.h.
QWidget* QAbstractItemViewPrivate::currentlyCommittingEditor |
Definition at line 342 of file qabstractitemview_p.h.
QPersistentModelIndex QAbstractItemViewPrivate::currentSelectionStartIndex |
Definition at line 350 of file qabstractitemview_p.h.
Referenced by QTableViewPrivate::selectColumn(), and QTableViewPrivate::selectRow().
QBasicTimer QAbstractItemViewPrivate::delayedAutoScroll |
Definition at line 402 of file qabstractitemview_p.h.
Referenced by QTreeViewPrivate::collapse().
QBasicTimer QAbstractItemViewPrivate::delayedEditing |
Definition at line 401 of file qabstractitemview_p.h.
|
mutable |
Definition at line 417 of file qabstractitemview_p.h.
Referenced by doDelayedItemsLayout(), and interruptDelayedItemsLayout().
QBasicTimer QAbstractItemViewPrivate::delayedReset |
Definition at line 403 of file qabstractitemview_p.h.
QPoint QAbstractItemViewPrivate::draggedPosition |
Definition at line 353 of file qabstractitemview_p.h.
QEditorIndexHash QAbstractItemViewPrivate::editorIndexHash |
Definition at line 339 of file qabstractitemview_p.h.
Referenced by addEditor(), columnsAboutToBeRemoved(), indexForEditor(), and removeEditor().
QAbstractItemView::EditTriggers QAbstractItemViewPrivate::editTriggers |
Definition at line 363 of file qabstractitemview_p.h.
Referenced by QTableViewPrivate::init(), shouldEdit(), and shouldForwardEvent().
QPersistentModelIndex QAbstractItemViewPrivate::enteredIndex |
Definition at line 348 of file qabstractitemview_p.h.
Referenced by checkMouseMove().
QAbstractItemView::ScrollMode QAbstractItemViewPrivate::horizontalScrollMode |
Definition at line 406 of file qabstractitemview_p.h.
Referenced by init(), and QTreeViewPrivate::updateScrollBars().
bool QAbstractItemViewPrivate::horizontalScrollModeSet |
Definition at line 422 of file qabstractitemview_p.h.
QPersistentModelIndex QAbstractItemViewPrivate::hover |
Definition at line 367 of file qabstractitemview_p.h.
Referenced by QTableViewPrivate::drawCell(), and setHoverIndex().
QSize QAbstractItemViewPrivate::iconSize |
Definition at line 394 of file qabstractitemview_p.h.
QIndexEditorHash QAbstractItemViewPrivate::indexEditorHash |
Definition at line 340 of file qabstractitemview_p.h.
Referenced by addEditor(), columnsAboutToBeRemoved(), editorForIndex(), hasEditor(), indexForEditor(), removeEditor(), and updateEditorData().
QPointer<QAbstractItemDelegate> QAbstractItemViewPrivate::itemDelegate |
Definition at line 329 of file qabstractitemview_p.h.
Referenced by QTreeViewPrivate::paintAlternatingRowColors().
QString QAbstractItemViewPrivate::keyboardInput |
Definition at line 382 of file qabstractitemview_p.h.
QElapsedTimer QAbstractItemViewPrivate::keyboardInputTime |
Definition at line 383 of file qabstractitemview_p.h.
Referenced by QAbstractItemViewPrivate().
QPersistentModelIndex QAbstractItemViewPrivate::lastEditedIndex |
Definition at line 344 of file qabstractitemview_p.h.
QAbstractItemView::EditTrigger QAbstractItemViewPrivate::lastTrigger |
Definition at line 364 of file qabstractitemview_p.h.
QAbstractItemModel* QAbstractItemViewPrivate::model |
Definition at line 328 of file qabstractitemview_p.h.
Referenced by QCommonListViewBase::appendHiddenRow(), checkMouseMove(), clearOrRemove(), columnsAboutToBeRemoved(), QHeaderViewPrivate::defaultSortOrderForSection(), delegateSizeHintChanged(), QListViewPrivate::doItemsLayout(), QTableViewPrivate::drawAndClipSpans(), QTableViewPrivate::drawCell(), QTreeViewPrivate::expand(), fetchMore(), QTreeViewPrivate::hasVisibleChildren(), intersectedRect(), QTreeViewPrivate::intersectedRect(), QListViewPrivate::itemSize(), QTreeViewPrivate::layout(), QListWidgetPrivate::listModel(), modelDestroyed(), QCommonListViewBase::modelIndex(), QHeaderViewPrivate::modelSectionCount(), openEditor(), QListViewPrivate::prepareItemsLayout(), QHeaderViewPrivate::read(), QCommonListViewBase::removeHiddenRow(), QCommonListViewBase::rowCount(), QHeaderViewPrivate::sectionsAboutToBeChanged(), QTreeViewPrivate::select(), selectAll(), QListViewPrivate::selectAll(), QTableViewPrivate::selectColumn(), QTableViewPrivate::selectRow(), sendDelegateEvent(), QListWidgetPrivate::setup(), QTableWidgetPrivate::setup(), QHeaderViewPrivate::setupSectionIndicator(), shouldEdit(), QListWidgetPrivate::sort(), QTableWidgetPrivate::sort(), QTableViewPrivate::sortIndicatorChanged(), QTreeViewPrivate::sortIndicatorChanged(), QTableWidgetPrivate::tableModel(), QTreeWidgetPrivate::treeModel(), and QTableViewPrivate::trimHiddenSelections().
std::array<QMetaObject::Connection, 14> QAbstractItemViewPrivate::modelConnections |
Definition at line 426 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::moveCursorUpdatedView |
Definition at line 418 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::noSelectionOnMousePress |
Definition at line 334 of file qabstractitemview_p.h.
QModelIndex QAbstractItemViewPrivate::oldCurrent |
Definition at line 411 of file qabstractitemview_p.h.
Referenced by QListWidget::isPersistentEditorOpen().
QItemSelection QAbstractItemViewPrivate::oldSelection |
Definition at line 410 of file qabstractitemview_p.h.
Referenced by QListWidget::isPersistentEditorOpen().
Definition at line 341 of file qabstractitemview_p.h.
Referenced by checkPersistentEditorFocus(), QTableViewPrivate::heightHintForIndex(), QTableViewPrivate::widthHintForIndex(), and QTreeViewPrivate::widthHintForIndex().
bool QAbstractItemViewPrivate::pressClosedEditor |
Definition at line 345 of file qabstractitemview_p.h.
QBasicTimer QAbstractItemViewPrivate::pressClosedEditorWatcher |
Definition at line 343 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::pressedAlreadySelected |
Definition at line 354 of file qabstractitemview_p.h.
Referenced by extendedSelectionCommand(), and multiSelectionCommand().
QPersistentModelIndex QAbstractItemViewPrivate::pressedIndex |
Definition at line 349 of file qabstractitemview_p.h.
Referenced by extendedSelectionCommand(), and multiSelectionCommand().
Qt::KeyboardModifiers QAbstractItemViewPrivate::pressedModifiers |
Definition at line 351 of file qabstractitemview_p.h.
QPoint QAbstractItemViewPrivate::pressedPosition |
Definition at line 352 of file qabstractitemview_p.h.
Referenced by QCommonListViewBase::pressedPosition().
bool QAbstractItemViewPrivate::releaseFromDoubleClick |
Definition at line 355 of file qabstractitemview_p.h.
QPersistentModelIndex QAbstractItemViewPrivate::root |
Definition at line 366 of file qabstractitemview_p.h.
Referenced by QHeaderViewPrivate::columnIntersectsSelection(), QListViewPrivate::doItemsLayout(), QTableViewPrivate::drawAndClipSpans(), fetchMore(), QHeaderViewPrivate::isColumnSelected(), QHeaderViewPrivate::isRowSelected(), QTreeViewPrivate::itemDecorationRect(), QListViewPrivate::itemSize(), QTreeViewPrivate::layout(), QCommonListViewBase::modelIndex(), QHeaderViewPrivate::modelSectionCount(), QListViewPrivate::prepareItemsLayout(), QHeaderViewPrivate::read(), QCommonListViewBase::rowCount(), QHeaderViewPrivate::rowIntersectsSelection(), QHeaderViewPrivate::sectionsAboutToBeChanged(), QHeaderViewPrivate::sectionsAboutToBeMoved(), QHeaderViewPrivate::sectionsMoved(), QHeaderViewPrivate::sectionsRemoved(), selectAll(), QListViewPrivate::selectAll(), QTableViewPrivate::selectColumn(), and QTableViewPrivate::selectRow().
QMap<int, QPointer<QAbstractItemDelegate> > QAbstractItemViewPrivate::rowDelegates |
Definition at line 330 of file qabstractitemview_p.h.
std::array<QMetaObject::Connection, 4> QAbstractItemViewPrivate::scrollbarConnections |
Definition at line 427 of file qabstractitemview_p.h.
Referenced by init().
QPoint QAbstractItemViewPrivate::scrollDelayOffset |
Definition at line 398 of file qabstractitemview_p.h.
Referenced by QTableViewPrivate::drawAndClipSpans().
QAbstractItemView::SelectionBehavior QAbstractItemViewPrivate::selectionBehavior |
Definition at line 337 of file qabstractitemview_p.h.
Referenced by QTreeViewPrivate::adjustViewOptionsForIndex(), and setHoverIndex().
QAbstractItemView::SelectionMode QAbstractItemViewPrivate::selectionMode |
Definition at line 336 of file qabstractitemview_p.h.
Referenced by columnsAboutToBeRemoved().
QPointer<QItemSelectionModel> QAbstractItemViewPrivate::selectionModel |
Definition at line 332 of file qabstractitemview_p.h.
Referenced by checkPersistentEditorFocus(), clearOrRemove(), QHeaderViewPrivate::columnIntersectsSelection(), QTableViewPrivate::drawCell(), extendedSelectionCommand(), QHeaderViewPrivate::isColumnSelected(), QHeaderViewPrivate::isRowSelected(), QHeaderViewPrivate::prepareSectionSelected(), QHeaderViewPrivate::rowIntersectsSelection(), selectAll(), QListViewPrivate::selectAll(), QTableViewPrivate::selectColumn(), QTableViewPrivate::selectRow(), and shouldEdit().
bool QAbstractItemViewPrivate::shouldClearStatusTip |
Definition at line 390 of file qabstractitemview_p.h.
Referenced by checkMouseMove().
bool QAbstractItemViewPrivate::shouldScrollToCurrentOnShow |
Definition at line 389 of file qabstractitemview_p.h.
QAbstractItemView::State QAbstractItemViewPrivate::state |
Definition at line 361 of file qabstractitemview_p.h.
Referenced by QTreeViewPrivate::collapse(), QTreeViewPrivate::expand(), QTreeViewPrivate::expandOrCollapseItemAtPos(), extendedSelectionCommand(), and shouldEdit().
QAbstractItemView::State QAbstractItemViewPrivate::stateBeforeAnimation |
Definition at line 362 of file qabstractitemview_p.h.
Referenced by QTreeViewPrivate::collapse(), and QTreeViewPrivate::expand().
bool QAbstractItemViewPrivate::tabKeyNavigation |
Definition at line 369 of file qabstractitemview_p.h.
Referenced by QTableViewPrivate::init().
Qt::TextElideMode QAbstractItemViewPrivate::textElideMode |
Definition at line 395 of file qabstractitemview_p.h.
QRegion QAbstractItemViewPrivate::updateRegion |
Definition at line 397 of file qabstractitemview_p.h.
QBasicTimer QAbstractItemViewPrivate::updateTimer |
Definition at line 400 of file qabstractitemview_p.h.
QAbstractItemView::ScrollMode QAbstractItemViewPrivate::verticalScrollMode |
Definition at line 405 of file qabstractitemview_p.h.
Referenced by QTreeViewPrivate::coordinateForItem(), QTreeViewPrivate::firstVisibleItem(), init(), QTreeViewPrivate::itemAtCoordinate(), and QTreeViewPrivate::updateScrollBars().
bool QAbstractItemViewPrivate::verticalScrollModeSet |
Definition at line 421 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::viewportEnteredNeeded |
Definition at line 359 of file qabstractitemview_p.h.
Referenced by checkMouseMove().
bool QAbstractItemViewPrivate::waitForIMCommit |
Definition at line 346 of file qabstractitemview_p.h.
Referenced by openEditor().
bool QAbstractItemViewPrivate::wrapItemText |
Definition at line 416 of file qabstractitemview_p.h.
Referenced by QTableViewPrivate::heightHintForIndex().