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 <qheaderview_p.h>
Classes | |
struct | LayoutChangeItem |
struct | SectionItem |
Public Types | |
enum | StateVersion { VersionMarker = 0xff } |
enum | State { NoState , ResizeSection , MoveSection , SelectSections , NoClear } |
Definition at line 34 of file qheaderview_p.h.
Enumerator | |
---|---|
NoState | |
ResizeSection | |
MoveSection | |
SelectSections | |
NoClear |
Definition at line 233 of file qheaderview_p.h.
Enumerator | |
---|---|
VersionMarker |
Definition at line 39 of file qheaderview_p.h.
|
inline |
Definition at line 41 of file qheaderview_p.h.
int QHeaderViewPrivate::adjustedVisualIndex | ( | int | visualIndex | ) | const |
Definition at line 3964 of file qheaderview.cpp.
References adjustedVisualIndex(), hiddenSectionSize, i, QHash< Key, T >::isEmpty(), isVisualIndexHidden(), sectionItems, and visualIndex().
Referenced by adjustedVisualIndex().
void QHeaderViewPrivate::cascadingResize | ( | int | visual, |
int | newSize ) |
Definition at line 3730 of file qheaderview.cpp.
References cascadingSectionSize, QHash< Key, T >::contains(), doDelayedResizeSections(), firstCascadingSection, hasAutoResizeSections(), headerSectionSize(), i, isVisualIndexHidden(), lastCascadingSection, qMax(), QHash< Key, T >::remove(), resizeSectionItem(), saveCascadingSectionSize(), sectionCount(), sectionIsCascadable(), QHash< Key, T >::value(), and viewport().
void QHeaderViewPrivate::clear | ( | ) |
Definition at line 3675 of file qheaderview.cpp.
References QBitArray::clear(), QList< T >::clear(), QHash< Key, T >::clear(), hiddenSectionSize, invalidateCachedSizeHint(), lastSectionLogicalIdx, logicalIndices, NoClear, sectionItems, sectionSelected, state, and visualIndices.
Referenced by sectionsChanged(), and sectionsRemoved().
|
inline |
Definition at line 187 of file qheaderview_p.h.
References cascadingSectionSize, QHash< Key, T >::clear(), firstCascadingSection, lastCascadingSection, and sectionItems.
|
inline |
Definition at line 111 of file qheaderview_p.h.
References QItemSelectionModel::columnIntersectsSelection(), QAbstractItemViewPrivate::root, and QAbstractItemViewPrivate::selectionModel.
Referenced by sectionIntersectsSelection().
void QHeaderViewPrivate::createSectionItems | ( | int | start, |
int | end, | ||
int | sectionSize, | ||
QHeaderView::ResizeMode | mode ) |
Definition at line 3649 of file qheaderview.cpp.
References i, sectionItems, and sectionStartposRecalc.
Referenced by resizeSectionItem(), resizeSections(), and setHeaderSectionResizeMode().
Qt::SortOrder QHeaderViewPrivate::defaultSortOrderForSection | ( | int | section | ) | const |
Definition at line 3722 of file qheaderview.cpp.
References Qt::AscendingOrder, QAbstractItemModel::headerData(), Qt::InitialSortOrderRole, QAbstractItemViewPrivate::model, orientation, and section.
Referenced by flipSortIndicator().
|
inline |
Definition at line 222 of file qheaderview_p.h.
References connection, QObject::disconnect(), and modelConnections.
|
inline |
Definition at line 211 of file qheaderview_p.h.
References delayedResize, QBasicTimer::isActive(), and QBasicTimer::start().
Referenced by cascadingResize(), maybeRestorePrevLastSectionAndStretchLast(), read(), sectionsRemoved(), and setDefaultSectionSize().
|
inline |
Definition at line 216 of file qheaderview_p.h.
References delayedResize, QBasicTimer::isActive(), NoState, resizeSections(), and state.
void QHeaderViewPrivate::flipSortIndicator | ( | int | section | ) |
Definition at line 3700 of file qheaderview.cpp.
References Qt::AscendingOrder, defaultSortOrderForSection(), flipOrder(), section, sortIndicatorClearable, sortIndicatorOrder, and sortIndicatorSection.
QStyleOptionHeader QHeaderViewPrivate::getStyleOption | ( | ) | const |
|
inline |
Definition at line 165 of file qheaderview_p.h.
References contentsSections, stretchLastSection, and stretchSections.
Referenced by cascadingResize(), and setDefaultSectionSize().
|
inline |
Definition at line 329 of file qheaderview_p.h.
References section, and sectionItems.
Referenced by sectionsChanged().
int QHeaderViewPrivate::headerSectionPosition | ( | int | visual | ) | const |
Definition at line 3904 of file qheaderview.cpp.
References recalcSectionStartPos(), sectionCount(), sectionItems, and sectionStartposRecalc.
QHeaderView::ResizeMode QHeaderViewPrivate::headerSectionResizeMode | ( | int | visual | ) | const |
Definition at line 3940 of file qheaderview.cpp.
References globalResizeMode, and sectionItems.
Referenced by resizeSectionItem(), resizeSections(), and sectionIsCascadable().
int QHeaderViewPrivate::headerSectionSize | ( | int | visual | ) | const |
Definition at line 3897 of file qheaderview.cpp.
References sectionCount(), and sectionItems.
Referenced by cascadingResize(), resizeSections(), setHeaderSectionResizeMode(), setNewLastSection(), and updateSectionsBeforeAfter().
int QHeaderViewPrivate::headerVisualIndexAt | ( | int | position | ) | const |
Definition at line 3914 of file qheaderview.cpp.
References position(), recalcSectionStartPos(), sectionItems, and sectionStartposRecalc.
|
inline |
Definition at line 175 of file qheaderview_p.h.
References logicalIndices, QList< T >::resize(), sectionCount(), QList< T >::size(), and visualIndices.
|
inline |
Definition at line 171 of file qheaderview_p.h.
References cachedSizeHint.
Referenced by clear(), resizeSections(), sectionsRemoved(), and setDefaultSectionSize().
|
inline |
Definition at line 123 of file qheaderview_p.h.
References QItemSelectionModel::isColumnSelected(), QAbstractItemViewPrivate::root, and QAbstractItemViewPrivate::selectionModel.
Referenced by isSectionSelected().
bool QHeaderViewPrivate::isFirstVisibleSection | ( | int | section | ) | const |
Definition at line 3441 of file qheaderview.cpp.
References item, recalcSectionStartPos(), section, sectionItems, and sectionStartposRecalc.
bool QHeaderViewPrivate::isLastVisibleSection | ( | int | section | ) | const |
Definition at line 3449 of file qheaderview.cpp.
References item, length, recalcSectionStartPos(), section, sectionItems, and sectionStartposRecalc.
|
inline |
Definition at line 119 of file qheaderview_p.h.
References QItemSelectionModel::isRowSelected(), QAbstractItemViewPrivate::root, and QAbstractItemViewPrivate::selectionModel.
Referenced by isSectionSelected().
bool QHeaderViewPrivate::isSectionSelected | ( | int | section | ) | const |
Definition at line 3424 of file qheaderview.cpp.
References Qt::Horizontal, i, isColumnSelected(), isRowSelected(), orientation, section, sectionSelected, QBitArray::setBit(), QBitArray::size(), and QBitArray::testBit().
|
inline |
Definition at line 157 of file qheaderview_p.h.
References sectionItems.
Referenced by adjustedVisualIndex(), cascadingResize(), resizeSections(), and setDefaultSectionSize().
int QHeaderViewPrivate::lastVisibleVisualIndex | ( | ) | const |
Returns the last visible (ie. not hidden) visual index
Definition at line 3461 of file qheaderview.cpp.
Referenced by maybeRestorePrevLastSectionAndStretchLast(), read(), and sectionsRemoved().
|
inline |
Definition at line 141 of file qheaderview_p.h.
References QList< T >::at(), QList< T >::isEmpty(), logicalIndices, and visualIndex().
Referenced by resizeSectionItem(), resizeSections(), sectionHandleAt(), sectionsAboutToBeChanged(), sectionsRemoved(), setDefaultSectionSize(), updateSectionsBeforeAfter(), and visualIndex().
void QHeaderViewPrivate::maybeRestorePrevLastSectionAndStretchLast | ( | ) |
Definition at line 3492 of file qheaderview.cpp.
References doDelayedResizeSections(), lastSectionLogicalIdx, lastVisibleVisualIndex(), restoreSizeOnPrevLastSection(), and setNewLastSection().
Referenced by sectionsChanged().
|
inline |
Definition at line 205 of file qheaderview_p.h.
References QAbstractItemModel::columnCount(), Qt::Horizontal, QAbstractItemViewPrivate::model, orientation, QAbstractItemViewPrivate::root, and QAbstractItemModel::rowCount().
Referenced by sectionsChanged().
|
inline |
Definition at line 127 of file qheaderview_p.h.
References QBitArray::clear(), QBitArray::fill(), QItemSelectionModel::hasSelection, sectionCount(), sectionSelected, QAbstractItemViewPrivate::selectionModel, and QBitArray::size().
bool QHeaderViewPrivate::read | ( | QDataStream & | in | ) |
Definition at line 4050 of file qheaderview.cpp.
References Qt::AlignVertical_Mask, cascadingResizing, clickableSections, QAbstractItemModel::columnCount(), contentsSections, customDefaultSectionSize, defaultAlignment, defaultSectionSize, doDelayedResizeSections(), global, globalResizeMode, hiddenSectionSize, highlightSelected, Qt::Horizontal, i, lastSectionLogicalIdx, lastSectionSize, lastVisibleVisualIndex(), logicalIndices, minimumSectionSize, QAbstractItemViewPrivate::model, movableSections, orientation, recalcSectionStartPos(), resizeContentsPrecision, QHeaderView::ResizeToContents, QAbstractItemViewPrivate::root, QAbstractItemModel::rowCount(), section, sectionItems, setHiddenSectionsFromBitVector(), sortIndicatorClearable, sortIndicatorOrder, sortIndicatorSection, sortIndicatorShown, stretchLastSection, stretchSections, updateDefaultSectionSizeFromStyle(), and visualIndices.
void QHeaderViewPrivate::recalcSectionStartPos | ( | ) | const |
Definition at line 3879 of file qheaderview.cpp.
References i, sectionItems, and sectionStartposRecalc.
Referenced by headerSectionPosition(), headerVisualIndexAt(), isFirstVisibleSection(), isLastVisibleSection(), read(), and sectionsChanged().
void QHeaderViewPrivate::removeSectionsFromSectionItems | ( | int | start, |
int | end ) |
Definition at line 3664 of file qheaderview.cpp.
References sectionItems, and sectionStartposRecalc.
Referenced by sectionsRemoved().
void QHeaderViewPrivate::resizeSectionItem | ( | int | visualIndex, |
int | oldSize, | ||
int | newSize ) |
Definition at line 3889 of file qheaderview.cpp.
References createSectionItems(), emit, headerSectionResizeMode(), logicalIndex(), and visualIndex().
Referenced by cascadingResize().
void QHeaderViewPrivate::resizeSections | ( | QHeaderView::ResizeMode | globalMode, |
bool | useGlobalMode = false ) |
Go through and resize all of the sections applying stretchLastSection, manual stretches, sizes, and useGlobalMode.
The different resize modes are: Interactive - the user decides the size Stretch - take up whatever space is left Fixed - the size is set programmatically outside the header ResizeToContentes - the size is set based on the contents of the row or column in the parent view
The resize mode will not affect the last section if stretchLastSection is true.
Definition at line 3522 of file qheaderview.cpp.
References createSectionItems(), delayedResize, emit, QAbstractItemViewPrivate::executePostedLayout(), QHeaderView::Fixed, headerSectionResizeMode(), headerSectionSize(), Qt::Horizontal, i, QHeaderView::Interactive, invalidateCachedSizeHint(), isVisualIndexHidden(), lastSectionLogicalIdx, lastSectionSize, logicalIndex(), orientation, qBound(), qMax(), resizeRecursionBlock, sectionCount(), QBasicTimer::stop(), QHeaderView::Stretch, stretchLastSection, viewport(), and viewSectionSizeHint().
Referenced by executePostedResize().
void QHeaderViewPrivate::restoreSizeOnPrevLastSection | ( | ) |
Definition at line 3473 of file qheaderview.cpp.
References lastSectionLogicalIdx, and lastSectionSize.
Referenced by maybeRestorePrevLastSectionAndStretchLast().
|
inline |
Definition at line 137 of file qheaderview_p.h.
References Qt::Horizontal, and orientation.
Referenced by sectionHandleAt(), and updateSectionsBeforeAfter().
|
inline |
Definition at line 107 of file qheaderview_p.h.
References QAbstractItemViewPrivate::root, QItemSelectionModel::rowIntersectsSelection(), and QAbstractItemViewPrivate::selectionModel.
Referenced by sectionIntersectsSelection().
|
inline |
Definition at line 193 of file qheaderview_p.h.
References cascadingSectionSize, QHash< Key, T >::contains(), firstCascadingSection, QHash< Key, T >::insert(), lastCascadingSection, qMax(), and qMin().
Referenced by cascadingResize().
|
inline |
Definition at line 135 of file qheaderview_p.h.
References sectionItems.
Referenced by cascadingResize(), headerSectionPosition(), headerSectionSize(), initializeIndexMapping(), prepareSectionSelected(), resizeSections(), sectionsRemoved(), updateHiddenSections(), updateSectionsBeforeAfter(), and write().
int QHeaderViewPrivate::sectionHandleAt | ( | int | position | ) |
Definition at line 3300 of file qheaderview.cpp.
References logicalIndex(), QStyle::PM_HeaderGripMargin, pos, position(), qSwap(), and reverse().
|
inline |
Definition at line 115 of file qheaderview_p.h.
References columnIntersectsSelection(), Qt::Horizontal, orientation, and rowIntersectsSelection().
|
inline |
Definition at line 201 of file qheaderview_p.h.
References headerSectionResizeMode(), and QHeaderView::Interactive.
Referenced by cascadingResize().
void QHeaderViewPrivate::sectionsAboutToBeChanged | ( | const QList< QPersistentModelIndex > & | parents = QList<QPersistentModelIndex>(), |
QAbstractItemModel::LayoutChangeHint | hint = QAbstractItemModel::NoLayoutChangeHint ) |
Definition at line 2082 of file qheaderview.cpp.
References QAbstractItemModel::columnCount(), defaultSectionSize, globalResizeMode, hiddenSectionSize, hint(), Qt::Horizontal, QAbstractItemModel::HorizontalSortHint, i, QAbstractItemModel::index(), lastSectionLogicalIdx, lastSectionSize, layoutChangePersistentSections, logicalIndex(), QAbstractItemViewPrivate::model, orientation, QAbstractItemViewPrivate::root, QAbstractItemModel::rowCount(), sectionItems, stretchLastSection, QHash< Key, T >::value(), Qt::Vertical, QAbstractItemModel::VerticalSortHint, and visualIndex().
Referenced by sectionsAboutToBeMoved(), and QHeaderView::setModel().
void QHeaderViewPrivate::sectionsAboutToBeMoved | ( | const QModelIndex & | sourceParent, |
int | logicalStart, | ||
int | logicalEnd, | ||
const QModelIndex & | destinationParent, | ||
int | logicalDestination ) |
Definition at line 2058 of file qheaderview.cpp.
References Q_UNUSED, QAbstractItemViewPrivate::root, and sectionsAboutToBeChanged().
Referenced by QHeaderView::setModel().
void QHeaderViewPrivate::sectionsChanged | ( | const QList< QPersistentModelIndex > & | parents = QList<QPersistentModelIndex>(), |
QAbstractItemModel::LayoutChangeHint | hint = QAbstractItemModel::NoLayoutChangeHint ) |
Definition at line 2128 of file qheaderview.cpp.
References clear(), QHash< Key, T >::clear(), defaultSectionSize, emit, globalResizeMode, headerLength(), hiddenSectionSize, hint(), Qt::Horizontal, QAbstractItemModel::HorizontalSortHint, item, lastSectionLogicalIdx, layoutChangePersistentSections, maybeRestorePrevLastSectionAndStretchLast(), modelSectionCount(), orientation, qBound(), recalcSectionStartPos(), sectionItems, stretchLastSection, Qt::Vertical, QAbstractItemModel::VerticalSortHint, viewport(), and visualIndex().
Referenced by sectionsMoved(), and QHeaderView::setModel().
|
inline |
Definition at line 336 of file qheaderview_p.h.
References hiddenSectionSize, QHash< Key, T >::isEmpty(), QBitArray::resize(), and sectionItems.
Referenced by write().
void QHeaderViewPrivate::sectionsMoved | ( | const QModelIndex & | sourceParent, |
int | logicalStart, | ||
int | logicalEnd, | ||
const QModelIndex & | destinationParent, | ||
int | logicalDestination ) |
Definition at line 2070 of file qheaderview.cpp.
References Q_UNUSED, QAbstractItemViewPrivate::root, and sectionsChanged().
Referenced by QHeaderView::setModel().
void QHeaderViewPrivate::sectionsRemoved | ( | const QModelIndex & | parent, |
int | logicalFirst, | ||
int | logicalLast ) |
Definition at line 1972 of file qheaderview.cpp.
References QList< T >::at(), clear(), QList< T >::data(), doDelayedResizeSections(), emit, invalidateCachedSizeHint(), QList< T >::isEmpty(), lastSectionLogicalIdx, lastVisibleVisualIndex(), logicalIndex(), logicalIndices, preventCursorChangeInSetOffset, Q_ASSERT, qMax(), qMin(), QList< T >::remove(), removeSectionsFromSectionItems(), QList< T >::resize(), ResizeSection, QAbstractItemViewPrivate::root, sectionCount(), sectionItems, sectionStartposRecalc, setNewLastSection(), QList< T >::size(), sortIndicatorSection, state, updateHiddenSections(), viewport(), and visualIndices.
Referenced by QHeaderView::setModel().
void QHeaderViewPrivate::setDefaultSectionSize | ( | int | size | ) |
Definition at line 3840 of file qheaderview.cpp.
References customDefaultSectionSize, defaultSectionSize, doDelayedResizeSections(), emit, QAbstractItemViewPrivate::executePostedLayout(), hasAutoResizeSections(), hiddenSectionSize, i, invalidateCachedSizeHint(), QHash< Key, T >::isEmpty(), isVisualIndexHidden(), logicalIndex(), preventCursorChangeInSetOffset, qBound(), ResizeSection, section, sectionItems, sectionStartposRecalc, state, and viewport().
|
inline |
Definition at line 149 of file qheaderview_p.h.
References Qt::AlignCenter, Qt::AlignLeft, Qt::AlignVCenter, defaultAlignment, Qt::Horizontal, o, orientation, and updateDefaultSectionSizeFromStyle().
void QHeaderViewPrivate::setGlobalHeaderResizeMode | ( | QHeaderView::ResizeMode | mode | ) |
Definition at line 3947 of file qheaderview.cpp.
References globalResizeMode, i, and sectionItems.
void QHeaderViewPrivate::setHeaderSectionResizeMode | ( | int | visual, |
QHeaderView::ResizeMode | mode ) |
Definition at line 3934 of file qheaderview.cpp.
References createSectionItems(), and headerSectionSize().
Definition at line 347 of file qheaderview_p.h.
References i, and sectionItems.
Referenced by read().
void QHeaderViewPrivate::setNewLastSection | ( | int | visualIndexForLastSection | ) |
Definition at line 3483 of file qheaderview.cpp.
References headerSectionSize(), lastSectionLogicalIdx, and lastSectionSize.
Referenced by maybeRestorePrevLastSectionAndStretchLast(), and sectionsRemoved().
void QHeaderViewPrivate::setScrollOffset | ( | const QScrollBar * | scrollBar, |
QAbstractItemView::ScrollMode | scrollMode ) |
Definition at line 3982 of file qheaderview.cpp.
References QAbstractSlider::maximum, scrollBar, QAbstractItemView::ScrollPerItem, and QAbstractSlider::value.
void QHeaderViewPrivate::setupSectionIndicator | ( | int | section, |
int | position ) |
Definition at line 3329 of file qheaderview.cpp.
References QVariant::canConvert(), QPainter::end(), QPixmap::fill(), Qt::FontRole, QAbstractItemModel::headerData(), Qt::Horizontal, QVariant::isValid(), QAbstractItemViewPrivate::model, orientation, painter, position(), qMax(), rect, section, sectionIndicatorOffset, QPixmap::setDevicePixelRatio(), QPainter::setFont(), QPainter::setOpacity(), variant, and viewport().
|
inline |
Definition at line 161 of file qheaderview_p.h.
References sectionItems.
void QHeaderViewPrivate::updateDefaultSectionSizeFromStyle | ( | ) |
Definition at line 3868 of file qheaderview.cpp.
References defaultSectionSize, Qt::Horizontal, orientation, QStyle::PM_HeaderDefaultSectionSizeHorizontal, QStyle::PM_HeaderDefaultSectionSizeVertical, and qMax().
Referenced by read(), and setDefaultValues().
void QHeaderViewPrivate::updateHiddenSections | ( | int | logicalFirst, |
int | logicalLast ) |
Definition at line 1956 of file qheaderview.cpp.
References hiddenSectionSize, i, j, and sectionCount().
Referenced by sectionsRemoved().
void QHeaderViewPrivate::updateSectionIndicator | ( | int | section, |
int | position ) |
Definition at line 3377 of file qheaderview.cpp.
References Qt::Horizontal, orientation, position(), section, and sectionIndicatorOffset.
void QHeaderViewPrivate::updateSectionsBeforeAfter | ( | int | logical | ) |
Definition at line 3995 of file qheaderview.cpp.
References headerSectionSize(), Qt::Horizontal, logicalIndex(), orientation, reverse(), sectionCount(), viewport(), and visualIndex().
int QHeaderViewPrivate::viewSectionSizeHint | ( | int | logical | ) | const |
Definition at line 3954 of file qheaderview.cpp.
References Qt::Horizontal, orientation, and view.
Referenced by resizeSections().
|
inline |
Definition at line 145 of file qheaderview_p.h.
References QList< T >::at(), QList< T >::isEmpty(), logicalIndex(), and visualIndices.
Referenced by adjustedVisualIndex(), logicalIndex(), resizeSectionItem(), sectionsAboutToBeChanged(), sectionsChanged(), and updateSectionsBeforeAfter().
void QHeaderViewPrivate::write | ( | QDataStream & | out | ) | const |
Definition at line 4015 of file qheaderview.cpp.
References cascadingResizing, clickableSections, contentsSections, customDefaultSectionSize, defaultAlignment, defaultSectionSize, globalResizeMode, hiddenSectionSize, highlightSelected, lastSectionSize, length, logicalIndices, minimumSectionSize, movableSections, orientation, out, resizeContentsPrecision, sectionCount(), sectionItems, sectionsHiddenToBitVector(), sortIndicatorClearable, sortIndicatorOrder, sortIndicatorSection, sortIndicatorShown, stretchLastSection, stretchSections, and visualIndices.
bool QHeaderViewPrivate::allowUserMoveOfSection0 |
Definition at line 270 of file qheaderview_p.h.
|
mutable |
Definition at line 247 of file qheaderview_p.h.
Referenced by invalidateCachedSizeHint().
bool QHeaderViewPrivate::cascadingResizing |
Definition at line 268 of file qheaderview_p.h.
|
mutable |
Definition at line 246 of file qheaderview_p.h.
Referenced by cascadingResize(), clearCascadingSections(), and saveCascadingSectionSize().
bool QHeaderViewPrivate::clickableSections |
Definition at line 265 of file qheaderview_p.h.
int QHeaderViewPrivate::contentsSections |
Definition at line 273 of file qheaderview_p.h.
Referenced by hasAutoResizeSections(), read(), and write().
bool QHeaderViewPrivate::customDefaultSectionSize |
Definition at line 271 of file qheaderview_p.h.
Referenced by read(), setDefaultSectionSize(), and write().
Qt::Alignment QHeaderViewPrivate::defaultAlignment |
Definition at line 280 of file qheaderview_p.h.
Referenced by read(), setDefaultValues(), and write().
int QHeaderViewPrivate::defaultSectionSize |
Definition at line 274 of file qheaderview_p.h.
Referenced by read(), sectionsAboutToBeChanged(), sectionsChanged(), setDefaultSectionSize(), updateDefaultSectionSizeFromStyle(), and write().
|
mutable |
Definition at line 248 of file qheaderview_p.h.
Referenced by doDelayedResizeSections(), executePostedResize(), and resizeSections().
int QHeaderViewPrivate::firstCascadingSection |
Definition at line 250 of file qheaderview_p.h.
Referenced by cascadingResize(), clearCascadingSections(), and saveCascadingSectionSize().
int QHeaderViewPrivate::firstPos |
Definition at line 254 of file qheaderview_p.h.
int QHeaderViewPrivate::firstPressed |
Definition at line 258 of file qheaderview_p.h.
QHeaderView::ResizeMode QHeaderViewPrivate::globalResizeMode |
Definition at line 284 of file qheaderview_p.h.
Referenced by headerSectionResizeMode(), read(), sectionsAboutToBeChanged(), sectionsChanged(), setGlobalHeaderResizeMode(), and write().
int QHeaderViewPrivate::headerOffset |
Definition at line 235 of file qheaderview_p.h.
|
mutable |
Definition at line 245 of file qheaderview_p.h.
Referenced by adjustedVisualIndex(), clear(), read(), sectionsAboutToBeChanged(), sectionsChanged(), sectionsHiddenToBitVector(), setDefaultSectionSize(), updateHiddenSections(), and write().
bool QHeaderViewPrivate::highlightSelected |
Definition at line 266 of file qheaderview_p.h.
int QHeaderViewPrivate::hover |
Definition at line 260 of file qheaderview_p.h.
int QHeaderViewPrivate::lastCascadingSection |
Definition at line 251 of file qheaderview_p.h.
Referenced by cascadingResize(), clearCascadingSections(), and saveCascadingSectionSize().
int QHeaderViewPrivate::lastPos |
Definition at line 253 of file qheaderview_p.h.
int QHeaderViewPrivate::lastSectionLogicalIdx |
Definition at line 278 of file qheaderview_p.h.
Referenced by clear(), maybeRestorePrevLastSectionAndStretchLast(), read(), resizeSections(), restoreSizeOnPrevLastSection(), sectionsAboutToBeChanged(), sectionsChanged(), sectionsRemoved(), and setNewLastSection().
int QHeaderViewPrivate::lastSectionSize |
Definition at line 277 of file qheaderview_p.h.
Referenced by read(), resizeSections(), restoreSizeOnPrevLastSection(), sectionsAboutToBeChanged(), setNewLastSection(), and write().
QList<LayoutChangeItem> QHeaderViewPrivate::layoutChangePersistentSections |
Definition at line 319 of file qheaderview_p.h.
Referenced by sectionsAboutToBeChanged(), and sectionsChanged().
int QHeaderViewPrivate::length |
Definition at line 262 of file qheaderview_p.h.
Referenced by isLastVisibleSection(), and write().
|
mutable |
Definition at line 243 of file qheaderview_p.h.
Referenced by clear(), initializeIndexMapping(), logicalIndex(), read(), sectionsRemoved(), and write().
int QHeaderViewPrivate::maximumSectionSize |
Definition at line 276 of file qheaderview_p.h.
int QHeaderViewPrivate::minimumSectionSize |
Definition at line 275 of file qheaderview_p.h.
std::array<QMetaObject::Connection, 8> QHeaderViewPrivate::modelConnections |
Definition at line 320 of file qheaderview_p.h.
Referenced by disconnectModel().
bool QHeaderViewPrivate::movableSections |
Definition at line 264 of file qheaderview_p.h.
Qt::Orientation QHeaderViewPrivate::orientation |
Definition at line 236 of file qheaderview_p.h.
Referenced by defaultSortOrderForSection(), isSectionSelected(), modelSectionCount(), read(), resizeSections(), reverse(), sectionIntersectsSelection(), sectionsAboutToBeChanged(), sectionsChanged(), setDefaultValues(), setupSectionIndicator(), updateDefaultSectionSizeFromStyle(), updateSectionIndicator(), updateSectionsBeforeAfter(), viewSectionSizeHint(), and write().
int QHeaderViewPrivate::originalSize |
Definition at line 255 of file qheaderview_p.h.
int QHeaderViewPrivate::pressed |
Definition at line 259 of file qheaderview_p.h.
bool QHeaderViewPrivate::preventCursorChangeInSetOffset |
Definition at line 263 of file qheaderview_p.h.
Referenced by sectionsRemoved(), and setDefaultSectionSize().
int QHeaderViewPrivate::resizeContentsPrecision |
Definition at line 286 of file qheaderview_p.h.
bool QHeaderViewPrivate::resizeRecursionBlock |
Definition at line 269 of file qheaderview_p.h.
Referenced by resizeSections().
int QHeaderViewPrivate::section |
Definition at line 256 of file qheaderview_p.h.
Referenced by defaultSortOrderForSection(), flipSortIndicator(), headerLength(), isFirstVisibleSection(), isLastVisibleSection(), isSectionSelected(), read(), setDefaultSectionSize(), setupSectionIndicator(), and updateSectionIndicator().
int QHeaderViewPrivate::sectionIndicatorOffset |
Definition at line 279 of file qheaderview_p.h.
Referenced by setupSectionIndicator(), and updateSectionIndicator().
QList<SectionItem> QHeaderViewPrivate::sectionItems |
Definition at line 314 of file qheaderview_p.h.
Referenced by adjustedVisualIndex(), clear(), clearCascadingSections(), createSectionItems(), headerLength(), headerSectionPosition(), headerSectionResizeMode(), headerSectionSize(), headerVisualIndexAt(), isFirstVisibleSection(), isLastVisibleSection(), isVisualIndexHidden(), read(), recalcSectionStartPos(), removeSectionsFromSectionItems(), sectionCount(), sectionsAboutToBeChanged(), sectionsChanged(), sectionsHiddenToBitVector(), sectionsRemoved(), setDefaultSectionSize(), setGlobalHeaderResizeMode(), setHiddenSectionsFromBitVector(), setVisualIndexHidden(), and write().
|
mutable |
Definition at line 244 of file qheaderview_p.h.
Referenced by clear(), isSectionSelected(), and prepareSectionSelected().
|
mutable |
Definition at line 285 of file qheaderview_p.h.
Referenced by createSectionItems(), headerSectionPosition(), headerVisualIndexAt(), isFirstVisibleSection(), isLastVisibleSection(), recalcSectionStartPos(), removeSectionsFromSectionItems(), sectionsRemoved(), and setDefaultSectionSize().
bool QHeaderViewPrivate::sortIndicatorClearable |
Definition at line 240 of file qheaderview_p.h.
Referenced by flipSortIndicator(), read(), and write().
Qt::SortOrder QHeaderViewPrivate::sortIndicatorOrder |
Definition at line 237 of file qheaderview_p.h.
Referenced by flipSortIndicator(), read(), and write().
int QHeaderViewPrivate::sortIndicatorSection |
Definition at line 238 of file qheaderview_p.h.
Referenced by flipSortIndicator(), read(), sectionsRemoved(), and write().
bool QHeaderViewPrivate::sortIndicatorShown |
Definition at line 239 of file qheaderview_p.h.
enum QHeaderViewPrivate::State QHeaderViewPrivate::state |
Referenced by clear(), executePostedResize(), sectionsRemoved(), and setDefaultSectionSize().
bool QHeaderViewPrivate::stretchLastSection |
Definition at line 267 of file qheaderview_p.h.
Referenced by hasAutoResizeSections(), read(), resizeSections(), sectionsAboutToBeChanged(), sectionsChanged(), and write().
int QHeaderViewPrivate::stretchSections |
Definition at line 272 of file qheaderview_p.h.
Referenced by hasAutoResizeSections(), read(), and write().
int QHeaderViewPrivate::target |
Definition at line 257 of file qheaderview_p.h.
|
mutable |
Definition at line 242 of file qheaderview_p.h.
Referenced by clear(), initializeIndexMapping(), read(), sectionsRemoved(), visualIndex(), and write().