How to capture the index of a row?
Guys,
I'm beginning to study Qt, I'm using Qt5.1. I'm orienting following these tutorials:
http://www.codeprogress.com/cpp/libr...m=QTableWidget
Following the link below I'm able to select the entire row:
http://www.codeprogress.com/cpp/libr...p#.UkLh2lNF1Fi
But in this tutorial:
http://www.codeprogress.com/cpp/libr...ectHeaderClick
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:
Code:
setClickable(true);
But now changed to:
Code:
setSectionsClickable(true);
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!
Re: How to capture the index of a row?