[PyQt] Table Widget Problem v4.4.3

Carr, David D.A.Carr at uncc.edu
Mon Aug 25 15:42:25 BST 2008


Hello All,

I move to version 4.4.3 and now cannot get QLabel to display in the table widget.  Other Widgets such as QComboBox and QTextEdit work fine, QLabel no longer displays and was working fine in previous versions.
Any thoughts or suggestions would be helpful.

Example code
itm2 = QtGui.QLabel()
itm2.setAlignment(QtCore.Qt.AlignCenter)
itm2.setText('Test')
self.tableWidgetQTSetMap.setCellWidget(0,0,itm2)

Thanks,
Andrew


*************************

Dr. D. Andrew Carr
CARC 295 UNCC
9201 University City Blvd
Charlotte NC 28223
704-687-7494 (office)
704-687-6610 (fax)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080825/edd88ff0/attachment.html


More information about the PyQt mailing list