title: Map QComboBox to a column of a MySQL table, possible?
body: <p>The <a href="http://doc.qt.io/qt-5/qstringlistmodel.html" rel="nofollow"><code>QStringListModel</code></a> can be mapped to <a href="http://doc.qt.io/qt-5/qcombobox.html" rel="nofollow"><code>QComboBox</code></a>. And a MySQL table can be mapped by a <a href="http://doc.qt.io/qt-5/qsqltablemodel.html" rel="nofollow"><code>QSqlTableModel</code></a>.</p>
  
  <p>I would like to map a <code>QComboBox</code> to a column of a MySQL table, so that changes in the database will reflect in the <code>QComboBox</code> itens.</p>
  
  <p>What came to my mind is to watch for changes in the database and reload the <code>QComboBox</code> itens every time. Is this the best approach?</p>