Are there any best practices or recommended approaches for managing the lifecycle of data in a QSqlQueryModel when clearing the contents of a QTableView in a Qt application? 101 games
Are there any best practices or recommended approaches for managing the lifecycle of data in a QSqlQueryModel when clearing the contents of a QTableView in a Qt application? 101 games
Not sure what you mean here. The table view is fed data by the model, so the way to clear the view is to reset the model to empty.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
Bookmarks