[PyKDE] PyQt4 and QTableWidget subclassing
Andreas Pakulat
apaku at gmx.de
Fri May 5 10:45:34 BST 2006
On 04.05.06 17:21:04, bastian salmela wrote:
> I am trying to do a sub class from QTableWidget, and I had this similar
> working with pyqt3 but now with pyqt4 table never shows cell structure or
> contents.. all I get is white table background.
Works for me is all I can say. Can you show us how you instantiate the
class?
> class testTable(QtGui.QTableWidget):
> def __init__(self, parent):
Note that for ease of use you normally set parent=None in __init__.
Andreas
--
You are so boring that when I see you my feet go to sleep.
More information about the PyQt
mailing list