Save edit widgets also to QML style information.

Fix #11123
Fix #10752