I want an application using SQLite.I use QSQlqueryModel and QTableView to display the data.
I want when data (the model) changed to update the content displayed in the QTableView.
When i click on dialog i add new data to the model and when i click on the button ADD i want to close the dialog and on the widget behind to repaint/update the displayed data.

screenshot.jpg