Radium-Engine
Radium-Engine copied to clipboard
Send key and mouse events to plugins
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
It could for instance be done like this: https://github.com/STORM-IRIT/Radium-Engine/commit/114eac42c1c9d720c6a557f0affd9b5d96fbb124
Note: New mechanism added in #776