src/document.cpp

changeset 124
f9f308c8e0c5
parent 121
000781318c36
child 125
f127982d3412
equal deleted inserted replaced
123:e3fe3617b631 124:f9f308c8e0c5
79 }); 79 });
80 connect(this->renderer, &Canvas::mouseMove, this, [this](Canvas* canvas, QMouseEvent* event) 80 connect(this->renderer, &Canvas::mouseMove, this, [this](Canvas* canvas, QMouseEvent* event)
81 { 81 {
82 Q_EMIT this->mouseMove(this, canvas, event); 82 Q_EMIT this->mouseMove(this, canvas, event);
83 }); 83 });
84 connect(this->renderer, &Canvas::keyReleased, this, [this](Canvas* canvas, QKeyEvent* event)
85 {
86 Q_EMIT this->keyReleased(this, canvas, event);
87 });
84 connect(&this->vertexMap, &VertexMap::verticesChanged, [&]() 88 connect(&this->vertexMap, &VertexMap::verticesChanged, [&]()
85 { 89 {
86 this->renderer->rebuildVertices(this); 90 this->renderer->rebuildVertices(this);
87 }); 91 });
88 } 92 }

mercurial