[Qt-qml] QML and graphics item caching

Juha Turunen turunen at iki.fi
Fri Sep 3 17:55:42 CEST 2010


On Fri, Sep 3, 2010 at 6:05 PM, Adriano Rezende
<adriano.rezende at openbossa.org> wrote:

> AFAIK cacheMode is not exposed in QML side. But for what you want
> there is not official support even in QGraphicsView side.
> There was an idea to implement a DeepItemCacheMode that would do
> exactly this, but it was forgotten and never saw the daylight.
>
> I think this would be a great feature also. You could set a complex
> element into a frozen state to do more fancy transformations without
> having to apply transformations in each child behind the scenes.


I already implemented a "ProxyElement" while ago myself and it seemed
to work. I can share it (it's pretty trivial though) later when I see
how well it functions outside the testbench.

Juha



More information about the Qt-qml mailing list