[PyQt] set horizontal header item

Phil phil_lor at bigpond.com
Mon Apr 1 00:49:42 BST 2013


On 01/04/13 08:00, Ryan Hanson wrote:
>
<cut>

>
> Oh okay I see. Did you try QtGui.QTableWidgetItem?

Thanks for your quick response Ryan. I hadn't tried QtGui, and this is 
the error message;

"global name 'QtGui' is not defined"

The Eric IDE's main window starts like this;

from PyQt4.QtGui import QMainWindow

So I also tried PyQt4.QtGui, with the same result.

-- 
Regards,
Phil


More information about the PyQt mailing list