projects
/
mussa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mouse scroll wheel zooming! =o)
[mussa.git]
/
qui
/
MussaAlignedWindow.cpp
diff --git
a/qui/MussaAlignedWindow.cpp
b/qui/MussaAlignedWindow.cpp
index 085a8b67e2bc4788602a2b231ad0e03bab0d4dd9..7e4246dfb79509db70a90d15dd275605d9e4646e 100644
(file)
--- a/
qui/MussaAlignedWindow.cpp
+++ b/
qui/MussaAlignedWindow.cpp
@@
-40,6
+40,11
@@
MussaAlignedWindow::MussaAlignedWindow(MussaRef m,
connect(zoom, SIGNAL(valueChanged(double)),
&browser, SLOT(setZoom(double)));
zoom->setValue(zoom_level);
connect(zoom, SIGNAL(valueChanged(double)),
&browser, SLOT(setZoom(double)));
zoom->setValue(zoom_level);
+
+ // Mouse scroll wheel zooming!
+ connect(&browser, SIGNAL(mouseWheelZoom(double)),
+ zoom, SLOT(setValue(double)));
+
computeMatchLines();
setupMenus();
setupAlignmentMenus();
computeMatchLines();
setupMenus();
setupAlignmentMenus();