[Qt-interest] How to cleanup SqlTableModel ?
Andre Somers
andre at familiesomers.nl
Fri Oct 30 10:59:09 CET 2009
George Guntensperger wrote:
>
> After the rows are loaded, how can I just remove a row from the model
> without remove from database?
>
> ------------------------------------------------------------------------
Don't.
Instead, use a QFilterProxyModel (or another, custom proxy model) to
filter the contents of your QSqlTableModel.
André
More information about the Qt-interest-old
mailing list