I am subclassing a QHeaderView within a QTableWidget to provide custom functionality for hiding/showing sections. Is there a way to get the text of a section from within the header view? I know I can do this from within the scope of the table, but that is not what I am trying to do.
I realize the data is stored internally in a model, however the following test just returns "None":
self.model().index(0,0).data()