Re: [PyQt] QTableWidget: cannot alter text of header labels

2010-05-21 Thread Mark Summerfield
On 2010-05-20, Nick Gaens wrote: > Hello PyQt, > > I'm wondering why I can't change the text that's displayed in the > horizontal or vertical header of my standard QTableWidget. > > - Constructor and simple count specification > > self.tw = QtGui.QTableWidget() > > self.tw.setColumnCount(5) >

[PyQt] QTableWidget: cannot alter text of header labels

2010-05-20 Thread Nick Gaens
Hello PyQt, I'm wondering why I can't change the text that's displayed in the horizontal or vertical header of my standard QTableWidget. - Constructor and simple count specification self.tw = QtGui.QTableWidget() self.tw.setColumnCount(5) - Attempt 1: > self.tw.setHorizontalHeaderLabels(("