Improve the gesture event with a trackpad (better zoom behavior, and add the scroll with two fingers)

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4266 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-11-18 09:51:53 +00:00
parent 5c48714f07
commit 27843d1097
3 changed files with 50 additions and 68 deletions

View File

@@ -132,10 +132,7 @@ class DiagramView : public QGraphicsView
void rotateTexts();
void setVisualisationMode();
void setSelectionMode();
void zoomIn();
void zoomOut();
void zoomInSlowly();
void zoomOutSlowly();
void zoom(const qreal zoom_factor);
void zoomFit();
void zoomContent();
void zoomReset();