Re: [Tutor] pyqt4 set horizontal header item - solved

2013-04-01 Thread Phil
On 01/04/13 19:47, eryksun wrote: On Sun, Mar 31, 2013 at 8:13 PM, Phil wrote: I have the answer (provided by a member of another list) and I was correct, it was something basic. from PyQt4 import QtGui QtGui.QTable etc Sorry, I assumed you were familiar with the package layout. http://pyq

Re: [Tutor] pyqt4 set horizontal header item - solved

2013-04-01 Thread eryksun
On Sun, Mar 31, 2013 at 8:13 PM, Phil wrote: > > I have the answer (provided by a member of another list) and I was correct, > it was something basic. > > from PyQt4 import QtGui > QtGui.QTable etc Sorry, I assumed you were familiar with the package layout. http://pyqt.sourceforge.net/Docs/PyQt4

Re: [Tutor] pyqt4 set horizontal header item - solved

2013-03-31 Thread Phil
On 31/03/13 21:43, eryksun wrote: You can use setHorizontalHeaderItem(0, QTableWidgetItem('col 0'), and so on. It may be simpler to use setHorizontalHeaderLabels(['col 0', 'col 1', 'etc']). I have the answer (provided by a member of another list) and I was correct, it was something basic.