First step towards getting right-click menu functionality re #6983

I introduced a QStringList to convey the list of workspace names, currently just the first name is conveyed.

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>