In a QTableView, I have few user data that is associated with some QStandardItem,
That every row has one user data (I use row selection mode)
Now when user right click on any item on the same row, they get the same data.
So my problem is, I set the user data on the first column of every row, every time I got a click event, I need to find the item on the same row, and the first column first, then lookup the associated user data.
That looked fairly stupid, is it possible to set data for the whole row?