G'Day,
I have a simple QTableView ( myTableView )that displays the results of an QSqlQueryModel. This works fine.
I have a QPushbutton that runs a simple function to clear the screen (lineEdits, radioButtons, etc). I would like this to clear the QTableView also but cannot get it to work.
I have tried "myTableView->reset();" which compiles without erros but doesn't clear the table.
Any thoughts, pointers, suggested reading would be greatly appreciated.
Thanks, B1.
Bookmarks