[Qt-interest] how to use setRowHidden in a model/view/delegate

TP paratribulations at free.fr
Wed Apr 8 23:44:14 CEST 2009


Here the answer of Tim W (email):

TP wrote:

>Is it usual to give access to the view in the model? If yes, what is the
>problem with calling setRowHidden() from the index() function (why an
>infinite recursion)? 

You can use a QSortFilterProxyModel  to show/hide row/column on there data.

Cheers,
Tim 

My answer: I will try and report the result on this newsgroup.

Thanks a lot.

Julien




More information about the Qt-interest-old mailing list