- Qt 6.11
- Qt Quick
- QML Types
- TreeView
- Qt 6.11.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)`
- void collapse(row)
- void collapseRecursively(row) `(since 6.4)`
- collapsed(row, recursively)
- int depth(row)
- void expand(row)
- void expandRecursively(row, depth) `(since 6.4)`
- void expandToIndex(QModelIndex index) `(since 6.4)`
- expanded(row, depth)
- bool isExpanded(row)
- void toggleExpanded(row)

The following members are inherited from TableView.

- alternatingRows : bool
- animate : bool `(since 6.4)`
- bottomRow : int
- columnSpacing : real
- columnWidthProvider : var
- columns : int [read-only]
- contentHeight : real
- contentWidth : real
- currentColumn : int [read-only]
- currentRow : int [read-only]
- delegate : Component
- delegateModelAccess : enumeration `(since 6.10)`
- 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 [read-only]
- 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)
- void clearColumnReordering() `(since 6.8)`
- void clearColumnWidths()
- void clearRowHeights()
- void clearRowReordering() `(since 6.8)`
- void 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]
- void edit(QModelIndex modelIndex) `(since 6.5)`
- real explicitColumnWidth(int column)
- real explicitRowHeight(int row)
- void 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)`
- void moveColumn(int source, int destination) `(since 6.8)`
- void moveRow(int source, int destination) `(since 6.8)`
- pooled() [attached]
- void positionViewAtCell(point cell, PositionMode mode, point offset, rect subRect)
- void positionViewAtCell(int column, int row, PositionMode mode, point offset, rect subRect) `(deprecated)`
- void positionViewAtColumn(int column, PositionMode mode, real offset, rect subRect)
- void positionViewAtIndex(QModelIndex index, PositionMode mode, point offset, rect subRect) `(since 6.5)`
- void 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)`
- void setColumnWidth(int column, real size)
- void setRowHeight(int row, real size)

The following members are inherited from Flickable.

- acceptedButtons : flags `(since 6.9)`
- atXBeginning : bool [read-only]
- atXEnd : bool [read-only]
- atYBeginning : bool [read-only]
- atYEnd : bool [read-only]
- bottomMargin : real
- boundsBehavior : enumeration
- boundsMovement : enumeration
- contentHeight : real
- contentItem : Item [read-only]
- contentWidth : real
- contentX : real
- contentY : real
- dragging : bool [read-only]
- draggingHorizontally : bool [read-only]
- draggingVertically : bool [read-only]
- flickDeceleration : real
- flickableDirection : enumeration
- flicking : bool [read-only]
- flickingHorizontally : bool [read-only]
- flickingVertically : bool [read-only]
- horizontalOvershoot : real [read-only]
- horizontalVelocity : real [read-only]
- interactive : bool
- leftMargin : real
- maximumFlickVelocity : real
- moving : bool [read-only]
- movingHorizontally : bool [read-only]
- movingVertically : bool [read-only]
- originX : real [read-only]
- originY : real [read-only]
- pixelAligned : bool
- pressDelay : int
- rebound : Transition
- rightMargin : real
- synchronousDrag : bool
- topMargin : real
- verticalOvershoot : real [read-only]
- verticalVelocity : real [read-only]
- visibleArea
  - visibleArea.heightRatio : real [read-only]
  - visibleArea.widthRatio : real [read-only]
  - visibleArea.xPosition : real [read-only]
  - visibleArea.yPosition : real [read-only]
- void cancelFlick()
- dragEnded()
- dragStarted()
- void flick(qreal xVelocity, qreal yVelocity)
- flickEnded()
- flickStarted()
- void flickTo(point position) `(since 6.11)`
- void flickToChild(QQuickItem *child, PositionMode mode, point offset) `(since 6.11)`
- movementEnded()
- movementStarted()
- void positionViewAtChild(QQuickItem *child, PositionMode mode, point offset) `(since 6.11)`
- void resizeContent(real width, real height, point center)
- void returnToBounds()

The following members are inherited from Item.

- activeFocus : bool [read-only]
- 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 [read-only]
  - childrenRect.width : real [read-only]
  - childrenRect.x : real [read-only]
  - childrenRect.y : real [read-only]
- 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> [read-only]
- transformOrigin : enumeration
- transitions : list<Transition>
- visible : bool
- visibleChildren : list<Item>
- width : real
- x : real
- y : real
- z : real
- Item childAt(real x, real y)
- bool contains(point point)
- void dumpItemTree() `(since 6.3)`
- void forceActiveFocus()
- void 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)
- Item nextItemInFocusChain(bool forward)

The following members are inherited from QtObject.

- objectName : string