On 31/03/13 21:43, eryksun wrote:
<cut>

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.

from PyQt4 import QtGui
QtGui.QTable etc

As I previously said, I had done this under C++ many years ago. The Python method is far simpler, especially once you know how.

--
Regards,
Phil
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to