problems with setting QSqlTableModel in a custom slot

Printable View