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

Qt-interest Archive, April 2008
QGraphicsScene how to 'layer' items?


Message 1 in thread

Hi All,

In my QGraphicsScene I have 3 polygons (rectangles)  that overlap each 
other small amounts.
I would like to be able to re-order the polygons.  i.e. send one poly. 
to the back or bring one poly. to
the front.   Does anybody have any suggestions on how to do this?
I add the polygons using the addPolygon() method in QGraphicsScene.
 (Qt v4.3.4)

Thank you,
Stacy Alley

--
 [ signature omitted ] 

Message 2 in thread

QGraphicsItem::setZValue(qreal z)

-----Ursprüngliche Nachricht-----
Von: Stacy Alley (Astro) B6 [mailto:salley@xxxxxxxx] 
Gesendet: Dienstag, 15. April 2008 18:07
An: qt-interest@xxxxxxxxxxxxx
Betreff: QGraphicsScene how to 'layer' items?

Hi All,

In my QGraphicsScene I have 3 polygons (rectangles)  that overlap each 
other small amounts.
I would like to be able to re-order the polygons.  i.e. send one poly. 
to the back or bring one poly. to
the front.   Does anybody have any suggestions on how to do this?
I add the polygons using the addPolygon() method in QGraphicsScene.
 (Qt v4.3.4)

Thank you,
Stacy Alley

--
 [ signature omitted ] 

Message 3 in thread

Perfect! Thank you!

Acenes wrote:
> QGraphicsItem::setZValue(qreal z)
>
> -----Ursprüngliche Nachricht-----
> Von: Stacy Alley (Astro) B6 [mailto:salley@xxxxxxxx] 
> Gesendet: Dienstag, 15. April 2008 18:07
> An: qt-interest@xxxxxxxxxxxxx
> Betreff: QGraphicsScene how to 'layer' items?
>
> Hi All,
>
> In my QGraphicsScene I have 3 polygons (rectangles)  that overlap each 
> other small amounts.
> I would like to be able to re-order the polygons.  i.e. send one poly. 
> to the back or bring one poly. to
> the front.   Does anybody have any suggestions on how to do this?
> I add the polygons using the addPolygon() method in QGraphicsScene.
>  (Qt v4.3.4)
>
> Thank you,
> Stacy Alley
>
> --
> 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 ]