Currently, I have a QTableView with an associated model (inheriting QAbstractTableModel). Through QTableView::customContextMenuRequested, I can copy the table like this :