MCPcopy Create free account
hub / github.com/Linloir/GraphBuilder / estConnection

Method estConnection

graph_view.cpp:462–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

460}
461
462void MyGraphicsVexItem::estConnection(MyGraphicsView* view){
463 view->scene()->addItem(nameTag);
464 connect(view, SIGNAL(mouseMoved(QPointF)), this, SLOT(onMouseMove(QPointF)));
465 connect(view, SIGNAL(mouseLeftClicked(QPointF)), this, SLOT(onLeftClick(QPointF)));
466 connect(view, SIGNAL(mouseRightClicked(QPointF)), this, SLOT(onRightClick(QPointF)));
467 connect(view, SIGNAL(mouseReleased()), this, SLOT(onMouseRelease()));
468 connect(this, SIGNAL(setHover(bool)), view, SLOT(setHover(bool)));
469 connect(this, SIGNAL(selected(QGraphicsItem*)), view, SLOT(setSel(QGraphicsItem*)));
470 connect(this, SIGNAL(lineFrom(MyGraphicsVexItem*)), view, SLOT(startLine(MyGraphicsVexItem*)));
471 connect(this, SIGNAL(menuStateChanged(QGraphicsItem*, bool)), view, SLOT(setMenu(QGraphicsItem*, bool)));
472 connect(this, SIGNAL(addAnimation(QTimeLine*)), view, SLOT(addAnimation(QTimeLine*)));
473 connect(this, SIGNAL(logAdded(viewLog*)), view, SLOT(addLog(viewLog*)));
474 connect(this, SIGNAL(removed(MyGraphicsVexItem*)), view, SLOT(vexRemoved(MyGraphicsVexItem*)));
475}
476
477void MyGraphicsVexItem::select(){
478 state = ON_SELECTED;

Callers 2

addVexMethod · 0.80
addLineMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected