Radium-Engine icon indicating copy to clipboard operation
Radium-Engine copied to clipboard

Send key and mouse events to plugins

Open nmellado opened this issue 4 years ago • 2 comments

In some cases, plugins might need to catch events from the GUI. We could add a signal/slot mechanism in PluginContext to forward events from the UI to the plugins. Of course, it will be the responsibility of the application to forward these events. We can do it for the Viewer class.

Suggested by @chemseddinehimeur

nmellado avatar Feb 05 '21 10:02 nmellado

It could for instance be done like this: https://github.com/STORM-IRIT/Radium-Engine/commit/114eac42c1c9d720c6a557f0affd9b5d96fbb124

nmellado avatar Feb 05 '21 10:02 nmellado

Note: New mechanism added in #776

nmellado avatar Jul 13 '21 10:07 nmellado