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
QQuickTableViewPrivate Class Reference

#include <qquicktableview_p_p.h>

+ Inheritance diagram for QQuickTableViewPrivate:
+ Collaboration diagram for QQuickTableViewPrivate:

Classes

class  EdgeRange
 
class  TableEdgeLoadRequest
 

Public Types

enum class  RebuildState {
  Begin = 0 , LoadInitalTable , VerifyTable , LayoutTable ,
  CancelOvershoot , UpdateContentSize , PreloadColumns , PreloadRows ,
  MovePreloadedItemsToPool , Done
}
 
enum class  RebuildOption {
  None = 0 , All = 0x1 , LayoutOnly = 0x2 , ViewportOnly = 0x4 ,
  CalculateNewTopLeftRow = 0x8 , CalculateNewTopLeftColumn = 0x10 , CalculateNewContentWidth = 0x20 , CalculateNewContentHeight = 0x40 ,
  PositionViewAtRow = 0x80 , PositionViewAtColumn = 0x100
}
 
- 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 Types inherited from QQuickSelectable
enum class  CallBackFlag { CancelSelection , SelectionRectangleChanged }
 

Public Member Functions

 QQuickTableViewPrivate ()
 
 ~QQuickTableViewPrivate () override
 
void updatePolish () override
 
void fixup (AxisData &data, qreal minExtent, qreal maxExtent) override
 
void init ()
 
QQuickTableViewAttachedgetAttachedObject (const QObject *object) const
 
int modelIndexAtCell (const QPoint &cell) const
 
QPoint cellAtModelIndex (int modelIndex) const
 
int modelIndexToCellIndex (const QModelIndex &modelIndex) const
 
bool cellIsValid (const QPoint &cell) const
 
qreal sizeHintForColumn (int column) const
 
qreal sizeHintForRow (int row) const
 
QSize calculateTableSize ()
 
void updateTableSize ()
 
bool isColumnHidden (int column) const
 
bool isRowHidden (int row) const
 
qreal getColumnLayoutWidth (int column)
 
qreal getRowLayoutHeight (int row)
 
qreal getColumnWidth (int column) const
 
qreal getRowHeight (int row) const
 
qreal getEffectiveRowY (int row) const
 
qreal getEffectiveRowHeight (int row) const
 
qreal getEffectiveColumnX (int column) const
 
qreal getEffectiveColumnWidth (int column) const
 
qreal getAlignmentContentX (int column, Qt::Alignment alignment, const qreal offset, const QRectF &subRect)
 
qreal getAlignmentContentY (int row, Qt::Alignment alignment, const qreal offset, const QRectF &subRect)
 
int topRow () const
 
int bottomRow () const
 
int leftColumn () const
 
int rightColumn () const
 
QQuickTableViewrootSyncView () const
 
bool updateTableRecursive ()
 
bool updateTable ()
 
void relayoutTableItems ()
 
void layoutVerticalEdge (Qt::Edge tableEdge)
 
void layoutHorizontalEdge (Qt::Edge tableEdge)
 
void layoutTopLeftItem ()
 
void layoutTableEdgeFromLoadRequest ()
 
void updateContentWidth ()
 
void updateContentHeight ()
 
void updateAverageColumnWidth ()
 
void updateAverageRowHeight ()
 
RebuildOptions checkForVisibilityChanges ()
 
void forceLayout (bool immediate)
 
void updateExtents ()
 
void syncLoadedTableRectFromLoadedTable ()
 
void syncLoadedTableFromLoadRequest ()
 
void shiftLoadedTableRect (const QPointF newPosition)
 
int nextVisibleEdgeIndex (Qt::Edge edge, int startIndex) const
 
int nextVisibleEdgeIndexAroundLoadedTable (Qt::Edge edge) const
 
bool atTableEnd (Qt::Edge edge) const
 
bool atTableEnd (Qt::Edge edge, int startIndex) const
 
int edgeToArrayIndex (Qt::Edge edge) const
 
void clearEdgeSizeCache ()
 
bool canLoadTableEdge (Qt::Edge tableEdge, const QRectF fillRect) const
 
bool canUnloadTableEdge (Qt::Edge tableEdge, const QRectF fillRect) const
 
Qt::Edge nextEdgeToLoad (const QRectF rect)
 
Qt::Edge nextEdgeToUnload (const QRectF rect)
 
qreal cellWidth (const QPoint &cell) const
 
qreal cellHeight (const QPoint &cell) const
 
FxTableItemloadedTableItem (const QPoint &cell) const
 
FxTableItemcreateFxTableItem (const QPoint &cell, QQmlIncubator::IncubationMode incubationMode)
 
FxTableItemloadFxTableItem (const QPoint &cell, QQmlIncubator::IncubationMode incubationMode)
 
void releaseItem (FxTableItem *fxTableItem, QQmlTableInstanceModel::ReusableFlag reusableFlag)
 
void releaseLoadedItems (QQmlTableInstanceModel::ReusableFlag reusableFlag)
 
void unloadItem (const QPoint &cell)
 
void loadEdge (Qt::Edge edge, QQmlIncubator::IncubationMode incubationMode)
 
void unloadEdge (Qt::Edge edge)
 
void loadAndUnloadVisibleEdges (QQmlIncubator::IncubationMode incubationMode=QQmlIncubator::AsynchronousIfNested)
 
void drainReusePoolAfterLoadRequest ()
 
void processLoadRequest ()
 
void processRebuildTable ()
 
bool moveToNextRebuildState ()
 
void calculateTopLeft (QPoint &topLeft, QPointF &topLeftPos)
 
void loadInitialTable ()
 
void layoutAfterLoadingInitialTable ()
 
void adjustViewportXAccordingToAlignment ()
 
void adjustViewportYAccordingToAlignment ()
 
void cancelOvershootAfterLayout ()
 
void scheduleRebuildTable (QQuickTableViewPrivate::RebuildOptions options)
 
void updateEditItem ()
 
void updateContentSize ()
 
QTypeRevision resolveImportVersion ()
 
void createWrapperModel ()
 
QAbstractItemModelqaim (QVariant modelAsVariant) const
 
virtual void initItemCallback (int modelIndex, QObject *item)
 
virtual void itemCreatedCallback (int modelIndex, QObject *object)
 
virtual void itemPooledCallback (int modelIndex, QObject *object)
 
virtual void itemReusedCallback (int modelIndex, QObject *object)
 
virtual void modelUpdated (const QQmlChangeSet &changeSet, bool reset)
 
virtual void syncWithPendingChanges ()
 
virtual void syncDelegate ()
 
virtual QVariant modelImpl () const
 
virtual void setModelImpl (const QVariant &newModel)
 
virtual void syncModel ()
 
virtual void syncSyncView ()
 
virtual void syncPositionView ()
 
virtual QAbstractItemModelselectionSourceModel ()
 
void syncRebuildOptions ()
 
void connectToModel ()
 
void disconnectFromModel ()
 
void rowsMovedCallback (const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row)
 
void columnsMovedCallback (const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column)
 
void rowsInsertedCallback (const QModelIndex &parent, int begin, int end)
 
void rowsRemovedCallback (const QModelIndex &parent, int begin, int end)
 
void columnsInsertedCallback (const QModelIndex &parent, int begin, int end)
 
void columnsRemovedCallback (const QModelIndex &parent, int begin, int end)
 
void layoutChangedCallback (const QList< QPersistentModelIndex > &parents, QAbstractItemModel::LayoutChangeHint hint)
 
void modelResetCallback ()
 
bool compareModel (const QVariant &model1, const QVariant &model2) const
 
void positionViewAtRow (int row, Qt::Alignment alignment, qreal offset, const QRectF subRect=QRectF())
 
void positionViewAtColumn (int column, Qt::Alignment alignment, qreal offset, const QRectF subRect=QRectF())
 
bool scrollToRow (int row, Qt::Alignment alignment, qreal offset, const QRectF subRect=QRectF())
 
bool scrollToColumn (int column, Qt::Alignment alignment, qreal offset, const QRectF subRect=QRectF())
 
void scheduleRebuildIfFastFlick ()
 
void setLocalViewportX (qreal contentX)
 
void setLocalViewportY (qreal contentY)
 
void syncViewportRect ()
 
void syncViewportPosRecursive ()
 
bool selectedInSelectionModel (const QPoint &cell) const
 
void selectionChangedInSelectionModel (const QItemSelection &selected, const QItemSelection &deselected)
 
void updateSelectedOnAllDelegateItems ()
 
void setSelectedOnDelegateItem (const QModelIndex &modelIndex, bool select)
 
bool currentInSelectionModel (const QPoint &cell) const
 
void currentChangedInSelectionModel (const QModelIndex &current, const QModelIndex &previous)
 
void setCurrentOnDelegateItem (const QModelIndex &index, bool isCurrent)
 
void updateCurrentRowAndColumn ()
 
void fetchMoreData ()
 
void _q_componentFinalized ()
 
void registerCallbackWhenBindingsAreEvaluated ()
 
QString tableLayoutToString () const
 
void dumpTable () const
 
void setRequiredProperty (const char *property, const QVariant &value, int serializedModelIndex, QObject *object, bool init)
 
void handleTap (const QQuickHandlerPoint &point)
 
void setCurrentIndexFromTap (const QPointF &pos)
 
void setCurrentIndex (const QPoint &cell)
 
bool setCurrentIndexFromKeyEvent (QKeyEvent *e)
 
bool canEdit (const QModelIndex tappedIndex, bool warn)
 
bool editFromKeyEvent (QKeyEvent *e)
 
QQuickItemselectionPointerHandlerTarget () const override
 
bool startSelection (const QPointF &pos, Qt::KeyboardModifiers modifiers) override
 
void setSelectionStartPos (const QPointF &pos) override
 
void setSelectionEndPos (const QPointF &pos) override
 
void clearSelection () override
 
void normalizeSelection () override
 
QRectF selectionRectangle () const override
 
QSizeF scrollTowardsSelectionPoint (const QPointF &pos, const QSizeF &step) override
 
void setCallback (std::function< void(CallBackFlag)> func) override
 
void cancelSelectionTracking ()
 
QPoint clampedCellAtPos (const QPointF &pos) const
 
virtual void updateSelection (const QRect &oldSelection, const QRect &newSelection)
 
QRect selection () const
 
- 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 ()
 
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 itemGeometryChanged (QQuickItem *, QQuickGeometryChange, const QRectF &) override
 
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 ()
 
virtual void mirrorChange ()
 
void setHasCursorInChild (bool hasCursor)
 
void setHasHoverInChild (bool hasHover)
 
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 ()
 

Static Public Member Functions

static QQuickTableViewPrivateget (QQuickTableView *q)
 
- 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

QHash< int, FxTableItem * > loadedItems
 
QQmlInstanceModelmodel = nullptr
 
QPointer< QQmlTableInstanceModeltableModel = nullptr
 
QVariant modelVariant
 
QVariant assignedModel = QVariant(int(0))
 
QQmlGuard< QQmlComponentassignedDelegate
 
QMinimalFlatSet< int > loadedColumns
 
QMinimalFlatSet< int > loadedRows
 
QRectF loadedTableOuterRect
 
QRectF loadedTableInnerRect
 
QPointF origin = QPointF(0, 0)
 
QSizeF endExtent = QSizeF(0, 0)
 
QRectF viewportRect = QRectF(0, 0, -1, -1)
 
QSize tableSize
 
RebuildState rebuildState = RebuildState::Done
 
RebuildOptions rebuildOptions = RebuildOption::All
 
RebuildOptions scheduledRebuildOptions = RebuildOption::All
 
TableEdgeLoadRequest loadRequest
 
QSizeF cellSpacing = QSizeF(0, 0)
 
QQmlTableInstanceModel::ReusableFlag reusableFlag = QQmlTableInstanceModel::Reusable
 
bool blockItemCreatedCallback = false
 
bool layoutWarningIssued = false
 
bool polishing = false
 
bool syncVertically = false
 
bool syncHorizontally = false
 
bool inSetLocalViewportPos = false
 
bool inSyncViewportPosRecursive = false
 
