I want my QTableView
connected to QSqlTableModel
, to dynamically update itself. SQLite view that I'm going to feed to my QSqlTableModel
will be created from a number of SQLite tables with LEFT OUTER JOIN
. the idea is to make any changes in those constituent SQLite tables automatically propagate through the SQLite view and QSqlTableModel
into the QTableView
.
QSqlTableModel::setTable()
?QSqlTableModel
and QTableView
immediately reflect the changes in the SQLite view?Is there a better way to achieve the goal?
as of now, i have come to the conclusion that in this case it's better to use