Selection and movement of shapes with mouse #3

Closed
opened 2023-01-14 15:27:53 +08:00 by luca · 1 comment
Owner

Current interactions with the shapes on the slabs in the left panel, is quite confusing and prone to error.

These are the changes to be applied.

The view can be pammed by holding the middle button of the mouse, and moving the mouse, left click should not be doing this.

The mouse left click if not on a shape can be used to create selection windows of two types

  1. Box Selection
    This is the normal and most obvious way of making a selection. To make a window selection click at any point in the drawing area and drag the cursor towards RIGHT side to include the objects in the selection window.
    All the objects which are COMPLETLY inside this solid window will be selected, as shown in the image below.
    Objects crossing the boundary will NOT be selected in this case, only objects COMPLETLY inside the selection window will be selected.
    The window is blue and transparent and has a continous contour.
    image

  2. Crossing window
    This one is like normal box selection but in this case, any object which even touches the boundary of the window will be selected. To make this crossing window click at a point in drawing area and move your cursor towards LEFT.
    All the objects within this dashed window, as well as objects touching the boundary of the window, will be included in the selection set as shown in the image below.
    The window is green and transparent and has a segmented contour.
    image

Also the mouse pointer when on a shape can grab it and move it, the pointer should change to a hand to make user understand this

image

If user right clicks on a slab a menu should pop out with move option, the slab will follow mouse untill left click or right click is pressed, slabs should move together with the shapes that are contained within them.

Current interactions with the shapes on the slabs in the left panel, is quite confusing and prone to error. These are the changes to be applied. The view can be pammed by holding the middle button of the mouse, and moving the mouse, left click should not be doing this. The mouse left click if not on a shape can be used to create selection windows of two types 1. Box Selection This is the normal and most obvious way of making a selection. To make a window selection click at any point in the drawing area and drag the cursor towards RIGHT side to include the objects in the selection window. All the objects which are COMPLETLY inside this solid window will be selected, as shown in the image below. Objects crossing the boundary will NOT be selected in this case, only objects COMPLETLY inside the selection window will be selected. The window is blue and transparent and has a continous contour. ![image](/attachments/4e23bb56-1047-4670-a8e0-848a630019a2) 2. Crossing window This one is like normal box selection but in this case, any object which even touches the boundary of the window will be selected. To make this crossing window click at a point in drawing area and move your cursor towards LEFT. All the objects within this dashed window, as well as objects touching the boundary of the window, will be included in the selection set as shown in the image below. The window is green and transparent and has a segmented contour. ![image](/attachments/35711670-8c8b-4345-9b76-e92bea0aa43b) Also the mouse pointer when on a shape can grab it and move it, the pointer should change to a hand to make user understand this ![image](/attachments/c4d57498-0bfa-43b5-9b76-23d0428f409d) If user right clicks on a slab a menu should pop out with move option, the slab will follow mouse untill left click or right click is pressed, slabs should move together with the shapes that are contained within them.
Author
Owner

Closed

Closed
luca closed this issue 2023-02-23 15:13:56 +08:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: luca/Vein-Matching#3