ui: Added more movement controls to the graph

* SHIFT + mouse wheel for zooming
* WASD for moving up, right, left, down
* SHIFT + WS for zooming
* zoom anchor is under the mouse

bug id = 54
This commit is contained in:
Eberhard Graether
2016-03-12 00:55:31 +01:00
parent bcb43eccd0
commit 53d5fe6a06
5 changed files with 190 additions and 53 deletions
+2
View File
@@ -38,6 +38,8 @@ add_files(
qt/graphics/QtAngledLineItem.h
qt/graphics/QtCountCircleItem.cpp
qt/graphics/QtCountCircleItem.h
qt/graphics/QtGraphicsView.cpp
qt/graphics/QtGraphicsView.h
qt/graphics/QtRoundedRectItem.cpp
qt/graphics/QtRoundedRectItem.h
qt/graphics/QtStraightLineItem.cpp