List of All Members for TreeModel | Qt 6.12
Description: Encapsulates a simple tree model.
Keywords: auto-generated

- Qt 6.12
- QML Types
- Qt.labs.qmlmodels
- TreeModel
- Qt 6.12.0 Reference Documentation

# List of All Members for TreeModel

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

- columnCount : int [read-only]
- rows : var
- void appendRow(var treeRow)
- void appendRow(parent, var treeRow)
- void clear()
- variant data(index, string role)
- var getRow(rowIndex)
- QModelIndex index(list<int> treeIndex, int column)
- QModelIndex index(int row, int column, var parent)
- void insertRow(int rowIndex, object row) `(since 6.12)`
- void insertRow(int rowIndex, QModelIndex parent, object row) `(since 6.12)`
- bool moveRows(QModelIndex sourceParent, int sourceRow, int count, QModelIndex destinationParent, int destinationChild) `(since 6.12)`
- void removeRow(rowIndex)
- bool setData(index, variant value, string role)
- void setRow(rowIndex, var treeRow)