Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, September 2007
Help on multi-layer view


Message 1 in thread

Dear all

I need to set-up something similar to a multi-layer view using
QGraphicsView / QGraphicsScene, but with the ability to see all 
layers stacked, when required.

I've carefully read all previously-posted message regarding this problem
but I'm still not sure on how to proceed... create a view for each
layer ? reimplementing QGraphicsView::drawItems just to draw items on
current layer ? what else ?

please help!

    thanks a lot

                Andy


--
 [ signature omitted ] 

Message 2 in thread

Dear listener,

anyone can point me on a "right" solution ?

I've read all the messages from Andreas Hanssen, Chris Portka, Fabian
Hohmuth but I'm still confused on how to proceed...

One of these messages says:

>Invisible helper items are a very nice way to solve this problem.
>You get everything you want from a layer, and all you need to do
>to switch the stacking order is to change the layer items' Z value.
>Non-drawing items are the cheapest kind of items to maintain.

what are "Invisible helper items" ?

Any help would be greatly appreciated.

          Andy

On Fri, 2007-09-07 at 21:32 +0000, Andy Hirsh wrote: 
> Dear all
> 
> I need to set-up something similar to a multi-layer view using
> QGraphicsView / QGraphicsScene, but with the ability to see all 
> layers stacked, when required.
> 
> I've carefully read all previously-posted message regarding this problem
> but I'm still not sure on how to proceed... create a view for each
> layer ? reimplementing QGraphicsView::drawItems just to draw items on
> current layer ? what else ?
> 
> please help!
> 
>     thanks a lot
> 
>                 Andy
> 
> 
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/

--
 [ signature omitted ]