How to capture the index of a row?
I'm beginning to study Qt, I'm using Qt5.1. I'm orienting following these tutorials:
Following the link below I'm able to select the entire row:
But in this tutorial:
the examples it shows only how to capture the index of a table header but would like to show the index of the line. How can I do this?
In the example he uses:
But now changed to:
I know the sample is old version but I believe that has changed only a few commands, am I correct?
And I'm sorry for my english!
Did you take a look at documentation?
"Here":http://qt-project.org/doc/qt-5.0/qtwidgets/qtablewidget.html#signals is a list of all signals emited by QTableWidget. I believe you're searching for cellClicked signal.