Hello guys.

I created a QGraphicsView class and put a scene inside it to add itens.

I am using QtDesigner to develop my interface, it has already a QGraphicView and I would like to replace that to my new class QGraphicsView. I just do it:

Qt Code:
  1. ui.graphicsView = new my_graph(vector, vector2);
To copy to clipboard, switch view to plain text mode 

I cant see anything, but if I do a ui.graphicsView->show(); I can see it in a new windows. I would like to see it in my original window inside my interface that I developed with qtdesigner.

Can Someone give me a hint?

Thanks in advanced.

Jorge.