In ListView I could access all roles of QAbstractListModel by only mentioning them. TableViewColumn can access only one. If I have the model in qml itself I can access multiple roles by using nested ListElement per ListElement and using syntax like
in itemDelegate of TableViewQt Code:
styleData.value.get(0, 1, .....).roleNameTo copy to clipboard, switch view to plain text mode
How do i use QAbstractListModel from within qml TableView/TableViewColumn to access multiple roles provided by the model?
[P.S: I didn't put a code because I don't have one. Got stuck just starting out on this, but if required I can put some boiler-plate code]
{quick 2.0, qt 5.1.0, mingw, win7}
Bookmarks