I am using QTableView\'s checkbox flag of Qt::ItemIsUserCheckable to display a checkbox in a table cell.
After reading some things on alignment in an attempt to
TextAlignmentRole really does mean what it says. Unfortunately, as you probably noticed, there doesn't seem to be any Icon/Widget alignment role available at all.
Bug report: http://bugreports.qt-project.org/browse/QTBUG-9047
Same question with some answers: http://lists.trolltech.com/qt-interest/2006-06/msg00476.html