[Qt-interest] Adding arbitrary depth to Graphics Scene & Friends
Javier Urien
javierurien at gmail.com
Tue Apr 26 16:54:00 CEST 2011
On Tue, Apr 26, 2011 at 11:46, Jason H <scorp1us at yahoo.com> wrote:
> Yes, you are missing something. None of the GV operations change underlying
> data. They only transform the view of it. The Item is the data. The Scene is
> the object hierarchy. The View is the scene objects with transforms applied.
>
> If you are trying to use GV to modify your item data, you are going up the
> wrong tree. Only a QPainter will do that.
>
I see, you are right, but... (and this might be related with what you say
below) I want to be able to use the render method to write de scene to a
file without loosing data, so, a QHighBPPDataPainter might be necessary
>
> You might be able to Subclass QGraphicsView and use your derived high BPP
> painter. Also, you'd need a QGraphicsItem that would paint() in high BPP.
> But how would you do that with standard ARGB items?...
>
>
I would delegate to parent classes? I do not quite get the question here...
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110426/49ed74df/attachment.html
More information about the Qt-interest-old
mailing list