- Qt 6.8
- Qt Quick
- QML Types
- TreeView
- Qt 6.8.1 Reference Documentation

# List of All Members for TreeView

This is the complete list of members for TreeView, including inherited members.

- rootIndex : QModelIndex `(since 6.6)`
- collapse(row)
- collapseRecursively(row) `(since 6.4)`
- collapsed(row, recursively)
- int depth(row)
- expand(row)
- expandRecursively(row, depth) `(since 6.4)`
- expandToIndex(QModelIndex index) `(since 6.4)`
- expanded(row, depth)
- bool isExpanded(row)
- toggleExpanded(row)

The following members are inherited from TableView.

- alternatingRows : bool
- animate : bool `(since 6.4)`
- bottomRow : int
- columnSpacing : real
- columnWidthProvider : var
- columns : int
- contentHeight : real
- contentWidth : real
- currentColumn : int
- currentRow : int
- delegate : Component
- editDelegate : Component [attached]
- editTriggers : enumeration `(since 6.5)`
- keyNavigationEnabled : bool `(since 6.4)`
- leftColumn : int
- model : model
- pointerNavigationEnabled : bool `(since 6.4)`
- resizableColumns : bool `(since 6.5)`
- resizableRows : bool `(since 6.5)`
- reuseItems : bool
- rightColumn : int
- rowHeightProvider : var
- rowSpacing : real
- rows : int
- selectionBehavior : enumeration `(since 6.4)`
- selectionMode : enumeration `(since 6.6)`
- selectionModel : ItemSelectionModel `(since 6.2)`
- syncDirection : Qt::Orientations
- syncView : TableView
- topRow : int
- view : TableView [attached]
- point cellAtIndex(QModelIndex modelIndex) `(since 6.4)`
- Point cellAtPos(point position, bool includeSpacing) `(deprecated)`
- Point cellAtPos(real x, real y, bool includeSpacing) `(deprecated)`
- Point cellAtPosition(point position, bool includeSpacing)
- Point cellAtPosition(real x, real y, bool includeSpacing)
- clearColumnReordering() `(since 6.8)`
- clearColumnWidths()
- clearRowHeights()
- clearRowReordering() `(since 6.8)`
- closeEditor() `(since 6.5)`
- int columnAtIndex(QModelIndex modelIndex) `(since 6.4)`
- columnMoved(int logicalIndex, int oldVisualIndex, int newVisualIndex) `(since 6.8)`
- real columnWidth(int column) `(since 6.2)`
- commit() [attached]
- edit(QModelIndex modelIndex) `(since 6.5)`
- qreal explicitColumnWidth(int column)
- qreal explicitRowHeight(int row)
- forceLayout()
- real implicitColumnWidth(int column) `(since 6.2)`
- real implicitRowHeight(int row) `(since 6.2)`
- QModelIndex index(int row, int column) `(since 6.4.3)`
- bool isColumnLoaded(int column) `(since 6.2)`
- bool isRowLoaded(int row) `(since 6.2)`
- Item itemAtCell(point cell)
- Item itemAtCell(int column, int row) `(deprecated)`
- Item itemAtIndex(QModelIndex index) `(since 6.5)`
- layoutChanged() `(since 6.5)`
- QModelIndex modelIndex(point cell) `(since 6.4)`
- QModelIndex modelIndex(int row, int column) `(since 6.4, deprecated)`
- moveColumn(int source, int destination) `(since 6.8)`
- moveRow(int source, int destination) `(since 6.8)`
- pooled() [attached]
- positionViewAtCell(point cell, PositionMode mode, point offset, rect subRect)
- positionViewAtCell(int column, int row, PositionMode mode, point offset, rect subRect) `(deprecated)`
- positionViewAtColumn(int column, PositionMode mode, real offset, rect subRect)
- positionViewAtIndex(QModelIndex index, PositionMode mode, point offset, rect subRect) `(since 6.5)`
- positionViewAtRow(int row, PositionMode mode, real offset, rect subRect)
- reused() [attached]
- int rowAtIndex(QModelIndex modelIndex) `(since 6.4)`
- real rowHeight(int row) `(since 6.2)`
- rowMoved(int logicalIndex, int oldVisualIndex, int newVisualIndex) `(since 6.8)`
- setColumnWidth(int column, real size)
- setRowHeight(int row, real size)