bool inUpdateContentSize = false
 
bool animate = true
 
bool keyNavigationEnabled = true
 
bool pointerNavigationEnabled = true
 
bool alternatingRows = true
 
bool resizableColumns = false
 
bool resizableRows = false
 
bool isTransposed = false
 
bool warnNoSelectionModel = true
 
QJSValue rowHeightProvider
 
QJSValue columnWidthProvider
 
EdgeRange cachedNextVisibleEdgeIndex [4]
 
EdgeRange cachedColumnWidth
 
EdgeRange cachedRowHeight
 
QQmlNullableValue< qrealexplicitContentWidth
 
QQmlNullableValue< qrealexplicitContentHeight
 
QSizeF averageEdgeSize
 
QPointer< QQuickTableViewassignedSyncView
 
QPointer< QQuickTableViewsyncView
 
QList< QPointer< QQuickTableView > > syncChildren
 
Qt::Orientations assignedSyncDirection = Qt::Horizontal | Qt::Vertical
 
QPointer< QItemSelectionModelselectionModel
 
QQuickTableView::SelectionBehavior selectionBehavior = QQuickTableView::SelectCells
 
QQuickTableView::SelectionMode selectionMode = QQuickTableView::ExtendedSelection
 
QItemSelectionModel::SelectionFlag selectionFlag = QItemSelectionModel::NoUpdate
 
std::function< void(CallBackFlag)> selectableCallbackFunction
 
bool inSelectionModelUpdate = false
 
int assignedPositionViewAtRowAfterRebuild = 0
 
int assignedPositionViewAtColumnAfterRebuild = 0
 
int positionViewAtRowAfterRebuild = 0
 
int positionViewAtColumnAfterRebuild = 0
 
qreal positionViewAtRowOffset = 0
 
qreal positionViewAtColumnOffset = 0
 
QRectF positionViewAtRowSubRect
 
QRectF positionViewAtColumnSubRect
 
Qt::Alignment positionViewAtRowAlignment = Qt::AlignTop
 
Qt::Alignment positionViewAtColumnAlignment = Qt::AlignLeft
 
QQuickPropertyAnimation positionXAnimation
 
QQuickPropertyAnimation positionYAnimation
 
QPoint selectionStartCell = {-1, -1}
 
QPoint selectionEndCell = {-1, -1}
 
QItemSelection existingSelection
 
QMargins edgesBeforeRebuild
 
QSize tableSizeBeforeRebuild
 
int currentRow = -1
 
int currentColumn = -1
 
QHash< int, qrealexplicitColumnWidths
 
QHash< int, qrealexplicitRowHeights
 
QQuickTableViewHoverHandlerhoverHandler = nullptr
 
QQuickTableViewResizeHandlerresizeHandler = nullptr
 
QQmlTableInstanceModeleditModel = nullptr
 
QQuickItemeditItem = nullptr
 
QPersistentModelIndex editIndex
 
QQuickTableView::EditTriggers editTriggers = QQuickTableView::DoubleTapped | QQuickTableView::EditKeyPressed
 
- 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
 

Additional Inherited Members

- Protected Member Functions inherited from QQuickPaletteProviderPrivateBase< QQuickItem, QQuickItemPrivate >
void setCurrentColorGroup ()
 

Detailed Description

Definition at line 128 of file qquicktableview_p_p.h.

Member Enumeration Documentation

◆ RebuildOption

Enumerator
None 
All 
LayoutOnly 
ViewportOnly 
CalculateNewTopLeftRow 
CalculateNewTopLeftColumn 
CalculateNewContentWidth 
CalculateNewContentHeight 
PositionViewAtRow 
PositionViewAtColumn 

Definition at line 244 of file qquicktableview_p_p.h.

◆ RebuildState

Enumerator
Begin 
LoadInitalTable 
VerifyTable 
LayoutTable 
CancelOvershoot 
UpdateContentSize 
PreloadColumns 
PreloadRows 
MovePreloadedItemsToPool 
Done 

Definition at line 231 of file qquicktableview_p_p.h.

Constructor & Destructor Documentation

◆ QQuickTableViewPrivate()

QQuickTableViewPrivate::QQuickTableViewPrivate ( )

Definition at line 1535 of file qquicktableview.cpp.

◆ ~QQuickTableViewPrivate()

QQuickTableViewPrivate::~QQuickTableViewPrivate ( )
override

Definition at line 1540 of file qquicktableview.cpp.

References QQmlTableInstanceModel::dispose(), editItem, editModel, item, loadedItems, QQmlInstanceModel::NotReusable, QQuickItem::parentItem(), Q_ASSERT, QQmlTableInstanceModel::release(), and tableModel.

+ Here is the call graph for this function:

Member Function Documentation

◆ _q_componentFinalized()

void QQuickTableViewPrivate::_q_componentFinalized ( )

◆ adjustViewportXAccordingToAlignment()

void QQuickTableViewPrivate::adjustViewportXAccordingToAlignment ( )

Definition at line 3760 of file qquicktableview.cpp.

References getAlignmentContentX(), leftColumn(), PositionViewAtColumn, positionViewAtColumnAfterRebuild, positionViewAtColumnAlignment, positionViewAtColumnOffset, positionViewAtColumnSubRect, rebuildOptions, setLocalViewportX(), and syncViewportRect().

Referenced by layoutAfterLoadingInitialTable().

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

◆ adjustViewportYAccordingToAlignment()

void QQuickTableViewPrivate::adjustViewportYAccordingToAlignment ( )

Definition at line 3779 of file qquicktableview.cpp.

References getAlignmentContentY(), PositionViewAtRow, positionViewAtRowAfterRebuild, positionViewAtRowAlignment, positionViewAtRowOffset, positionViewAtRowSubRect, rebuildOptions, setLocalViewportY(), syncViewportRect(), and topRow().

Referenced by layoutAfterLoadingInitialTable().

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

◆ atTableEnd() [1/2]

bool QQuickTableViewPrivate::atTableEnd ( Qt::Edge edge) const
inline

Definition at line 466 of file qquicktableview_p_p.h.

References kEdgeIndexAtEnd.

Referenced by processRebuildTable(), scrollTowardsSelectionPoint(), setCurrentIndexFromKeyEvent(), and updateContentSize().

+ Here is the caller graph for this function:

◆ atTableEnd() [2/2]

bool QQuickTableViewPrivate::atTableEnd ( Qt::Edge edge,
int startIndex ) const
inline

Definition at line 467 of file qquicktableview_p_p.h.

References kEdgeIndexAtEnd.

◆ bottomRow()

int QQuickTableViewPrivate::bottomRow ( ) const
inline

Definition at line 437 of file qquicktableview_p_p.h.

Referenced by checkForVisibilityChanges(), layoutHorizontalEdge(), nextVisibleEdgeIndexAroundLoadedTable(), scrollToRow(), selectionRectangle(), setCurrentIndexFromKeyEvent(), syncLoadedTableRectFromLoadedTable(), tableLayoutToString(), and unloadEdge().

+ Here is the caller graph for this function:

◆ calculateTableSize()

QSize QQuickTableViewPrivate::calculateTableSize ( )

Definition at line 2886 of file qquicktableview.cpp.

References QQmlTableInstanceModel::columns(), QQmlInstanceModel::count, isTransposed, model, QQmlTableInstanceModel::rows(), and tableModel.

Referenced by forceLayout(), and loadInitialTable().

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

◆ calculateTopLeft()

void QQuickTableViewPrivate::calculateTopLeft ( QPoint & topLeft,
QPointF & topLeftPos )

Definition at line 3532 of file qquicktableview.cpp.

References All, averageEdgeSize, Qt::BottomEdge, CalculateNewTopLeftColumn, CalculateNewTopLeftRow, cellSpacing, QSize::height(), QSizeF::height(), QSize::isEmpty(), kEdgeIndexAtEnd, leftColumn(), loadedTableOuterRect, nextVisibleEdgeIndex(), PositionViewAtColumn, positionViewAtColumnAfterRebuild, PositionViewAtRow, positionViewAtRowAfterRebuild, qBound(), qFloor(), rebuildOptions, Qt::RightEdge, QPointF::rx(), syncHorizontally, syncVertically, syncView, tableSize, topRow(), viewportRect, QSize::width(), QSizeF::width(), QRectF::x(), and QRectF::y().

Referenced by loadInitialTable().

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

◆ cancelOvershootAfterLayout()

void QQuickTableViewPrivate::cancelOvershootAfterLayout ( )

Definition at line 3798 of file qquicktableview.cpp.

References PositionViewAtColumn, PositionViewAtRow, qCDebug, qFuzzyIsNull(), rebuildOptions, setLocalViewportX(), setLocalViewportY(), syncHorizontally, syncVertically, and syncViewportRect().

Referenced by processRebuildTable().

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

◆ cancelSelectionTracking()

void QQuickTableViewPrivate::cancelSelectionTracking ( )

Definition at line 1891 of file qquicktableview.cpp.

References QQuickSelectable::CancelSelection, QList< T >::clear(), existingSelection, QItemSelectionModel::NoUpdate, selectableCallbackFunction, selectionEndCell, selectionFlag, and selectionStartCell.

Referenced by handleTap(), selectionChangedInSelectionModel(), and setCurrentIndexFromKeyEvent().

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

◆ canEdit()

bool QQuickTableViewPrivate::canEdit ( const QModelIndex tappedIndex,
bool warn )

Definition at line 4989 of file qquicktableview.cpp.

References QQmlInstanceModel::abstractItemModel(), QAbstractItemModel::flags(), getAttachedObject(), Qt::ItemIsEditable, model, qaim(), and qmlWarning().

Referenced by editFromKeyEvent(), handleTap(), and init().

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

◆ canLoadTableEdge()

bool QQuickTableViewPrivate::canLoadTableEdge ( Qt::Edge tableEdge,
const QRectF fillRect ) const

Definition at line 2764 of file qquicktableview.cpp.

References QRectF::bottom(), Qt::BottomEdge, cellSpacing, QSizeF::height(), QRectF::left(), Qt::LeftEdge, loadedTableOuterRect, QRectF::right(), Qt::RightEdge, QRectF::top(), Qt::TopEdge, and QSizeF::width().

Referenced by nextEdgeToLoad().

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

◆ canUnloadTableEdge()

bool QQuickTableViewPrivate::canUnloadTableEdge ( Qt::Edge tableEdge,
const QRectF fillRect ) const

Definition at line 2780 of file qquicktableview.cpp.

References QRectF::bottom(), Qt::BottomEdge, QMinimalFlatSet< T, Container, Compare >::count(), QQuickAbstractAnimation::isRunning(), QRectF::left(), Qt::LeftEdge, loadedColumns, loadedRows, loadedTableInnerRect, positionXAnimation, positionYAnimation, Q_TABLEVIEW_UNREACHABLE, QRectF::right(), Qt::RightEdge, QQuickPropertyAnimation::to, QVariant::toFloat(), QRectF::top(), Qt::TopEdge, viewportRect, QRectF::x(), and QRectF::y().

Referenced by nextEdgeToUnload().

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

◆ cellAtModelIndex()

QPoint QQuickTableViewPrivate::cellAtModelIndex ( int modelIndex) const

Definition at line 2070 of file qquicktableview.cpp.

References QSize::height(), isTransposed, tableSize, and QSize::width().

Referenced by initItemCallback(), itemCreatedCallback(), itemReusedCallback(), setCurrentOnDelegateItem(), setRequiredProperty(), setSelectedOnDelegateItem(), QQuickTreeViewPrivate::updateRequiredProperties(), and updateSelectedOnAllDelegateItems().

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

◆ cellHeight()

qreal QQuickTableViewPrivate::cellHeight ( const QPoint & cell) const

Definition at line 2859 of file qquicktableview.cpp.

References QQuickItem::implicitHeight, QQuickItemViewFxItem::item, and loadedTableItem().

Referenced by sizeHintForRow().

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

◆ cellIsValid()

bool QQuickTableViewPrivate::cellIsValid ( const QPoint & cell) const
inline

Definition at line 415 of file qquicktableview_p_p.h.

