Locked History Attachments

ChangeRequests/2714

Summary of bug description

  • actual behaviour: Menu Widget includes different buttons without any functions (e.g. split widget horizontal, split widget vertical, close widget). Furthermore, the widget shows up when mouse enter the renderWindow. Hence, the Renderer need to render twice (time-consuming in 3D).
  • expected behaviour: Menu Widget includes only buttons WITH a functions, the "not-working" buttons are removed. The menuWidget should shows up when the mouse enter a defined region. That means we need to move the hide/show menuWidget from enter-/leaveEvent to mouseMoveEvent in QmitkRenderWindow.

Cause of the bug

Split Widget horizontal/vertical and close Widget are "placeholder". But until now, this features are not implemented yet.

Proposed solution

Remove all members and implementation of the "not-working" buttons. Define a region of visibility for the menuWidget. Here we differ between 2D and 3D e.g.:

Affected classes

QmitkRenderWindowMenu.h/.cpp and QmitkRenderWindow.cpp

How will the bugfix get tested?

manual test:

  • start application
  • move mouse inside a render window
  • if mouse position in the upper (3D: right) region of the window, the menu widget shows up
  • if mouse is at any other position, the menu widget is hidden.