The following members are inherited from Flickable.

- atXBeginning : bool
- atXEnd : bool
- atYBeginning : bool
- atYEnd : bool
- bottomMargin : real
- boundsBehavior : enumeration
- boundsMovement : enumeration
- contentHeight : real
- contentItem : Item
- contentWidth : real
- contentX : real
- contentY : real
- dragging : bool
- draggingHorizontally : bool
- draggingVertically : bool
- flickDeceleration : real
- flickableDirection : enumeration
- flicking : bool
- flickingHorizontally : bool
- flickingVertically : bool
- horizontalOvershoot : real
- horizontalVelocity : real
- interactive : bool
- leftMargin : real
- maximumFlickVelocity : real
- moving : bool
- movingHorizontally : bool
- movingVertically : bool
- originX : real
- originY : real
- pixelAligned : bool
- pressDelay : int
- rebound : Transition
- rightMargin : real
- synchronousDrag : bool
- topMargin : real
- verticalOvershoot : real
- verticalVelocity : real
- visibleArea
  - visibleArea.heightRatio : real
  - visibleArea.widthRatio : real
  - visibleArea.xPosition : real
  - visibleArea.yPosition : real
- cancelFlick()
- dragEnded()
- dragStarted()
- flick(qreal xVelocity, qreal yVelocity)
- flickEnded()
- flickStarted()
- movementEnded()
- movementStarted()
- resizeContent(real width, real height, QPointF center)
- returnToBounds()

The following members are inherited from Item.

- activeFocus : bool
- activeFocusOnTab : bool
- anchors
  - anchors.alignWhenCentered : bool
  - anchors.baseline : AnchorLine
  - anchors.baselineOffset : real
  - anchors.bottom : AnchorLine
  - anchors.bottomMargin : real
  - anchors.centerIn : Item
  - anchors.fill : Item
  - anchors.horizontalCenter : AnchorLine
  - anchors.horizontalCenterOffset : real
  - anchors.left : AnchorLine
  - anchors.leftMargin : real
  - anchors.margins : real
  - anchors.right : AnchorLine
  - anchors.rightMargin : real
  - anchors.top : AnchorLine
  - anchors.topMargin : real
  - anchors.verticalCenter : AnchorLine
  - anchors.verticalCenterOffset : real
- antialiasing : bool
- baselineOffset : int
- children : list<Item>
- childrenRect
  - childrenRect.height : real
  - childrenRect.width : real
  - childrenRect.x : real
  - childrenRect.y : real
- clip : bool
- containmentMask : QObject*
- data : list<QtObject> [default]
- enabled : bool
- focus : bool
- focusPolicy : enumeration `(since 6.7)`
- height : real
- implicitHeight : real
- implicitWidth : real
- layer.effect : Component
- layer.enabled : bool
- layer.format : enumeration
- layer.live : bool `(since 6.5)`
- layer.mipmap : bool
- layer.samplerName : string
- layer.samples : enumeration
- layer.smooth : bool
- layer.sourceRect : rect
- layer.textureMirroring : enumeration
- layer.textureSize : size
- layer.wrapMode : enumeration
- opacity : real
- palette : Palette `(since 6.0)`
- parent : Item
- resources : list<QtObject>
- rotation : real
- scale : real
- smooth : bool
- state : string
- states : list<State>
- transform : list<Transform>
- transformOrigin : enumeration
- transitions : list<Transition>
- visible : bool
- visibleChildren : list<Item>
- width : real
- x : real
- y : real
- z : real
- childAt(real x, real y)
- bool contains(point point)
- dumpItemTree() `(since 6.3)`
- forceActiveFocus()
- forceActiveFocus(Qt::FocusReason reason)
- bool grabToImage(callback, targetSize)
- point mapFromGlobal(real x, real y)
- point mapFromItem(Item item, point p)
- rect mapFromItem(Item item, rect r)
- point mapFromItem(Item item, real x, real y)
- rect mapFromItem(Item item, real x, real y, real width, real height)
- point mapToGlobal(real x, real y)
- point mapToItem(Item item, point p)
- rect mapToItem(Item item, rect r)
- point mapToItem(Item item, real x, real y)
- rect mapToItem(Item item, real x, real y, real width, real height)
- nextItemInFocusChain(bool forward)

The following members are inherited from QtObject.

- objectName : string