[PyQt] scene and layers

Philippe Crave philippe.crave at gmail.com
Fri Apr 30 09:03:20 BST 2010

was not bad to start to learn it.

I also recomand the 12th chapter of
samples are here

2010/4/30 Jan Ekholm <jan.ekholm at smultron.net>

> On Friday 30 April 2010, Christopher M. Nahler wrote:
> > I have found that there is some layers support with a graphics scene. I
> > just have not been able to figure out how it works.
> >
> > As far as I understand there is at least a background, standard layerand
> > a foreground (drawn in this order).
> >
> > But how do I assign items to a layer?
> >
> > Or are all added items in the standard layer and I have to draw directly
> > on the fore- and backgroundlayers?
> The foregound and background aren't really layers where you can put items.
> They allow you to draw a custom background and something extra in the
> foreground on top of everything else.
> I'd look at the z property of items to create virtual layers.
> --
> Jan Ekholm
> jan.ekholm at smultron.net
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100430/f7c21df0/attachment.html>

More information about the PyQt mailing list