Hi.
I created a QTableView which look like this: http://doc.trolltech.com/4.3/sql-rel...ablemodel.html
But the problem is when I add a row (I use QDialog for that).
So, a QDialog pops up and I fill out all the required fields and then I press ok (to save all the data to mysql table and close the QDialog)
What I want to do now is: when this QDialog window is closed I want to refresh the QTableView, so it will reflect the currently added row.
Now I have to reopen the program (reconnect to the database/table) in order to do that.
Is there an option for that?
Bookmarks