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>.
Loading...
Searching...
No Matches
QQuickItemViewPrivate Class Referenceabstract

#include <qquickitemview_p_p.h>

+ Inheritance diagram for QQuickItemViewPrivate:
+ Collaboration diagram for QQuickItemViewPrivate:

Classes

struct  ChangeResult
 
struct  MovedItem
 

Public Types

enum  BufferMode { NoBuffer = 0x00 , BufferBefore = 0x01 , BufferAfter = 0x02 }
 
- Public Types inherited from QQuickFlickablePrivate
enum  MovementReason { Other , SetIndex , Mouse }
 
enum  FixupMode { Normal , Immediate , ExtentChanged }
 
- Public Types inherited from QQuickItemPrivate
enum  ChangeType {
  Geometry = 0x01 , SiblingOrder = 0x02 , Visibility = 0x04 , Opacity = 0x08 ,
  Destroyed = 0x10 , Parent = 0x20 , Children = 0x40 , Rotation = 0x80 ,
  ImplicitWidth = 0x100 , ImplicitHeight = 0x200 , Enabled = 0x400 , Focus = 0x800 ,
  AllChanges = 0xFFFFFFFF
}
 
enum  ExtraDataTag { NoTag = 0x1 , LeftMouseButtonAccepted = 0x2 }
 
enum  DirtyType {
  TransformOrigin = 0x00000001 , Transform = 0x00000002 , BasicTransform = 0x00000004 , Position = 0x00000008 ,
  Size = 0x00000010 , ZValue = 0x00000020 , Content = 0x00000040 , Smooth = 0x00000080 ,
  OpacityValue = 0x00000100 , ChildrenChanged = 0x00000200 , ChildrenStackingChanged = 0x00000400 , ParentChanged = 0x00000800 ,
  Clip = 0x00001000 , Window = 0x00002000 , EffectReference = 0x00008000 , Visible = 0x00010000 ,
  HideReference = 0x00020000 , Antialiasing = 0x00040000 , TransformUpdateMask , ComplexTransformUpdateMask = Transform | Window ,
  ContentUpdateMask = Size | Content | Smooth | Window | Antialiasing , ChildrenUpdateMask = ChildrenChanged | ChildrenStackingChanged | EffectReference | Window
}
 
- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
 

Public Member Functions

 QQuickItemViewPrivate ()
 
 ~QQuickItemViewPrivate ()
 
bool isValid () const
 
qreal position () const
 
qreal size () const
 
qreal startPosition () const
 
qreal endPosition () const
 
qreal contentStartOffset () const
 
int findLastVisibleIndex (int defaultValue=-1) const
 
FxViewItemvisibleItem (int modelIndex) const
 
FxViewItemfirstItemInView () const
 
int findLastIndexInView () const
 
int mapFromModel (int modelIndex) const
 
virtual void init ()
 
virtual void clear (bool onDestruction=false)
 
virtual void updateViewport ()
 
void regenerate (bool orientationChanged=false)
 
void layout ()
 
void animationFinished (QAbstractAnimationJob *) override
 
void refill ()
 
void refill (qreal from, qreal to)
 
void mirrorChange () override
 
FxViewItemcreateItem (int modelIndex, QQmlIncubator::IncubationMode incubationMode=QQmlIncubator::AsynchronousIfNested)
 
virtual bool releaseItem (FxViewItem *item, QQmlInstanceModel::ReusableFlag reusableFlag)
 
QQuickItemcreateHighlightItem () const
 
QQuickItemcreateComponentItem (QQmlComponent *component, qreal zValue, bool createDefault=false) const
 
virtual void initializeComponentItem (QQuickItem *) const
 
void updateCurrent (int modelIndex)
 
void updateTrackedItem ()
 
void updateUnrequestedIndexes ()
 
void updateUnrequestedPositions ()
 
void updateVisibleIndex ()
 
void positionViewAtIndex (int index, int mode)
 
qreal minExtentForAxis (const AxisData &axisData, bool forXAxis) const
 
qreal maxExtentForAxis (const AxisData &axisData, bool forXAxis) const
 
qreal calculatedMinExtent () const
 
qreal calculatedMaxExtent () const
 
void applyDelegateChange ()
 
void applyPendingChanges ()
 
bool applyModelChanges (ChangeResult *insertionResult, ChangeResult *removalResult)
 
bool applyRemovalChange (const QQmlChangeSet::Change &removal, ChangeResult *changeResult, int *removedCount)
 
void removeItem (FxViewItem *item, const QQmlChangeSet::Change &removal, ChangeResult *removeResult)
 
virtual void updateSizeChangesBeforeVisiblePos (FxViewItem *item, ChangeResult *removeResult)
 
void repositionFirstItem (FxViewItem *prevVisibleItemsFirst, qreal prevVisibleItemsFirstPos, FxViewItem *prevFirstVisible, ChangeResult *insertionResult, ChangeResult *removalResult)
 
int findMoveKeyIndex (QQmlChangeSet::MoveKey key, const QVector< QQmlChangeSet::Change > &changes) const
 
void checkVisible () const
 
void showVisibleItems () const
 
void markExtentsDirty ()
 
bool hasPendingChanges () const
 
void refillOrLayout ()
 
void forceLayoutPolish ()
 
void releaseVisibleItems (QQmlInstanceModel::ReusableFlag reusableFlag)
 
virtual QQuickItemViewAttachedgetAttachedObject (const QObject *) const
 
void storeFirstVisibleItemPosition ()
 
- Public Member Functions inherited from QQuickFlickablePrivate
 QQuickFlickablePrivate ()
 
void init ()
 
bool flickX (QEvent::Type eventType, qreal velocity)
 
bool flickY (QEvent::Type eventType, qreal velocity)
 
virtual bool flick (AxisData &data, qreal minExtent, qreal maxExtent, qreal vSize, QQuickTimeLineCallback::Callback fixupCallback, QEvent::Type eventType, qreal velocity)
 
void flickingStarted (bool flickingH, bool flickingV)
 
void fixupX ()
 
void fixupY ()
 
virtual void fixup (AxisData &data, qreal minExtent, qreal maxExtent)
 
void adjustContentPos (AxisData &data, qreal toPos)
 
void resetTimeline (AxisData &data)
 
void clearTimeline ()
 
void updateBeginningEnd ()
 
bool isInnermostPressDelay (QQuickItem *item) const
 
void captureDelayedPress (QQuickItem *item, QPointerEvent *event)
 
void clearDelayedPress ()
 
void replayDelayedPress ()
 
void setViewportX (qreal x)
 
void setViewportY (qreal y)
 
qreal overShootDistance (qreal velocity) const
 
void draggingStarting ()
 
void draggingEnding ()
 
bool isViewMoving () const
 
void cancelInteraction ()
 
void addPointerHandler (QQuickPointerHandler *h) override
 
virtual bool wantsPointerEvent (const QPointerEvent *)
 
void updateVelocity ()
 
void viewportAxisMoved (AxisData &data, qreal minExtent, qreal maxExtent, QQuickTimeLineCallback::Callback fixupCallback)
 
void handlePressEvent (QPointerEvent *)
 
void handleMoveEvent (QPointerEvent *)
 
void handleReleaseEvent (QPointerEvent *)
 
void maybeBeginDrag (qint64 currentTimestamp, const QPointF &pressPosn, Qt::MouseButtons buttons=Qt::NoButton)
 
void drag (qint64 currentTimestamp, QEvent::Type eventType, const QPointF &localPos, const QVector2D &deltas, bool overThreshold, bool momentum, bool velocitySensitiveOverBounds, const QVector2D &velocity)
 
QVector2D firstPointLocalVelocity (QPointerEvent *event)
 
qint64 computeCurrentTime (QInputEvent *event) const
 
qreal devicePixelRatio () const
 
- Public Member Functions inherited from QQuickItemPrivate
 QQuickItemPrivate ()
 
 ~QQuickItemPrivate () override
 
void init (QQuickItem *parent)
 
QQmlListProperty< QObjectdata ()
 
QQmlListProperty< QObjectresources ()
 
QQmlListProperty< QQuickItemchildren ()
 
QQmlListProperty< QQuickItemvisibleChildren ()
 
QQmlListProperty< QQuickStatestates ()
 
QQmlListProperty< QQuickTransitiontransitions ()
 
QString state () const
 
void setState (const QString &)
 
QQuickAnchorLine left () const
 
QQuickAnchorLine right () const
 
QQuickAnchorLine horizontalCenter () const
 
QQuickAnchorLine top () const
 
QQuickAnchorLine bottom () const
 
QQuickAnchorLine verticalCenter () const
 
QQuickAnchorLine baseline () const
 
void localizedTouchEvent (const QTouchEvent *event, bool isFiltering, QMutableTouchEvent *localized)
 
bool hasPointerHandlers () const
 
bool hasEnabledHoverHandlers () const
 
