[Qt-interest] hiding a QTableView row from the model?
Paul Miller
paul at fxtech.com
Fri May 22 18:23:48 CEST 2009
I want to be able to hide some rows in my table based on data that is in
the model. I see from the documentation that the only way to hide a row
seems to be from the VIEW, which doesn't make much sense since
everything else is in the model.
In my case I want to hide rows that end up having all of their data
values being "empty". I don't want to rebuild my model in this case, or
use a proxy model as computing all this data is quite expensive.
Is there an elegant work-around for this problem?
--
Paul Miller | paul at fxtech.com | www.fxtech.com | Got Tivo?
More information about the Qt-interest-old
mailing list