src/tools/drawtool.cpp

changeset 103
94719518e310
parent 96
165777a20dc7
child 104
cd4df75924b7
--- a/src/tools/drawtool.cpp	Fri Feb 05 14:23:16 2021 +0200
+++ b/src/tools/drawtool.cpp	Sun May 16 22:41:00 2021 +0300
@@ -1,3 +1,4 @@
+#include <QMessageBox>
 #include "drawtool.h"
 
 DrawTool::DrawTool(QObject* parent) :
@@ -14,3 +15,8 @@
 	static const QString result = tr("Draw new elements into the model.");
 	return result;
 }
+
+bool DrawTool::mouseReleased(const BaseTool::MouseEventData &event)
+{
+	QMessageBox::information(nullptr, "hleelo", "it works");
+}

mercurial