Should I use QCanvas+QCanvasView+QCanvasItems instead of QWidget ?
Hi everybody !
I need to developp (using Qt3) a graphic application which will manage several custom graphic objects I must developp.
It will be 2D graphics and custom widgets are quite simples (transparent texts, pixmaps, no animations). I also need to control the Z order to be sure to keep some graphic objects at the right z order.
I looked the Qt documentation and read that for 2D graphics QCanvas can be used, but also QWidget ... but I don't know which one to choose.
Could anyone help me to make the right choice ?
Thanks in advance.
Re: Should I use QCanvas+QCanvasView+QCanvasItems instead of QWidget ?
It sounds as if you're after a canvas, yes. Check out http://www.digitalfanatics.org/proje...chapter12.html for examples of what the Qt 3 canvas can be used for.