Page MenuHomePhabricator

ChangeRequest.txt

Authored By
nolden
Aug 19 2009, 1:53 PM
Size
724 B
Referenced Files
None
Subscribers
None

ChangeRequest.txt

Summary of bug description
* actual behaviour
KeyEvent is not derived from mitkEvent so information (e.g. position on screen) gets lost along the event mechanism
* expected behaviour
KeyEvent is derived from mitkEvent and we can use all information
Cause of the bug
In mitkEventTypedefs.h the mitkKeyEvent and its superclass mitkBaseEvent is defined. Other interaction events are derived from mitkEvent.
Proposed solution
Dissolve mitkEventTypedefs.h and create a new class mitkKeyEvent which is derived from mitkEvent. Adapt the KeyPressEvent() method in mitkBaseRenderer.
Affected classes
mitkEventTypedefs.h
mitkBaseRenderer
How will the bugfix get tested?
unit test for the new key event class

File Metadata

Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
284
Default Alt Text
ChangeRequest.txt (724 B)

Event Timeline