How can i associate a GUId for each row i create in QTableView
-
In that case, use QStandardItem::setData().
Note that you'll have to do that for every item on the row, you will have to subclass QStandardItemModel to return the value from the first column for this role for every column, or something like that. You'd have to reimplement the data() method for that.