Maluko_Da_Tola
20th July 2010, 18:52
Hi,
I am trying to set a GraphicsView widget that i created in my mainwindow to display a graphics scene that i previously created. I used the following code:
QGraphicsView view(&scene);
QGraphicsView* widget = new QGraphicsView();
view.setViewport(widget);
view.show();
Any suggestions on how this could work?
Thank you
I am trying to set a GraphicsView widget that i created in my mainwindow to display a graphics scene that i previously created. I used the following code:
QGraphicsView view(&scene);
QGraphicsView* widget = new QGraphicsView();
view.setViewport(widget);
view.show();
Any suggestions on how this could work?
Thank you