PDA

View Full Version : AlignCenter property of the QTableView???



manhds
23rd June 2006, 09:41
Hi all !
How to set center alignment property (AlignCenter) for a cell in the QTableView?
thanks for reading !

jacek
23rd June 2006, 10:35
Your model's data() method must return Qt::AlignCenter for Qt::TextAlignmentRole for that item.