From 3d0a2bb954efb84f83c84640c47dc41203410d9d Mon Sep 17 00:00:00 2001 From: Anatoly Mihalchenko Date: Thu, 13 Oct 2011 12:59:06 +0300 Subject: [PATCH] SANKORE-139 minor comment update --- src/board/UBBoardView.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/board/UBBoardView.cpp b/src/board/UBBoardView.cpp index 8e9139bc..372eba7e 100644 --- a/src/board/UBBoardView.cpp +++ b/src/board/UBBoardView.cpp @@ -640,6 +640,9 @@ UBBoardView::wheelEvent (QWheelEvent *event) { // Too many wheelEvent are sent, how should we handle them to "smoothly" zoom ? // something like zoom( pow(zoomFactor, event->delta() / 120) ) + // use DateTime man, store last event time, and if if less than 300ms than this is one big scroll + // and move scroll with one const speed. + // so, you no will related with scroll event count } // event->accept (); QGraphicsView::wheelEvent(event);