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 <qlistview_p.h>
Static Public Member Functions | |
static QSize | viewportSize (const QAbstractItemView *v) |
Public Attributes | |
QList< int > | flowPositions |
QList< int > | segmentPositions |
QList< int > | segmentStartRows |
QList< int > | segmentExtents |
QList< int > | scrollValueMap |
int | batchSavedPosition |
Public Attributes inherited from QCommonListViewBase | |
QListViewPrivate * | dd |
QListView * | |
QSize | contentsSize |
int | batchStartRow |
int | batchSavedDeltaSeg |
Definition at line 161 of file qlistview_p.h.
QListModeViewBase::QListModeViewBase | ( | QListView * | q, |
QListViewPrivate * | d ) |
Definition at line 2125 of file qlistview.cpp.
References Qt::CopyAction, and QCommonListViewBase::dd.
|
overridevirtual |
Implements QCommonListViewBase.
Definition at line 2851 of file qlistview.cpp.
References QCommonListViewBase::batchSavedDeltaSeg, batchSavedPosition, QCommonListViewBase::batchStartRow, QList< T >::clear(), flowPositions, segmentExtents, segmentPositions, and segmentStartRows.
|
overridevirtual |
Implements QCommonListViewBase.
Definition at line 2721 of file qlistview.cpp.
References QCommonListViewBase::dd, and QAbstractItemViewPrivate::doDelayedItemsLayout().
|
overridevirtual |
Implements QCommonListViewBase.
Definition at line 2470 of file qlistview.cpp.
References QCommonListViewBase::batchStartRow, and info.
|
overridevirtual |
Reimplemented from QCommonListViewBase.
Definition at line 2362 of file qlistview.cpp.
References QList< T >::at(), currentValue, QCommonListViewBase::flow(), flowPositions, QCommonListViewBase::horizontalOffset(), QCommonListViewBase::horizontalScrollBar(), QCommonListViewBase::horizontalScrollMode(), QList< T >::isEmpty(), QCommonListViewBase::isRightToLeft(), QCommonListViewBase::isWrapping(), QListView::LeftToRight, position(), qBound(), QAbstractItemView::ScrollPerItem, scrollValueMap, segmentPositions, QList< T >::size(), and QListView::TopToBottom.
|
overridevirtual |
Reimplemented from QCommonListViewBase.
Definition at line 2403 of file qlistview.cpp.
References area(), QList< T >::at(), QAbstractItemView::EnsureVisible, flowPositions, hint(), Qt::Horizontal, QCommonListViewBase::horizontalScrollBar(), QCommonListViewBase::horizontalScrollMode(), QCommonListViewBase::horizontalScrollToValue(), QList< T >::isEmpty(), QCommonListViewBase::isWrapping(), QAbstractItemView::PositionAtBottom, QAbstractItemView::PositionAtTop, qBound(), rect, QAbstractItemView::ScrollPerItem, scrollValueMap, and QList< T >::size().
|
overridevirtual |
Implements QCommonListViewBase.
Definition at line 2476 of file qlistview.cpp.
References Qt::AlignHCenter, Qt::AlignHorizontal_Mask, Qt::AlignRight, QList< T >::at(), QCommonListViewBase::cachedItemSize(), QCommonListViewBase::contentsSize, QCommonListViewBase::dd, QCommonListViewBase::flow(), flowPositions, QCommonListViewBase::initViewItemOption(), QList< T >::isEmpty(), QSize::isValid(), QCommonListViewBase::isWrapping(), QListViewPrivate::itemAlignment, QCommonListViewBase::itemSize(), QListView::LeftToRight, pos, qMax(), qMin(), segmentPositions, segmentStartRows, QPoint::setX(), QList< T >::size(), QCommonListViewBase::spacing(), QCommonListViewBase::uniformItemSizes(), QCommonListViewBase::viewport(), and QSize::width().
Referenced by intersectingSet().
|
overridevirtual |
Finds the set of items intersecting with area. In this function, itemsize is counted from topleft to the start of the next item.
Implements QCommonListViewBase.
Definition at line 2667 of file qlistview.cpp.
References area(), QList< T >::at(), QCommonListViewBase::batchStartRow, QCommonListViewBase::dd, QCommonListViewBase::flow(), flowPositions, indexToListViewItem(), QList< T >::isEmpty(), QCommonListViewBase::isHidden(), QListViewPrivate::itemAlignment, QListView::LeftToRight, QCommonListViewBase::modelIndex(), qMax(), qMin(), qWarning, ret, segmentExtents, segmentPositions, segmentStartRows, and QList< T >::size().
|
inlineoverridevirtual |
Reimplemented from QCommonListViewBase.
Definition at line 2727 of file qlistview.cpp.
References QCommonListViewBase::contentsSize, QCommonListViewBase::flow(), QSize::height(), QCommonListViewBase::isWrapping(), qMax(), rect, QRect::setLeft(), QCommonListViewBase::spacing(), QListView::TopToBottom, QCommonListViewBase::viewport(), and QSize::width().
|
overridevirtual |
Reimplemented from QCommonListViewBase.
Definition at line 2424 of file qlistview.cpp.
References QList< T >::at(), currentValue, QCommonListViewBase::flow(), flowPositions, QCommonListViewBase::horizontalScrollBar(), QCommonListViewBase::horizontalScrollMode(), QList< T >::isEmpty(), QCommonListViewBase::isWrapping(), QListView::LeftToRight, qBound(), QCommonListViewBase::scrollContentsBy(), QAbstractItemView::ScrollPerItem, scrollValueMap, segmentPositions, QList< T >::size(), QCommonListViewBase::spacing(), QListView::TopToBottom, QAbstractSlider::value, QCommonListViewBase::verticalScrollBar(), and QCommonListViewBase::verticalScrollMode().
|
inlineoverridevirtual |
Implements QCommonListViewBase.
Definition at line 180 of file qlistview_p.h.
References flowPositions, QList< T >::resize(), and QCommonListViewBase::rowCount().
Reimplemented from QCommonListViewBase.
Definition at line 2315 of file qlistview.cpp.
References QCommonListViewBase::contentsSize, QCommonListViewBase::flow(), QCommonListViewBase::horizontalScrollBar(), QCommonListViewBase::horizontalScrollMode(), QCommonListViewBase::isWrapping(), QListView::LeftToRight, QAbstractItemView::ScrollPerItem, scrollValueMap, segmentPositions, QAbstractSlider::setPageStep(), QAbstractSlider::setRange(), QAbstractSlider::setSingleStep(), QListView::TopToBottom, QCommonListViewBase::updateHorizontalScrollBar(), QCommonListViewBase::viewport(), and QSize::width().
Reimplemented from QCommonListViewBase.
Definition at line 2294 of file qlistview.cpp.
References QCommonListViewBase::contentsSize, QCommonListViewBase::flow(), QSize::height(), QCommonListViewBase::isWrapping(), QListView::LeftToRight, QAbstractItemView::ScrollPerItem, scrollValueMap, segmentPositions, QAbstractSlider::setPageStep(), QAbstractSlider::setRange(), QAbstractSlider::setSingleStep(), QListView::TopToBottom, QCommonListViewBase::updateVerticalScrollBar(), QCommonListViewBase::verticalScrollBar(), QCommonListViewBase::verticalScrollMode(), and QCommonListViewBase::viewport().
|
overridevirtual |
Reimplemented from QCommonListViewBase.
Definition at line 2383 of file qlistview.cpp.
References QList< T >::at(), QCommonListViewBase::flow(), flowPositions, QList< T >::isEmpty(), QCommonListViewBase::isWrapping(), QListView::LeftToRight, QAbstractItemView::ScrollPerItem, scrollValueMap, segmentPositions, QList< T >::size(), QCommonListViewBase::spacing(), QListView::TopToBottom, QAbstractSlider::value, QCommonListViewBase::verticalOffset(), QCommonListViewBase::verticalScrollBar(), and QCommonListViewBase::verticalScrollMode().
|
overridevirtual |
Reimplemented from QCommonListViewBase.
Definition at line 2334 of file qlistview.cpp.
References area(), QList< T >::at(), QCommonListViewBase::dd, QAbstractItemView::EnsureVisible, flowPositions, QListViewPrivate::hiddenRows, hint(), QList< T >::isEmpty(), QCommonListViewBase::isWrapping(), QAbstractItemView::PositionAtBottom, QAbstractItemView::PositionAtTop, qBound(), rect, QModelIndex::row(), QAbstractItemView::ScrollPerItem, scrollValueMap, QList< T >::size(), QAbstractSlider::value, Qt::Vertical, QCommonListViewBase::verticalScrollBar(), QCommonListViewBase::verticalScrollMode(), and QCommonListViewBase::verticalScrollToValue().
|
inlinestatic |
Definition at line 2007 of file qlistview.cpp.
Referenced by QCommonListViewBase::updateHorizontalScrollBar(), and QCommonListViewBase::updateVerticalScrollBar().
int QListModeViewBase::batchSavedPosition |
Definition at line 173 of file qlistview_p.h.
Referenced by clear().
QList<int> QListModeViewBase::flowPositions |
Definition at line 166 of file qlistview_p.h.
Referenced by clear(), horizontalOffset(), horizontalScrollToValue(), indexToListViewItem(), intersectingSet(), scrollContentsBy(), setRowCount(), verticalOffset(), and verticalScrollToValue().
QList<int> QListModeViewBase::scrollValueMap |
Definition at line 170 of file qlistview_p.h.
Referenced by horizontalOffset(), horizontalScrollToValue(), scrollContentsBy(), updateHorizontalScrollBar(), updateVerticalScrollBar(), verticalOffset(), and verticalScrollToValue().
QList<int> QListModeViewBase::segmentExtents |
Definition at line 169 of file qlistview_p.h.
Referenced by clear(), and intersectingSet().
QList<int> QListModeViewBase::segmentPositions |
Definition at line 167 of file qlistview_p.h.
Referenced by clear(), horizontalOffset(), indexToListViewItem(), intersectingSet(), scrollContentsBy(), updateHorizontalScrollBar(), updateVerticalScrollBar(), and verticalOffset().
QList<int> QListModeViewBase::segmentStartRows |
Definition at line 168 of file qlistview_p.h.
Referenced by clear(), indexToListViewItem(), and intersectingSet().