title: How to set text alignment on a column of QTableView programmatically?
body: <p>So far the only solution I have found is to subclass QItemDelegate and implement my alignment rule in the paint() function. Is it really the simplest way?</p>
  
  <p>I am using the C++ API.</p>