[PyKDE] QTable.paintCell() overrides won't work as expected

Hans-Peter Jansen hpj at urpla.net
Sun Feb 6 19:45:54 GMT 2005

Hi Phil,

next one (and last for today) is a small but disturbing problem, when 
subclassing QTable with a paintCell override. See attached script.

Funny is, when enabling the XXXpaintCell (7 arg) method, it says:
TypeError: paintCell() takes exactly 7 arguments (6 given)
while using the YYYpaintCell() (6 arg) method, is says:
TypeError: paintCell() takes exactly 6 arguments (7 given)

The current default override in this script, while somewhat "wrong", 
does what XXXpaintCell() should.

Mind looking into this issue?


sip version: 4.1.1
Qt version: 3.2.1
PyQt version: 3.13

More information about the PyQt mailing list