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.
Printable View
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.
Get the view's vertical header view and connect to that object's sectionClicked() signal.
Cheers,
_
Thanks. I was looking for clicked and not sectionClicked...
Code:
connect( pkt_view->verticalHeader(), SIGNAL(sectionClicked(int)), this, SLOT(HeaderClicked(int)) );