References QPoint::x(), and QPoint::y().

Referenced by clampedCellAtPos(), modelIndexToCellIndex(), setCurrentIndexFromKeyEvent(), setCurrentIndexFromTap(), setSelectionEndPos(), and setSelectionStartPos().

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

◆ cellWidth()

qreal QQuickTableViewPrivate::cellWidth ( const QPoint & cell) const

Definition at line 2851 of file qquicktableview.cpp.

References QQuickItem::implicitWidth, QQuickItemViewFxItem::item, and loadedTableItem().

Referenced by sizeHintForColumn().

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

◆ checkForVisibilityChanges()

QQuickTableViewPrivate::RebuildOptions QQuickTableViewPrivate::checkForVisibilityChanges ( )

Definition at line 2511 of file qquicktableview.cpp.

References bottomRow(), CalculateNewTopLeftColumn, CalculateNewTopLeftRow, QMinimalFlatSet< T, Container, Compare >::contains(), getColumnWidth(), getRowHeight(), QHash< Key, T >::isEmpty(), leftColumn(), loadedColumns, loadedItems, loadedRows, loadedTableOuterRect, None, origin, qCDebug, qFuzzyIsNull(), rebuildOptions, rightColumn(), topRow(), ViewportOnly, QPointF::x(), QRectF::x(), QPointF::y(), and QRectF::y().

Referenced by forceLayout().

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

◆ clampedCellAtPos()

QPoint QQuickTableViewPrivate::clampedCellAtPos ( const QPointF & pos) const

Definition at line 1818 of file qquicktableview.cpp.

References QRectF::bottom(), cellIsValid(), QRectF::height(), loadedTableOuterRect, pos, qBound(), QRectF::right(), QPointF::rx(), selectionPointerHandlerTarget(), viewportRect, QRectF::width(), QRectF::x(), and QRectF::y().

Referenced by setSelectionEndPos(), setSelectionStartPos(), and startSelection().

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

◆ clearEdgeSizeCache()

void QQuickTableViewPrivate::clearEdgeSizeCache ( )

Definition at line 2103 of file qquicktableview.cpp.

References allTableEdges, cachedColumnWidth, cachedNextVisibleEdgeIndex, cachedRowHeight, edgeToArrayIndex(), kEdgeIndexNotSet, and QQuickTableViewPrivate::EdgeRange::startIndex.

Referenced by forceLayout(), layoutAfterLoadingInitialTable(), and loadInitialTable().

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

◆ clearSelection()

void QQuickTableViewPrivate::clearSelection ( )
overridevirtual

Implements QQuickSelectable.

Definition at line 1902 of file qquicktableview.cpp.

References QItemSelectionModel::clearSelection(), inSelectionModelUpdate, and selectionModel.

Referenced by handleTap(), setCurrentIndexFromKeyEvent(), and startSelection().

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

◆ columnsInsertedCallback()

void QQuickTableViewPrivate::columnsInsertedCallback ( const QModelIndex & parent,
int begin,
int end )

Definition at line 4623 of file qquicktableview.cpp.

References CalculateNewContentWidth, QObjectData::parent, scheduleRebuildTable(), and ViewportOnly.

Referenced by connectToModel(), and disconnectFromModel().

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

◆ columnsMovedCallback()

void QQuickTableViewPrivate::columnsMovedCallback ( const QModelIndex & parent,
int start,
int end,
const QModelIndex & destination,
int column )

Definition at line 4593 of file qquicktableview.cpp.

References QObjectData::parent, scheduleRebuildTable(), and ViewportOnly.

Referenced by connectToModel(), and disconnectFromModel().

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

◆ columnsRemovedCallback()

void QQuickTableViewPrivate::columnsRemovedCallback ( const QModelIndex & parent,
int begin,
int end )

Definition at line 4636 of file qquicktableview.cpp.

References CalculateNewContentWidth, editIndex, editItem, QPersistentModelIndex::isValid(), QObjectData::parent, scheduleRebuildTable(), and ViewportOnly.

Referenced by connectToModel(), and disconnectFromModel().

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

◆ compareModel()

bool QQuickTableViewPrivate::compareModel ( const QVariant & model1,
const QVariant & model2 ) const

Definition at line 4673 of file qquicktableview.cpp.

References QJSValue::strictlyEquals().

Referenced by syncModel().

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

◆ connectToModel()

◆ createFxTableItem()

FxTableItem * QQuickTableViewPrivate::createFxTableItem ( const QPoint & cell,
QQmlIncubator::IncubationMode incubationMode )

Definition at line 2645 of file qquicktableview.cpp.

References QQuickAnchors::activeDirections(), QQuickItemPrivate::anchors(), QQuickItemPrivate::get(), QQmlInstanceModel::incubationStatus(), item, kDefaultColumnWidth, kDefaultRowHeight, QQmlIncubator::Loading, model, modelIndexAtCell(), QQmlInstanceModel::object, QGraphicsItem::parentItem(), Q_TABLEVIEW_ASSERT, qmlobject_cast< QQuickItem * >(), qmlWarning(), qWarning, QQmlInstanceModel::release(), and QGraphicsItem::setParentItem().

Referenced by loadFxTableItem().

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

◆ createWrapperModel()

void QQuickTableViewPrivate::createWrapperModel ( )

Definition at line 4106 of file qquicktableview.cpp.

References model, qmlContext(), resolveImportVersion(), tableModel, and QQmlTableInstanceModel::useImportVersion().

Referenced by syncModel().

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

◆ currentChangedInSelectionModel()

void QQuickTableViewPrivate::currentChangedInSelectionModel ( const QModelIndex & current,
const QModelIndex & previous )

Definition at line 4220 of file qquicktableview.cpp.

References QModelIndex::isValid(), QModelIndex::model(), qmlWarning(), selectionSourceModel(), setCurrentOnDelegateItem(), and updateCurrentRowAndColumn().

Referenced by QQuickTableView::setSelectionModel().

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

◆ currentInSelectionModel()

bool QQuickTableViewPrivate::currentInSelectionModel ( const QPoint & cell) const

Definition at line 4131 of file qquicktableview.cpp.

References QItemSelectionModel::currentIndex, QItemSelectionModel::model, model, and selectionModel.

Referenced by initItemCallback(), itemReusedCallback(), and updateSelectedOnAllDelegateItems().

+ Here is the caller graph for this function:

◆ disconnectFromModel()

◆ drainReusePoolAfterLoadRequest()

void QQuickTableViewPrivate::drainReusePoolAfterLoadRequest ( )

Definition at line 3930 of file qquicktableview.cpp.

References QMinimalFlatSet< T, Container, Compare >::count(), QQmlTableInstanceModel::drainReusableItemsPool(), loadedColumns, loadedRows, QQmlInstanceModel::NotReusable, qFuzzyIsNull(), reusableFlag, and tableModel.

Referenced by processLoadRequest().

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

◆ dumpTable()

void QQuickTableViewPrivate::dumpTable ( ) const

Definition at line 1580 of file qquicktableview.cpp.

References QDir::current(), i, loadedItems, QStringLiteral, qWarning, tableLayoutToString(), QHash< Key, T >::values(), and QQuickItemPrivate::window.

+ Here is the call graph for this function:

◆ edgeToArrayIndex()

int QQuickTableViewPrivate::edgeToArrayIndex ( Qt::Edge edge) const
inline

Definition at line 2098 of file qquicktableview.cpp.

References log2().

Referenced by clearEdgeSizeCache(), and nextVisibleEdgeIndex().

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

◆ editFromKeyEvent()

◆ fetchMoreData()

void QQuickTableViewPrivate::fetchMoreData ( )

Definition at line 4658 of file qquicktableview.cpp.

References QQmlTableInstanceModel::canFetchMore(), QQmlTableInstanceModel::fetchMore(), scheduleRebuildTable(), tableModel, and ViewportOnly.

Referenced by connectToModel(), and disconnectFromModel().

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

◆ fixup()

void QQuickTableViewPrivate::fixup ( QQuickFlickablePrivate::AxisData & data,
qreal minExtent,
qreal maxExtent )
overridevirtual

This function should be called after the contentItem has been moved, either programmatically, or by the timeline (as a result of a flick). It ensures that the contentItem will be moved back into bounds, in case it was flicked outside of the visible area.

The positional adjustment will usually be animated by the timeline, unless the fixupMode is set to Immediate.

Reimplemented from QQuickFlickablePrivate.

Definition at line 4076 of file qquicktableview.cpp.

References QQuickFlickablePrivate::fixup(), and inUpdateContentSize.

+ Here is the call graph for this function:

◆ forceLayout()

void QQuickTableViewPrivate::forceLayout ( bool immediate)

Definition at line 2582 of file qquicktableview.cpp.

References CalculateNewContentHeight, CalculateNewContentWidth, calculateTableSize(), checkForVisibilityChanges(), clearEdgeSizeCache(), LayoutOnly, None, qWarning, rebuildOptions, rootSyncView(), scheduleRebuildTable(), tableSize, and ViewportOnly.

Referenced by setCurrentIndexFromKeyEvent().

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

◆ get()

static QQuickTableViewPrivate * QQuickTableViewPrivate::get ( QQuickTableView * q)
inlinestatic

Definition at line 262 of file qquicktableview_p_p.h.

Referenced by QQuickTableViewHoverHandler::QQuickTableViewHoverHandler(), QQuickTableViewHoverHandler::handleEventPoint(), proxyModelSetter(), QQuickTableViewResizeHandler::updateDrag(), QQuickTableViewResizeHandler::updateState(), and QQuickTableViewTapHandler::wantsEventPoint().

+ Here is the caller graph for this function:

◆ getAlignmentContentX()

qreal QQuickTableViewPrivate::getAlignmentContentX ( int column,
Qt::Alignment alignment,
const qreal offset,
const QRectF & subRect )

Definition at line 3085 of file qquicktableview.cpp.

References Qt::AlignHCenter, Qt::AlignLeft, alignment, Qt::AlignRight, getEffectiveColumnWidth(), getEffectiveColumnX(), qBound(), viewportRect, and QRectF::width().

Referenced by adjustViewportXAccordingToAlignment(), and scrollToColumn().

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

◆ getAlignmentContentY()

qreal QQuickTableViewPrivate::getAlignmentContentY ( int row,
Qt::Alignment alignment,
const qreal offset,
const QRectF & subRect )

Definition at line 3128 of file qquicktableview.cpp.

References Qt::AlignBottom, alignment, Qt::AlignTop, Qt::AlignVCenter, getEffectiveRowHeight(), getEffectiveRowY(), QRectF::height(), qBound(), and viewportRect.

Referenced by adjustViewportYAccordingToAlignment(), and scrollToRow().

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

◆ getAttachedObject()

QQuickTableViewAttached * QQuickTableViewPrivate::getAttachedObject ( const QObject * object) const

Definition at line 2050 of file qquicktableview.cpp.

References attachedObject().

Referenced by canEdit(), editFromKeyEvent(), initItemCallback(), itemPooledCallback(), and itemReusedCallback().

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

◆ getColumnLayoutWidth()

qreal QQuickTableViewPrivate::getColumnLayoutWidth ( int column)

Definition at line 2897 of file qquicktableview.cpp.

References QQuickItem::contains(), getColumnWidth(), kDefaultColumnWidth, layoutWarningIssued, qIsNaN(), qmlWarning(), sizeHintForColumn(), syncHorizontally, and syncView.

Referenced by layoutTopLeftItem(), layoutVerticalEdge(), and relayoutTableItems().

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

◆ getColumnWidth()

qreal QQuickTableViewPrivate::getColumnWidth ( int column) const

Definition at line 2993 of file qquicktableview.cpp.

References cachedColumnWidth, QJSValue::call(), columnWidthProvider, QJSValue::isCallable(), QJSValue::isUndefined(), layoutWarningIssued, qIsNaN(), qmlWarning(), QQuickTableViewPrivate::EdgeRange::size, QQuickTableViewPrivate::EdgeRange::startIndex, syncHorizontally, syncView, and QJSValue::toNumber().