virtual void removePointerHandler (QQuickPointerHandler *h)
 
void _q_resourceObjectDeleted (QObject *)
 
quint64 _q_createJSWrapper (QQmlV4ExecutionEnginePtr engine)
 
template<typename Fn , typename ... Args>
void notifyChangeListeners (QQuickItemPrivate::ChangeTypes changeTypes, Fn &&function, Args &&...args)
 
virtual void registerAsContainmentMask (QQuickItem *, bool)
 
QQuickAnchorsanchors () const
 \qmlpropertygroup QtQuick::Item::anchors \qmlproperty AnchorLine QtQuick::Item::anchors.top \qmlproperty AnchorLine QtQuick::Item::anchors.bottom \qmlproperty AnchorLine QtQuick::Item::anchors.left \qmlproperty AnchorLine QtQuick::Item::anchors.right \qmlproperty AnchorLine QtQuick::Item::anchors.horizontalCenter \qmlproperty AnchorLine QtQuick::Item::anchors.verticalCenter \qmlproperty AnchorLine QtQuick::Item::anchors.baseline
 
Qt::MouseButtons acceptedMouseButtons () const
 
void addItemChangeListener (QQuickItemChangeListener *listener, ChangeTypes types)
 
void updateOrAddItemChangeListener (QQuickItemChangeListener *listener, ChangeTypes types)
 
void removeItemChangeListener (QQuickItemChangeListener *, ChangeTypes types)
 
void updateOrAddGeometryChangeListener (QQuickItemChangeListener *listener, QQuickGeometryChange types)
 
void updateOrRemoveGeometryChangeListener (QQuickItemChangeListener *listener, QQuickGeometryChange types)
 
QQuickStateGroup_states ()
 
QQuickItem::TransformOrigin origin () const
 
QString dirtyToString () const
 
void dirty (DirtyType)
 
void addToDirtyList ()
 
void removeFromDirtyList ()
 
void setCulled (bool)
 
QSGContextsceneGraphContext () const
 
QSGRenderContextsceneGraphRenderContext () const
 
QList< QQuickItem * > paintOrderChildItems () const
 
void addChild (QQuickItem *)
 
void removeChild (QQuickItem *)
 
void siblingOrderChanged ()
 
void markSortedChildrenDirty (QQuickItem *child)
 
void refWindow (QQuickWindow *)
 
void derefWindow ()
 
void updateSubFocusItem (QQuickItem *scope, bool focus)
 Clears all sub focus items from scope.
 
bool setFocusIfNeeded (QEvent::Type)
 
Qt::FocusReason lastFocusChangeReason () const
 
void setLastFocusChangeReason (Qt::FocusReason reason)
 
QTransform windowToItemTransform () const
 Returns a transform that maps points from window space into item space.
 
QTransform itemToWindowTransform () const
 Returns a transform that maps points from item space into window space.
 
void itemToParentTransform (QTransform *) const
 Modifies t with this item's local transform relative to its parent.
 
QTransform globalToWindowTransform () const
 Returns a transform that maps points from global space into window space.
 
QTransform windowToGlobalTransform () const
 Returns a transform that maps points from window space into global space.
 
void setX (qreal x)
 
void xChanged ()
 
 Q_OBJECT_COMPAT_PROPERTY (QQuickItemPrivate, qreal, x, &QQuickItemPrivate::setX, &QQuickItemPrivate::xChanged)
 
void setY (qreal y)
 
void yChanged ()
 
 Q_OBJECT_COMPAT_PROPERTY (QQuickItemPrivate, qreal, y, &QQuickItemPrivate::setY, &QQuickItemPrivate::yChanged)
 
void setWidth (qreal width)
 
void widthChanged ()
 
 Q_OBJECT_COMPAT_PROPERTY (QQuickItemPrivate, qreal, width, &QQuickItemPrivate::setWidth, &QQuickItemPrivate::widthChanged)
 
void setHeight (qreal height)
 
void heightChanged ()
 
 Q_OBJECT_COMPAT_PROPERTY (QQuickItemPrivate, qreal, height, &QQuickItemPrivate::setHeight, &QQuickItemPrivate::heightChanged)
 
bool widthValid () const
 
bool heightValid () const
 
qreal z () const
 
qreal scale () const
 
qreal rotation () const
 
qreal opacity () const
 
void setAccessible ()
 
virtual qreal getImplicitWidth () const
 
virtual qreal getImplicitHeight () const
 
virtual void implicitWidthChanged ()
 
virtual void implicitHeightChanged ()
 
void setImplicitAntialiasing (bool antialiasing)
 
void resolveLayoutMirror ()
 
void setImplicitLayoutMirror (bool mirror, bool inherit)
 
void setLayoutMirror (bool mirror)
 
bool isMirrored () const
 
void emitChildrenRectChanged (const QRectF &rect)
 
QPointF computeTransformOrigin () const
 
virtual bool transformChanged (QQuickItem *transformedItem)
 
QPointF adjustedPosForTransform (const QPointF &centroid, const QPointF &startPos, const QVector2D &activeTranslatation, qreal startScale, qreal activeScale, qreal startRotation, qreal activeRotation)
 
QQuickDeliveryAgentdeliveryAgent ()
 
QQuickDeliveryAgentPrivatedeliveryAgentPrivate ()
 
QQuickDeliveryAgentensureSubsceneDeliveryAgent ()
 
void deliverKeyEvent (QKeyEvent *)
 
bool filterKeyEvent (QKeyEvent *, bool post)
 
void deliverShortcutOverrideEvent (QKeyEvent *)
 
void deliverPointerEvent (QEvent *)
 
bool anyPointerHandlerWants (const QPointerEvent *event, const QEventPoint &point) const
 
virtual bool handlePointerEvent (QPointerEvent *, bool avoidGrabbers=false)
 
virtual void setVisible (bool visible)
 
bool isTransparentForPositioner () const
 
void setTransparentForPositioner (bool trans)
 
bool calcEffectiveVisible () const
 
bool setEffectiveVisibleRecur (bool)
 
bool calcEffectiveEnable () const
 
void setEffectiveEnableRecur (QQuickItem *scope, bool)
 
QSGTransformNodeitemNode ()
 
QSGNodechildContainerNode ()
 
QSGOpacityNodeopacityNode () const
 
QQuickDefaultClipNodeclipNode () const
 
QSGRootNoderootNode () const
 
virtual QSGTransformNodecreateTransformNode ()
 
void refFromEffectItem (bool hide)
 
void recursiveRefFromEffectItem (int refs)
 
void derefFromEffectItem (bool unhide)
 
void itemChange (QQuickItem::ItemChange, const QQuickItem::ItemChangeData &)
 
void enableSubtreeChangeNotificationsForParentHierachy ()
 
void setHasCursorInChild (bool hasCursor)
 
void setHasHoverInChild (bool hasHover)
 
virtual void updatePolish ()
 
virtual void dumpItemTree (int indent) const
 
QLayoutPolicy sizePolicy () const
 
void setSizePolicy (const QLayoutPolicy::Policy &horizontalPolicy, const QLayoutPolicy::Policy &verticalPolicy)
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
QObjectList receiverList (const char *signal) const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
virtual void writeToDebugStream (QDebug &) const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 
- Public Member Functions inherited from QQuickPaletteProviderPrivateBase< QQuickItem, QQuickItemPrivate >
virtual ~QQuickPaletteProviderPrivateBase ()=default
 
virtual QQuickPalettepalette () const
 
virtual void setPalette (QQuickPalette *p)
 
virtual void resetPalette ()
 
virtual bool providesPalette () const
 
QPalette defaultPalette () const override
 
QPalette parentPalette (const QPalette &fallbackPalette) const override
 
void inheritPalette (const QPalette &parentPalette)
 
virtual void updateChildrenPalettes (const QPalette &parentPalette)
 
- Public Member Functions inherited from QQuickAbstractPaletteProvider
virtual ~QQuickAbstractPaletteProvider ()=default
 
- Public Member Functions inherited from QQuickItemChangeListener
virtual ~QQuickItemChangeListener ()
 
virtual void itemSiblingOrderChanged (QQuickItem *)
 
virtual void itemVisibilityChanged (QQuickItem *)
 
virtual void itemEnabledChanged (QQuickItem *)
 
virtual void itemOpacityChanged (QQuickItem *)
 
virtual void itemDestroyed (QQuickItem *)
 
virtual void itemChildAdded (QQuickItem *, QQuickItem *)
 
virtual void itemChildRemoved (QQuickItem *, QQuickItem *)
 
virtual void itemParentChanged (QQuickItem *, QQuickItem *)
 
virtual void itemRotationChanged (QQuickItem *)
 
virtual void itemImplicitWidthChanged (QQuickItem *)
 
virtual void itemImplicitHeightChanged (QQuickItem *)
 
virtual void itemFocusChanged (QQuickItem *, Qt::FocusReason)
 
