Canvas rotation on a slider instead of the little circle with the line to change angles

This is what you can do with the angle selector:

  • You can set the angle with the circular gauge or with the spin box. In the case of the circular gauge:
    • The angle can be changed with the keyboard if the widget has the focus by pressing up/down/left/right keys and snaps to multiples of 15 degrees if you also press ctrl key.
    • The angle can be changed with the mouse wheel and snaps to multiples of 15 degrees if you also press ctrl key.
    • The angle can be changed with the mouse clicking and dragging around and snaps to multiples of 15 degrees if you also press ctrl key or drag close to the circle. It doesn’t snap if you drag far unless you press the ctrl key. If you press shift then it will not snap even if you are close to the circle. If you press ctrl + shift then it will snap to integer values.
  • You can reset the angle by double clicking on the circular gauge or by right clicking on it and selecting the “reset angle” option in the popup menu.
  • You can “flip” the angle horizontally, vertically or both by:
    • Pressing one of the buttons to the side of the spinbox (these buttons may be hidden in places where there is not much room).
    • Selecting the appropriate entry in the menu that pops up when right-clicking the circular gauge or when pressing the options button (the options button is only visible if there is room and the “flip” buttons are not shown).

I made the default behavior snapping to 15 degrees when you are close so that if you use a device without keyboard you can still snap.

5 Likes