Referenced by checkForVisibilityChanges(), getColumnLayoutWidth(), and isColumnHidden().

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

◆ getEffectiveColumnWidth()

qreal QQuickTableViewPrivate::getEffectiveColumnWidth ( int column) const

Definition at line 2952 of file qquicktableview.cpp.

References QMinimalFlatSet< T, Container, Compare >::contains(), QQuickItemViewFxItem::geometry(), loadedColumns, loadedTableItem(), Q_TABLEVIEW_ASSERT, topRow(), and QRectF::width().

Referenced by getAlignmentContentX().

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

◆ getEffectiveColumnX()

qreal QQuickTableViewPrivate::getEffectiveColumnX ( int column) const

Definition at line 2945 of file qquicktableview.cpp.

References QMinimalFlatSet< T, Container, Compare >::contains(), QQuickItemViewFxItem::geometry(), loadedColumns, loadedTableItem(), Q_TABLEVIEW_ASSERT, topRow(), and QRectF::x().

Referenced by getAlignmentContentX().

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

◆ getEffectiveRowHeight()

qreal QQuickTableViewPrivate::getEffectiveRowHeight ( int row) const

Definition at line 2938 of file qquicktableview.cpp.

References QMinimalFlatSet< T, Container, Compare >::contains(), QQuickItemViewFxItem::geometry(), QRectF::height(), leftColumn(), loadedRows, loadedTableItem(), and Q_TABLEVIEW_ASSERT.

Referenced by getAlignmentContentY().

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

◆ getEffectiveRowY()

qreal QQuickTableViewPrivate::getEffectiveRowY ( int row) const

Definition at line 2931 of file qquicktableview.cpp.

References QMinimalFlatSet< T, Container, Compare >::contains(), QQuickItemViewFxItem::geometry(), leftColumn(), loadedRows, loadedTableItem(), Q_TABLEVIEW_ASSERT, and QRectF::y().

Referenced by getAlignmentContentY().

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

◆ getRowHeight()

qreal QQuickTableViewPrivate::getRowHeight ( int row) const

Definition at line 3039 of file qquicktableview.cpp.

References cachedRowHeight, QJSValue::call(), QJSValue::isCallable(), QJSValue::isUndefined(), layoutWarningIssued, qIsNaN(), qmlWarning(), rowHeightProvider, QQuickTableViewPrivate::EdgeRange::size, QQuickTableViewPrivate::EdgeRange::startIndex, syncVertically, syncView, and QJSValue::toNumber().

Referenced by checkForVisibilityChanges(), getRowLayoutHeight(), and isRowHidden().

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

◆ getRowLayoutHeight()

qreal QQuickTableViewPrivate::getRowLayoutHeight ( int row)

Definition at line 2959 of file qquicktableview.cpp.

References QQuickItem::contains(), getRowHeight(), kDefaultRowHeight, layoutWarningIssued, qIsNaN(), qmlWarning(), sizeHintForRow(), syncVertically, and syncView.

Referenced by layoutHorizontalEdge(), layoutTopLeftItem(), and relayoutTableItems().

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

◆ handleTap()

void QQuickTableViewPrivate::handleTap ( const QQuickHandlerPoint & point)

◆ init()

◆ initItemCallback()

void QQuickTableViewPrivate::initItemCallback ( int modelIndex,
QObject * item )
virtual

Reimplemented in QQuickTreeViewPrivate.

Definition at line 4279 of file qquicktableview.cpp.

References cellAtModelIndex(), currentInSelectionModel(), QVariant::fromValue(), getAttachedObject(), item, kRequiredProperty_current, kRequiredProperty_editing, kRequiredProperty_selected, qobject_cast< QQuickItem * >(), selectedInSelectionModel(), QGraphicsItem::setParentItem(), and setRequiredProperty().

Referenced by connectToModel(), disconnectFromModel(), and QQuickTreeViewPrivate::initItemCallback().

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

◆ isColumnHidden()

bool QQuickTableViewPrivate::isColumnHidden ( int column) const
inline

Definition at line 3171 of file qquicktableview.cpp.

References getColumnWidth(), and qFuzzyIsNull().

Referenced by nextVisibleEdgeIndex().

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

◆ isRowHidden()

bool QQuickTableViewPrivate::isRowHidden ( int row) const
inline

Definition at line 3178 of file qquicktableview.cpp.

References getRowHeight(), and qFuzzyIsNull().

Referenced by nextVisibleEdgeIndex().

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

◆ itemCreatedCallback()

void QQuickTableViewPrivate::itemCreatedCallback ( int modelIndex,
QObject * object )
virtual

Definition at line 4262 of file qquicktableview.cpp.

References blockItemCreatedCallback, cellAtModelIndex(), loadAndUnloadVisibleEdges(), processLoadRequest(), qCDebug, and updatePolish().

Referenced by connectToModel(), and disconnectFromModel().

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

◆ itemPooledCallback()

void QQuickTableViewPrivate::itemPooledCallback ( int modelIndex,
QObject * object )
virtual

Definition at line 4301 of file qquicktableview.cpp.

References emit, getAttachedObject(), and Q_UNUSED.

Referenced by connectToModel(), and disconnectFromModel().

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

◆ itemReusedCallback()

void QQuickTableViewPrivate::itemReusedCallback ( int modelIndex,
QObject * object )
virtual

Reimplemented in QQuickTreeViewPrivate.

Definition at line 4309 of file qquicktableview.cpp.

References cellAtModelIndex(), currentInSelectionModel(), emit, QVariant::fromValue(), QQuickItemPrivate::get(), getAttachedObject(), item, kRequiredProperty_current, kRequiredProperty_selected, selectedInSelectionModel(), and setRequiredProperty().

Referenced by connectToModel(), disconnectFromModel(), and QQuickTreeViewPrivate::itemReusedCallback().

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

◆ layoutAfterLoadingInitialTable()

void QQuickTableViewPrivate::layoutAfterLoadingInitialTable ( )

Definition at line 3748 of file qquicktableview.cpp.

References adjustViewportXAccordingToAlignment(), adjustViewportYAccordingToAlignment(), clearEdgeSizeCache(), relayoutTableItems(), syncLoadedTableRectFromLoadedTable(), and updateContentSize().

Referenced by processRebuildTable().

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

◆ layoutChangedCallback()

void QQuickTableViewPrivate::layoutChangedCallback ( const QList< QPersistentModelIndex > & parents,
QAbstractItemModel::LayoutChangeHint hint )

Definition at line 4650 of file qquicktableview.cpp.

References hint(), Q_UNUSED, scheduleRebuildTable(), and ViewportOnly.

Referenced by connectToModel(), and disconnectFromModel().

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

◆ layoutHorizontalEdge()

void QQuickTableViewPrivate::layoutHorizontalEdge ( Qt::Edge tableEdge)

Definition at line 3274 of file qquicktableview.cpp.

References QList< T >::at(), bottomRow(), cellSpacing, QMinimalFlatSet< T, Container, Compare >::count(), getRowLayoutHeight(), QSizeF::height(), leftColumn(), loadedColumns, loadedRows, loadedTableItem(), qCDebug, Qt::TopEdge, topRow(), and QMinimalFlatSet< T, Container, Compare >::values().

Referenced by layoutTableEdgeFromLoadRequest().

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

◆ layoutTableEdgeFromLoadRequest()

void QQuickTableViewPrivate::layoutTableEdgeFromLoadRequest ( )

Definition at line 3332 of file qquicktableview.cpp.

References Qt::BottomEdge, QQuickTableViewPrivate::TableEdgeLoadRequest::edge(), layoutHorizontalEdge(), layoutTopLeftItem(), layoutVerticalEdge(), Qt::LeftEdge, loadRequest, Qt::RightEdge, and Qt::TopEdge.

Referenced by processLoadRequest().

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

◆ layoutTopLeftItem()

void QQuickTableViewPrivate::layoutTopLeftItem ( )

Definition at line 3320 of file qquicktableview.cpp.

References QQuickTableViewPrivate::TableEdgeLoadRequest::column(), getColumnLayoutWidth(), getRowLayoutHeight(), item, loadedTableItem(), loadRequest, qCDebug, QQuickTableViewPrivate::TableEdgeLoadRequest::row(), QGraphicsItem::setVisible(), QQuickTableViewPrivate::TableEdgeLoadRequest::startPosition(), QPoint::x(), and QPoint::y().

Referenced by layoutTableEdgeFromLoadRequest().

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

◆ layoutVerticalEdge()

void QQuickTableViewPrivate::layoutVerticalEdge ( Qt::Edge tableEdge)

Definition at line 3240 of file qquicktableview.cpp.

References QList< T >::at(), cellSpacing, QMinimalFlatSet< T, Container, Compare >::count(), getColumnLayoutWidth(), leftColumn(), Qt::LeftEdge, loadedColumns, loadedRows, loadedTableItem(), qCDebug, rightColumn(), topRow(), QMinimalFlatSet< T, Container, Compare >::values(), and QSizeF::width().

Referenced by layoutTableEdgeFromLoadRequest().

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

◆ leftColumn()

int QQuickTableViewPrivate::leftColumn ( ) const
inline

◆ loadAndUnloadVisibleEdges()

void QQuickTableViewPrivate::loadAndUnloadVisibleEdges ( QQmlIncubator::IncubationMode incubationMode = QQmlIncubator::AsynchronousIfNested)

Definition at line 3885 of file qquicktableview.cpp.

References QQuickTableViewPrivate::TableEdgeLoadRequest::isActive(), QHash< Key, T >::isEmpty(), loadEdge(), loadedItems, loadRequest, nextEdgeToLoad(), nextEdgeToUnload(), unloadEdge(), and viewportRect.

Referenced by itemCreatedCallback(), loadInitialTable(), processRebuildTable(), and updateTable().

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

◆ loadEdge()

void QQuickTableViewPrivate::loadEdge ( Qt::Edge edge,
QQmlIncubator::IncubationMode incubationMode )

Definition at line 3874 of file qquicktableview.cpp.

References QQuickTableViewPrivate::TableEdgeLoadRequest::begin(), Qt::LeftEdge, loadedColumns, loadedRows, loadRequest, nextVisibleEdgeIndexAroundLoadedTable(), processLoadRequest(), qCDebug, Qt::RightEdge, and QMinimalFlatSet< T, Container, Compare >::values().

Referenced by loadAndUnloadVisibleEdges(), processRebuildTable(), scrollToColumn(), and scrollToRow().

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

◆ loadedTableItem()

FxTableItem * QQuickTableViewPrivate::loadedTableItem ( const QPoint & cell) const

Definition at line 2638 of file qquicktableview.cpp.

References QHash< Key, T >::contains(), loadedItems, modelIndexAtCell(), Q_TABLEVIEW_ASSERT, and QHash< Key, T >::value().

Referenced by cellHeight(), cellWidth(), QQuickHeaderViewBasePrivate::delegateItemAt(), getEffectiveColumnWidth(), getEffectiveColumnX(), getEffectiveRowHeight(), getEffectiveRowY(), layoutHorizontalEdge(), layoutTopLeftItem(), layoutVerticalEdge(), relayoutTableItems(), selectionRectangle(), setCurrentOnDelegateItem(), setSelectedOnDelegateItem(), syncLoadedTableRectFromLoadedTable(), and updateSelectedOnAllDelegateItems().

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

◆ loadFxTableItem()

FxTableItem * QQuickTableViewPrivate::loadFxTableItem ( const QPoint & cell,
QQmlIncubator::IncubationMode incubationMode )

Definition at line 2697 of file qquicktableview.cpp.

References QQmlIncubator::Asynchronous, blockItemCreatedCallback, createFxTableItem(), item, and qCDebug.

Referenced by processLoadRequest().

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

◆ loadInitialTable()

void QQuickTableViewPrivate::loadInitialTable ( )

Definition at line 3637 of file qquicktableview.cpp.

References All, QQmlIncubator::AsynchronousIfNested, QQuickTableViewPrivate::TableEdgeLoadRequest::begin(), calculateTableSize(), calculateTopLeft(), QMinimalFlatSet< T, Container, Compare >::clear(), clearEdgeSizeCache(), QQuickFlickable::contentX, QQuickFlickable::contentY, QQmlInstanceModel::count, QQmlTableInstanceModel::delegate(), endExtent, QQuickFlickablePrivate::hData, QHash< Key, T >::isEmpty(), QRectF::isEmpty(), QQuickAbstractAnimation::isRunning(), kEdgeIndexAtEnd, kEdgeIndexNotSet, loadAndUnloadVisibleEdges(), loadedColumns, loadedItems, loadedRows, loadedTableInnerRect, loadedTableOuterRect, loadRequest, QQuickFlickablePrivate::AxisData::markExtentsDirty(), model, QQmlInstanceModel::NotReusable, origin, PositionViewAtColumn, PositionViewAtRow, positionXAnimation, positionYAnimation, processLoadRequest(), qCDebug, rebuildOptions, releaseLoadedItems(), reusableFlag, setLocalViewportX(), setLocalViewportY(), QQuickAbstractAnimation::stop(), syncHorizontally, syncVertically, syncView, syncViewportRect(), tableModel, tableSize, QQuickPropertyAnimation::to, QVariant::toReal(), QQuickFlickablePrivate::updateBeginningEnd(), QQuickFlickablePrivate::vData, ViewportOnly, viewportRect, QPoint::x(), and QPoint::y().

Referenced by processRebuildTable().

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

◆ modelImpl()

QVariant QQuickTableViewPrivate::modelImpl ( ) const
virtual

Reimplemented in QQuickTreeViewPrivate, and QQuickHeaderViewBasePrivate.

Definition at line 4383 of file qquicktableview.cpp.

References assignedModel.

Referenced by QQuickHeaderViewBasePrivate::modelImpl(), and selectionSourceModel().

+ Here is the caller graph for this function:

◆ modelIndexAtCell()

int QQuickTableViewPrivate::modelIndexAtCell ( const QPoint & cell) const

Definition at line 2056 of file qquicktableview.cpp.

References QSize::height(), isTransposed, tableSize, QSize::width(), QPoint::x(), and QPoint::y().

Referenced by createFxTableItem(), QQuickTreeViewPrivate::dataChangedCallback(), loadedTableItem(), modelIndexToCellIndex(), processLoadRequest(), selectionRectangle(), setCurrentIndexFromKeyEvent(), and unloadItem().

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

◆ modelIndexToCellIndex()

int QQuickTableViewPrivate::modelIndexToCellIndex ( const QModelIndex & modelIndex) const

Definition at line 2088 of file qquicktableview.cpp.

References cellIsValid(), and modelIndexAtCell().

Referenced by setCurrentIndexFromKeyEvent(), setCurrentOnDelegateItem(), and setSelectedOnDelegateItem().

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

◆ modelResetCallback()

void QQuickTableViewPrivate::modelResetCallback ( )

Definition at line 4666 of file qquicktableview.cpp.

References All, and scheduleRebuildTable().

Referenced by connectToModel(), and disconnectFromModel().

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

◆ modelUpdated()

void QQuickTableViewPrivate::modelUpdated ( const QQmlChangeSet & changeSet,
bool reset )
virtual

Definition at line 4574 of file qquicktableview.cpp.

References QQmlInstanceModel::abstractItemModel(), CalculateNewContentHeight, CalculateNewContentWidth, model, Q_TABLEVIEW_ASSERT, Q_UNUSED, scheduleRebuildTable(), and ViewportOnly.

Referenced by connectToModel(), and disconnectFromModel().

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

◆ moveToNextRebuildState()

bool QQuickTableViewPrivate::moveToNextRebuildState ( )

Definition at line 3514 of file qquicktableview.cpp.

References Begin, QQuickTableViewPrivate::TableEdgeLoadRequest::isActive(), LayoutOnly, LayoutTable, loadRequest, qCDebug, rebuildOptions, and rebuildState.

Referenced by processRebuildTable().

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

◆ nextEdgeToLoad()

Qt::Edge QQuickTableViewPrivate::nextEdgeToLoad ( const QRectF rect)

Definition at line 2828 of file qquicktableview.cpp.

References allTableEdges, canLoadTableEdge(), kEdgeIndexAtEnd, nextVisibleEdgeIndexAroundLoadedTable(), and rect.

Referenced by loadAndUnloadVisibleEdges().

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

◆ nextEdgeToUnload()

Qt::Edge QQuickTableViewPrivate::nextEdgeToUnload ( const QRectF rect)

Definition at line 2842 of file qquicktableview.cpp.

References allTableEdges, canUnloadTableEdge(), and rect.

Referenced by loadAndUnloadVisibleEdges(), and processRebuildTable().

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

◆ nextVisibleEdgeIndex()

int QQuickTableViewPrivate::nextVisibleEdgeIndex ( Qt::Edge edge,
int startIndex ) const

Definition at line 2127 of file qquicktableview.cpp.

References Qt::BottomEdge, cachedNextVisibleEdgeIndex, edgeToArrayIndex(), QQuickTableViewPrivate::EdgeRange::endIndex, forever, QSize::height(), isColumnHidden(), isRowHidden(), kEdgeIndexAtEnd, kEdgeIndexNotSet, Qt::LeftEdge, Qt::RightEdge, tableSize, Qt::TopEdge, and QSize::width().

Referenced by calculateTopLeft(), nextVisibleEdgeIndexAroundLoadedTable(), scrollToColumn(), scrollToRow(), and setCurrentIndexFromKeyEvent().

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

◆ nextVisibleEdgeIndexAroundLoadedTable()

int QQuickTableViewPrivate::nextVisibleEdgeIndexAroundLoadedTable ( Qt::Edge edge) const

Definition at line 2112 of file qquicktableview.cpp.

References Qt::BottomEdge, bottomRow(), leftColumn(), Qt::LeftEdge, nextVisibleEdgeIndex(), rightColumn(), Qt::RightEdge, Qt::TopEdge, and topRow().

Referenced by loadEdge(), nextEdgeToLoad(), updateContentHeight(), updateContentWidth(), and updateExtents().

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

◆ normalizeSelection()

void QQuickTableViewPrivate::normalizeSelection ( )
overridevirtual

Implements QQuickSelectable.

Definition at line 1910 of file qquicktableview.cpp.

References QPoint::rx(), QPoint::ry(), selectionEndCell, selectionStartCell, QPoint::x(), and QPoint::y().

+ Here is the call graph for this function:

◆ positionViewAtColumn()

void QQuickTableViewPrivate::positionViewAtColumn ( int column,
Qt::Alignment alignment,
qreal offset,
const QRectF subRect = QRectF() )

◆ positionViewAtRow()

void QQuickTableViewPrivate::positionViewAtRow ( int row,
Qt::Alignment alignment,
qreal offset,
const QRectF subRect = QRectF() )

Definition at line 4680 of file qquicktableview.cpp.

References Qt::AlignBottom, alignment, Qt::AlignTop, Qt::AlignVCenter, assignedPositionViewAtRowAfterRebuild, QQuickTableView::positionViewAtRow(), PositionViewAtRow, positionViewAtRowAlignment, positionViewAtRowOffset, positionViewAtRowSubRect, Q_TABLEVIEW_ASSERT, scheduleRebuildTable(), scrollToRow(), syncHorizontally, syncView, and ViewportOnly.

+ Here is the call graph for this function:

◆ processLoadRequest()

◆ processRebuildTable()

◆ qaim()

QAbstractItemModel * QQuickTableViewPrivate::qaim ( QVariant modelAsVariant) const

Definition at line 4195 of file qquicktableview.cpp.

References toVariant().

Referenced by canEdit(), selectionSourceModel(), QQuickTreeViewPrivate::setModelImpl(), setSelectionEndPos(), setSelectionStartPos(), and updateSelection().

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

◆ registerCallbackWhenBindingsAreEvaluated()

void QQuickTableViewPrivate::registerCallbackWhenBindingsAreEvaluated ( )

◆ relayoutTableItems()

void QQuickTableViewPrivate::relayoutTableItems ( )

Definition at line 3185 of file qquicktableview.cpp.

References cellSpacing, QQuickItemViewFxItem::geometry(), getColumnLayoutWidth(), getRowLayoutHeight(), QSizeF::height(), QRectF::isEmpty(), item, loadedColumns, loadedRows, loadedTableItem(), loadedTableOuterRect, QRectF::moveLeft(), QRectF::moveTop(), Q_UNLIKELY, qCDebug, QRectF::setHeight(), QRectF::setWidth(), viewportRect, QSizeF::width(), QRectF::x(), and QRectF::y().

Referenced by layoutAfterLoadingInitialTable(), and updateExtents().

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

◆ releaseItem()

void QQuickTableViewPrivate::releaseItem ( FxTableItem * fxTableItem,
QQmlTableInstanceModel::ReusableFlag reusableFlag )

Definition at line 2724 of file qquicktableview.cpp.

References QQuickDeliveryAgentPrivate::clearFocusInScope(), QQuickItemPrivate::deliveryAgentPrivate(), QQuickWindow::focusObject(), QQuickItemPrivate::get(), QGraphicsItem::isAncestorOf(), item, model, Qt::OtherFocusReason, QQmlInstanceModel::Pooled, Q_TABLEVIEW_ASSERT, qobject_cast< QQuickItem * >(), QQmlInstanceModel::release(), reusableFlag, QGraphicsItem::window(), and QQuickItemPrivate::window.

Referenced by releaseLoadedItems(), and unloadItem().

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

◆ releaseLoadedItems()

void QQuickTableViewPrivate::releaseLoadedItems ( QQmlTableInstanceModel::ReusableFlag reusableFlag)

Definition at line 2715 of file qquicktableview.cpp.

References QHash< Key, T >::clear(), item, loadedItems, releaseItem(), and reusableFlag.

Referenced by loadInitialTable(), and syncModel().

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

◆ resolveImportVersion()

QTypeRevision QQuickTableViewPrivate::resolveImportVersion ( )

Definition at line 4093 of file qquicktableview.cpp.

References QQmlData::get(), QQmlMetaType::qmlType(), and QTypeRevision::zero().

Referenced by createWrapperModel().

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

◆ rightColumn()

int QQuickTableViewPrivate::rightColumn ( ) const
inline

Definition at line 439 of file qquicktableview_p_p.h.

Referenced by checkForVisibilityChanges(), layoutVerticalEdge(), nextVisibleEdgeIndexAroundLoadedTable(), scrollToColumn(), selectionRectangle(), syncLoadedTableRectFromLoadedTable(), tableLayoutToString(), and unloadEdge().

+ Here is the caller graph for this function:

◆ rootSyncView()

QQuickTableView * QQuickTableViewPrivate::rootSyncView ( ) const

Definition at line 3984 of file qquicktableview.cpp.

References QQuickTableView::syncView, and view.

Referenced by forceLayout(), and updatePolish().

+ Here is the caller graph for this function:

◆ rowsInsertedCallback()

void QQuickTableViewPrivate::rowsInsertedCallback ( const QModelIndex & parent,
int begin,
int end )

Definition at line 4601 of file qquicktableview.cpp.

References CalculateNewContentHeight, QObjectData::parent, scheduleRebuildTable(), and ViewportOnly.

Referenced by connectToModel(), and disconnectFromModel().

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

◆ rowsMovedCallback()

void QQuickTableViewPrivate::rowsMovedCallback ( const QModelIndex & parent,
int start,
int end,
const QModelIndex & destination,
int row )

Definition at line 4585 of file qquicktableview.cpp.

References QObjectData::parent, scheduleRebuildTable(), and ViewportOnly.

Referenced by connectToModel(), and disconnectFromModel().

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

◆ rowsRemovedCallback()

void QQuickTableViewPrivate::rowsRemovedCallback ( const QModelIndex & parent,
int begin,
int end )

Definition at line 4609 of file qquicktableview.cpp.

References CalculateNewContentHeight, editIndex, editItem, QPersistentModelIndex::isValid(), QObjectData::parent, scheduleRebuildTable(), and ViewportOnly.

Referenced by connectToModel(), and disconnectFromModel().

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

◆ scheduleRebuildIfFastFlick()

void QQuickTableViewPrivate::scheduleRebuildIfFastFlick ( )

Definition at line 4804 of file qquicktableview.cpp.

References CalculateNewTopLeftColumn, CalculateNewTopLeftRow, QRectF::intersects(), scheduledRebuildOptions, ViewportOnly, viewportRect, QRectF::x(), and QRectF::y().

+ Here is the call graph for this function:

◆ scheduleRebuildTable()

void QQuickTableViewPrivate::scheduleRebuildTable ( QQuickTableViewPrivate::RebuildOptions options)

◆ scrollToColumn()

bool QQuickTableViewPrivate::scrollToColumn ( int column,
Qt::Alignment alignment,
qreal offset,
const QRectF subRect = QRectF() )

Definition at line 4762 of file qquicktableview.cpp.

References alignment, animate, QMinimalFlatSet< T, Container, Compare >::contains(), getAlignmentContentX(), leftColumn(), Qt::LeftEdge, loadedColumns, loadEdge(), nextVisibleEdgeIndex(), positionXAnimation, qAbs(), qBound(), qFuzzyCompare(), QQuickAbstractAnimation::restart(), rightColumn(), Qt::RightEdge, QQuickPropertyAnimation::setDuration(), QQuickPropertyAnimation::setTo(), QQuickAbstractAnimation::stop(), and QQmlIncubator::Synchronous.

Referenced by positionViewAtColumn().

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

◆ scrollToRow()

bool QQuickTableViewPrivate::scrollToRow ( int row,
Qt::Alignment alignment,
qreal offset,
const QRectF subRect = QRectF() )

Definition at line 4720 of file qquicktableview.cpp.

References alignment, animate, Qt::BottomEdge, bottomRow(), QMinimalFlatSet< T, Container, Compare >::contains(), getAlignmentContentY(), loadEdge(), loadedRows, nextVisibleEdgeIndex(), positionYAnimation, qAbs(), qBound(), qFuzzyCompare(), QQuickAbstractAnimation::restart(), QQuickPropertyAnimation::setDuration(), QQuickPropertyAnimation::setTo(), QQuickAbstractAnimation::stop(), QQmlIncubator::Synchronous, Qt::TopEdge, and topRow().

Referenced by positionViewAtRow().

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

◆ scrollTowardsSelectionPoint()

QSizeF QQuickTableViewPrivate::scrollTowardsSelectionPoint ( const QPointF & pos,
const QSizeF & step )
overridevirtual

Implements QQuickSelectable.

Definition at line 1979 of file qquicktableview.cpp.

References atTableEnd(), QRectF::bottom(), Qt::BottomEdge, dist(), QSizeF::height(), QHash< Key, T >::isEmpty(), QRectF::left(), Qt::LeftEdge, loadedItems, loadedTableOuterRect, pos, qMin(), QRectF::right(), Qt::RightEdge, QRectF::top(), Qt::TopEdge, viewportRect, QSizeF::width(), QRectF::x(), and QRectF::y().

+ Here is the call graph for this function:

◆ selectedInSelectionModel()

bool QQuickTableViewPrivate::selectedInSelectionModel ( const QPoint & cell) const

Definition at line 4119 of file qquicktableview.cpp.

References QItemSelectionModel::isSelected(), QItemSelectionModel::model, model, and selectionModel.

Referenced by initItemCallback(), itemReusedCallback(), and updateSelectedOnAllDelegateItems().

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

◆ selection()

QRect QQuickTableViewPrivate::selection ( ) const

Definition at line 1972 of file qquicktableview.cpp.

References selectionEndCell, selectionStartCell, QPoint::x(), and QPoint::y().

Referenced by setSelectionEndPos(), and setSelectionStartPos().

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

◆ selectionChangedInSelectionModel()

void QQuickTableViewPrivate::selectionChangedInSelectionModel ( const QItemSelection & selected,
const QItemSelection & deselected )

Definition at line 4143 of file qquicktableview.cpp.

References cancelSelectionTracking(), i, QItemSelection::indexes(), inSelectionModelUpdate, and setSelectedOnDelegateItem().

Referenced by QQuickTableView::setSelectionModel().

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

◆ selectionPointerHandlerTarget()

QQuickItem * QQuickTableViewPrivate::selectionPointerHandlerTarget ( ) const
overridevirtual

Implements QQuickSelectable.

Definition at line 1661 of file qquicktableview.cpp.

References QQuickFlickablePrivate::contentItem.

Referenced by clampedCellAtPos().

+ Here is the caller graph for this function:

◆ selectionRectangle()

QRectF QQuickTableViewPrivate::selectionRectangle ( ) const
overridevirtual

Implements QQuickSelectable.

Definition at line 1922 of file qquicktableview.cpp.

References QRectF::bottom(), bottomRow(), QHash< Key, T >::contains(), QQuickItemViewFxItem::geometry(), QRectF::left(), leftColumn(), loadedItems, loadedTableItem(), modelIndexAtCell(), QRectF::right(), rightColumn(), selectionEndCell, selectionStartCell, QRectF::top(), topRow(), and QPoint::y().

Referenced by setCurrentIndexFromKeyEvent().

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

◆ selectionSourceModel()

QAbstractItemModel * QQuickTableViewPrivate::selectionSourceModel ( )
virtual

Reimplemented in QQuickHeaderViewBasePrivate.

Definition at line 4177 of file qquicktableview.cpp.

References modelImpl(), and qaim().

Referenced by currentChangedInSelectionModel(), and setSelectedOnDelegateItem().

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

◆ setCallback()

void QQuickTableViewPrivate::setCallback ( std::function< void(CallBackFlag)> func)
overridevirtual

Implements QQuickSelectable.

Definition at line 2045 of file qquicktableview.cpp.

References selectableCallbackFunction.

◆ setCurrentIndex()

void QQuickTableViewPrivate::setCurrentIndex ( const QPoint & cell)

Definition at line 5066 of file qquicktableview.cpp.

References QItemSelectionModel::NoUpdate, selectionModel, and QItemSelectionModel::setCurrentIndex().

Referenced by setCurrentIndexFromTap(), setSelectionEndPos(), and setSelectionStartPos().

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

◆ setCurrentIndexFromKeyEvent()

bool QQuickTableViewPrivate::setCurrentIndexFromKeyEvent ( QKeyEvent * e)

◆ setCurrentIndexFromTap()

void QQuickTableViewPrivate::setCurrentIndexFromTap ( const QPointF & pos)

Definition at line 5055 of file qquicktableview.cpp.

References cellIsValid(), pos, and setCurrentIndex().

Referenced by handleTap().

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

◆ setCurrentOnDelegateItem()

void QQuickTableViewPrivate::setCurrentOnDelegateItem ( const QModelIndex & index,
bool isCurrent )

Definition at line 4251 of file qquicktableview.cpp.

References cellAtModelIndex(), QHash< Key, T >::contains(), QVariant::fromValue(), item, QQuickItemViewFxItem::item, kRequiredProperty_current, loadedItems, loadedTableItem(), modelIndexToCellIndex(), and setRequiredProperty().

Referenced by currentChangedInSelectionModel().

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

◆ setLocalViewportX()

void QQuickTableViewPrivate::setLocalViewportX ( qreal contentX)

Definition at line 4828 of file qquicktableview.cpp.

References inSetLocalViewportPos, and qFuzzyCompare().

Referenced by adjustViewportXAccordingToAlignment(), cancelOvershootAfterLayout(), and loadInitialTable().

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

◆ setLocalViewportY()

void QQuickTableViewPrivate::setLocalViewportY ( qreal contentY)

Definition at line 4842 of file qquicktableview.cpp.

References inSetLocalViewportPos, and qFuzzyCompare().

Referenced by adjustViewportYAccordingToAlignment(), cancelOvershootAfterLayout(), and loadInitialTable().

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

◆ setModelImpl()

void QQuickTableViewPrivate::setModelImpl ( const QVariant & newModel)
virtual

Reimplemented in QQuickTreeViewPrivate, and QQuickHeaderViewBasePrivate.

Definition at line 4388 of file qquicktableview.cpp.

References All, assignedModel, emit, and scheduleRebuildTable().

Referenced by QQuickHeaderViewBasePrivate::setModelImpl().

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

◆ setRequiredProperty()

void QQuickTableViewPrivate::setRequiredProperty ( const char * property,
const QVariant & value,
int serializedModelIndex,
QObject * object,
bool init )

Definition at line 1598 of file qquicktableview.cpp.

References cellAtModelIndex(), editIndex, editItem, editModel, QString::fromUtf8(), init(), kRequiredProperties, QObjectData::metaObject, model, QObject::property(), property, Q_TABLEVIEW_ASSERT, QQmlTableInstanceModel::setRequiredProperty(), and QVariant::toStringList().

Referenced by initItemCallback(), itemReusedCallback(), setCurrentOnDelegateItem(), setSelectedOnDelegateItem(), QQuickTreeViewPrivate::updateRequiredProperties(), and updateSelectedOnAllDelegateItems().

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

◆ setSelectedOnDelegateItem()

void QQuickTableViewPrivate::setSelectedOnDelegateItem ( const QModelIndex & modelIndex,
bool select )

Definition at line 4160 of file qquicktableview.cpp.

References cellAtModelIndex(), QHash< Key, T >::contains(), QVariant::fromValue(), QModelIndex::isValid(), item, QQuickItemViewFxItem::item, kRequiredProperty_selected, loadedItems, loadedTableItem(), QModelIndex::model(), modelIndexToCellIndex(), qmlWarning(), select(), selectionSourceModel(), and setRequiredProperty().

Referenced by selectionChangedInSelectionModel().

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

◆ setSelectionEndPos()

void QQuickTableViewPrivate::setSelectionEndPos ( const QPointF & pos)
overridevirtual

Implements QQuickSelectable.

Definition at line 1768 of file qquicktableview.cpp.

References cellIsValid(), clampedCellAtPos(), QSize::height(), inSelectionModelUpdate, QHash< Key, T >::isEmpty(), loadedItems, QItemSelectionModel::model, QItemSelectionModel::NoUpdate, pos, Q_ASSERT, qaim(), qmlWarning(), QQuickTableView::SelectCells, QQuickTableView::SelectColumns, selection(), selectionBehavior, QQuickTableView::SelectionDisabled, selectionEndCell, selectionFlag, selectionMode, selectionModel, selectionStartCell, QQuickTableView::SelectRows, setCurrentIndex(), QQuickTableView::SingleSelection, tableSize, updateSelection(), warnNoSelectionModel, and QSize::width().

Referenced by setCurrentIndexFromKeyEvent().

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

◆ setSelectionStartPos()

void QQuickTableViewPrivate::setSelectionStartPos ( const QPointF & pos)
overridevirtual

Implements QQuickSelectable.

Definition at line 1710 of file qquicktableview.cpp.

References cellIsValid(), clampedCellAtPos(), QItemSelectionModel::currentIndex, inSelectionModelUpdate, QHash< Key, T >::isEmpty(), loadedItems, QItemSelectionModel::model, QItemSelectionModel::NoUpdate, pos, Q_ASSERT, qaim(), qmlWarning(), QQuickTableView::SelectCells, QQuickTableView::SelectColumns, selection(), selectionBehavior, QQuickTableView::SelectionDisabled, selectionEndCell, selectionFlag, selectionMode, selectionModel, selectionStartCell, QQuickTableView::SelectRows, setCurrentIndex(), QQuickTableView::SingleSelection, updateSelection(), and warnNoSelectionModel.

Referenced by setCurrentIndexFromKeyEvent().

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

◆ shiftLoadedTableRect()

void QQuickTableViewPrivate::shiftLoadedTableRect ( const QPointF newPosition)

Definition at line 2499 of file qquicktableview.cpp.

References loadedTableInnerRect, loadedTableOuterRect, QRectF::moveTopLeft(), and QRectF::topLeft().

+ Here is the call graph for this function:

◆ sizeHintForColumn()

qreal QQuickTableViewPrivate::sizeHintForColumn ( int column) const

Definition at line 2867 of file qquicktableview.cpp.

References cellWidth(), loadedRows, and qMax().

Referenced by getColumnLayoutWidth().

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

◆ sizeHintForRow()

qreal QQuickTableViewPrivate::sizeHintForRow ( int row) const

Definition at line 2877 of file qquicktableview.cpp.

References cellHeight(), loadedColumns, and qMax().

Referenced by getRowLayoutHeight().

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

◆ startSelection()

bool QQuickTableViewPrivate::startSelection ( const QPointF & pos,
Qt::KeyboardModifiers modifiers )
overridevirtual

Implements QQuickSelectable.

Definition at line 1666 of file qquicktableview.cpp.

References clampedCellAtPos(), clearSelection(), QQuickTableView::ContiguousSelection, Qt::ControlModifier, QItemSelectionModel::Deselect, existingSelection, QItemSelectionModel::isSelected(), QQuickTableViewResizeHandler::Listening, pos, qmlWarning(), resizeHandler, QItemSelectionModel::Select, QItemSelectionModel::selection, selectionBehavior, QQuickTableView::SelectionDisabled, selectionEndCell, selectionFlag, selectionMode, selectionModel, selectionStartCell, QQuickTableView::SingleSelection, QQuickTableViewResizeHandler::state(), and warnNoSelectionModel.

Referenced by setCurrentIndexFromKeyEvent().

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

◆ syncDelegate()

void QQuickTableViewPrivate::syncDelegate ( )
virtual

Definition at line 4370 of file qquicktableview.cpp.

References assignedDelegate, QQmlTableInstanceModel::delegate(), QQmlTableInstanceModel::setDelegate(), and tableModel.

Referenced by syncWithPendingChanges().

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

◆ syncLoadedTableFromLoadRequest()

void QQuickTableViewPrivate::syncLoadedTableFromLoadRequest ( )

Definition at line 2617 of file qquicktableview.cpp.

References Qt::BottomEdge, QQuickTableViewPrivate::TableEdgeLoadRequest::column(), QQuickTableViewPrivate::TableEdgeLoadRequest::edge(), QMinimalFlatSet< T, Container, Compare >::insert(), Qt::LeftEdge, loadedColumns, loadedRows, loadRequest, Qt::RightEdge, QQuickTableViewPrivate::TableEdgeLoadRequest::row(), and Qt::TopEdge.

Referenced by processLoadRequest().

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

◆ syncLoadedTableRectFromLoadedTable()

void QQuickTableViewPrivate::syncLoadedTableRectFromLoadedTable ( )

Definition at line 2489 of file qquicktableview.cpp.

References bottomRow(), QQuickItemViewFxItem::geometry(), leftColumn(), loadedTableInnerRect, loadedTableItem(), loadedTableOuterRect, rightColumn(), and topRow().

Referenced by layoutAfterLoadingInitialTable(), processLoadRequest(), and unloadEdge().

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

◆ syncModel()

void QQuickTableViewPrivate::syncModel ( )
virtual

Reimplemented in QQuickHeaderViewBasePrivate.

Definition at line 4395 of file qquicktableview.cpp.

References assignedModel, compareModel(), connectToModel(), createWrapperModel(), disconnectFromModel(), model, modelVariant, QQmlInstanceModel::NotReusable, releaseLoadedItems(), QQmlTableInstanceModel::setModel(), tableModel, toVariant(), and QVariant::value().

Referenced by QQuickHeaderViewBasePrivate::syncModel(), and syncWithPendingChanges().

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

◆ syncPositionView()

void QQuickTableViewPrivate::syncPositionView ( )
virtual

Definition at line 4506 of file qquicktableview.cpp.

References assignedPositionViewAtColumnAfterRebuild, assignedPositionViewAtRowAfterRebuild, positionViewAtColumnAfterRebuild, and positionViewAtRowAfterRebuild.

Referenced by syncWithPendingChanges().

+ Here is the caller graph for this function:

◆ syncRebuildOptions()

void QQuickTableViewPrivate::syncRebuildOptions ( )
inline

Definition at line 4341 of file qquicktableview.cpp.

References All, Begin, CalculateNewContentHeight, CalculateNewContentWidth, CalculateNewTopLeftColumn, CalculateNewTopLeftRow, QHash< Key, T >::isEmpty(), LayoutOnly, loadedItems, None, PositionViewAtColumn, PositionViewAtRow, rebuildOptions, rebuildState, scheduledRebuildOptions, and ViewportOnly.

Referenced by syncWithPendingChanges().

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

◆ syncSyncView()

void QQuickTableViewPrivate::syncSyncView ( )
virtual

◆ syncViewportPosRecursive()

void QQuickTableViewPrivate::syncViewportPosRecursive ( )

◆ syncViewportRect()

void QQuickTableViewPrivate::syncViewportRect ( )

Definition at line 4856 of file qquicktableview.cpp.

References qMax(), syncChildren, and viewportRect.

Referenced by adjustViewportXAccordingToAlignment(), adjustViewportYAccordingToAlignment(), cancelOvershootAfterLayout(), loadInitialTable(), and syncWithPendingChanges().

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

◆ syncWithPendingChanges()

void QQuickTableViewPrivate::syncWithPendingChanges ( )
virtual

Definition at line 4325 of file qquicktableview.cpp.

References syncDelegate(), syncModel(), syncPositionView(), syncRebuildOptions(), syncSyncView(), and syncViewportRect().

Referenced by updateTable().

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

◆ tableLayoutToString()

QString QQuickTableViewPrivate::tableLayoutToString ( ) const
inline

Definition at line 1566 of file qquicktableview.cpp.

References QString::arg(), bottomRow(), QRectF::height(), QHash< Key, T >::isEmpty(), leftColumn(), loadedItems, loadedTableOuterRect, rightColumn(), QHash< Key, T >::size(), topRow(), QRectF::width(), QRectF::x(), and QRectF::y().

Referenced by dumpTable(), processLoadRequest(), processRebuildTable(), and unloadEdge().

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

◆ topRow()

int QQuickTableViewPrivate::topRow ( ) const
inline

◆ unloadEdge()

void QQuickTableViewPrivate::unloadEdge ( Qt::Edge edge)

Definition at line 3824 of file qquicktableview.cpp.

References Qt::BottomEdge, bottomRow(), Done, emit, leftColumn(), Qt::LeftEdge, loadedColumns, loadedRows, qCDebug, rebuildState, QMinimalFlatSet< T, Container, Compare >::remove(), rightColumn(), Qt::RightEdge, syncLoadedTableRectFromLoadedTable(), tableLayoutToString(), Qt::TopEdge, topRow(), and unloadItem().

Referenced by loadAndUnloadVisibleEdges(), and processRebuildTable().

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

◆ unloadItem()

void QQuickTableViewPrivate::unloadItem ( const QPoint & cell)

Definition at line 2757 of file qquicktableview.cpp.

References QHash< Key, T >::contains(), loadedItems, modelIndexAtCell(), Q_TABLEVIEW_ASSERT, releaseItem(), reusableFlag, and QHash< Key, T >::take().

Referenced by unloadEdge().

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

◆ updateAverageColumnWidth()

void QQuickTableViewPrivate::updateAverageColumnWidth ( )

Definition at line 2467 of file qquicktableview.cpp.

References averageEdgeSize, cellSpacing, QMinimalFlatSet< T, Container, Compare >::count(), explicitContentWidth, QQmlNullableValue< T >::isValid(), loadedColumns, loadedTableOuterRect, QSizeF::setWidth(), tableSize, QRectF::width(), QSize::width(), and QSizeF::width().

Referenced by updateContentSize().

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

◆ updateAverageRowHeight()

void QQuickTableViewPrivate::updateAverageRowHeight ( )

Definition at line 2478 of file qquicktableview.cpp.

References averageEdgeSize, cellSpacing, QMinimalFlatSet< T, Container, Compare >::count(), explicitContentHeight, QRectF::height(), QSize::height(), QSizeF::height(), QQmlNullableValue< T >::isValid(), loadedRows, loadedTableOuterRect, QSizeF::setHeight(), and tableSize.

Referenced by updateContentSize().

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

◆ updateContentHeight()

void QQuickTableViewPrivate::updateContentHeight ( )

Definition at line 2255 of file qquicktableview.cpp.

References averageEdgeSize, QRectF::bottom(), Qt::BottomEdge, cellSpacing, QQuickTableView::contentHeight, QQmlInstanceModel::count, QQmlTableInstanceModel::delegate(), explicitContentHeight, QSize::height(), QSizeF::height(), inUpdateContentSize, QHash< Key, T >::isEmpty(), QQmlNullableValue< T >::isValid(), kDefaultRowHeight, kEdgeIndexAtEnd, loadedItems, loadedTableOuterRect, model, nextVisibleEdgeIndexAroundLoadedTable(), syncVertically, syncView, tableModel, and tableSize.

Referenced by processRebuildTable(), syncSyncView(), and updateContentSize().

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

◆ updateContentSize()

void QQuickTableViewPrivate::updateContentSize ( )

Definition at line 3731 of file qquicktableview.cpp.

References atTableEnd(), Qt::BottomEdge, CalculateNewContentHeight, CalculateNewContentWidth, Qt::LeftEdge, rebuildOptions, Qt::RightEdge, Qt::TopEdge, updateAverageColumnWidth(), updateAverageRowHeight(), updateContentHeight(), updateContentWidth(), and updateExtents().

Referenced by layoutAfterLoadingInitialTable(), and processRebuildTable().

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

◆ updateContentWidth()

void QQuickTableViewPrivate::updateContentWidth ( )

Definition at line 2210 of file qquicktableview.cpp.

References averageEdgeSize, cellSpacing, QQuickTableView::contentWidth, QQmlInstanceModel::count, QQmlTableInstanceModel::delegate(), explicitContentWidth, inUpdateContentSize, QHash< Key, T >::isEmpty(), QQmlNullableValue< T >::isValid(), kDefaultColumnWidth, kEdgeIndexAtEnd, loadedItems, loadedTableOuterRect, model, nextVisibleEdgeIndexAroundLoadedTable(), QRectF::right(), Qt::RightEdge, syncHorizontally, syncView, tableModel, tableSize, QSize::width(), and QSizeF::width().

Referenced by processRebuildTable(), syncSyncView(), and updateContentSize().

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

◆ updateCurrentRowAndColumn()

void QQuickTableViewPrivate::updateCurrentRowAndColumn ( )

Definition at line 4234 of file qquicktableview.cpp.

References currentColumn, QItemSelectionModel::currentIndex, currentRow, emit, selectionModel, QPoint::x(), and QPoint::y().

Referenced by currentChangedInSelectionModel(), processRebuildTable(), and updateSelectedOnAllDelegateItems().

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

◆ updateEditItem()

void QQuickTableViewPrivate::updateEditItem ( )

Definition at line 5389 of file qquicktableview.cpp.

References editIndex, editItem, QQuickItem::parentItem(), QQuickItem::setX(), and QQuickItem::width.

Referenced by processLoadRequest(), processRebuildTable(), and updateTable().

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

◆ updateExtents()

◆ updatePolish()

void QQuickTableViewPrivate::updatePolish ( )
overridevirtual

Reimplemented from QQuickItemPrivate.

Definition at line 3992 of file qquicktableview.cpp.

References polishing, Q_TABLEVIEW_ASSERT, and rootSyncView().

Referenced by itemCreatedCallback().

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

◆ updateSelectedOnAllDelegateItems()

void QQuickTableViewPrivate::updateSelectedOnAllDelegateItems ( )

◆ updateSelection()

void QQuickTableViewPrivate::updateSelection ( const QRect & oldSelection,
const QRect & newSelection )
virtual

Reimplemented in QQuickTreeViewPrivate.

Definition at line 1839 of file qquicktableview.cpp.

References QItemSelectionModel::Deselect, existingSelection, QAbstractItemModel::index(), QItemSelection::merge(), QItemSelectionModel::model, QRect::normalized(), qaim(), QItemSelectionModel::Select, QItemSelectionModel::select(), select(), selectionFlag, and selectionModel.

