MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / mousePressEvent

Method mousePressEvent

cp-profiler/src/cpprofiler/tree/tree_scroll_area.cpp:258–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258void TreeScrollArea::mousePressEvent(QMouseEvent *me)
259{
260 auto n = findNodeClicked(me->x(), me->y());
261 if (n != NodeID::NoNode)
262 {
263 emit nodeClicked(n);
264 }
265}
266
267void TreeScrollArea::mouseDoubleClickEvent(QMouseEvent *me)
268{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected