Add arrow keys to move and resize selection rectangle

Authored by sharvey on Jul 19 2018, 10:32 AM.

Description

Add arrow keys to move and resize selection rectangle

Summary:
Add arrow keys to move and resize selection rectangle.
Arrows alone moves in large increment
+ Arrows moves in small (single pixel) increments
ALT + Arrows resize rectangle in large increment
ALT + + Arrows resize rectangle in small increment

BUG: 394947

Test Plan:

  • Apply patch
    • Launch Spectacle; begin Rectangular Selection
    • Select a rectangle with the mouse
    • Use Arrows to move rectangle (large increment)
    • Use + Arrows to move in small increment
    • Use ALT + Arrows to resize rectangle (large increment
    • Use ALT + + Arrows to resize rectangle in small increment
    • Complete capture with mouse or Enter key
    • Ensure right selection is captured after moving and resizing rectangle

Reviewers: rkflx, ngraham, Spectacle, yurchor

Reviewed By: rkflx, ngraham, Spectacle, yurchor

Subscribers: ltoscano, kde-doc-english, abalaji, Spectacle

Tags: Documentation

Differential Revision: https://phabricator.kde.org/D13450

Details

Committed
sharveyJul 19 2018, 10:38 AM
Reviewer
Spectacle
Differential Revision
D13450: Add arrow keys to move and resize selection rectangle
Parents
R166:9c692efb542f: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown