Hmmm ... one way is to get the identifier from the model and hide it in the view using
void QTableView::setColumnHidden (int column, bool hide)
then you basically get it, but hide it, and from here you can easily get it using the model, using the index emitted from
void QAbstractItemView::activated ( const QModelIndex & index )
Signal.
source share