[Qt-qml] Some feedback from users.

aaron.kennedy at nokia.com aaron.kennedy at nokia.com
Wed May 12 02:00:53 CEST 2010


Hi,


On 12/05/10 2:56 AM, "ext Stephen Kelly" <steveire at gmail.com> wrote:

> So much for model/view separation :)
> 
> I'm not really trying to get the "context properties internal to the
> delegate", I'm trying to get "context properties internal to the model".
> 
> To do that it looks like I need to make sure the delegate has aliases for
> any custom role I might want to use to retrieve data.
> 
> What if I want to get the data in the n-th row of a c++ model, not just the
> "current item"? Will that ever be possible?

It might be possible in the future.  There are some memory management issues
that would need to be worked out, but it could be done.  If you feel
strongly about this, please create a "suggestion" in the bug system.

For now, the best you can do is hacks :(

Cheers,

Aaron





More information about the Qt-qml mailing list