feat(ui): add sound feedback configuration for notifier service
Description
module::ui::qt::notifier
currently solely uses visual notifications, it would be required to give the option to also play a (custom) sound notification.
Functional specifications
Sound will need to be configurable, either with presets (e.g. 'success', 'error' our 'info') or by selecting a file in the filesystem.
Technical specifications
Use a QSoundEffect
member initialized in the configuring methode and a play()
ed in the pop()
existing slot.
Test plan
in ex_notifications
, a new drop down menu will be desplayed.
- Select the type of sound you wish to test.
- Press the
Notify
button to display the notification. - Sound is played at the same time.
- Sound corresponds to the type of notification (up to a subjective point...).