It seems that you can't do it - the model must descend from QAbstractItemModel so I had to create a C++ descendant first (implementing pur e virtual functions) and then it I could proceed.
It seems that you can't do it - the model must descend from QAbstractItemModel so I had to create a C++ descendant first (implementing pur e virtual functions) and then it I could proceed.