I don't understand. Do you have two views? One view where the user hides a row and another that shows the highlighted cells. If so you need to hide the row in the view that displays the proxy also.

Maybe something like this in your slot where you hide the row would work:
Qt Code:
  1. QModelIndexList list = view->selectionModel()->selectedRows();
  2. foreach(QModelIndex index, list){
  3. view1->hideRow(index.row()); // view that displays the orgininal data
  4. view2->hideRow(proxy->mapFromSource(queryModel->index(index.row(),0)).row()); // view displaying proxy model
  5. }
  6. highlightCells();
To copy to clipboard, switch view to plain text mode 

Or is the user hiding rows in the view showing the proxy?