First version of the `tone notification` widget. Simply emit a sound
This PR add the first widgets and common utils for notifications
Tone notifier
emits a sound and a pop up message when a new object is received. Both an be turn off
timer
simple widget which keep an object for several seconds and then release it
Email base class
add the EmailTask
able to send an email if executed inside esrf. There is no dedicated widget class for this one as it might depend on the project itself how they want to expose it and which information it can contain.
But the generic GUI is stored in ewoksnotify.gui.email
A usage example can be found in https://gitlab.esrf.fr/tomotools/tomwer/-/blob/main/orangecontrib/tomwer/widgets/control/EmailOW.py?ref_type=heads
ICAT
Same as for the Email use case. For now we only provide the PublishProcessedDataFolderTask
which can do the publication.
Not sure that the widget will be generic. Or else is should take a common class in entry IcatProvider
able to get function like get_beamline()
, get_proposal()
, get_dataset
, get_path
...
An example of usage can be found in https://gitlab.esrf.fr/tomotools/tomwer/-/blob/main/orangecontrib/tomwer/widgets/icat/PublishProcessedDataOW.py?ref_type=heads