![]() |
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 221 of file qtableview_p.h.
|
inline |
Definition at line 109 of file qtableview_p.h.
| void QTableViewPrivate::clearConnections | ( | ) |
Definition at line 607 of file qtableview.cpp.
|
inline |
Definition at line 192 of file qtableview_p.h.
|
inline |
Definition at line 207 of file qtableview_p.h.
|
inline |
Definition at line 201 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 894 of file qtableview.cpp.
| void QTableViewPrivate::drawCell | ( | QPainter * | painter, |
| const QStyleOptionViewItem & | option, | ||
| const QModelIndex & | index ) |
Draws a table cell.
Definition at line 1051 of file qtableview.cpp.
|
inline |
Definition at line 195 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 1117 of file qtableview.cpp.
| void QTableViewPrivate::init | ( | ) |
Definition at line 580 of file qtableview.cpp.
|
overridevirtual |
Reimplemented from QAbstractItemViewPrivate.
Definition at line 661 of file qtableview.cpp.
|
inline |
Definition at line 217 of file qtableview_p.h.
|
inline |
Definition at line 214 of file qtableview_p.h.
|
inline |
Definition at line 125 of file qtableview_p.h.
|
inline |
Definition at line 211 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 841 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 809 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.
| 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 757 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 774 of file qtableview.cpp.
| void QTableViewPrivate::selectColumn | ( | int | column, |
| bool | anchor ) |
Definition at line 3542 of file qtableview.cpp.
| void QTableViewPrivate::selectRow | ( | int | row, |
| bool | anchor ) |
Definition at line 3495 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 711 of file qtableview.cpp.
| void QTableViewPrivate::sortIndicatorChanged | ( | int | column, |
| Qt::SortOrder | order ) |
Sort the model when the header sort indicator changed
Definition at line 1023 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 744 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 788 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 627 of file qtableview.cpp.
| void QTableViewPrivate::updateSpanInsertedColumns | ( | const QModelIndex & | parent, |
| int | start, | ||
| int | end ) |
Updates spans after column insertion.
Definition at line 993 of file qtableview.cpp.
| void QTableViewPrivate::updateSpanInsertedRows | ( | const QModelIndex & | parent, |
| int | start, | ||
| int | end ) |
Updates spans after row insertion.
Definition at line 983 of file qtableview.cpp.
| void QTableViewPrivate::updateSpanRemovedColumns | ( | const QModelIndex & | parent, |
| int | start, | ||
| int | end ) |
Updates spans after column removal.
Definition at line 1013 of file qtableview.cpp.
| void QTableViewPrivate::updateSpanRemovedRows | ( | const QModelIndex & | parent, |
| int | start, | ||
| int | end ) |
Updates spans after row removal.
Definition at line 1003 of file qtableview.cpp.
| QStyleOptionViewItem::ViewItemPosition QTableViewPrivate::viewItemPosition | ( | const QModelIndex & | index | ) | const |
Definition at line 1028 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 868 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 1087 of file qtableview.cpp.
| QBasicTimer QTableViewPrivate::columnResizeTimer |
Definition at line 165 of file qtableview_p.h.
| QList<int> QTableViewPrivate::columnsToUpdate |
Definition at line 167 of file qtableview_p.h.
| std::vector<QMetaObject::Connection> QTableViewPrivate::dynHorHeaderConnections |
Definition at line 179 of file qtableview_p.h.
| bool QTableViewPrivate::geometryRecursionBlock |
Definition at line 182 of file qtableview_p.h.
| Qt::PenStyle QTableViewPrivate::gridStyle |
Definition at line 164 of file qtableview_p.h.
| std::array<QMetaObject::Connection, 5> QTableViewPrivate::horHeaderConnections |
Definition at line 178 of file qtableview_p.h.
| QHeaderView* QTableViewPrivate::horizontalHeader |
Definition at line 169 of file qtableview_p.h.
| std::array<QMetaObject::Connection, 4> QTableViewPrivate::modelConnections |
Definition at line 176 of file qtableview_p.h.
| QBasicTimer QTableViewPrivate::rowResizeTimer |
Definition at line 166 of file qtableview_p.h.
| QList<int> QTableViewPrivate::rowsToUpdate |
Definition at line 168 of file qtableview_p.h.
| QMetaObject::Connection QTableViewPrivate::selectionmodelConnection |
Definition at line 175 of file qtableview_p.h.
| bool QTableViewPrivate::showGrid |
Definition at line 163 of file qtableview_p.h.
| bool QTableViewPrivate::sortingEnabled |
Definition at line 181 of file qtableview_p.h.
| QSpanCollection QTableViewPrivate::spans |
Definition at line 185 of file qtableview_p.h.
| std::array<QMetaObject::Connection, 7> QTableViewPrivate::verHeaderConnections |
Definition at line 177 of file qtableview_p.h.
| QHeaderView* QTableViewPrivate::verticalHeader |
Definition at line 170 of file qtableview_p.h.
| QPoint QTableViewPrivate::visualCursor |
Definition at line 183 of file qtableview_p.h.