Referenced by setSelectionEndPos(), and setSelectionStartPos().

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

◆ updateTable()

bool QQuickTableViewPrivate::updateTable ( )

Definition at line 4036 of file qquicktableview.cpp.

References Begin, Done, QQuickTableViewPrivate::TableEdgeLoadRequest::isActive(), QHash< Key, T >::isEmpty(), loadAndUnloadVisibleEdges(), loadedItems, loadRequest, polishing, processRebuildTable(), Q_TABLEVIEW_ASSERT, rebuildState, syncWithPendingChanges(), and updateEditItem().

Referenced by updateTableRecursive().

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

◆ updateTableRecursive()

bool QQuickTableViewPrivate::updateTableRecursive ( )

Definition at line 4002 of file qquicktableview.cpp.

References CalculateNewTopLeftColumn, CalculateNewTopLeftRow, QQuickItemPrivate::children(), None, polishing, PositionViewAtColumn, PositionViewAtRow, rebuildOptions, syncChildren, and updateTable().

+ Here is the call graph for this function:

◆ updateTableSize()

void QQuickTableViewPrivate::updateTableSize ( )

Member Data Documentation

◆ alternatingRows

bool QQuickTableViewPrivate::alternatingRows = true

Definition at line 322 of file qquicktableview_p_p.h.

◆ animate

bool QQuickTableViewPrivate::animate = true

Definition at line 319 of file qquicktableview_p_p.h.

Referenced by scrollToColumn(), and scrollToRow().

◆ assignedDelegate

QQmlGuard<QQmlComponent> QQuickTableViewPrivate::assignedDelegate

Definition at line 281 of file qquicktableview_p_p.h.

Referenced by syncDelegate().

◆ assignedModel

QVariant QQuickTableViewPrivate::assignedModel = QVariant(int(0))

Definition at line 280 of file qquicktableview_p_p.h.

Referenced by modelImpl(), setModelImpl(), and syncModel().

◆ assignedPositionViewAtColumnAfterRebuild

int QQuickTableViewPrivate::assignedPositionViewAtColumnAfterRebuild = 0

Definition at line 369 of file qquicktableview_p_p.h.

Referenced by positionViewAtColumn(), and syncPositionView().

◆ assignedPositionViewAtRowAfterRebuild

int QQuickTableViewPrivate::assignedPositionViewAtRowAfterRebuild = 0

Definition at line 368 of file qquicktableview_p_p.h.

Referenced by positionViewAtRow(), and syncPositionView().

◆ assignedSyncDirection

Qt::Orientations QQuickTableViewPrivate::assignedSyncDirection = Qt::Horizontal | Qt::Vertical

◆ assignedSyncView

QPointer<QQuickTableView> QQuickTableViewPrivate::assignedSyncView

Definition at line 356 of file qquicktableview_p_p.h.

Referenced by QQuickHeaderViewBasePrivate::syncModel(), and syncSyncView().

◆ averageEdgeSize

◆ blockItemCreatedCallback

bool QQuickTableViewPrivate::blockItemCreatedCallback = false

Definition at line 311 of file qquicktableview_p_p.h.

Referenced by itemCreatedCallback(), and loadFxTableItem().

◆ cachedColumnWidth

EdgeRange QQuickTableViewPrivate::cachedColumnWidth
mutable

Definition at line 339 of file qquicktableview_p_p.h.

Referenced by clearEdgeSizeCache(), and getColumnWidth().

◆ cachedNextVisibleEdgeIndex

EdgeRange QQuickTableViewPrivate::cachedNextVisibleEdgeIndex[4]
mutable

Definition at line 338 of file qquicktableview_p_p.h.

Referenced by clearEdgeSizeCache(), and nextVisibleEdgeIndex().

◆ cachedRowHeight

EdgeRange QQuickTableViewPrivate::cachedRowHeight
mutable

Definition at line 340 of file qquicktableview_p_p.h.

Referenced by clearEdgeSizeCache(), and getRowHeight().

◆ cellSpacing

◆ columnWidthProvider

QJSValue QQuickTableViewPrivate::columnWidthProvider

Definition at line 336 of file qquicktableview_p_p.h.

Referenced by getColumnWidth().

◆ currentColumn

int QQuickTableViewPrivate::currentColumn = -1

Definition at line 390 of file qquicktableview_p_p.h.

Referenced by updateCurrentRowAndColumn().

◆ currentRow

int QQuickTableViewPrivate::currentRow = -1

Definition at line 389 of file qquicktableview_p_p.h.

Referenced by updateCurrentRowAndColumn().

◆ edgesBeforeRebuild

QMargins QQuickTableViewPrivate::edgesBeforeRebuild

Definition at line 386 of file qquicktableview_p_p.h.

Referenced by processRebuildTable().

◆ editIndex

◆ editItem

◆ editModel

QQmlTableInstanceModel* QQuickTableViewPrivate::editModel = nullptr

Definition at line 398 of file qquicktableview_p_p.h.

Referenced by ~QQuickTableViewPrivate(), and setRequiredProperty().

◆ editTriggers

QQuickTableView::EditTriggers QQuickTableViewPrivate::editTriggers = QQuickTableView::DoubleTapped | QQuickTableView::EditKeyPressed

Definition at line 401 of file qquicktableview_p_p.h.

Referenced by editFromKeyEvent(), handleTap(), and init().

◆ endExtent

QSizeF QQuickTableViewPrivate::endExtent = QSizeF(0, 0)

Definition at line 295 of file qquicktableview_p_p.h.

Referenced by loadInitialTable(), and updateExtents().

◆ existingSelection

QItemSelection QQuickTableViewPrivate::existingSelection

◆ explicitColumnWidths

QHash<int, qreal> QQuickTableViewPrivate::explicitColumnWidths

Definition at line 392 of file qquicktableview_p_p.h.

◆ explicitContentHeight

QQmlNullableValue<qreal> QQuickTableViewPrivate::explicitContentHeight

Definition at line 352 of file qquicktableview_p_p.h.

Referenced by updateAverageRowHeight(), and updateContentHeight().

◆ explicitContentWidth

QQmlNullableValue<qreal> QQuickTableViewPrivate::explicitContentWidth

Definition at line 351 of file qquicktableview_p_p.h.

Referenced by updateAverageColumnWidth(), and updateContentWidth().

◆ explicitRowHeights

QHash<int, qreal> QQuickTableViewPrivate::explicitRowHeights

Definition at line 393 of file qquicktableview_p_p.h.

◆ hoverHandler

QQuickTableViewHoverHandler* QQuickTableViewPrivate::hoverHandler = nullptr

Definition at line 395 of file qquicktableview_p_p.h.

Referenced by handleTap(), and init().

◆ inSelectionModelUpdate

bool QQuickTableViewPrivate::inSelectionModelUpdate = false

◆ inSetLocalViewportPos

bool QQuickTableViewPrivate::inSetLocalViewportPos = false

Definition at line 316 of file qquicktableview_p_p.h.

Referenced by setLocalViewportX(), and setLocalViewportY().

◆ inSyncViewportPosRecursive

bool QQuickTableViewPrivate::inSyncViewportPosRecursive = false

Definition at line 317 of file qquicktableview_p_p.h.

Referenced by syncViewportPosRecursive().

◆ inUpdateContentSize

bool QQuickTableViewPrivate::inUpdateContentSize = false

◆ isTransposed

bool QQuickTableViewPrivate::isTransposed = false

◆ keyNavigationEnabled

bool QQuickTableViewPrivate::keyNavigationEnabled = true

Definition at line 320 of file qquicktableview_p_p.h.

Referenced by handleTap().

◆ layoutWarningIssued

bool QQuickTableViewPrivate::layoutWarningIssued = false
mutable

◆ loadedColumns

◆ loadedItems

◆ loadedRows

◆ loadedTableInnerRect

QRectF QQuickTableViewPrivate::loadedTableInnerRect

◆ loadedTableOuterRect

◆ loadRequest

◆ model

◆ modelVariant

QVariant QQuickTableViewPrivate::modelVariant

Definition at line 276 of file qquicktableview_p_p.h.

Referenced by syncModel().

◆ origin

QPointF QQuickTableViewPrivate::origin = QPointF(0, 0)

◆ pointerNavigationEnabled

bool QQuickTableViewPrivate::pointerNavigationEnabled = true

Definition at line 321 of file qquicktableview_p_p.h.

Referenced by handleTap().

◆ polishing

bool QQuickTableViewPrivate::polishing = false

Definition at line 313 of file qquicktableview_p_p.h.

Referenced by updatePolish(), updateTable(), and updateTableRecursive().

◆ positionViewAtColumnAfterRebuild

int QQuickTableViewPrivate::positionViewAtColumnAfterRebuild = 0

◆ positionViewAtColumnAlignment

Qt::Alignment QQuickTableViewPrivate::positionViewAtColumnAlignment = Qt::AlignLeft

◆ positionViewAtColumnOffset

qreal QQuickTableViewPrivate::positionViewAtColumnOffset = 0

◆ positionViewAtColumnSubRect

QRectF QQuickTableViewPrivate::positionViewAtColumnSubRect

◆ positionViewAtRowAfterRebuild

int QQuickTableViewPrivate::positionViewAtRowAfterRebuild = 0

◆ positionViewAtRowAlignment

Qt::Alignment QQuickTableViewPrivate::positionViewAtRowAlignment = Qt::AlignTop

◆ positionViewAtRowOffset

qreal QQuickTableViewPrivate::positionViewAtRowOffset = 0

◆ positionViewAtRowSubRect

QRectF QQuickTableViewPrivate::positionViewAtRowSubRect

◆ positionXAnimation

QQuickPropertyAnimation QQuickTableViewPrivate::positionXAnimation

Definition at line 379 of file qquicktableview_p_p.h.

Referenced by canUnloadTableEdge(), init(), loadInitialTable(), and scrollToColumn().

◆ positionYAnimation

QQuickPropertyAnimation QQuickTableViewPrivate::positionYAnimation

◆ rebuildOptions

◆ rebuildState

◆ resizableColumns

bool QQuickTableViewPrivate::resizableColumns = false

Definition at line 323 of file qquicktableview_p_p.h.

Referenced by handleTap(), and init().

◆ resizableRows

bool QQuickTableViewPrivate::resizableRows = false

Definition at line 324 of file qquicktableview_p_p.h.

Referenced by handleTap(), and init().

◆ resizeHandler

QQuickTableViewResizeHandler* QQuickTableViewPrivate::resizeHandler = nullptr

Definition at line 396 of file qquicktableview_p_p.h.

Referenced by handleTap(), init(), and startSelection().

◆ reusableFlag

◆ rowHeightProvider

QJSValue QQuickTableViewPrivate::rowHeightProvider

Definition at line 335 of file qquicktableview_p_p.h.

Referenced by getRowHeight().

◆ scheduledRebuildOptions

RebuildOptions QQuickTableViewPrivate::scheduledRebuildOptions = RebuildOption::All

◆ selectableCallbackFunction

std::function<void(CallBackFlag)> QQuickTableViewPrivate::selectableCallbackFunction

◆ selectionBehavior

◆ selectionEndCell

QPoint QQuickTableViewPrivate::selectionEndCell = {-1, -1}

◆ selectionFlag

◆ selectionMode

◆ selectionModel

◆ selectionStartCell

QPoint QQuickTableViewPrivate::selectionStartCell = {-1, -1}

◆ syncChildren

QList<QPointer<QQuickTableView> > QQuickTableViewPrivate::syncChildren

◆ syncHorizontally

◆ syncVertically

◆ syncView

◆ tableModel

◆ tableSize

◆ tableSizeBeforeRebuild

QSize QQuickTableViewPrivate::tableSizeBeforeRebuild

Definition at line 387 of file qquicktableview_p_p.h.

Referenced by processRebuildTable().

◆ viewportRect

◆ warnNoSelectionModel

bool QQuickTableViewPrivate::warnNoSelectionModel = true

Definition at line 333 of file qquicktableview_p_p.h.

Referenced by setSelectionEndPos(), setSelectionStartPos(), and startSelection().


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