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.
...
QTableView *pkt_view;
...
connect( pkt_view, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(packetClicked2(QModelIndex)) );
connect( pkt_view, SIGNAL(clicked(QModelIndex)), this, SLOT(packetClicked(QModelIndex)) );
To copy to clipboard, switch view to plain text mode
Bookmarks