Re: [Development] QtQuick - Automatically Repainting Canvas

2013-12-16 Thread Juan Pedro BolĂ­var Puente
> I'm not sure. Gunnar would know. I've just been told that it's not cheap > and I've seen that it's easy to misuse. It's not hard (and actually > kinda fun) separating out the parts that need to be rendered less often > to avoid unnecessary repaints. I am curious about which kind of properties mi

Re: [Development] QtQuick - Automatically Repainting Canvas

2013-12-12 Thread Mitch Curtis
On 12/11/2013 03:16 PM, Matthias Kleine wrote: >> On 12/09/2013 05:42 PM, Matthias Kleine wrote://>/is there an >> established pattern for repainting a canvas once a property />/that is >> accessed during painting changes? If not, I suggest to add a >> />/RepaintingCanvas. See the attachment for a

Re: [Development] QtQuick - Automatically Repainting Canvas

2013-12-12 Thread Matthias Kleine
> On 12/09/2013 05:42 PM, Matthias Kleine wrote: > > is there an established pattern for repainting a canvas once a property > > that is accessed during painting changes? If not, I suggest to add a > > RepaintingCanvas. See the attachment for a naive implementation. Is > > there a chance for someth

Re: [Development] QtQuick - Automatically Repainting Canvas

2013-12-11 Thread Mitch Curtis
On 12/09/2013 05:42 PM, Matthias Kleine wrote: > Hi all, > > is there an established pattern for repainting a canvas once a property > that is accessed during painting changes? If not, I suggest to add a > RepaintingCanvas. See the attachment for a naive implementation. Is > there a chance for some

[Development] QtQuick - Automatically Repainting Canvas

2013-12-10 Thread Matthias Kleine
Hi all, is there an established pattern for repainting a canvas once a property that is accessed during painting changes? If not, I suggest to add a RepaintingCanvas. See the attachment for a naive implementation. Is there a chance for something like this to be included in Qt? Cheers, Matthias