Refactor: simplify style parsing


Remove dependency on QSvgNode from style factory functions and
parseBaseGradient.

Change-Id: I6fc922229944b8e91b06791f70740c7b21264f5f
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commitb8d7cf48f5b1cd156b6540c12dccff5c20e4e3d0
parent6220bd28997686804f613f824216ef64c1974679
authorHatem ElKharashy <hatem.elkharashy@qt.io>
committerHatem ElKharashy <hatem.elkharashy@qt.io>
commit timeTue, 7 Apr 2026 10:55:15 +0200