> Le 18 déc. 2017 à 00:46, Tony Rietwyk <t...@rightsoft.com.au> a écrit :
> 
> Hi Jérôme, 
> I assume that parent.isValid is checking the parent QModelIndex by calling 
> parent.model().columnCount within the DummyModel.  There used to be a Qt 
> utility to check that your models have the correct overrides.  Note that the 
> source model cannot rely on the proxy model for anything - it must be self 
> contained.  
Okay so I guess that returning any non-zero value from columnCount in the 
source model will do the trick. Thanks.

Best regards
Jérôme Laheurte

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to