Jim Bublitz wrote: > You need to do something like this: > -------------------- > class AlignTableItem (QTableItem): > def __init__ (self, table, et): > QTableItem.__init__ (self, table, et) > > def alignment (self): > return Qt.AlignCenter I guess you can skip "empty" init: class AlignTableItem (QTableItem): def alignment (self): return Qt.AlignCenter /mr