![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qtableview_p.h>
Public Types | |
| enum class | SearchDirection { Increasing , Decreasing } |
Definition at line 105 of file qtableview_p.h.
|
strong |
| Enumerator | |
|---|---|
| Increasing | |
| Decreasing | |
Definition at line 218 of file qtableview_p.h.
|
inline |
Definition at line 109 of file qtableview_p.h.
|
inline |
Definition at line 144 of file qtableview_p.h.
| void QTableViewPrivate::clearConnections | ( | ) |
Definition at line 605 of file qtableview.cpp.
|
inline |
Definition at line 189 of file qtableview_p.h.
|
inline |
Definition at line 204 of file qtableview_p.h.
|
inline |
Definition at line 198 of file qtableview_p.h.
| void QTableViewPrivate::drawAndClipSpans | ( | const QRegion & | area, |
| QPainter * | painter, | ||
| const QStyleOptionViewItem & | option, | ||
| QBitArray * | drawn, | ||
| int | firstVisualRow, | ||
| int | lastVisualRow, | ||
| int | firstVisualColumn, | ||
| int | lastVisualColumn ) |
Draws the spanning cells within rect area, and clips them off as preparation for the main drawing loop. drawn is a QBitArray of visualRowCountxvisualCoulumnCount which say if particular cell has been drawn
Definition at line 892 of file qtableview.cpp.
| void QTableViewPrivate::drawCell | ( | QPainter * | painter, |
| const QStyleOptionViewItem & | option, | ||
| const QModelIndex & | index ) |
Draws a table cell.
Definition at line 1049 of file qtableview.cpp.
|
inline |
Definition at line 192 of file qtableview_p.h.
| int QTableViewPrivate::heightHintForIndex | ( | const QModelIndex & | index, |
| int | hint, | ||
| QStyleOptionViewItem & | option ) const |
Get sizeHint height for single Index (providing existing hint and style option)
Definition at line 1115 of file qtableview.cpp.
| void QTableViewPrivate::init | ( | ) |
Definition at line 578 of file qtableview.cpp.
|
overridevirtual |
Reimplemented from QAbstractItemViewPrivate.
Definition at line 659 of file qtableview.cpp.
|
inline |
Definition at line 214 of file qtableview_p.h.
|
inline |
Definition at line 211 of file qtableview_p.h.
|
inline |
Definition at line 125 of file qtableview_p.h.
|
inline |
Definition at line 208 of file qtableview_p.h.
|
inline |
Definition at line 138 of file qtableview_p.h.
|
inline |
Definition at line 135 of file qtableview_p.h.
| int QTableViewPrivate::nextActiveVisualColumn | ( | int | row, |
| int | columnToStart, | ||
| int | limit, | ||
| SearchDirection | searchDirection ) const |
Searches for the next cell which is available for e.g. keyboard navigation The search is done by column
Definition at line 839 of file qtableview.cpp.
| int QTableViewPrivate::nextActiveVisualRow | ( | int | rowToStart, |
| int | column, | ||
| int | limit, | ||
| SearchDirection | searchDirection ) const |
Searches for the next cell which is available for e.g. keyboard navigation The search is done by row
Definition at line 807 of file qtableview.cpp.
|
inline |
Definition at line 186 of file qtableview_p.h.
|
inline |
Definition at line 201 of file qtableview_p.h.
|
inline |
Definition at line 195 of file qtableview_p.h.
| int QTableViewPrivate::sectionSpanEndLogical | ( | const QHeaderView * | header, |
| int | logical, | ||
| int | span ) const |
Returns the logical index of the last section that's part of the span.
Definition at line 755 of file qtableview.cpp.
| int QTableViewPrivate::sectionSpanSize | ( | const QHeaderView * | header, |
| int | logical, | ||
| int | span ) const |
Returns the size of the span starting at logical index logical and spanning span sections.
Definition at line 772 of file qtableview.cpp.
| void QTableViewPrivate::selectColumn | ( | int | column, |
| bool | anchor ) |
Definition at line 3533 of file qtableview.cpp.
| void QTableViewPrivate::selectRow | ( | int | row, |
| bool | anchor ) |
Definition at line 3486 of file qtableview.cpp.
| void QTableViewPrivate::setSpan | ( | int | row, |
| int | column, | ||
| int | rowSpan, | ||
| int | columnSpan ) |
Sets the span for the cell at (row, column).
Definition at line 709 of file qtableview.cpp.
| void QTableViewPrivate::sortIndicatorChanged | ( | int | column, |
| Qt::SortOrder | order ) |
Sort the model when the header sort indicator changed
Definition at line 1021 of file qtableview.cpp.
| QSpanCollection::Span QTableViewPrivate::span | ( | int | row, |
| int | column ) const |
Gets the span information for the cell at (row, column).
Definition at line 742 of file qtableview.cpp.
| bool QTableViewPrivate::spanContainsSection | ( | const QHeaderView * | header, |
| int | logical, | ||
| int | spanLogical, | ||
| int | span ) const |
Returns true if the section at logical index logical is part of the span starting at logical index spanLogical and spanning span sections; otherwise, returns false.
Definition at line 786 of file qtableview.cpp.
| void QTableViewPrivate::trimHiddenSelections | ( | QItemSelectionRange * | range | ) | const |
Trims away indices that are hidden in the treeview due to hidden horizontal or vertical sections.
Definition at line 625 of file qtableview.cpp.
| void QTableViewPrivate::updateSpanInsertedColumns | ( | const QModelIndex & | parent, |
| int | start, | ||
| int | end ) |
Updates spans after column insertion.
Definition at line 991 of file qtableview.cpp.
| void QTableViewPrivate::updateSpanInsertedRows | ( | const QModelIndex & | parent, |
| int | start, | ||
| int | end ) |
Updates spans after row insertion.
Definition at line 981 of file qtableview.cpp.
| void QTableViewPrivate::updateSpanRemovedColumns | ( | const QModelIndex & | parent, |
| int | start, | ||
| int | end ) |
Updates spans after column removal.
Definition at line 1011 of file qtableview.cpp.
| void QTableViewPrivate::updateSpanRemovedRows | ( | const QModelIndex & | parent, |
| int | start, | ||
| int | end ) |
Updates spans after row removal.
Definition at line 1001 of file qtableview.cpp.
| QStyleOptionViewItem::ViewItemPosition QTableViewPrivate::viewItemPosition | ( | const QModelIndex & | index | ) | const |
Definition at line 1026 of file qtableview.cpp.
|
inline |
Definition at line 132 of file qtableview_p.h.
|
inline |
Definition at line 129 of file qtableview_p.h.
| QRect QTableViewPrivate::visualSpanRect | ( | const QSpanCollection::Span & | span | ) | const |
Returns the visual rect for the given span.
Definition at line 866 of file qtableview.cpp.
| int QTableViewPrivate::widthHintForIndex | ( | const QModelIndex & | index, |
| int | hint, | ||
| const QStyleOptionViewItem & | option ) const |
Get sizeHint width for single Index (providing existing hint and style option)
Definition at line 1085 of file qtableview.cpp.
| QBasicTimer QTableViewPrivate::columnResizeTimer |
Definition at line 162 of file qtableview_p.h.
| QList<int> QTableViewPrivate::columnsToUpdate |
Definition at line 164 of file qtableview_p.h.
| std::vector<QMetaObject::Connection> QTableViewPrivate::dynHorHeaderConnections |
Definition at line 176 of file qtableview_p.h.
| bool QTableViewPrivate::geometryRecursionBlock |
Definition at line 179 of file qtableview_p.h.
| Qt::PenStyle QTableViewPrivate::gridStyle |
Definition at line 161 of file qtableview_p.h.
| std::array<QMetaObject::Connection, 5> QTableViewPrivate::horHeaderConnections |
Definition at line 175 of file qtableview_p.h.
| QHeaderView* QTableViewPrivate::horizontalHeader |
Definition at line 166 of file qtableview_p.h.
| std::array<QMetaObject::Connection, 4> QTableViewPrivate::modelConnections |
Definition at line 173 of file qtableview_p.h.
| QBasicTimer QTableViewPrivate::rowResizeTimer |
Definition at line 163 of file qtableview_p.h.
| QList<int> QTableViewPrivate::rowsToUpdate |
Definition at line 165 of file qtableview_p.h.
| QMetaObject::Connection QTableViewPrivate::selectionmodelConnection |
Definition at line 172 of file qtableview_p.h.
| bool QTableViewPrivate::showGrid |
Definition at line 160 of file qtableview_p.h.
| bool QTableViewPrivate::sortingEnabled |
Definition at line 178 of file qtableview_p.h.
| QSpanCollection QTableViewPrivate::spans |
Definition at line 182 of file qtableview_p.h.
| std::array<QMetaObject::Connection, 7> QTableViewPrivate::verHeaderConnections |
Definition at line 174 of file qtableview_p.h.
| QHeaderView* QTableViewPrivate::verticalHeader |
Definition at line 167 of file qtableview_p.h.
| QPoint QTableViewPrivate::visualCursor |
Definition at line 180 of file qtableview_p.h.