Important: Please read the Qt Code of Conduct -

TableViewColumn displaying data based on two roles (TreeView)

  • How can I display data computed from few "roles" in my view (TreeView in qml) data in specific column (TableViewColumn (qml))? I have to use delegates? What role property will have the TableViewColumn in my TreeView? I am using QStandardItemModel (C++) and TreeView (qml), Qt5.5.