Try reimplementing QTableItem::alignment(). As the docs state, the default implementation aligns numbers to the right and any other text to the left.