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 } |