virtual QQuickAnchorsPrivateanchorPrivate ()
 
- Public Member Functions inherited from QAnimationJobChangeListener
virtual ~QAnimationJobChangeListener ()
 
virtual void animationStateChanged (QAbstractAnimationJob *, QAbstractAnimationJob::State, QAbstractAnimationJob::State)
 
virtual void animationCurrentLoopChanged (QAbstractAnimationJob *)
 
virtual void animationCurrentTimeChanged (QAbstractAnimationJob *, int)
 

Static Public Member Functions

static QQuickItemViewPrivateget (QQuickItemView *o)
 
- Static Public Member Functions inherited from QQuickFlickablePrivate
static QQuickFlickablePrivateget (QQuickFlickable *o)
 
static void fixupY_callback (void *)
 
static void fixupX_callback (void *)
 
static void data_append (QQmlListProperty< QObject > *, QObject *)
 
static qsizetype data_count (QQmlListProperty< QObject > *)
 
static QObjectdata_at (QQmlListProperty< QObject > *, qsizetype)
 
static void data_clear (QQmlListProperty< QObject > *)
 
- Static Public Member Functions inherited from QQuickItemPrivate
static QQuickItemPrivateget (QQuickItem *item)
 
static const QQuickItemPrivateget (const QQuickItem *item)
 
static void data_append (QQmlListProperty< QObject > *, QObject *)
 
static qsizetype data_count (QQmlListProperty< QObject > *)
 \qmlproperty list<QtObject> QtQuick::Item::data \qmldefault
 
static QObjectdata_at (QQmlListProperty< QObject > *, qsizetype)
 
static void data_clear (QQmlListProperty< QObject > *)
 
static void data_removeLast (QQmlListProperty< QObject > *)
 
static QObjectresources_at (QQmlListProperty< QObject > *, qsizetype)
 
static void resources_append (QQmlListProperty< QObject > *, QObject *)
 
static qsizetype resources_count (QQmlListProperty< QObject > *)
 
static void resources_clear (QQmlListProperty< QObject > *)
 
static void resources_removeLast (QQmlListProperty< QObject > *)
 
static void children_append (QQmlListProperty< QQuickItem > *, QQuickItem *)
 
static qsizetype children_count (QQmlListProperty< QQuickItem > *)
 
static QQuickItemchildren_at (QQmlListProperty< QQuickItem > *, qsizetype)
 
static void children_clear (QQmlListProperty< QQuickItem > *)
 
static void children_removeLast (QQmlListProperty< QQuickItem > *)
 
static qsizetype visibleChildren_count (QQmlListProperty< QQuickItem > *prop)
 
static QQuickItemvisibleChildren_at (QQmlListProperty< QQuickItem > *prop, qsizetype index)
 
static qsizetype transform_count (QQmlListProperty< QQuickTransform > *list)
 
static void transform_append (QQmlListProperty< QQuickTransform > *list, QQuickTransform *)
 
static QQuickTransformtransform_at (QQmlListProperty< QQuickTransform > *list, qsizetype)
 
static void transform_clear (QQmlListProperty< QQuickTransform > *list)
 
static bool focusNextPrev (QQuickItem *item, bool forward)
 QQuickItemPrivate::focusNextPrev focuses the next/prev item in the tab-focus-chain.
 
static QQuickItemnextTabChildItem (const QQuickItem *item, int start)
 
static QQuickItemprevTabChildItem (const QQuickItem *item, int start)
 
static QQuickItemnextPrevItemInTabFocusChain (QQuickItem *item, bool forward, bool wrap=true)
 
static bool canAcceptTabFocus (QQuickItem *item)
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
 
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static bool disconnect (const QObject *sender, int signal_index, void **slot)
 
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
 

Public Attributes

QPointer< QQmlInstanceModelmodel
 
QVariant modelVariant
 
int itemCount
 
int buffer
 
int bufferMode
 
int displayMarginBeginning
 
int displayMarginEnd
 
Qt::LayoutDirection layoutDirection
 
QQuickItemView::VerticalLayoutDirection verticalLayoutDirection
 
QList< FxViewItem * > visibleItems
 
qreal firstVisibleItemPosition = 0
 
int visibleIndex
 
int currentIndex
 
FxViewItemcurrentItem
 
FxViewItemtrackedItem
 
QHash< QQuickItem *, int > unrequestedItems
 
int requestedIndex
 
QQuickItemViewChangeSet currentChanges
 
QQuickItemViewChangeSet bufferedChanges
 
QPauseAnimationJob bufferPause
 
QQmlComponenthighlightComponent
 
std::unique_ptr< FxViewItemhighlight
 
int highlightRange
 
qreal highlightRangeStart
 
qreal highlightRangeEnd
 
int highlightMoveDuration
 
QQmlComponentheaderComponent
 
FxViewItemheader
 
QQmlComponentfooterComponent
 
FxViewItemfooter
 
QQmlInstanceModel::ReusableFlag reusableFlag = QQmlInstanceModel::NotReusable
 
qreal minExtent
 
qreal maxExtent
 
bool ownModel: 1
 
bool wrap: 1
 
bool keyNavigationEnabled: 1
 
bool explicitKeyNavigationEnabled: 1
 
bool inLayout: 1
 
bool inViewportMoved: 1
 
bool forceLayout: 1
 
bool currentIndexCleared: 1
 
bool haveHighlightRange: 1
 
bool autoHighlight: 1
 
bool highlightRangeStartValid: 1
 
bool highlightRangeEndValid: 1
 
bool fillCacheBuffer: 1
 
bool inRequest: 1
 
bool delegateValidated: 1
 
bool isClearing: 1
 
- Public Attributes inherited from QQuickFlickablePrivate
QQuickItemcontentItem
 
AxisData hData
 
AxisData vData
 
MovementReason moveReason = Other
 
QQuickTimeLine timeline
 
bool hMoved: 1
 
bool vMoved: 1
 
bool stealMouse: 1
 
bool pressed: 1
 
bool scrollingPhase: 1
 
bool interactive: 1
 
bool calcVelocity: 1
 
bool pixelAligned: 1
 
bool syncDrag: 1
 
QElapsedTimer timer
 
qint64 lastPosTime
 
qint64 lastPressTime
 
QPointF lastPos
 
QPointF pressPos
 
QVector2D accumulatedWheelPixelDelta
 
qreal deceleration
 
qreal wheelDeceleration
 
qreal maxVelocity
 
QPointerEventdelayedPressEvent
 
QBasicTimer delayedPressTimer
 
int pressDelay
 
int fixupDuration
 
qreal flickBoost
 
qreal initialWheelFlickDistance
 
FixupMode fixupMode
 
int vTime
 
QQuickTimeLine velocityTimeline
 
QQuickFlickableVisibleAreavisibleArea
 
QQuickFlickable::FlickableDirection flickableDirection
 
QQuickFlickable::BoundsBehavior boundsBehavior
 
QQuickFlickable::BoundsMovement boundsMovement
 
QQuickTransitionrebound
 
- Public Attributes inherited from QQuickItemPrivate
QLazilyAllocated< ExtraData, ExtraDataTags > extra
 
QQuickAnchors_anchors
 
QVector< QQuickItemPrivate::ChangeListenerchangeListeners
 
QQuickStateGroup_stateGroup
 
quint32 flags:7
 
quint32 widthValidFlag:1
 
quint32 heightValidFlag:1
 
quint32 componentComplete:1
 
quint32 keepMouse:1
 
quint32 keepTouch:1
 
quint32 hoverEnabled:1
 
quint32 smooth:1
 
quint32 antialiasing:1
 
quint32 focus:1
 
quint32 activeFocus:1
 
quint32 notifiedFocus:1
 
quint32 notifiedActiveFocus:1
 
quint32 filtersChildMouseEvents:1
 
quint32 explicitVisible:1
 
quint32 effectiveVisible:1
 
quint32 explicitEnable:1
 
quint32 effectiveEnable:1
 
quint32 polishScheduled:1
 
quint32 inheritedLayoutMirror:1
 
quint32 effectiveLayoutMirror:1
 
quint32 isMirrorImplicit:1
 
quint32 inheritMirrorFromParent:1
 
quint32 inheritMirrorFromItem:1
 
quint32 isAccessible:1
 
quint32 culled:1
 
quint32 hasCursor:1
 
quint32 subtreeCursorEnabled:1
 
quint32 subtreeHoverEnabled:1
 
quint32 activeFocusOnTab:1
 
quint32 implicitAntialiasing:1
 
quint32 antialiasingValid:1
 
quint32 isTabFence:1
 
quint32 replayingPressEvent:1
 
quint32 touchEnabled:1
 
quint32 hasCursorHandler:1
 
quint32 maybeHasSubsceneDeliveryAgent:1
 
quint32 subtreeTransformChangedEnabled:1
 
quint32 inDestructor:1
 
quint32 focusReason:4
 
quint32 focusPolicy:4
 
