Ticket #4301 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Make scale bars in Multislice view expand

Reported by: Michael Reuter Owned by: Michael Reuter
Priority: major Milestone: Release 2.0
Component: VATES Keywords:
Cc: Blocked By:
Blocking: Tester: Owen Arnold

Description

The scale bars in the Multislice view in the VATES simple interface should grow and shrink in sync with the view window.

Change History

comment:1 Changed 9 years ago by Michael Reuter

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Michael Reuter

Refs #4301. Returning scale bars to view size.

Changeset: 1702e25cedd46723c4513d14186f81473ba2df8e

comment:3 Changed 9 years ago by Michael Reuter

Refs #4301. Recovering more space from scale widget.

Changeset: b5c49af3383c3848ddf64904eb374658f5d3f46e

comment:4 Changed 9 years ago by Michael Reuter

Refs #4301. Install event filter for AxisInteractor widgets.

The Multislice view now installs an event filter on the AxisInteractor widgets that check for resize event. The indicators are still moving when the view is resized. Also, the last added indicator is selected when resize is finished.

Changeset: 4669fe7957d78119858a0e6b171a03c19473e7db

comment:5 Changed 9 years ago by Michael Reuter

Refs #4301. Getting rid of slice selection after resizing.

Changeset: 2dcfb5cb09f2e4d79430a6ee8040ba000b7ca440

comment:6 Changed 9 years ago by Michael Reuter

Refs #4301. Updating scene rectangle on resize.

The root cause of the indicators not staying in their correct location when resizing occurs was due to the graphics scene rectangle not resizing along with the graphics view widget.

Changeset: 641fdf30601a8bb1df85d84e3e2fd267617cc41b

comment:7 Changed 9 years ago by Michael Reuter

  • Status changed from accepted to verify
  • Resolution set to fixed

To test, open the simple interface in either MantidPlot or the standalone with appropriate data and switch to the multislice view. Add some slices and hit apply. Then, resize the window. The slice indicators should remain at their correct coordinate location.

comment:8 Changed 9 years ago by Michael Reuter

Refs #4301. Returning scale bars to view size.

Changeset: 1702e25cedd46723c4513d14186f81473ba2df8e

comment:9 Changed 9 years ago by Michael Reuter

Refs #4301. Recovering more space from scale widget.

Changeset: b5c49af3383c3848ddf64904eb374658f5d3f46e

comment:10 Changed 9 years ago by Michael Reuter

Refs #4301. Install event filter for AxisInteractor widgets.

The Multislice view now installs an event filter on the AxisInteractor widgets that check for resize event. The indicators are still moving when the view is resized. Also, the last added indicator is selected when resize is finished.

Changeset: 4669fe7957d78119858a0e6b171a03c19473e7db

comment:11 Changed 9 years ago by Michael Reuter

Refs #4301. Getting rid of slice selection after resizing.

Changeset: 2dcfb5cb09f2e4d79430a6ee8040ba000b7ca440

comment:12 Changed 9 years ago by Michael Reuter

Refs #4301. Updating scene rectangle on resize.

The root cause of the indicators not staying in their correct location when resizing occurs was due to the graphics scene rectangle not resizing along with the graphics view widget.

Changeset: 641fdf30601a8bb1df85d84e3e2fd267617cc41b

comment:13 Changed 9 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester set to Owen Arnold

comment:14 Changed 9 years ago by Owen Arnold

  • Status changed from verifying to closed

Easy to verify. Behaviour is spot-on!

comment:15 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5148

Note: See TracTickets for help on using tickets.