PDA

View Full Version : Managing Z order without QCanvasItem



yellowmat
4th February 2006, 16:45
Hi there,

I'm trying to developp a widget composed of 5 bitmaps.

One of those bitmaps is in the background and the four others are over.

What I want to do is showing or hiding the four bitmaps and I want to be sure that the are over the background bitmap.

I have seen in Qt documentation that it is possible to manage the z ordering using QCanvasItem ... but it is a bit hard understanding and using for me so I want to know if there is another way to do what I want ?

Thanks in advance.

jacek
4th February 2006, 17:17
You can paint those pixmaps yourself. Just subclass QWidget and reimplement paintEvent() methods.