I made a quick implementation of a general way to solve this situation:

[wiki]QMLifyProxyModel[/wiki]