Hi guys,
I have 2 classes: graph and gscene(which inherits QGraphicsScene). THe graph class includes a gscene object. I would like to connect the gscene signal to the parent graph class, but after connecting the slot is not invoked.
Here's the code: (signal in the gscene)
signals:
void vSignalZoomRectangle(QRectF _rectangle);
and here is the connection in the gscene constructor:
connect(this,SIGNAL(vSignalZoomRectangle(QRectF)), this>parent(),SLOT(vZoomSceneRectangle(QRectF)));
the code compiles, but does not work.
Any idea?
THank you beforehand.
Maverick
Bookmarks