Implement "Open" action for embedded file attachments

This MR adds an "Open" action to the context menu for embedded file attachments (specifically `FileAttachment` annotations). Previously, the context menu only offered a "Save" option, forcing user to save the fle to disk before viewing it.

Implementation Details:

The new action extracts the embedded file to a temporary file using QTemporaryFile to ensure unique naming while preserving the correct file extension)

and opens it using QDesktopServices::openUrl() (letting the OS decide the correct application).

Before After
before.png after.png

BUG: 497154

Merge request reports

Loading