--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/drawMapTest/drawmapscene.cpp Sat Nov 27 22:40:29 2010 +0300
@@ -0,0 +1,26 @@
+#include <QDebug>
+#include <QGraphicsSceneMouseEvent>
+
+#include "drawmapscene.h"
+
+DrawMapScene::DrawMapScene(QObject *parent) :
+ QGraphicsScene(parent)
+{
+ setSceneRect(0, 0, 4096, 2048);
+}
+
+void DrawMapScene::mouseMoveEvent(QGraphicsSceneMouseEvent * mouseEvent)
+{
+
+ qDebug() << "move" << mouseEvent->scenePos();
+}
+
+void DrawMapScene::mousePressEvent(QGraphicsSceneMouseEvent * mouseEvent)
+{
+ qDebug() << "press" << mouseEvent->scenePos();
+}
+
+void DrawMapScene::mouseReleaseEvent(QGraphicsSceneMouseEvent * mouseEvent)
+{
+ qDebug() << "release" << mouseEvent->scenePos();
+}