src/tools/drawtool.cpp

changeset 104
cd4df75924b7
parent 103
94719518e310
child 106
128efb9d148b
equal deleted inserted replaced
103:94719518e310 104:cd4df75924b7
14 { 14 {
15 static const QString result = tr("Draw new elements into the model."); 15 static const QString result = tr("Draw new elements into the model.");
16 return result; 16 return result;
17 } 17 }
18 18
19 bool DrawTool::mouseReleased(const BaseTool::MouseEventData &event) 19 bool DrawTool::mouseClick(const Canvas::MouseClickInfo& info)
20 { 20 {
21 static_cast<void>(info);
21 QMessageBox::information(nullptr, "hleelo", "it works"); 22 QMessageBox::information(nullptr, "hleelo", "it works");
23 return true;
22 } 24 }

mercurial