quint32 dirtyAttributes
 
QQuickItemnextDirtyItem
 
QQuickItem ** prevDirtyItem
 
QQuickWindowwindow
 
int windowRefCount
 
QQuickItemparentItem
 
QList< QQuickItem * > childItems
 
QList< QQuickItem * > * sortedChildItems
 
QPointer< QQuickItemsubFocusItem
 
qreal implicitWidth
 
qreal implicitHeight
 
qreal baselineOffset
 
QList< QQuickTransform * > transforms
 
QSGTransformNodeitemNodeInstance
 
QSGNodepaintNode
 
QLayoutPolicy szPolicy
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint isQuickItem: 1
 
uint willBeWidget: 1
 
uint wasWidget: 1
 
uint receiveParentEvents: 1
 
uint unused: 20
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Protected Member Functions

virtual Qt::Orientation layoutOrientation () const =0
 
virtual bool isContentFlowReversed () const =0
 
virtual qreal positionAt (int index) const =0
 
virtual qreal endPositionAt (int index) const =0
 
virtual qreal originPosition () const =0
 
virtual qreal lastPosition () const =0
 
virtual qreal headerSize () const =0
 
virtual qreal footerSize () const =0
 
virtual bool showHeaderForIndex (int index) const =0
 
virtual bool showFooterForIndex (int index) const =0
 
virtual void updateHeader ()=0
 
virtual void updateFooter ()=0
 
virtual bool hasStickyHeader () const
 
virtual bool hasStickyFooter () const
 
virtual void createHighlight (bool onDestruction=false)=0
 
virtual void updateHighlight ()=0
 
virtual void resetHighlightPosition ()=0
 
virtual bool movingFromHighlight ()
 
virtual void setPosition (qreal pos)=0
 
virtual void fixupPosition ()=0
 
virtual bool addVisibleItems (qreal fillFrom, qreal fillTo, qreal bufferFrom, qreal bufferTo, bool doBuffer)=0
 
virtual bool removeNonVisibleItems (qreal bufferFrom, qreal bufferTo)=0
 
virtual void visibleItemsChanged ()
 
virtual FxViewItemnewViewItem (int index, QQuickItem *item)=0
 
virtual void repositionItemAt (FxViewItem *item, int index, qreal sizeBuffer)=0
 
virtual void repositionPackageItemAt (QQuickItem *item, int index)=0
 
virtual void resetFirstItemPosition (qreal pos=0.0)=0
 
virtual void adjustFirstItem (qreal forwards, qreal backwards, int changeBeforeVisible)=0
 
virtual void layoutVisibleItems (int fromModelIndex=0)=0
 
virtual void changedVisibleIndex (int newIndex)=0
 
virtual bool applyInsertionChange (const QQmlChangeSet::Change &insert, ChangeResult *changeResult, QList< FxViewItem * > *newItems, QList< MovedItem > *movingIntoView)=0
 
virtual bool needsRefillForAddedOrRemovedIndex (int) const
 
virtual void initializeViewItem (FxViewItem *)
 
virtual void initializeCurrentItem ()
 
virtual void updateSectionCriteria ()
 
virtual void updateSections ()
 
void itemGeometryChanged (QQuickItem *item, QQuickGeometryChange change, const QRectF &) override
 
- Protected Member Functions inherited from QQuickPaletteProviderPrivateBase< QQuickItem, QQuickItemPrivate >
void setCurrentColorGroup ()
 

Detailed Description

Definition at line 70 of file qquickitemview_p_p.h.

Member Enumeration Documentation

◆ BufferMode

Enumerator
NoBuffer 
BufferBefore 
BufferAfter 

Definition at line 122 of file qquickitemview_p_p.h.

Constructor & Destructor Documentation

◆ QQuickItemViewPrivate()

QQuickItemViewPrivate::QQuickItemViewPrivate ( )

Definition at line 1496 of file qquickitemview.cpp.

References QAbstractAnimationJob::addAnimationChangeListener(), bufferPause, QAbstractAnimationJob::Completion, QPauseAnimationJob::setDuration(), and QAbstractAnimationJob::setLoopCount().

+ Here is the call graph for this function:

◆ ~QQuickItemViewPrivate()

QQuickItemViewPrivate::~QQuickItemViewPrivate ( )

Definition at line 1529 of file qquickitemview.cpp.

Member Function Documentation

◆ addVisibleItems()

virtual bool QQuickItemViewPrivate::addVisibleItems ( qreal fillFrom,
qreal fillTo,
qreal bufferFrom,
qreal bufferTo,
bool doBuffer )
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by refill().

+ Here is the caller graph for this function:

◆ adjustFirstItem()

virtual void QQuickItemViewPrivate::adjustFirstItem ( qreal forwards,
qreal backwards,
int changeBeforeVisible )
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by repositionFirstItem().

+ Here is the caller graph for this function:

◆ animationFinished()

void QQuickItemViewPrivate::animationFinished ( QAbstractAnimationJob * )
overridevirtual

Reimplemented from QAnimationJobChangeListener.

Definition at line 1745 of file qquickitemview.cpp.

References fillCacheBuffer.

◆ applyDelegateChange()

void QQuickItemViewPrivate::applyDelegateChange ( )

Definition at line 1086 of file qquickitemview.cpp.

References autoHighlight, currentIndex, currentItem, highlight, QQuickFlickablePrivate::moveReason, QQmlInstanceModel::NotReusable, QQuickFlickablePrivate::Other, refill(), releaseItem(), releaseVisibleItems(), resetHighlightPosition(), QQuickFlickablePrivate::SetIndex, updateCurrent(), updateSectionCriteria(), updateTrackedItem(), and updateViewport().

Referenced by QQuickItemView::setModel().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ applyInsertionChange()

virtual bool QQuickItemViewPrivate::applyInsertionChange ( const QQmlChangeSet::Change & insert,
ChangeResult * changeResult,
QList< FxViewItem * > * newItems,
QList< MovedItem > * movingIntoView )
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by applyModelChanges().

+ Here is the caller graph for this function:

◆ applyModelChanges()

bool QQuickItemViewPrivate::applyModelChanges ( ChangeResult * insertionResult,
ChangeResult * removalResult )

Definition at line 1985 of file qquickitemview.cpp.

References QQuickItemViewChangeSet::applyBufferedChanges(), applyInsertionChange(), applyRemovalChange(), FxViewItem::attached, QMultiHash< Key, T >::begin(), QList< T >::begin(), bufferedChanges, QQmlChangeSet::changes(), QMultiHash< Key, T >::clear(), QList< T >::constBegin(), QQuickItemViewChangeSet::currentChanged, currentChanges, currentIndexCleared, currentItem, QQuickItemViewChangeSet::currentRemoved, emit, QList< T >::end(), QMultiHash< Key, T >::end(), QList< T >::erase(), findMoveKeyIndex(), firstItemInView(), firstVisibleItemPosition, QQuickItemViewChangeSet::hasPendingChanges(), hasPendingChanges(), i, QQmlChangeSet::inserts(), QList< T >::isEmpty(), it, item, QQuickItemViewFxItem::item, itemCount, layoutVisibleItems(), QQuickItemViewTransitioner::MoveTransition, needsRefillForAddedOrRemovedIndex(), QQuickItemViewChangeSet::newCurrentIndex, QQuickItemViewChangeSet::pendingChanges, releaseItem(), QQuickItemViewChangeSet::removedItems, removeItem(), QQmlChangeSet::removes(), repositionFirstItem(), repositionItemAt(), QQuickItemViewChangeSet::reset(), resetFirstItemPosition(), reusableFlag, QQuickItemViewAttached::setIsCurrentItem(), QList< T >::size(), storeFirstVisibleItemPosition(), updateCurrent(), updateSections(), updateUnrequestedIndexes(), updateViewport(), updateVisibleIndex(), and visibleItems.

Referenced by layout().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ applyPendingChanges()

void QQuickItemViewPrivate::applyPendingChanges ( )

Definition at line 962 of file qquickitemview.cpp.

References currentChanges, QQuickItemViewChangeSet::hasPendingChanges(), and layout().

Referenced by positionViewAtIndex(), updateCurrent(), QQuickGridViewPrivate::updateHighlight(), and QQuickListViewPrivate::updateHighlight().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ applyRemovalChange()

bool QQuickItemViewPrivate::applyRemovalChange ( const QQmlChangeSet::Change & removal,
ChangeResult * changeResult,
int * removedCount )

Definition at line 2149 of file qquickitemview.cpp.

References QList< T >::begin(), QObject::connect(), QList< T >::constLast(), QQmlChangeSet::ChangeData::count, QList< T >::end(), QList< T >::erase(), QQmlChangeSet::ChangeData::index, QQuickItemViewFxItem::index, QQmlChangeSet::Change::isMove(), it, item, QQuickItemViewTransitioner::MoveTransition, Qt::QueuedConnection, removeItem(), QQuickItemViewTransitioner::RemoveTransition, SIGNAL, QList< T >::size(), SLOT, and visibleItems.

Referenced by applyModelChanges().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ calculatedMaxExtent()

qreal QQuickItemViewPrivate::calculatedMaxExtent ( ) const

Definition at line 1075 of file qquickitemview.cpp.

References isContentFlowReversed(), layoutOrientation(), maxExtent, size(), and Qt::Vertical.

Referenced by positionViewAtIndex().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ calculatedMinExtent()

qreal QQuickItemViewPrivate::calculatedMinExtent ( ) const

Definition at line 1063 of file qquickitemview.cpp.

References isContentFlowReversed(), layoutOrientation(), minExtent, size(), and Qt::Vertical.

Referenced by positionViewAtIndex().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ changedVisibleIndex()

virtual void QQuickItemViewPrivate::changedVisibleIndex ( int newIndex)
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by positionViewAtIndex().

+ Here is the caller graph for this function:

◆ checkVisible()

void QQuickItemViewPrivate::checkVisible ( ) const

Definition at line 1105 of file qquickitemview.cpp.

References QList< T >::at(), i, item, qFatal, QList< T >::size(), visibleIndex, and visibleItems.

+ Here is the call graph for this function:

◆ clear()

void QQuickItemViewPrivate::clear ( bool onDestruction = false)
virtual

Reimplemented in QQuickListViewPrivate.

Definition at line 1697 of file qquickitemview.cpp.

References bufferedChanges, QQmlInstanceModel::cancel(), QQuickTimeLine::clear(), createHighlight(), currentChanges, currentItem, emit, isClearing, item, itemCount, markExtentsDirty(), model, QQmlInstanceModel::NotReusable, qScopeGuard(), releaseItem(), releaseVisibleItems(), requestedIndex, QQuickItemViewChangeSet::reset(), QQuickFlickablePrivate::timeline, trackedItem, and visibleIndex.

Referenced by QQuickListViewPrivate::clear().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ contentStartOffset()

qreal QQuickItemViewPrivate::contentStartOffset ( ) const

Definition at line 1565 of file qquickitemview.cpp.

References QQuickFlickablePrivate::AxisData::endMargin, QQuickFlickablePrivate::hData, headerSize(), isContentFlowReversed(), layoutOrientation(), pos, QQuickFlickablePrivate::AxisData::startMargin, QQuickFlickablePrivate::vData, and Qt::Vertical.

Referenced by layout(), and regenerate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createComponentItem()

QQuickItem * QQuickItemViewPrivate::createComponentItem ( QQmlComponent * component,
qreal zValue,
bool createDefault = false ) const

Definition at line 2501 of file qquickitemview.cpp.

References component(), context, initializeComponentItem(), item, qFuzzyIsNull(), qmlContext(), qobject_cast< QQuickItem * >(), QQml_setParent_noEvent(), and QGraphicsItem::setParentItem().

Referenced by createHighlightItem(), QQuickGridViewPrivate::updateFooter(), QQuickListViewPrivate::updateFooter(), QQuickGridViewPrivate::updateHeader(), and QQuickListViewPrivate::updateHeader().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createHighlight()

virtual void QQuickItemViewPrivate::createHighlight ( bool onDestruction = false)
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by clear().

+ Here is the caller graph for this function:

◆ createHighlightItem()

QQuickItem * QQuickItemViewPrivate::createHighlightItem ( ) const

Definition at line 2496 of file qquickitemview.cpp.

References createComponentItem(), and highlightComponent.

Referenced by QQuickGridViewPrivate::createHighlight(), and QQuickListViewPrivate::createHighlight().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createItem()

FxViewItem * QQuickItemViewPrivate::createItem ( int modelIndex,
QQmlIncubator::IncubationMode incubationMode = QQmlIncubator::AsynchronousIfNested )

Definition at line 2350 of file qquickitemview.cpp.

References QQmlIncubator::Asynchronous, QQmlInstanceModel::count, delegateValidated, i, QQmlInstanceModel::incubationStatus(), initializeViewItem(), inRequest, item, QQmlIncubator::Loading, model, newViewItem(), QQmlInstanceModel::object, qmlobject_cast< QQuickItem * >(), qmlWarning(), QQmlInstanceModel::release(), QHash< Key, T >::remove(), requestedIndex, QGraphicsItem::setParentItem(), and unrequestedItems.

Referenced by QQuickGridViewPrivate::addVisibleItems(), QQuickListViewPrivate::addVisibleItems(), QQuickGridViewPrivate::applyInsertionChange(), QQuickListViewPrivate::applyInsertionChange(), and updateCurrent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ endPosition()

qreal QQuickItemViewPrivate::endPosition ( ) const

Definition at line 1560 of file qquickitemview.cpp.

References isContentFlowReversed(), lastPosition(), and originPosition().

Referenced by maxExtentForAxis(), QQuickGridViewPrivate::updateFooter(), and updateViewport().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ endPositionAt()

virtual qreal QQuickItemViewPrivate::endPositionAt ( int index) const
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by minExtentForAxis().

+ Here is the caller graph for this function:

◆ findLastIndexInView()

int QQuickItemViewPrivate::findLastIndexInView ( ) const

Definition at line 1612 of file qquickitemview.cpp.

References isContentFlowReversed(), it, item, position(), QList< T >::rbegin(), QList< T >::rend(), size(), and visibleItems.

Referenced by layout().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ findLastVisibleIndex()

int QQuickItemViewPrivate::findLastVisibleIndex ( int defaultValue = -1) const

Definition at line 1582 of file qquickitemview.cpp.

References it, item, QList< T >::rbegin(), QList< T >::rend(), and visibleItems.

Referenced by QQuickGridViewPrivate::addVisibleItems(), QQuickListViewPrivate::addVisibleItems(), QQuickListViewPrivate::endPositionAt(), QQuickListViewPrivate::positionAt(), QQuickGridViewPrivate::updateFooter(), and QQuickListViewPrivate::updateFooter().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ findMoveKeyIndex()

int QQuickItemViewPrivate::findMoveKeyIndex ( QQmlChangeSet::MoveKey key,
const QVector< QQmlChangeSet::Change > & changes ) const

Definition at line 969 of file qquickitemview.cpp.

References i, and j.

Referenced by applyModelChanges().

+ Here is the caller graph for this function:

◆ firstItemInView()

FxViewItem * QQuickItemViewPrivate::firstItemInView ( ) const

Definition at line 1603 of file qquickitemview.cpp.

References QList< T >::first(), isContentFlowReversed(), item, pos, position(), size(), QList< T >::size(), and visibleItems.

Referenced by applyModelChanges().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fixupPosition()

virtual void QQuickItemViewPrivate::fixupPosition ( )
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by itemGeometryChanged(), layout(), and positionViewAtIndex().

+ Here is the caller graph for this function:

◆ footerSize()

virtual qreal QQuickItemViewPrivate::footerSize ( ) const
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by maxExtentForAxis(), minExtentForAxis(), positionViewAtIndex(), and updateViewport().

+ Here is the caller graph for this function:

◆ forceLayoutPolish()

void QQuickItemViewPrivate::forceLayoutPolish ( )
inline

Definition at line 212 of file qquickitemview_p_p.h.

Referenced by QQuickListViewPrivate::itemGeometryChanged(), QQuickViewSection::setDelegate(), QQuickViewSection::setLabelPositioning(), and QQuickListViewPrivate::updateSectionCriteria().

+ Here is the caller graph for this function:

◆ get()

static QQuickItemViewPrivate * QQuickItemViewPrivate::get ( QQuickItemView * o)
inlinestatic

Definition at line 82 of file qquickitemview_p_p.h.

References o.

◆ getAttachedObject()

virtual QQuickItemViewAttached * QQuickItemViewPrivate::getAttachedObject ( const QObject * ) const
inlinevirtual

Reimplemented in QQuickListViewPrivate.

Definition at line 227 of file qquickitemview_p_p.h.

◆ hasPendingChanges()

bool QQuickItemViewPrivate::hasPendingChanges ( ) const
inline

Definition at line 196 of file qquickitemview_p_p.h.

Referenced by applyModelChanges().

+ Here is the caller graph for this function:

◆ hasStickyFooter()

virtual bool QQuickItemViewPrivate::hasStickyFooter ( ) const
inlineprotectedvirtual

Reimplemented in QQuickListViewPrivate.

Definition at line 323 of file qquickitemview_p_p.h.

Referenced by positionViewAtIndex().

+ Here is the caller graph for this function:

◆ hasStickyHeader()

virtual bool QQuickItemViewPrivate::hasStickyHeader ( ) const
inlineprotectedvirtual

Reimplemented in QQuickListViewPrivate.

Definition at line 322 of file qquickitemview_p_p.h.

Referenced by positionViewAtIndex().

+ Here is the caller graph for this function:

◆ headerSize()

virtual qreal QQuickItemViewPrivate::headerSize ( ) const
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by contentStartOffset(), maxExtentForAxis(), minExtentForAxis(), positionViewAtIndex(), and updateViewport().

+ Here is the caller graph for this function:

◆ init()

void QQuickItemViewPrivate::init ( )
virtual

Reimplemented in QQuickListViewPrivate.

Definition at line 1640 of file qquickitemview.cpp.

References QObject::connect(), QQuickFlickable::interactiveChanged(), QQuickItem::ItemIsFocusScope, SIGNAL, SLOT, and QQuickFlickable::VerticalFlick.

Referenced by QQuickListViewPrivate::init().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initializeComponentItem()

void QQuickItemViewPrivate::initializeComponentItem ( QQuickItem * item) const
virtual

Allows derived classes to do any initialization required for item before completeCreate() is called on it. For example, any attached properties required by the item can be set.

This is similar to initItem(), but as that has logic specific to delegate items, we use a separate function for non-delegates.

Reimplemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Definition at line 2542 of file qquickitemview.cpp.

References item, and Q_UNUSED.

Referenced by createComponentItem().

+ Here is the caller graph for this function:

◆ initializeCurrentItem()

virtual void QQuickItemViewPrivate::initializeCurrentItem ( )
inlineprotectedvirtual

Reimplemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Definition at line 355 of file qquickitemview_p_p.h.

Referenced by QQuickListViewPrivate::initializeCurrentItem(), and updateCurrent().

+ Here is the caller graph for this function:

◆ initializeViewItem()

virtual void QQuickItemViewPrivate::initializeViewItem ( FxViewItem * )
inlineprotectedvirtual

Reimplemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Definition at line 354 of file qquickitemview_p_p.h.

Referenced by createItem(), QQuickGridViewPrivate::initializeViewItem(), and QQuickListViewPrivate::initializeViewItem().

+ Here is the caller graph for this function:

◆ isContentFlowReversed()

virtual bool QQuickItemViewPrivate::isContentFlowReversed ( ) const
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by calculatedMaxExtent(), calculatedMinExtent(), contentStartOffset(), endPosition(), findLastIndexInView(), firstItemInView(), maxExtentForAxis(), minExtentForAxis(), positionViewAtIndex(), refill(), and startPosition().

+ Here is the caller graph for this function:

◆ isValid()

bool QQuickItemViewPrivate::isValid ( ) const

Definition at line 1538 of file qquickitemview.cpp.

References QQmlInstanceModel::count, QQmlInstanceModel::isValid(), and model.

Referenced by layout(), positionViewAtIndex(), QQuickListViewPrivate::setSectionHelper(), updateCurrent(), QQuickListViewPrivate::updateSections(), QQuickListViewPrivate::updateStickySections(), and updateViewport().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ itemGeometryChanged()

void QQuickItemViewPrivate::itemGeometryChanged ( QQuickItem * item,
QQuickGeometryChange change,
const QRectF & oldGeometry )
overrideprotectedvirtual

Reimplemented from QQuickFlickablePrivate.

Reimplemented in QQuickListViewPrivate.

Definition at line 1129 of file qquickitemview.cpp.

References currentIndex, currentItem, fixupPosition(), footer, header, inLayout, item, QQuickItemViewFxItem::item, QQuickFlickablePrivate::itemGeometryChanged(), markExtentsDirty(), trackedItem, updateFooter(), updateHeader(), updateHighlight(), updateViewport(), and visibleItem().

Referenced by QQuickListViewPrivate::itemGeometryChanged().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lastPosition()

virtual qreal QQuickItemViewPrivate::lastPosition ( ) const
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by endPosition(), and startPosition().

+ Here is the caller graph for this function:

◆ layout()

void QQuickItemViewPrivate::layout ( )

Definition at line 1855 of file qquickitemview.cpp.

References applyModelChanges(), clear(), contentStartOffset(), currentIndex, currentItem, fillCacheBuffer, findLastIndexInView(), fixupPosition(), forceLayout, i, inLayout, isValid(), item, layoutVisibleItems(), markExtentsDirty(), QQuickItemViewTransitioner::MoveTransition, movingFromHighlight(), QQuickItemViewTransitioner::PopulateTransition, refill(), releaseItem(), QQuickItemViewTransitioner::RemoveTransition, reusableFlag, setPosition(), QList< T >::size(), storeFirstVisibleItemPosition(), updateCurrent(), updateFooter(), updateHeader(), updateHighlight(), updateSections(), updateUnrequestedPositions(), updateViewport(), and visibleItems.

Referenced by applyPendingChanges().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ layoutOrientation()

virtual Qt::Orientation QQuickItemViewPrivate::layoutOrientation ( ) const
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by calculatedMaxExtent(), calculatedMinExtent(), contentStartOffset(), position(), size(), and updateViewport().

+ Here is the caller graph for this function:

◆ layoutVisibleItems()

virtual void QQuickItemViewPrivate::layoutVisibleItems ( int fromModelIndex = 0)
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by applyModelChanges(), and layout().

+ Here is the caller graph for this function:

◆ mapFromModel()

int QQuickItemViewPrivate::mapFromModel ( int modelIndex) const

Definition at line 1626 of file qquickitemview.cpp.

References QList< T >::at(), i, item, QList< T >::size(), visibleIndex, and visibleItems.

Referenced by QQuickGridViewPrivate::applyInsertionChange(), and QQuickListViewPrivate::applyInsertionChange().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ markExtentsDirty()

void QQuickItemViewPrivate::markExtentsDirty ( )
inline

Definition at line 189 of file qquickitemview_p_p.h.

References Qt::Vertical.

Referenced by clear(), itemGeometryChanged(), layout(), and refill().

+ Here is the caller graph for this function:

◆ maxExtentForAxis()

qreal QQuickItemViewPrivate::maxExtentForAxis ( const AxisData & axisData,
bool forXAxis ) const

◆ minExtentForAxis()

qreal QQuickItemViewPrivate::minExtentForAxis ( const AxisData & axisData,
bool forXAxis ) const

◆ mirrorChange()

void QQuickItemViewPrivate::mirrorChange ( )
overridevirtual

Reimplemented from QQuickItemPrivate.

Definition at line 1738 of file qquickitemview.cpp.

References emit, and regenerate().

+ Here is the call graph for this function:

◆ movingFromHighlight()

virtual bool QQuickItemViewPrivate::movingFromHighlight ( )
inlineprotectedvirtual

Reimplemented in QQuickListViewPrivate.

Definition at line 328 of file qquickitemview_p_p.h.

Referenced by layout().

+ Here is the caller graph for this function:

◆ needsRefillForAddedOrRemovedIndex()

virtual bool QQuickItemViewPrivate::needsRefillForAddedOrRemovedIndex ( int ) const
inlineprotectedvirtual

Reimplemented in QQuickGridViewPrivate.

Definition at line 349 of file qquickitemview_p_p.h.

Referenced by applyModelChanges().

+ Here is the caller graph for this function:

◆ newViewItem()

virtual FxViewItem * QQuickItemViewPrivate::newViewItem ( int index,
QQuickItem * item )
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by createItem().

+ Here is the caller graph for this function:

◆ originPosition()

virtual qreal QQuickItemViewPrivate::originPosition ( ) const
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by endPosition(), and startPosition().

+ Here is the caller graph for this function:

◆ position()

◆ positionAt()

virtual qreal QQuickItemViewPrivate::positionAt ( int index) const
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by maxExtentForAxis(), minExtentForAxis(), and positionViewAtIndex().

+ Here is the caller graph for this function:

◆ positionViewAtIndex()

◆ refill() [1/2]

void QQuickItemViewPrivate::refill ( )

Definition at line 1752 of file qquickitemview.cpp.

References displayMarginBeginning, displayMarginEnd, isContentFlowReversed(), pos, position(), qMax(), refill(), and size().

Referenced by applyDelegateChange(), layout(), refill(), and regenerate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ refill() [2/2]

◆ refillOrLayout()

void QQuickItemViewPrivate::refillOrLayout ( )
inline

Definition at line 205 of file qquickitemview_p_p.h.

References layout.

◆ regenerate()

void QQuickItemViewPrivate::regenerate ( bool orientationChanged = false)

Definition at line 1824 of file qquickitemview.cpp.

References clear(), contentStartOffset(), currentIndex, footer, header, refill(), setPosition(), updateCurrent(), updateFooter(), updateHeader(), and updateViewport().

Referenced by mirrorChange().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ releaseItem()

bool QQuickItemViewPrivate::releaseItem ( FxViewItem * item,
QQmlInstanceModel::ReusableFlag reusableFlag )
virtual

Reimplemented in QQuickListViewPrivate.

Definition at line 2465 of file qquickitemview.cpp.

References QQuickFlickablePrivate::contentItem, QQmlInstanceModel::Destroyed, QQuickItemPrivate::get(), QQmlInstanceModel::indexOf(), QHash< Key, T >::insert(), isClearing, item, model, QGraphicsItem::parentItem(), QQmlInstanceModel::Pooled, QQmlInstanceModel::Referenced, QQmlInstanceModel::release(), reusableFlag, QGraphicsItem::setParentItem(), QGraphicsItem::setVisible(), trackedItem, and unrequestedItems.

Referenced by applyDelegateChange(), applyModelChanges(), clear(), layout(), positionViewAtIndex(), QQuickListViewPrivate::releaseItem(), QQuickGridViewPrivate::removeItem(), and updateCurrent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ releaseVisibleItems()

void QQuickItemViewPrivate::releaseVisibleItems ( QQmlInstanceModel::ReusableFlag reusableFlag)
inline

Definition at line 218 of file qquickitemview_p_p.h.

References item.

Referenced by QQuickGridViewPrivate::addVisibleItems(), QQuickListViewPrivate::addVisibleItems(), applyDelegateChange(), clear(), and refill().

+ Here is the caller graph for this function:

◆ removeItem()

void QQuickItemViewPrivate::removeItem ( FxViewItem * item,
const QQmlChangeSet::Change & removal,
ChangeResult * removeResult )

Definition at line 2201 of file qquickitemview.cpp.

References QList< T >::constBegin(), currentChanges, QMultiHash< Key, T >::insert(), QQmlChangeSet::Change::isMove(), item, QQmlChangeSet::Change::moveKey(), QQuickItemViewTransitioner::MoveTransition, QQuickItemViewChangeSet::removedItems, QMultiHash< Key, T >::replace(), updateSizeChangesBeforeVisiblePos(), and visibleItems.

Referenced by applyModelChanges(), and applyRemovalChange().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeNonVisibleItems()

virtual bool QQuickItemViewPrivate::removeNonVisibleItems ( qreal bufferFrom,
qreal bufferTo )
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by refill().

+ Here is the caller graph for this function:

◆ repositionFirstItem()

void QQuickItemViewPrivate::repositionFirstItem ( FxViewItem * prevVisibleItemsFirst,
qreal prevVisibleItemsFirstPos,
FxViewItem * prevFirstVisible,
ChangeResult * insertionResult,
ChangeResult * removalResult )

Definition at line 2227 of file qquickitemview.cpp.

References adjustFirstItem(), QList< T >::constBegin(), QList< T >::constFirst(), pos, QQuickItemViewFxItem::position(), resetFirstItemPosition(), QList< T >::size(), and visibleItems.

Referenced by applyModelChanges().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ repositionItemAt()

virtual void QQuickItemViewPrivate::repositionItemAt ( FxViewItem * item,
int index,
qreal sizeBuffer )
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by applyModelChanges().

+ Here is the caller graph for this function:

◆ repositionPackageItemAt()

virtual void QQuickItemViewPrivate::repositionPackageItemAt ( QQuickItem * item,
int index )
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by updateUnrequestedPositions().

+ Here is the caller graph for this function:

◆ resetFirstItemPosition()

virtual void QQuickItemViewPrivate::resetFirstItemPosition ( qreal pos = 0.0)
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by applyModelChanges(), and repositionFirstItem().

+ Here is the caller graph for this function:

◆ resetHighlightPosition()

virtual void QQuickItemViewPrivate::resetHighlightPosition ( )
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by applyDelegateChange(), and positionViewAtIndex().

+ Here is the caller graph for this function:

◆ setPosition()

virtual void QQuickItemViewPrivate::setPosition ( qreal pos)
protectedpure virtual

◆ showFooterForIndex()

virtual bool QQuickItemViewPrivate::showFooterForIndex ( int index) const
protectedpure virtual

◆ showHeaderForIndex()

virtual bool QQuickItemViewPrivate::showHeaderForIndex ( int index) const
protectedpure virtual

◆ showVisibleItems()

void QQuickItemViewPrivate::showVisibleItems ( ) const

Definition at line 1119 of file qquickitemview.cpp.

References item, qDebug, and visibleItems.

◆ size()

◆ startPosition()

qreal QQuickItemViewPrivate::startPosition ( ) const

Definition at line 1555 of file qquickitemview.cpp.

References isContentFlowReversed(), lastPosition(), and originPosition().

Referenced by QQuickListViewPrivate::fixup(), minExtentForAxis(), and updateViewport().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ storeFirstVisibleItemPosition()

void QQuickItemViewPrivate::storeFirstVisibleItemPosition ( )
inline

Definition at line 241 of file qquickitemview_p_p.h.

Referenced by applyModelChanges(), layout(), and refill().

+ Here is the caller graph for this function:

◆ updateCurrent()

void QQuickItemViewPrivate::updateCurrent ( int modelIndex)

Definition at line 1649 of file qquickitemview.cpp.

References applyPendingChanges(), QQmlIncubator::AsynchronousIfNested, FxViewItem::attached, QQmlInstanceModel::count, createItem(), currentIndex, currentItem, emit, initializeCurrentItem(), isValid(), QQuickItemViewFxItem::item, model, releaseItem(), reusableFlag, QQuickItem::setFocus(), QQuickItemViewAttached::setIsCurrentItem(), and updateHighlight().

Referenced by applyDelegateChange(), applyModelChanges(), layout(), and regenerate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateFooter()

virtual void QQuickItemViewPrivate::updateFooter ( )
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by itemGeometryChanged(), layout(), refill(), and regenerate().

+ Here is the caller graph for this function:

◆ updateHeader()

virtual void QQuickItemViewPrivate::updateHeader ( )
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by itemGeometryChanged(), layout(), refill(), and regenerate().

+ Here is the caller graph for this function:

◆ updateHighlight()

virtual void QQuickItemViewPrivate::updateHighlight ( )
protectedpure virtual

Implemented in QQuickGridViewPrivate, and QQuickListViewPrivate.

Referenced by itemGeometryChanged(), layout(), positionViewAtIndex(), and updateCurrent().

+ Here is the caller graph for this function:

◆ updateSectionCriteria()

virtual void QQuickItemViewPrivate::updateSectionCriteria ( )
inlineprotectedvirtual

Reimplemented in QQuickListViewPrivate.

Definition at line 356 of file qquickitemview_p_p.h.

Referenced by applyDelegateChange().

+ Here is the caller graph for this function:

◆ updateSections()

virtual void QQuickItemViewPrivate::updateSections ( )
inlineprotectedvirtual

Reimplemented in QQuickListViewPrivate.

Definition at line 357 of file qquickitemview_p_p.h.

Referenced by applyModelChanges(), layout(), and QQuickListViewPrivate::updateSections().

+ Here is the caller graph for this function:

◆ updateSizeChangesBeforeVisiblePos()

void QQuickItemViewPrivate::updateSizeChangesBeforeVisiblePos ( FxViewItem * item,
ChangeResult * removeResult )
virtual

Reimplemented in QQuickListViewPrivate.

Definition at line 2222 of file qquickitemview.cpp.

References item.

Referenced by removeItem(), and QQuickListViewPrivate::updateSizeChangesBeforeVisiblePos().

+ Here is the caller graph for this function:

◆ updateTrackedItem()

void QQuickItemViewPrivate::updateTrackedItem ( )

Definition at line 2547 of file qquickitemview.cpp.

References currentItem, highlight, item, and trackedItem.

Referenced by applyDelegateChange(), QQuickGridViewPrivate::updateHighlight(), and QQuickListViewPrivate::updateHighlight().

+ Here is the caller graph for this function:

◆ updateUnrequestedIndexes()

void QQuickItemViewPrivate::updateUnrequestedIndexes ( )

Definition at line 2559 of file qquickitemview.cpp.

References QHash< Key, T >::begin(), QHash< Key, T >::end(), QQmlInstanceModel::indexOf(), it, model, and unrequestedItems.

Referenced by applyModelChanges().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateUnrequestedPositions()

void QQuickItemViewPrivate::updateUnrequestedPositions ( )

Definition at line 2566 of file qquickitemview.cpp.

References QHash< Key, T >::cbegin(), QHash< Key, T >::cend(), it, repositionPackageItemAt(), and unrequestedItems.

Referenced by layout(), and QQuickListViewPrivate::visibleItemsChanged().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateViewport()

void QQuickItemViewPrivate::updateViewport ( )
virtual

Reimplemented in QQuickGridViewPrivate.

Definition at line 1844 of file qquickitemview.cpp.

References endPosition(), QQuickItemPrivate::extra, footerSize(), headerSize(), QList< T >::isEmpty(), isValid(), layoutOrientation(), startPosition(), Qt::Vertical, and visibleItems.

Referenced by applyDelegateChange(), applyModelChanges(), itemGeometryChanged(), layout(), refill(), regenerate(), and QQuickGridViewPrivate::updateViewport().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateVisibleIndex()

void QQuickItemViewPrivate::updateVisibleIndex ( )

Definition at line 2574 of file qquickitemview.cpp.

References QList< T >::constBegin(), QList< T >::constEnd(), it, visibleIndex, and visibleItems.

Referenced by QQuickGridViewPrivate::applyInsertionChange(), QQuickListViewPrivate::applyInsertionChange(), and applyModelChanges().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visibleItem()

FxViewItem * QQuickItemViewPrivate::visibleItem ( int modelIndex) const

Definition at line 1592 of file qquickitemview.cpp.

References QList< T >::at(), i, item, QList< T >::size(), visibleIndex, and visibleItems.

Referenced by QQuickGridViewPrivate::colPosAt(), QQuickListViewPrivate::endPositionAt(), QQuickGridViewPrivate::initializeCurrentItem(), QQuickListViewPrivate::initializeCurrentItem(), itemGeometryChanged(), minExtentForAxis(), QQuickListViewPrivate::positionAt(), positionViewAtIndex(), QQuickGridViewPrivate::rowPosAt(), QQuickListViewPrivate::sectionAt(), and QQuickListViewPrivate::visibleItemsChanged().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visibleItemsChanged()

virtual void QQuickItemViewPrivate::visibleItemsChanged ( )
inlineprotectedvirtual

Reimplemented in QQuickListViewPrivate.

Definition at line 335 of file qquickitemview_p_p.h.

Referenced by refill().

+ Here is the caller graph for this function:

Member Data Documentation

◆ autoHighlight

◆ buffer

int QQuickItemViewPrivate::buffer

Definition at line 232 of file qquickitemview_p_p.h.

Referenced by QQuickListViewPrivate::applyInsertionChange(), and refill().

◆ bufferedChanges

QQuickItemViewChangeSet QQuickItemViewPrivate::bufferedChanges

Definition at line 253 of file qquickitemview_p_p.h.

Referenced by applyModelChanges(), clear(), and refill().

◆ bufferMode

int QQuickItemViewPrivate::bufferMode

Definition at line 233 of file qquickitemview_p_p.h.

◆ bufferPause

QPauseAnimationJob QQuickItemViewPrivate::bufferPause

Definition at line 254 of file qquickitemview_p_p.h.

Referenced by QQuickItemViewPrivate(), and refill().

◆ currentChanges

◆ currentIndex

◆ currentIndexCleared

bool QQuickItemViewPrivate::currentIndexCleared

Definition at line 294 of file qquickitemview_p_p.h.

Referenced by applyModelChanges().

◆ currentItem

◆ delegateValidated

bool QQuickItemViewPrivate::delegateValidated

Definition at line 304 of file qquickitemview_p_p.h.

Referenced by createItem().

◆ displayMarginBeginning

◆ displayMarginEnd

◆ explicitKeyNavigationEnabled

bool QQuickItemViewPrivate::explicitKeyNavigationEnabled

Definition at line 290 of file qquickitemview_p_p.h.

◆ fillCacheBuffer

bool QQuickItemViewPrivate::fillCacheBuffer

Definition at line 299 of file qquickitemview_p_p.h.

Referenced by animationFinished(), and layout().

◆ firstVisibleItemPosition

qreal QQuickItemViewPrivate::firstVisibleItemPosition = 0

◆ footer

◆ footerComponent

QQmlComponent* QQuickItemViewPrivate::footerComponent

◆ forceLayout

bool QQuickItemViewPrivate::forceLayout

Definition at line 293 of file qquickitemview_p_p.h.

Referenced by layout().

◆ haveHighlightRange

◆ header

◆ headerComponent

QQmlComponent* QQuickItemViewPrivate::headerComponent

◆ highlight

◆ highlightComponent

QQmlComponent* QQuickItemViewPrivate::highlightComponent

Definition at line 256 of file qquickitemview_p_p.h.

Referenced by createHighlightItem().

◆ highlightMoveDuration

int QQuickItemViewPrivate::highlightMoveDuration

◆ highlightRange

◆ highlightRangeEnd

qreal QQuickItemViewPrivate::highlightRangeEnd

◆ highlightRangeEndValid

bool QQuickItemViewPrivate::highlightRangeEndValid

Definition at line 298 of file qquickitemview_p_p.h.

Referenced by maxExtentForAxis(), and minExtentForAxis().

◆ highlightRangeStart

◆ highlightRangeStartValid

bool QQuickItemViewPrivate::highlightRangeStartValid

Definition at line 297 of file qquickitemview_p_p.h.

Referenced by maxExtentForAxis(), and minExtentForAxis().

◆ inLayout

bool QQuickItemViewPrivate::inLayout

Definition at line 291 of file qquickitemview_p_p.h.

Referenced by itemGeometryChanged(), and layout().

◆ inRequest

bool QQuickItemViewPrivate::inRequest

Definition at line 300 of file qquickitemview_p_p.h.

Referenced by createItem().

◆ inViewportMoved

bool QQuickItemViewPrivate::inViewportMoved

Definition at line 292 of file qquickitemview_p_p.h.

◆ isClearing

bool QQuickItemViewPrivate::isClearing

Definition at line 305 of file qquickitemview_p_p.h.

Referenced by clear(), and releaseItem().

◆ itemCount

◆ keyNavigationEnabled

bool QQuickItemViewPrivate::keyNavigationEnabled

Definition at line 289 of file qquickitemview_p_p.h.

◆ layoutDirection

Qt::LayoutDirection QQuickItemViewPrivate::layoutDirection

Definition at line 236 of file qquickitemview_p_p.h.

◆ maxExtent

◆ minExtent

◆ model

◆ modelVariant

QVariant QQuickItemViewPrivate::modelVariant

Definition at line 230 of file qquickitemview_p_p.h.

◆ ownModel

bool QQuickItemViewPrivate::ownModel

Definition at line 287 of file qquickitemview_p_p.h.

◆ requestedIndex

int QQuickItemViewPrivate::requestedIndex

◆ reusableFlag

◆ trackedItem

◆ unrequestedItems

QHash<QQuickItem*,int> QQuickItemViewPrivate::unrequestedItems

◆ verticalLayoutDirection

◆ visibleIndex

◆ visibleItems

QList<FxViewItem *> QQuickItemViewPrivate::visibleItems

Definition at line 239 of file qquickitemview_p_p.h.

Referenced by QQuickGridViewPrivate::addVisibleItems(), QQuickListViewPrivate::addVisibleItems(), QQuickGridViewPrivate::adjustFirstItem(), QQuickListViewPrivate::adjustFirstItem(), QQuickGridViewPrivate::applyInsertionChange(), QQuickListViewPrivate::applyInsertionChange(), applyModelChanges(), applyRemovalChange(), checkVisible(), QQuickGridViewPrivate::colPosAt(), QQuickListViewPrivate::endPositionAt(), findLastIndexInView(), findLastVisibleIndex(), firstItemInView(), QQuickListViewPrivate::fixup(), QQuickListViewPrivate::fixupHeader(), QQuickListViewPrivate::initializeCurrentItem(), QQuickListViewPrivate::itemBefore(), QQuickListViewPrivate::itemGeometryChanged(), QQuickGridViewPrivate::lastPosition(), QQuickListViewPrivate::lastPosition(), layout(), QQuickGridViewPrivate::layoutVisibleItems(), QQuickListViewPrivate::layoutVisibleItems(), mapFromModel(), QQuickGridViewPrivate::originPosition(), QQuickListViewPrivate::originPosition(), QQuickListViewPrivate::positionAt(), positionViewAtIndex(), refill(), QQuickListViewPrivate::releaseSectionItems(), removeItem(), QQuickGridViewPrivate::removeNonVisibleItems(), QQuickListViewPrivate::removeNonVisibleItems(), repositionFirstItem(), QQuickGridViewPrivate::resetFirstItemPosition(), QQuickListViewPrivate::resetFirstItemPosition(), QQuickGridViewPrivate::rowPosAt(), showVisibleItems(), QQuickGridViewPrivate::snapIndex(), QQuickListViewPrivate::snapItemAt(), QQuickGridViewPrivate::snapItemAt(), QQuickListViewPrivate::snapPosAt(), QQuickGridViewPrivate::snapPosAt(), QQuickListViewPrivate::updateAverage(), QQuickListViewPrivate::updateCurrentSection(), QQuickGridViewPrivate::updateFooter(), QQuickListViewPrivate::updateFooter(), QQuickGridViewPrivate::updateHeader(), QQuickListViewPrivate::updateHeader(), QQuickListViewPrivate::updateSections(), QQuickListViewPrivate::updateSizeChangesBeforeVisiblePos(), QQuickListViewPrivate::updateStickySections(), updateViewport(), updateVisibleIndex(), visibleItem(), and QQuickListViewPrivate::visibleItemsChanged().

◆ wrap

bool QQuickItemViewPrivate::wrap

Definition at line 288 of file qquickitemview_p_p.h.


The documentation for this class was generated from the following files: