I have a QTableView in my code that I am trying to detect when the user clicks on the RowHeaders. I have the individual cells working with the code below and they work great. But what signal do I connect for the Row/Column headers being pushed.

Qt Code:
  1. QTableView *pkt_view;
  2.  
  3. ...
  4.  
  5. connect( pkt_view, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(packetClicked2(QModelIndex)) );
  6. connect( pkt_view, SIGNAL(clicked(QModelIndex)), this, SLOT(packetClicked(QModelIndex)) );
To copy to clipboard, switch view to plain text mode