I have qgraphicsview and scene. I am adding each image item with item.cpp. Same class has mouse event actions. There is no problem to catch mouse actions but when I try to open dialog ui, I am getting error.
QGraphicsScene *scene = new QGraphicsScene();
stateBox = new StateBox("1");
stateBox class in statebox.cpp with mouse handlers.
When I try to call dialogue;
void StateBox::mousePressEvent ( QGraphicsSceneMouseEvent * event )
// mouse single click
I am getting error. How an I call dialogue from statebox.cpp?