src/ui/canvas.cpp

changeset 48
3c10f0e2fbe0
parent 47
cd6704009eb9
child 51
1a9eac27698d
equal deleted inserted replaced
47:cd6704009eb9 48:3c10f0e2fbe0
13 13
14 void Canvas::mouseMoveEvent(QMouseEvent* event) 14 void Canvas::mouseMoveEvent(QMouseEvent* event)
15 { 15 {
16 const ldraw::Id id = this->pick(event->pos()); 16 const ldraw::Id id = this->pick(event->pos());
17 this->newStatusText("Selected: %1"_q.arg(id.value)); 17 this->newStatusText("Selected: %1"_q.arg(id.value));
18 this->setHighlight(id);
18 PartRenderer::mouseMoveEvent(event); 19 PartRenderer::mouseMoveEvent(event);
19 } 20 }

mercurial