![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qquickpathview_p_p.h>
Public Types | |
enum | MovementReason { Other , SetIndex , Mouse } |
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 , Scale = 0x1000 , Matrix = 0x2000 , 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 Types inherited from QSafeQuickItemChangeListener< QQuickPathViewPrivate > | |
using | InDestructorTest |
using | WasDeletedTest |
Additional Inherited Members | |
Protected Member Functions inherited from QQuickPaletteProviderPrivateBase< QQuickItem, QQuickItemPrivate > | |
void | setCurrentColorGroup () |
Definition at line 41 of file qquickpathview_p_p.h.
Enumerator | |
---|---|
Other | |
SetIndex | |
Mouse |
Definition at line 106 of file qquickpathview_p_p.h.
QQuickPathViewPrivate::QQuickPathViewPrivate | ( | ) |
Definition at line 65 of file qquickpathview.cpp.
References attType, autoHighlight, cacheSize, currentIndex, delegateValidated, dragging, flickDuration, flicking, haveHighlightRange, highlightComponent, highlightItem, highlightMoveDuration, highlightUp, inRefill, inRequest, interactive, layoutScheduled, modelCount, moveReason, moving, Other, ownModel, pathItems, requestedCacheSize, requestedIndex, and stealMouse.
Definition at line 1594 of file qquickpathview.cpp.
QQuickPathViewAttached * QQuickPathViewPrivate::attached | ( | QQuickItem * | item | ) |
Definition at line 195 of file qquickpathview.cpp.
Referenced by itemGeometryChanged(), releaseItem(), and updateItem().
QQmlOpenMetaObjectType * QQuickPathViewPrivate::attachedType | ( | ) |
Definition at line 200 of file qquickpathview.cpp.
References attType.
int QQuickPathViewPrivate::calcCurrentIndex | ( | ) |
Definition at line 2305 of file qquickpathview.cpp.
References modelCount.
Referenced by fixOffset(), and updateCurrent().
qreal QQuickPathViewPrivate::calcVelocity | ( | ) | const |
Definition at line 1602 of file qquickpathview.cpp.
void QQuickPathViewPrivate::clear | ( | ) |
Definition at line 215 of file qquickpathview.cpp.
References releaseCurrentItem(), and requestedIndex.
Referenced by regenerate().
qint64 QQuickPathViewPrivate::computeCurrentTime | ( | QInputEvent * | event | ) | const |
Definition at line 1617 of file qquickpathview.cpp.
void QQuickPathViewPrivate::createCurrentItem | ( | ) |
Definition at line 2319 of file qquickpathview.cpp.
References currentIndex, modelCount, requestedIndex, and QQuickPathViewAttached::setIsCurrentItem().
Referenced by updateCurrent().
void QQuickPathViewPrivate::createHighlight | ( | ) |
Definition at line 289 of file qquickpathview.cpp.
References highlightComponent, and highlightItem.
void QQuickPathViewPrivate::fixOffset | ( | ) |
Definition at line 2377 of file qquickpathview.cpp.
References calcCurrentIndex(), Other, and snapToIndex().
Referenced by fixOffsetCallback(), and handleMouseReleaseEvent().
Definition at line 2372 of file qquickpathview.cpp.
References fixOffset().
QQuickItem * QQuickPathViewPrivate::getItem | ( | int | modelIndex, |
qreal | z = 0, | ||
bool | async = false ) |
Definition at line 101 of file qquickpathview.cpp.
References delegateValidated, inRequest, and requestedIndex.
void QQuickPathViewPrivate::handleMouseMoveEvent | ( | QMouseEvent * | event | ) |
Definition at line 1682 of file qquickpathview.cpp.
References modelCount, Mouse, moveReason, moving, pathItems, setDragging(), and stealMouse.
void QQuickPathViewPrivate::handleMousePressEvent | ( | QMouseEvent * | event | ) |
Definition at line 1635 of file qquickpathview.cpp.
References stealMouse.
void QQuickPathViewPrivate::handleMouseReleaseEvent | ( | QMouseEvent * | event | ) |
Definition at line 1745 of file qquickpathview.cpp.
References fixOffset(), flicking, setDragging(), and stealMouse.
void QQuickPathViewPrivate::init | ( | ) |
Definition at line 87 of file qquickpathview.cpp.
bool QQuickPathViewPrivate::isInBound | ( | qreal | position, |
qreal | lower, | ||
qreal | upper, | ||
bool | emptyRangeCheck = true ) const |
Definition at line 276 of file qquickpathview.cpp.
|
inline |
Definition at line 89 of file qquickpathview_p_p.h.
Referenced by regenerate().
|
inlineoverridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 59 of file qquickpathview_p_p.h.
|
inlineoverridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 51 of file qquickpathview_p_p.h.
References attached(), highlightItem, and scheduleLayout().
Returns a point in the path, that has the closest distance from point. A value in the range 0-1 will be written to nearPercent if given, which represents where on the path the point is closest to. 0
means the very beginning of the path, and 1
means the very end.
Definition at line 1553 of file qquickpathview.cpp.
Definition at line 251 of file qquickpathview.cpp.
References modelCount, and pathItems.
void QQuickPathViewPrivate::regenerate | ( | ) |
Definition at line 426 of file qquickpathview.cpp.
References clear(), isValid(), and updateMappedRange().
|
inline |
Definition at line 74 of file qquickpathview_p_p.h.
References releaseItem().
Referenced by clear(), and updateCurrent().
void QQuickPathViewPrivate::releaseItem | ( | QQuickItem * | item | ) |
Definition at line 174 of file qquickpathview.cpp.
References attached(), and QQuickPathViewAttached::setOnPath().
Referenced by releaseCurrentItem().
|
inline |
Definition at line 65 of file qquickpathview_p_p.h.
References layoutScheduled.
Referenced by itemGeometryChanged().
Definition at line 842 of file qquickpathview.cpp.
void QQuickPathViewPrivate::setDragging | ( | bool | d | ) |
Definition at line 441 of file qquickpathview.cpp.
References dragging.
Referenced by handleMouseMoveEvent(), and handleMouseReleaseEvent().
Definition at line 367 of file qquickpathview.cpp.
Definition at line 824 of file qquickpathview.cpp.
void QQuickPathViewPrivate::snapToIndex | ( | int | index, |
MovementReason | reason ) |
Definition at line 2392 of file qquickpathview.cpp.
References highlightMoveDuration, modelCount, moveReason, and pathItems.
Referenced by fixOffset().
void QQuickPathViewPrivate::updateCurrent | ( | ) |
Definition at line 2347 of file qquickpathview.cpp.
References calcCurrentIndex(), createCurrentItem(), currentIndex, moveReason, releaseCurrentItem(), SetIndex, and QQuickPathViewAttached::setIsCurrentItem().
void QQuickPathViewPrivate::updateHighlight | ( | ) |
Definition at line 330 of file qquickpathview.cpp.
References highlightItem, highlightMoveDuration, and highlightUp.
void QQuickPathViewPrivate::updateItem | ( | QQuickItem * | item, |
qreal | percent ) |
Definition at line 407 of file qquickpathview.cpp.
References attached(), and QQuickPathViewAttached::setOnPath().
void QQuickPathViewPrivate::updateMappedRange | ( | ) |
Definition at line 236 of file qquickpathview.cpp.
References cacheSize, modelCount, pathItems, and requestedCacheSize.
Referenced by regenerate().
QQmlOpenMetaObjectType* QQuickPathViewPrivate::attType |
Definition at line 159 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), and attachedType().
bool QQuickPathViewPrivate::autoHighlight |
Definition at line 129 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate().
int QQuickPathViewPrivate::cacheSize |
Definition at line 149 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), and updateMappedRange().
int QQuickPathViewPrivate::currentIndex |
Definition at line 115 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), createCurrentItem(), and updateCurrent().
QPointer<QQuickItem> QQuickPathViewPrivate::currentItem |
Definition at line 116 of file qquickpathview_p_p.h.
qreal QQuickPathViewPrivate::currentItemOffset |
Definition at line 117 of file qquickpathview_p_p.h.
qreal QQuickPathViewPrivate::deceleration |
Definition at line 142 of file qquickpathview_p_p.h.
bool QQuickPathViewPrivate::delegateValidated |
Definition at line 136 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), and getItem().
bool QQuickPathViewPrivate::dragging |
Definition at line 134 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), and setDragging().
qreal QQuickPathViewPrivate::dragMargin |
Definition at line 141 of file qquickpathview_p_p.h.
int QQuickPathViewPrivate::flickDuration |
Definition at line 146 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate().
bool QQuickPathViewPrivate::flicking |
Definition at line 133 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), and handleMouseReleaseEvent().
bool QQuickPathViewPrivate::haveHighlightRange |
Definition at line 128 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate().
QQmlComponent* QQuickPathViewPrivate::highlightComponent |
Definition at line 160 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), and createHighlight().
QQuickItem* QQuickPathViewPrivate::highlightItem |
Definition at line 161 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), createHighlight(), itemGeometryChanged(), and updateHighlight().
int QQuickPathViewPrivate::highlightMoveDuration |
Definition at line 167 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), snapToIndex(), and updateHighlight().
qreal QQuickPathViewPrivate::highlightPosition |
Definition at line 163 of file qquickpathview_p_p.h.
qreal QQuickPathViewPrivate::highlightRangeEnd |
Definition at line 165 of file qquickpathview_p_p.h.
QQuickPathView::HighlightRangeMode QQuickPathViewPrivate::highlightRangeMode |
Definition at line 166 of file qquickpathview_p_p.h.
qreal QQuickPathViewPrivate::highlightRangeStart |
Definition at line 164 of file qquickpathview_p_p.h.
bool QQuickPathViewPrivate::highlightUp |
Definition at line 130 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), and updateHighlight().
bool QQuickPathViewPrivate::inRefill |
Definition at line 137 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate().
bool QQuickPathViewPrivate::inRequest |
Definition at line 135 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), and getItem().
bool QQuickPathViewPrivate::interactive |
Definition at line 127 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate().
QList<QQuickItem *> QQuickPathViewPrivate::itemCache |
Definition at line 153 of file qquickpathview_p_p.h.
QList<QQuickItem *> QQuickPathViewPrivate::items |
Definition at line 152 of file qquickpathview_p_p.h.
QPointF QQuickPathViewPrivate::lastPos |
Definition at line 140 of file qquickpathview_p_p.h.
qint64 QQuickPathViewPrivate::lastPosTime |
Definition at line 139 of file qquickpathview_p_p.h.
bool QQuickPathViewPrivate::layoutScheduled |
Definition at line 131 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), and scheduleLayout().
qreal QQuickPathViewPrivate::mappedCache |
Definition at line 124 of file qquickpathview_p_p.h.
qreal QQuickPathViewPrivate::mappedRange |
Definition at line 123 of file qquickpathview_p_p.h.
qreal QQuickPathViewPrivate::maximumFlickVelocity |
Definition at line 143 of file qquickpathview_p_p.h.
QPointer<QQmlInstanceModel> QQuickPathViewPrivate::model |
Definition at line 154 of file qquickpathview_p_p.h.
int QQuickPathViewPrivate::modelCount |
Definition at line 168 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), calcCurrentIndex(), createCurrentItem(), handleMouseMoveEvent(), positionOfIndex(), snapToIndex(), and updateMappedRange().
QVariant QQuickPathViewPrivate::modelVariant |
Definition at line 155 of file qquickpathview_p_p.h.
QQuickPathView::MovementDirection QQuickPathViewPrivate::moveDirection |
Definition at line 158 of file qquickpathview_p_p.h.
QQuickTimeLineValueProxy<QQuickPathViewPrivate> QQuickPathViewPrivate::moveHighlight |
Definition at line 162 of file qquickpathview_p_p.h.
QQuickPathView::MovementDirection QQuickPathViewPrivate::movementDirection |
Definition at line 157 of file qquickpathview_p_p.h.
QQuickTimeLineValueProxy<QQuickPathViewPrivate> QQuickPathViewPrivate::moveOffset |
Definition at line 145 of file qquickpathview_p_p.h.
MovementReason QQuickPathViewPrivate::moveReason |
Definition at line 156 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), handleMouseMoveEvent(), snapToIndex(), and updateCurrent().
bool QQuickPathViewPrivate::moving |
Definition at line 132 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), and handleMouseMoveEvent().
qreal QQuickPathViewPrivate::offset |
Definition at line 121 of file qquickpathview_p_p.h.
Referenced by testing.tools.fixup_pdf_template.TemplateProcessor::insert_xref_entry(), and testing.tools.fixup_pdf_template.TemplateProcessor::process_line().
qreal QQuickPathViewPrivate::offsetAdj |
Definition at line 122 of file qquickpathview_p_p.h.
bool QQuickPathViewPrivate::ownModel |
Definition at line 126 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate().
QQuickPath* QQuickPathViewPrivate::path |
Definition at line 114 of file qquickpathview_p_p.h.
int QQuickPathViewPrivate::pathItems |
Definition at line 147 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), handleMouseMoveEvent(), positionOfIndex(), snapToIndex(), and updateMappedRange().
int QQuickPathViewPrivate::requestedCacheSize |
Definition at line 150 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), and updateMappedRange().
int QQuickPathViewPrivate::requestedIndex |
Definition at line 148 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), clear(), createCurrentItem(), and getItem().
qreal QQuickPathViewPrivate::requestedZ |
Definition at line 151 of file qquickpathview_p_p.h.
QQuickPathView::SnapMode QQuickPathViewPrivate::snapMode |
Definition at line 170 of file qquickpathview_p_p.h.
qreal QQuickPathViewPrivate::startPc |
Definition at line 118 of file qquickpathview_p_p.h.
QPointF QQuickPathViewPrivate::startPoint |
Definition at line 119 of file qquickpathview_p_p.h.
QPointF QQuickPathViewPrivate::startPos |
Definition at line 120 of file qquickpathview_p_p.h.
bool QQuickPathViewPrivate::stealMouse |
Definition at line 125 of file qquickpathview_p_p.h.
Referenced by QQuickPathViewPrivate(), handleMouseMoveEvent(), handleMousePressEvent(), and handleMouseReleaseEvent().
QElapsedTimer QQuickPathViewPrivate::timer |
Definition at line 138 of file qquickpathview_p_p.h.
QQuickTimeLine QQuickPathViewPrivate::tl |
Definition at line 144 of file qquickpathview_p_p.h.
QPODVector<qreal,10> QQuickPathViewPrivate::velocityBuffer |
Definition at line 169 of file qquickpathview_p_p.h.