![]() |
Qt 6.x
The Qt SDK
|
#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 32 of file qheaderview_p.h.
Enumerator | |
---|---|
NoState | |
ResizeSection | |
MoveSection | |
SelectSections | |
NoClear |
Definition at line 221 of file qheaderview_p.h.
Enumerator | |
---|---|
VersionMarker |
Definition at line 37 of file qheaderview_p.h.
|
inline |
Definition at line 39 of file qheaderview_p.h.
void QHeaderViewPrivate::_q_sectionsAboutToBeChanged | ( | const QList< QPersistentModelIndex > & | parents = QList<QPersistentModelIndex>() , |
QAbstractItemModel::LayoutChangeHint | hint = QAbstractItemModel::NoLayoutChangeHint |
||
) |
Definition at line 2119 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 _q_sectionsAboutToBeMoved().
void QHeaderViewPrivate::_q_sectionsAboutToBeMoved | ( | const QModelIndex & | sourceParent, |
int | logicalStart, | ||
int | logicalEnd, | ||
const QModelIndex & | destinationParent, | ||
int | logicalDestination | ||
) |
Definition at line 2099 of file qheaderview.cpp.
References _q_sectionsAboutToBeChanged(), Q_UNUSED, and QAbstractItemViewPrivate::root.
void QHeaderViewPrivate::_q_sectionsChanged | ( | const QList< QPersistentModelIndex > & | parents = QList<QPersistentModelIndex>() , |
QAbstractItemModel::LayoutChangeHint | hint = QAbstractItemModel::NoLayoutChangeHint |
||
) |
Definition at line 2165 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 _q_sectionsMoved().
void QHeaderViewPrivate::_q_sectionsMoved | ( | const QModelIndex & | sourceParent, |
int | logicalStart, | ||
int | logicalEnd, | ||
const QModelIndex & | destinationParent, | ||
int | logicalDestination | ||
) |
Definition at line 2109 of file qheaderview.cpp.
References _q_sectionsChanged(), Q_UNUSED, and QAbstractItemViewPrivate::root.
void QHeaderViewPrivate::_q_sectionsRemoved | ( | const QModelIndex & | parent, |
int | logicalFirst, | ||
int | logicalLast | ||
) |
Definition at line 2013 of file qheaderview.cpp.
References QList< T >::at(), clear(), QList< T >::data(), doDelayedResizeSections(), emit, invalidateCachedSizeHint(), QList< T >::isEmpty(), lastSectionLogicalIdx, lastVisibleVisualIndex(), logicalIndex(), logicalIndices, parent, 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.
int QHeaderViewPrivate::adjustedVisualIndex | ( | int | visualIndex | ) | const |
Definition at line 4001 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 3767 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 3712 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 _q_sectionsChanged(), and _q_sectionsRemoved().
|
inline |
Definition at line 181 of file qheaderview_p.h.
References cascadingSectionSize, QHash< Key, T >::clear(), firstCascadingSection, lastCascadingSection, and sectionItems.
|
inline |
Definition at line 105 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 3686 of file qheaderview.cpp.
References i, QHeaderViewPrivate::SectionItem::resizeMode, sectionItems, sectionStartposRecalc, and QHeaderViewPrivate::SectionItem::size.
Referenced by resizeSectionItem(), resizeSections(), and setHeaderSectionResizeMode().
Qt::SortOrder QHeaderViewPrivate::defaultSortOrderForSection | ( | int | section | ) | const |
Definition at line 3759 of file qheaderview.cpp.
References Qt::AscendingOrder, QAbstractItemModel::headerData(), Qt::InitialSortOrderRole, QAbstractItemViewPrivate::model, orientation, and section.
Referenced by flipSortIndicator().
|
inline |
Definition at line 205 of file qheaderview_p.h.
References delayedResize, QBasicTimer::isActive(), and QBasicTimer::start().
Referenced by _q_sectionsRemoved(), cascadingResize(), maybeRestorePrevLastSectionAndStretchLast(), read(), and setDefaultSectionSize().
|
inline |
Definition at line 210 of file qheaderview_p.h.
References delayedResize, QBasicTimer::isActive(), NoState, resizeSections(), and state.
void QHeaderViewPrivate::flipSortIndicator | ( | int | section | ) |
Definition at line 3737 of file qheaderview.cpp.
References Qt::AscendingOrder, defaultSortOrderForSection(), flipOrder(), section, sortIndicatorClearable, sortIndicatorOrder, and sortIndicatorSection.
QStyleOptionHeader QHeaderViewPrivate::getStyleOption | ( | ) | const |
|
inline |
Definition at line 159 of file qheaderview_p.h.
References contentsSections, stretchLastSection, and stretchSections.
Referenced by cascadingResize(), and setDefaultSectionSize().
|
inline |
Definition at line 316 of file qheaderview_p.h.
References section, and sectionItems.
Referenced by _q_sectionsChanged().
int QHeaderViewPrivate::headerSectionPosition | ( | int | visual | ) | const |
Definition at line 3941 of file qheaderview.cpp.
References recalcSectionStartPos(), sectionCount(), sectionItems, and sectionStartposRecalc.
QHeaderView::ResizeMode QHeaderViewPrivate::headerSectionResizeMode | ( | int | visual | ) | const |
Definition at line 3977 of file qheaderview.cpp.
References globalResizeMode, and sectionItems.
Referenced by resizeSectionItem(), resizeSections(), and sectionIsCascadable().
int QHeaderViewPrivate::headerSectionSize | ( | int | visual | ) | const |
Definition at line 3934 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 3951 of file qheaderview.cpp.
References position(), recalcSectionStartPos(), sectionItems, and sectionStartposRecalc.
|
inline |
Definition at line 169 of file qheaderview_p.h.
References logicalIndices, QList< T >::resize(), sectionCount(), QList< T >::size(), and visualIndices.
|
inline |
Definition at line 165 of file qheaderview_p.h.
References cachedSizeHint.
Referenced by _q_sectionsRemoved(), clear(), resizeSections(), and setDefaultSectionSize().
|
inline |
Definition at line 117 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 3478 of file qheaderview.cpp.
References item, recalcSectionStartPos(), section, sectionItems, and sectionStartposRecalc.
bool QHeaderViewPrivate::isLastVisibleSection | ( | int | section | ) | const |
Definition at line 3486 of file qheaderview.cpp.
References item, length, recalcSectionStartPos(), section, sectionItems, and sectionStartposRecalc.
|
inline |
Definition at line 113 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 3461 of file qheaderview.cpp.
References Qt::Horizontal, i, isColumnSelected(), isRowSelected(), orientation, section, sectionSelected, QBitArray::setBit(), QBitArray::size(), and QBitArray::testBit().
|
inline |
Definition at line 151 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 3498 of file qheaderview.cpp.
Referenced by _q_sectionsRemoved(), maybeRestorePrevLastSectionAndStretchLast(), and read().
|
inline |
Definition at line 135 of file qheaderview_p.h.
References QList< T >::at(), QList< T >::isEmpty(), logicalIndices, and visualIndex().
Referenced by _q_sectionsAboutToBeChanged(), _q_sectionsRemoved(), resizeSectionItem(), resizeSections(), sectionHandleAt(), setDefaultSectionSize(), updateSectionsBeforeAfter(), and visualIndex().
void QHeaderViewPrivate::maybeRestorePrevLastSectionAndStretchLast | ( | ) |
Definition at line 3529 of file qheaderview.cpp.
References doDelayedResizeSections(), lastSectionLogicalIdx, lastVisibleVisualIndex(), restoreSizeOnPrevLastSection(), and setNewLastSection().
Referenced by _q_sectionsChanged().
|
inline |
Definition at line 199 of file qheaderview_p.h.
References QAbstractItemModel::columnCount(), Qt::Horizontal, QAbstractItemViewPrivate::model, orientation, QAbstractItemViewPrivate::root, and QAbstractItemModel::rowCount().
Referenced by _q_sectionsChanged().
|
inline |
Definition at line 121 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 4087 of file qheaderview.cpp.
References Qt::AlignVertical_Mask, QList< T >::append(), QList< T >::at(), cascadingResizing, clickableSections, QAbstractItemModel::columnCount(), contentsSections, customDefaultSectionSize, defaultAlignment, defaultSectionSize, doDelayedResizeSections(), global, globalResizeMode, hiddenSectionSize, highlightSelected, Qt::Horizontal, i, QList< T >::insert(), QList< T >::isEmpty(), lastSectionLogicalIdx, lastSectionSize, lastVisibleVisualIndex(), logicalIndices, minimumSectionSize, QAbstractItemViewPrivate::model, movableSections, QDataStream::Ok, orientation, recalcSectionStartPos(), resizeContentsPrecision, QHeaderView::ResizeToContents, QAbstractItemViewPrivate::root, QAbstractItemModel::rowCount(), section, sectionItems, setHiddenSectionsFromBitVector(), QList< T >::size(), sortIndicatorClearable, sortIndicatorOrder, sortIndicatorSection, sortIndicatorShown, stretchLastSection, stretchSections, updateDefaultSectionSizeFromStyle(), and visualIndices.
void QHeaderViewPrivate::recalcSectionStartPos | ( | ) | const |
Definition at line 3916 of file qheaderview.cpp.
References i, sectionItems, and sectionStartposRecalc.
Referenced by _q_sectionsChanged(), headerSectionPosition(), headerVisualIndexAt(), isFirstVisibleSection(), isLastVisibleSection(), and read().
void QHeaderViewPrivate::removeSectionsFromSectionItems | ( | int | start, |
int | end | ||
) |
Definition at line 3701 of file qheaderview.cpp.
References sectionItems, and sectionStartposRecalc.
Referenced by _q_sectionsRemoved().
void QHeaderViewPrivate::resizeSectionItem | ( | int | visualIndex, |
int | oldSize, | ||
int | newSize | ||
) |
Definition at line 3926 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 3559 of file qheaderview.cpp.
References QList< T >::append(), createSectionItems(), delayedResize, emit, QAbstractItemViewPrivate::executePostedLayout(), QHeaderView::Fixed, headerSectionResizeMode(), headerSectionSize(), Qt::Horizontal, i, QHeaderView::Interactive, invalidateCachedSizeHint(), isVisualIndexHidden(), lastSectionLogicalIdx, lastSectionSize, logicalIndex(), orientation, qBound(), qMax(), QList< T >::removeFirst(), resizeRecursionBlock, sectionCount(), QBasicTimer::stop(), QHeaderView::Stretch, stretchLastSection, QList< T >::takeFirst(), viewport(), and viewSectionSizeHint().
Referenced by executePostedResize().
void QHeaderViewPrivate::restoreSizeOnPrevLastSection | ( | ) |
Definition at line 3510 of file qheaderview.cpp.
References lastSectionLogicalIdx, and lastSectionSize.
Referenced by maybeRestorePrevLastSectionAndStretchLast().
|
inline |
Definition at line 131 of file qheaderview_p.h.
References Qt::Horizontal, and orientation.
Referenced by sectionHandleAt(), and updateSectionsBeforeAfter().
|
inline |
Definition at line 101 of file qheaderview_p.h.
References QAbstractItemViewPrivate::root, QItemSelectionModel::rowIntersectsSelection(), and QAbstractItemViewPrivate::selectionModel.
Referenced by sectionIntersectsSelection().
|
inline |
Definition at line 187 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 129 of file qheaderview_p.h.
References sectionItems.
Referenced by _q_sectionsRemoved(), cascadingResize(), headerSectionPosition(), headerSectionSize(), initializeIndexMapping(), prepareSectionSelected(), resizeSections(), updateHiddenSections(), updateSectionsBeforeAfter(), and write().
int QHeaderViewPrivate::sectionHandleAt | ( | int | position | ) |
Definition at line 3337 of file qheaderview.cpp.
References logicalIndex(), QStyle::PM_HeaderGripMargin, pos, position(), qSwap(), and reverse().
|
inline |
Definition at line 109 of file qheaderview_p.h.
References columnIntersectsSelection(), Qt::Horizontal, orientation, and rowIntersectsSelection().
|
inline |
Definition at line 195 of file qheaderview_p.h.
References headerSectionResizeMode(), and QHeaderView::Interactive.
Referenced by cascadingResize().
|
inline |
Definition at line 323 of file qheaderview_p.h.
References hiddenSectionSize, QHash< Key, T >::isEmpty(), QBitArray::resize(), and sectionItems.
Referenced by write().
void QHeaderViewPrivate::setDefaultSectionSize | ( | int | size | ) |
Definition at line 3877 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 143 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 3984 of file qheaderview.cpp.
References globalResizeMode, i, and sectionItems.
void QHeaderViewPrivate::setHeaderSectionResizeMode | ( | int | visual, |
QHeaderView::ResizeMode | mode | ||
) |
Definition at line 3971 of file qheaderview.cpp.
References createSectionItems(), and headerSectionSize().
Definition at line 334 of file qheaderview_p.h.
References QBitArray::at(), i, sectionItems, and QBitArray::size().
Referenced by read().
void QHeaderViewPrivate::setNewLastSection | ( | int | visualIndexForLastSection | ) |
Definition at line 3520 of file qheaderview.cpp.
References headerSectionSize(), lastSectionLogicalIdx, and lastSectionSize.
Referenced by _q_sectionsRemoved(), and maybeRestorePrevLastSectionAndStretchLast().
void QHeaderViewPrivate::setScrollOffset | ( | const QScrollBar * | scrollBar, |
QAbstractItemView::ScrollMode | scrollMode | ||
) |
Definition at line 4019 of file qheaderview.cpp.
References QAbstractSlider::maximum, scrollBar, QAbstractItemView::ScrollPerItem, and QAbstractSlider::value.
void QHeaderViewPrivate::setupSectionIndicator | ( | int | section, |
int | position | ||
) |
Definition at line 3366 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 155 of file qheaderview_p.h.
References sectionItems.
void QHeaderViewPrivate::updateDefaultSectionSizeFromStyle | ( | ) |
Definition at line 3905 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 1997 of file qheaderview.cpp.
References hiddenSectionSize, i, j, and sectionCount().
Referenced by _q_sectionsRemoved().
void QHeaderViewPrivate::updateSectionIndicator | ( | int | section, |
int | position | ||
) |
Definition at line 3414 of file qheaderview.cpp.
References Qt::Horizontal, orientation, position(), section, and sectionIndicatorOffset.
void QHeaderViewPrivate::updateSectionsBeforeAfter | ( | int | logical | ) |
Definition at line 4032 of file qheaderview.cpp.
References headerSectionSize(), Qt::Horizontal, logicalIndex(), orientation, reverse(), sectionCount(), viewport(), and visualIndex().
int QHeaderViewPrivate::viewSectionSizeHint | ( | int | logical | ) | const |
Definition at line 3991 of file qheaderview.cpp.
References Qt::Horizontal, orientation, parent, and view.
Referenced by resizeSections().
|
inline |
Definition at line 139 of file qheaderview_p.h.
References QList< T >::at(), QList< T >::isEmpty(), logicalIndex(), and visualIndices.
Referenced by _q_sectionsAboutToBeChanged(), _q_sectionsChanged(), adjustedVisualIndex(), logicalIndex(), resizeSectionItem(), and updateSectionsBeforeAfter().
void QHeaderViewPrivate::write | ( | QDataStream & | out | ) | const |
Definition at line 4052 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 258 of file qheaderview_p.h.
|
mutable |
Definition at line 235 of file qheaderview_p.h.
Referenced by invalidateCachedSizeHint().
bool QHeaderViewPrivate::cascadingResizing |
Definition at line 256 of file qheaderview_p.h.
|
mutable |
Definition at line 234 of file qheaderview_p.h.
Referenced by cascadingResize(), clearCascadingSections(), and saveCascadingSectionSize().
bool QHeaderViewPrivate::clickableSections |
Definition at line 253 of file qheaderview_p.h.
int QHeaderViewPrivate::contentsSections |
Definition at line 261 of file qheaderview_p.h.
Referenced by hasAutoResizeSections(), read(), and write().
bool QHeaderViewPrivate::customDefaultSectionSize |
Definition at line 259 of file qheaderview_p.h.
Referenced by read(), setDefaultSectionSize(), and write().
Qt::Alignment QHeaderViewPrivate::defaultAlignment |
Definition at line 268 of file qheaderview_p.h.
Referenced by read(), setDefaultValues(), and write().
int QHeaderViewPrivate::defaultSectionSize |
Definition at line 262 of file qheaderview_p.h.
Referenced by _q_sectionsAboutToBeChanged(), _q_sectionsChanged(), read(), setDefaultSectionSize(), updateDefaultSectionSizeFromStyle(), and write().
|
mutable |
Definition at line 236 of file qheaderview_p.h.
Referenced by doDelayedResizeSections(), executePostedResize(), and resizeSections().
int QHeaderViewPrivate::firstCascadingSection |
Definition at line 238 of file qheaderview_p.h.
Referenced by cascadingResize(), clearCascadingSections(), and saveCascadingSectionSize().
int QHeaderViewPrivate::firstPos |
Definition at line 242 of file qheaderview_p.h.
int QHeaderViewPrivate::firstPressed |
Definition at line 246 of file qheaderview_p.h.
QHeaderView::ResizeMode QHeaderViewPrivate::globalResizeMode |
Definition at line 272 of file qheaderview_p.h.
Referenced by _q_sectionsAboutToBeChanged(), _q_sectionsChanged(), headerSectionResizeMode(), read(), setGlobalHeaderResizeMode(), and write().
|
mutable |
Definition at line 233 of file qheaderview_p.h.
Referenced by _q_sectionsAboutToBeChanged(), _q_sectionsChanged(), adjustedVisualIndex(), clear(), read(), sectionsHiddenToBitVector(), setDefaultSectionSize(), updateHiddenSections(), and write().
bool QHeaderViewPrivate::highlightSelected |
Definition at line 254 of file qheaderview_p.h.
int QHeaderViewPrivate::hover |
Definition at line 248 of file qheaderview_p.h.
int QHeaderViewPrivate::lastCascadingSection |
Definition at line 239 of file qheaderview_p.h.
Referenced by cascadingResize(), clearCascadingSections(), and saveCascadingSectionSize().
int QHeaderViewPrivate::lastPos |
Definition at line 241 of file qheaderview_p.h.
int QHeaderViewPrivate::lastSectionLogicalIdx |
Definition at line 266 of file qheaderview_p.h.
Referenced by _q_sectionsAboutToBeChanged(), _q_sectionsChanged(), _q_sectionsRemoved(), clear(), maybeRestorePrevLastSectionAndStretchLast(), read(), resizeSections(), restoreSizeOnPrevLastSection(), and setNewLastSection().
int QHeaderViewPrivate::lastSectionSize |
Definition at line 265 of file qheaderview_p.h.
Referenced by _q_sectionsAboutToBeChanged(), read(), resizeSections(), restoreSizeOnPrevLastSection(), setNewLastSection(), and write().
QList<LayoutChangeItem> QHeaderViewPrivate::layoutChangePersistentSections |
Definition at line 307 of file qheaderview_p.h.
Referenced by _q_sectionsAboutToBeChanged(), and _q_sectionsChanged().
int QHeaderViewPrivate::length |
Definition at line 250 of file qheaderview_p.h.
Referenced by isLastVisibleSection(), and write().
|
mutable |
Definition at line 231 of file qheaderview_p.h.
Referenced by _q_sectionsRemoved(), clear(), initializeIndexMapping(), logicalIndex(), read(), and write().
int QHeaderViewPrivate::maximumSectionSize |
Definition at line 264 of file qheaderview_p.h.
int QHeaderViewPrivate::minimumSectionSize |
Definition at line 263 of file qheaderview_p.h.
bool QHeaderViewPrivate::movableSections |
Definition at line 252 of file qheaderview_p.h.
int QHeaderViewPrivate::offset |
Definition at line 223 of file qheaderview_p.h.
Qt::Orientation QHeaderViewPrivate::orientation |
Definition at line 224 of file qheaderview_p.h.
Referenced by _q_sectionsAboutToBeChanged(), _q_sectionsChanged(), defaultSortOrderForSection(), isSectionSelected(), modelSectionCount(), read(), resizeSections(), reverse(), sectionIntersectsSelection(), setDefaultValues(), setupSectionIndicator(), updateDefaultSectionSizeFromStyle(), updateSectionIndicator(), updateSectionsBeforeAfter(), viewSectionSizeHint(), and write().
int QHeaderViewPrivate::originalSize |
Definition at line 243 of file qheaderview_p.h.
int QHeaderViewPrivate::pressed |
Definition at line 247 of file qheaderview_p.h.
bool QHeaderViewPrivate::preventCursorChangeInSetOffset |
Definition at line 251 of file qheaderview_p.h.
Referenced by _q_sectionsRemoved(), and setDefaultSectionSize().
int QHeaderViewPrivate::resizeContentsPrecision |
Definition at line 274 of file qheaderview_p.h.
bool QHeaderViewPrivate::resizeRecursionBlock |
Definition at line 257 of file qheaderview_p.h.
Referenced by resizeSections().
int QHeaderViewPrivate::section |
Definition at line 244 of file qheaderview_p.h.
Referenced by defaultSortOrderForSection(), flipSortIndicator(), headerLength(), isFirstVisibleSection(), isLastVisibleSection(), isSectionSelected(), read(), setDefaultSectionSize(), setupSectionIndicator(), and updateSectionIndicator().
int QHeaderViewPrivate::sectionIndicatorOffset |
Definition at line 267 of file qheaderview_p.h.
Referenced by setupSectionIndicator(), and updateSectionIndicator().
QList<SectionItem> QHeaderViewPrivate::sectionItems |
Definition at line 302 of file qheaderview_p.h.
Referenced by _q_sectionsAboutToBeChanged(), _q_sectionsChanged(), _q_sectionsRemoved(), adjustedVisualIndex(), clear(), clearCascadingSections(), createSectionItems(), headerLength(), headerSectionPosition(), headerSectionResizeMode(), headerSectionSize(), headerVisualIndexAt(), isFirstVisibleSection(), isLastVisibleSection(), isVisualIndexHidden(), read(), recalcSectionStartPos(), removeSectionsFromSectionItems(), sectionCount(), sectionsHiddenToBitVector(), setDefaultSectionSize(), setGlobalHeaderResizeMode(), setHiddenSectionsFromBitVector(), setVisualIndexHidden(), and write().
|
mutable |
Definition at line 232 of file qheaderview_p.h.
Referenced by clear(), isSectionSelected(), and prepareSectionSelected().
|
mutable |
Definition at line 273 of file qheaderview_p.h.
Referenced by _q_sectionsRemoved(), createSectionItems(), headerSectionPosition(), headerVisualIndexAt(), isFirstVisibleSection(), isLastVisibleSection(), recalcSectionStartPos(), removeSectionsFromSectionItems(), and setDefaultSectionSize().
bool QHeaderViewPrivate::sortIndicatorClearable |
Definition at line 228 of file qheaderview_p.h.
Referenced by flipSortIndicator(), read(), and write().
Qt::SortOrder QHeaderViewPrivate::sortIndicatorOrder |
Definition at line 225 of file qheaderview_p.h.
Referenced by flipSortIndicator(), read(), and write().
int QHeaderViewPrivate::sortIndicatorSection |
Definition at line 226 of file qheaderview_p.h.
Referenced by _q_sectionsRemoved(), flipSortIndicator(), read(), and write().
bool QHeaderViewPrivate::sortIndicatorShown |
Definition at line 227 of file qheaderview_p.h.
enum QHeaderViewPrivate::State QHeaderViewPrivate::state |
Referenced by _q_sectionsRemoved(), clear(), executePostedResize(), and setDefaultSectionSize().
bool QHeaderViewPrivate::stretchLastSection |
Definition at line 255 of file qheaderview_p.h.
Referenced by _q_sectionsAboutToBeChanged(), _q_sectionsChanged(), hasAutoResizeSections(), read(), resizeSections(), and write().
int QHeaderViewPrivate::stretchSections |
Definition at line 260 of file qheaderview_p.h.
Referenced by hasAutoResizeSections(), read(), and write().
int QHeaderViewPrivate::target |
Definition at line 245 of file qheaderview_p.h.
|
mutable |
Definition at line 230 of file qheaderview_p.h.
Referenced by _q_sectionsRemoved(), clear(), initializeIndexMapping(), read(), visualIndex(), and write().