Request for Changes-55: Monteverdi: Mouse-wheel zoom without CTRL

From OTBWiki
Revision as of 13:22, 9 November 2016 by Gpasero (Talk | contribs) (Status)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[Request for Changes-55] Monteverdi: Mouse-wheel zoom without CTRL

Status

  • Author: Stéphane ALBERT
  • Additional Contributors (if different than authors)
  • Submitted on Aug 31th, 2016
  • Proposed target release 5.8
  • Adopted (+3 from Julien, Victor, Guillaume)
  • Merged : ffe116d9c296688c954671a0bd738537692816fa

Summary

Switch the zoom/scale in/out and the rotate-layers mouse controls of Monteverdi image-view.

Rationale

This will provide more coherence between the image-view and the layer-stack mouse controls:

control image-view layer-stack
mouse-wheel zoom/scale in/out scroll up/down
CTRL+mouse-wheel rotate-layers rotate-layers

Also, this will conform more to habits of users utilizing some other graphics/mapping programs.

Implementation details

Make use of a QTimer to switch fast-rendering mode instead of waiting for the user to release the CTRL modifier key.

Classes and files

TDB

Applications

N/A

Tests

N/A

Documentation

Additional notes