View Full Version : About QGraphicsView
paolom
27th September 2010, 18:41
Hi,
Is it possible to have in a centralwidget of a QMainWindow more than one graphics view ( and so more than one qgraphics scene) ??
Thanks
tbscope
27th September 2010, 18:46
Yes.
Use a layout.
paolom
27th September 2010, 18:48
Sorry for my reply, but how can I use with QGraphicsLayout more than one graphics view?
tbscope
27th September 2010, 18:52
Ohh, I meant a "widget" layout not a "graphics" layout.
You have a central widget in your main window.
Set a layout, like a grid layout, and add as many graphics views as you want.
paolom
27th September 2010, 22:43
and many graphics scene i want?!
tbscope
28th September 2010, 04:32
Yes, as many as you want
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.