Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#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.
|
virtual |
Definition at line 94 of file qabstractitemview.cpp.
void QAbstractItemViewPrivate::addEditor | ( | const QModelIndex & | index, |
QWidget * | editor, | ||
bool | isStatic ) |
Definition at line 4642 of file qabstractitemview.cpp.
|
inlinevirtual |
Reimplemented in QTreeViewPrivate.
Definition at line 182 of file qabstractitemview_p.h.
void QAbstractItemViewPrivate::checkMouseMove | ( | const QPersistentModelIndex & | index | ) |
Definition at line 142 of file qabstractitemview.cpp.
Definition at line 126 of file qabstractitemview_p.h.
void QAbstractItemViewPrivate::checkPersistentEditorFocus | ( | ) |
When persistent aeditor gets/loses focus, we need to check and setcorrectly the current index.
Definition at line 4582 of file qabstractitemview.cpp.
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 4546 of file qabstractitemview.cpp.
|
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 3611 of file qabstractitemview.cpp.
|
virtual |
This slot is called when columns have been inserted.
Reimplemented in QColumnViewPrivate.
Definition at line 3724 of file qabstractitemview.cpp.
|
virtual |
Definition at line 3775 of file qabstractitemview.cpp.
|
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 3674 of file qabstractitemview.cpp.
|
inlineoverride |
Definition at line 276 of file qabstractitemview_p.h.
QItemSelectionModel::SelectionFlags QAbstractItemViewPrivate::contiguousSelectionCommand | ( | const QModelIndex & | index, |
const QEvent * | event ) const |
Definition at line 4346 of file qabstractitemview.cpp.
|
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 285 of file qabstractitemview_p.h.
void QAbstractItemViewPrivate::delegateSizeHintChanged | ( | const QModelIndex & | index | ) |
Definition at line 213 of file qabstractitemview.cpp.
void QAbstractItemViewPrivate::doDelayedItemsLayout | ( | int | delay = 0 | ) |
Definition at line 4438 of file qabstractitemview.cpp.
|
inline |
Definition at line 320 of file qabstractitemview_p.h.
|
virtual |
Reimplemented in QListViewPrivate, and QTreeViewPrivate.
Definition at line 4693 of file qabstractitemview.cpp.
bool QAbstractItemViewPrivate::droppingOnItself | ( | QDropEvent * | event, |
const QModelIndex & | index ) |
QWidget * QAbstractItemViewPrivate::editor | ( | const QModelIndex & | index, |
const QStyleOptionViewItem & | options ) |
Definition at line 4483 of file qabstractitemview.cpp.
const QEditorInfo & QAbstractItemViewPrivate::editorForIndex | ( | const QModelIndex & | index | ) | const |
Definition at line 4596 of file qabstractitemview.cpp.
|
inline |
Definition at line 200 of file qabstractitemview_p.h.
QItemSelectionModel::SelectionFlags QAbstractItemViewPrivate::extendedSelectionCommand | ( | const QModelIndex & | index, |
const QEvent * | event ) const |
Definition at line 4237 of file qabstractitemview.cpp.
void QAbstractItemViewPrivate::fetchMore | ( | ) |
Definition at line 4370 of file qabstractitemview.cpp.
bool QAbstractItemViewPrivate::hasEditor | ( | const QModelIndex & | index | ) | const |
Definition at line 4611 of file qabstractitemview.cpp.
|
inline |
Definition at line 82 of file qabstractitemview_p.h.
QModelIndex QAbstractItemViewPrivate::indexForEditor | ( | QWidget * | editor | ) | const |
Definition at line 4617 of file qabstractitemview.cpp.
void QAbstractItemViewPrivate::init | ( | ) |
Definition at line 98 of file qabstractitemview.cpp.
void QAbstractItemViewPrivate::interruptDelayedItemsLayout | ( | ) | const |
Definition at line 4446 of file qabstractitemview.cpp.
|
virtual |
Reimplemented in QTableViewPrivate, and QTreeViewPrivate.
Definition at line 3780 of file qabstractitemview.cpp.
|
inline |
Definition at line 248 of file qabstractitemview_p.h.
|
inline |
Definition at line 258 of file qabstractitemview_p.h.
|
inline |
Definition at line 255 of file qabstractitemview_p.h.
|
inline |
Definition at line 252 of file qabstractitemview_p.h.
|
inline |
return true if the index is registered as a QPersistentModelIndex
Definition at line 310 of file qabstractitemview_p.h.
|
virtual |
This slot is called when the layout is changed.
Definition at line 3758 of file qabstractitemview.cpp.
|
virtual |
Reimplemented in QTreeViewPrivate.
Definition at line 3747 of file qabstractitemview.cpp.
QItemSelectionModel::SelectionFlags QAbstractItemViewPrivate::multiSelectionCommand | ( | const QModelIndex & | index, |
const QEvent * | event ) const |
Definition at line 4190 of file qabstractitemview.cpp.
|
inline |
Definition at line 235 of file qabstractitemview_p.h.
Referenced by testing.tools.fixup_pdf_template.TemplateProcessor::insert_xref_entry(), and testing.tools.fixup_pdf_template.TemplateProcessor::process_line().
bool QAbstractItemViewPrivate::openEditor | ( | const QModelIndex & | index, |
QEvent * | event ) |
Definition at line 4660 of file qabstractitemview.cpp.
|
inline |
Definition at line 184 of file qabstractitemview_p.h.
Definition at line 4630 of file qabstractitemview.cpp.
QPixmap QAbstractItemViewPrivate::renderToPixmap | ( | const QModelIndexList & | indexes, |
QRect * | r ) const |
Definition at line 4713 of file qabstractitemview.cpp.
|
virtual |
This slot is called when rows have been inserted.
Definition at line 3701 of file qabstractitemview.cpp.
|
virtual |
Definition at line 3770 of file qabstractitemview.cpp.
|
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 3583 of file qabstractitemview.cpp.
|
inline |
Definition at line 219 of file qabstractitemview_p.h.
|
inline |
Definition at line 213 of file qabstractitemview_p.h.
void QAbstractItemViewPrivate::scrollerStateChanged | ( | ) |
|
virtual |
Reimplemented in QListViewPrivate.
Definition at line 4741 of file qabstractitemview.cpp.
Definition at line 4466 of file qabstractitemview.cpp.
|
inlinevirtual |
Reimplemented in QListViewPrivate.
Definition at line 270 of file qabstractitemview_p.h.
|
inline |
Definition at line 128 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::sendDelegateEvent | ( | const QModelIndex & | index, |
QEvent * | event ) const |
Definition at line 4648 of file qabstractitemview.cpp.
Definition at line 207 of file qabstractitemview_p.h.
void QAbstractItemViewPrivate::setHoverIndex | ( | const QPersistentModelIndex & | index | ) |
Definition at line 124 of file qabstractitemview.cpp.
bool QAbstractItemViewPrivate::shouldAutoScroll | ( | const QPoint & | pos | ) | const |
Definition at line 4427 of file qabstractitemview.cpp.
bool QAbstractItemViewPrivate::shouldEdit | ( | QAbstractItemView::EditTrigger | trigger, |
const QModelIndex & | index ) const |
Definition at line 4387 of file qabstractitemview.cpp.
bool QAbstractItemViewPrivate::shouldForwardEvent | ( | QAbstractItemView::EditTrigger | trigger, |
const QEvent * | event ) const |
Definition at line 4407 of file qabstractitemview.cpp.
|
inline |
Definition at line 96 of file qabstractitemview_p.h.
|
inline |
Definition at line 102 of file qabstractitemview_p.h.
|
inline |
Definition at line 224 of file qabstractitemview_p.h.
void QAbstractItemViewPrivate::updateEditorData | ( | const QModelIndex & | topLeft, |
const QModelIndex & | bottomRight ) |
Definition at line 4509 of file qabstractitemview.cpp.
void QAbstractItemViewPrivate::updateGeometry | ( | ) |
Definition at line 4452 of file qabstractitemview.cpp.
|
inlinevirtual |
Reimplemented in QTreeViewPrivate.
Definition at line 427 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::alternatingColors |
Definition at line 393 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::autoScroll |
Definition at line 386 of file qabstractitemview_p.h.
int QAbstractItemViewPrivate::autoScrollCount |
Definition at line 389 of file qabstractitemview_p.h.
int QAbstractItemViewPrivate::autoScrollMargin |
Definition at line 388 of file qabstractitemview_p.h.
QBasicTimer QAbstractItemViewPrivate::autoScrollTimer |
Definition at line 387 of file qabstractitemview_p.h.
QMap<int, QPointer<QAbstractItemDelegate> > QAbstractItemViewPrivate::columnDelegates |
Definition at line 332 of file qabstractitemview_p.h.
QItemSelectionModel::SelectionFlag QAbstractItemViewPrivate::ctrlDragSelectionFlag |
Definition at line 334 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::currentIndexSet |
Definition at line 415 of file qabstractitemview_p.h.
QWidget* QAbstractItemViewPrivate::currentlyCommittingEditor |
Definition at line 343 of file qabstractitemview_p.h.
QPersistentModelIndex QAbstractItemViewPrivate::currentSelectionStartIndex |
Definition at line 351 of file qabstractitemview_p.h.
QBasicTimer QAbstractItemViewPrivate::delayedAutoScroll |
Definition at line 403 of file qabstractitemview_p.h.
QBasicTimer QAbstractItemViewPrivate::delayedEditing |
Definition at line 402 of file qabstractitemview_p.h.
|
mutable |
Definition at line 418 of file qabstractitemview_p.h.
QBasicTimer QAbstractItemViewPrivate::delayedReset |
Definition at line 404 of file qabstractitemview_p.h.
QPoint QAbstractItemViewPrivate::draggedPosition |
Definition at line 354 of file qabstractitemview_p.h.
QEditorIndexHash QAbstractItemViewPrivate::editorIndexHash |
Definition at line 340 of file qabstractitemview_p.h.
QAbstractItemView::EditTriggers QAbstractItemViewPrivate::editTriggers |
Definition at line 364 of file qabstractitemview_p.h.
QPersistentModelIndex QAbstractItemViewPrivate::enteredIndex |
Definition at line 349 of file qabstractitemview_p.h.
QAbstractItemView::ScrollMode QAbstractItemViewPrivate::horizontalScrollMode |
Definition at line 407 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::horizontalScrollModeSet |
Definition at line 423 of file qabstractitemview_p.h.
QPersistentModelIndex QAbstractItemViewPrivate::hover |
Definition at line 368 of file qabstractitemview_p.h.
QSize QAbstractItemViewPrivate::iconSize |
Definition at line 395 of file qabstractitemview_p.h.
QIndexEditorHash QAbstractItemViewPrivate::indexEditorHash |
Definition at line 341 of file qabstractitemview_p.h.
QPointer<QAbstractItemDelegate> QAbstractItemViewPrivate::itemDelegate |
Definition at line 330 of file qabstractitemview_p.h.
QString QAbstractItemViewPrivate::keyboardInput |
Definition at line 383 of file qabstractitemview_p.h.
QElapsedTimer QAbstractItemViewPrivate::keyboardInputTime |
Definition at line 384 of file qabstractitemview_p.h.
QPersistentModelIndex QAbstractItemViewPrivate::lastEditedIndex |
Definition at line 345 of file qabstractitemview_p.h.
QAbstractItemView::EditTrigger QAbstractItemViewPrivate::lastTrigger |
Definition at line 365 of file qabstractitemview_p.h.
QAbstractItemModel* QAbstractItemViewPrivate::model |
Definition at line 329 of file qabstractitemview_p.h.
std::array<QMetaObject::Connection, 14> QAbstractItemViewPrivate::modelConnections |
Definition at line 429 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::moveCursorUpdatedView |
Definition at line 419 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::noSelectionOnMousePress |
Definition at line 335 of file qabstractitemview_p.h.
QModelIndex QAbstractItemViewPrivate::oldCurrent |
Definition at line 412 of file qabstractitemview_p.h.
QItemSelection QAbstractItemViewPrivate::oldSelection |
Definition at line 411 of file qabstractitemview_p.h.
Definition at line 342 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::pressClosedEditor |
Definition at line 346 of file qabstractitemview_p.h.
QBasicTimer QAbstractItemViewPrivate::pressClosedEditorWatcher |
Definition at line 344 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::pressedAlreadySelected |
Definition at line 355 of file qabstractitemview_p.h.
QPersistentModelIndex QAbstractItemViewPrivate::pressedIndex |
Definition at line 350 of file qabstractitemview_p.h.
Qt::KeyboardModifiers QAbstractItemViewPrivate::pressedModifiers |
Definition at line 352 of file qabstractitemview_p.h.
QPoint QAbstractItemViewPrivate::pressedPosition |
Definition at line 353 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::releaseFromDoubleClick |
Definition at line 356 of file qabstractitemview_p.h.
QPersistentModelIndex QAbstractItemViewPrivate::root |
Definition at line 367 of file qabstractitemview_p.h.
QMap<int, QPointer<QAbstractItemDelegate> > QAbstractItemViewPrivate::rowDelegates |
Definition at line 331 of file qabstractitemview_p.h.
std::array<QMetaObject::Connection, 4> QAbstractItemViewPrivate::scrollbarConnections |
Definition at line 430 of file qabstractitemview_p.h.
QPoint QAbstractItemViewPrivate::scrollDelayOffset |
Definition at line 399 of file qabstractitemview_p.h.
QAbstractItemView::SelectionBehavior QAbstractItemViewPrivate::selectionBehavior |
Definition at line 338 of file qabstractitemview_p.h.
QAbstractItemView::SelectionMode QAbstractItemViewPrivate::selectionMode |
Definition at line 337 of file qabstractitemview_p.h.
QPointer<QItemSelectionModel> QAbstractItemViewPrivate::selectionModel |
Definition at line 333 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::shouldClearStatusTip |
Definition at line 391 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::shouldScrollToCurrentOnShow |
Definition at line 390 of file qabstractitemview_p.h.
QAbstractItemView::State QAbstractItemViewPrivate::state |
Definition at line 362 of file qabstractitemview_p.h.
QAbstractItemView::State QAbstractItemViewPrivate::stateBeforeAnimation |
Definition at line 363 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::tabKeyNavigation |
Definition at line 370 of file qabstractitemview_p.h.
Qt::TextElideMode QAbstractItemViewPrivate::textElideMode |
Definition at line 396 of file qabstractitemview_p.h.
QRegion QAbstractItemViewPrivate::updateRegion |
Definition at line 398 of file qabstractitemview_p.h.
uint32_t QAbstractItemViewPrivate::updateThreshold |
Definition at line 425 of file qabstractitemview_p.h.
QBasicTimer QAbstractItemViewPrivate::updateTimer |
Definition at line 401 of file qabstractitemview_p.h.
QAbstractItemView::ScrollMode QAbstractItemViewPrivate::verticalScrollMode |
Definition at line 406 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::verticalScrollModeSet |
Definition at line 422 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::viewportEnteredNeeded |
Definition at line 360 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::waitForIMCommit |
Definition at line 347 of file qabstractitemview_p.h.
bool QAbstractItemViewPrivate::wrapItemText |
Definition at line 417 of file qabstractitemview_p.h.