[Digikam-devel] [Bug 103645] zoom in with rectangle tool selection

Gilles Caulier caulier.gilles at gmail.com
Wed Mar 21 13:15:44 GMT 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=103645         




------- Additional Comments From caulier.gilles gmail com  2007-03-21 14:15 -------
>    Maybe the following would be a simple solution:
>    introduce a new (user-changeable) zoom_factor, by which
>    the magnification gets multiplied (divided by):
>    E.g. with zoom_factor=1.4 using the mousewheel for zooming


are you read my previous messages ? The mouse wheel zooming control is already implemented in editor like this :

CRTL + mousewheel ==  Zoom +/-
SHIFT + mousewheel ==  previous / next image.

look in canvas.cpp the method "void Canvas::contentsWheelEvent(QWheelEvent *e)"

But for obscurs reasons, the keyboard events is not handle at the same time than mouse wheel events by QT. I don't know why...

 

>    would lead
>    to the sequence
>    100%  140% 196% 274%  384% ...
>    and in the other direction:
>      71%  51%  36% ...

>    Technical remark: If the actual zoom-level is just an integer percentage,


no, internally, it's a float value.
 
Gilles



More information about the Digikam-devel mailing list