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

Method selectedVex

graph_view.cpp:226–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226MyGraphicsVexItem* MyGraphicsView::selectedVex(){
227 return selItem ? (selItem->type() == QGraphicsItem::UserType + 1 ? (MyGraphicsVexItem*)selItem : nullptr) : nullptr;
228}
229
230MyGraphicsLineItem* MyGraphicsView::selectedArc(){
231 return selItem ? (selItem->type() == QGraphicsItem::UserType + 2 ? (MyGraphicsLineItem*)selItem : nullptr) : nullptr;

Callers 1

InitMethod · 0.80

Calls 1

typeMethod · 0.45

Tested by

no test coverage detected