lima_will
25th September 2013, 14:10
Guys,
I'm beginning to study Qt, I'm using Qt5.1. I'm orienting following these tutorials:
http://www.codeprogress.com/cpp/libraries/qt/qtClasses.php?item=QTableWidget
Following the link below I'm able to select the entire row:
http://www.codeprogress.com/cpp/libraries/qt/QTableWidgetSelectRowBehavior.php#.UkLh2lNF1Fi
But in this tutorial:
http://www.codeprogress.com/cpp/libraries/qt/showQtExample.php?index=140&key=QTableWidgetDetectHeaderClick
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:
setClickable(true);
But now changed to:
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!
I'm beginning to study Qt, I'm using Qt5.1. I'm orienting following these tutorials:
http://www.codeprogress.com/cpp/libraries/qt/qtClasses.php?item=QTableWidget
Following the link below I'm able to select the entire row:
http://www.codeprogress.com/cpp/libraries/qt/QTableWidgetSelectRowBehavior.php#.UkLh2lNF1Fi
But in this tutorial:
http://www.codeprogress.com/cpp/libraries/qt/showQtExample.php?index=140&key=QTableWidgetDetectHeaderClick
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:
setClickable(true);
But now changed to:
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!