Implement rendering to image feature


Implement rendering to image which can be triggered from the tools menu.
This will save the effect preview in its current state as a PNG image.

Task-number: QTBUG-106631
Change-Id: I30fcc7dd4ea6b3d95d6a2c49f4a006baf8cb9e22
Reviewed-by: <amr.elsayed@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
commit523e9449be33a3cc3f8459cd9671f3ba32bc722e
parent47780a17c199f3e6cc07d08bffb1d8bb30534078
authorKaj Grönholm <kaj.gronholm@qt.io>
committerKaj Grönholm <kaj.gronholm@qt.io>
commit timeTue, 11 Oct 2022 10:52:44 +0000