Improve effect exporting


Improve and streamline exporting the effects:
- Separate "Export As" menu entry similarly to Save & Save As. This
  will open the dialog while "Export" exports directly.
- When launched from QDS, disable all File dialog menu items except
  Save and Quit.
- In the QDS mode, save actually does save & export.
- Add "Export" button into code toolbar. This can be used to faster
  exporting when modifying the shader code.

Task-number: QTBUG-110476
Pick-to: 6.5 6.4
Change-Id: Iae486755523171385d58fc44fc3ba0322a21e1ff
Reviewed-by: Amr Elsayed <amr.elsayed@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
commit9b5f96742c786df30998e2564357030f07f92d4a
parente5e0ce8c5de144a7a39784919e21a28d180a161e
authorKaj Grönholm <kaj.gronholm@qt.io>
committerKaj Grönholm <kaj.gronholm@qt.io>
commit timeFri, 3 Feb 2023 12:34:23 +0200