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

Method setHover

graph_view.cpp:298–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298void MyGraphicsView::setHover(bool in){
299 if(in)
300 mouseState |= ON_HOVER;
301 else
302 mouseState &= ~ON_HOVER;
303}
304
305void MyGraphicsView::setSel(QGraphicsItem *sel){
306 int state = SEL | (sel->type() - QGraphicsItem::UserType);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected