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

Method selectedArc

graph_view.cpp:230–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230MyGraphicsLineItem* MyGraphicsView::selectedArc(){
231 return selItem ? (selItem->type() == QGraphicsItem::UserType + 2 ? (MyGraphicsLineItem*)selItem : nullptr) : nullptr;
232}
233
234void MyGraphicsView::RemoveVex(MyGraphicsVexItem *vex){
235 vexes.erase(vexes.begin() + vexes.indexOf(vex));

Callers 1

InitMethod · 0.80

Calls 1

typeMethod · 0.45

Tested by

no test coverage detected