Dear all, I have extended a plugin with an external tool. Now I would like to process key events within the tool. E.g. to interrupt an long running algorithm with Esc.
I realized that I can add a listener with: mitk::GlobalInteraction::GetInstance()->AddListener(this); and catch a mouse press event with CONNECT_ACTION(80, MyEventProcessing); where 80 corresponds to the action AcNEWPOINT But so far I could not find any action to receive a keyboard event. I'm not quite sure how to proceed or if there is another way implemented that I was not able to figure out. Best regards, Michael ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
