Create New Slot Qt Designer

Hi everyone!

How To Use Qt Designer

May 19, 2016  Qt Connect Signals to Slots in QT Creator. Latest Top Songs 2020 (New Hits Playlist) #RedMusic. How to create a 3D Terrain with Google Maps and height maps in Photoshop.

Create New Slot Qt Designer

I'm searching for a solution to create a Cartesian Plane, using qtDesigner.

Qt Designer Vs Qt Creator

I find out QGraphicView and QGraphicScene for creating a 'canvas' and the cartesian axes (and also all geometric shapes) but I don't know how to do this.

PS:
I find this code for create a simple triangle
@ QGraphicsScene* scene = new QGraphicsScene();
scene->addLine(0, 0, 50, 0);
scene->addLine(50, 0, 50, 50);
scene->addLine(50, 50, 0, 0);
QGraphicsView* view = new QGraphicsView(scene);@
But I don't know how to connect this code to a QGraphicsView on a qtDesiner form.