title: PyQt4 qTableView Alignment
body: <p>Hoping someone can help me - I've spent a few days searching but haven't had any luck...</p>
  
  <p>I'm using PyQt, and a few qTableViews to display some data - now I want to align this data in the centre. </p>
  
  <p>My code is below - ui_manual_matching.table_unmatched_flights is the qTableView object.</p>
  
  <p>Thanks very much!</p>
  
  <p>Adam</p>
  
  <pre><code>    db = QSqlDatabase.addDatabase("QSQLITE")
      db.setDatabaseName(settings.str_combined_database)
      db.open()
      #CREATE AN SQL STRING TO FILTER BY (I wont bore you with the details)
      flights_table_model = QSqlTableModel()
      flights_table_model.setTable('eg_table')
      flights_table_model.setFilter(str_eg_filter)
      flights_table_model.select()
  
      ui_manual_matching.table_unmatched_flights.setModel(flights_table_model)
  </code></pre>
  
  <p>'</p>