PDA

View Full Version : Empty QSqlTableModel object



gemidjy
13th March 2008, 23:44
hello,

I have this little nasty need to show a QSqlTableModel object in an application of a table that has data in it, but not to show that data. So, I only need to be able to insert new data without showing the data inserted before.

thanks :/

EDIT: Ah ah, didn't see that setRowHidden is there, I thought that there is only setColumnHidden. If you have better idea, propose, sure, thanks

wysota
14th March 2008, 00:23
A nice option could be to use QSortFilterProxyModel or its custom subclass.

gemidjy
14th March 2008, 11:42
thanks wysota.

cheers