Refactor: Create a separate class for paint servers


Move gradient, solid color, and pattern "styles" to a separate
file and rename them to the proper names used in the SVG specs.
Those classes were inheriting QSvgStyleProperty, but never
implemented the apply/revert functions and their sole purpose is
be used by other styles. Additionally, those are the "named styles"
stored in QSvgDocument. So this simplifies the logic and at the same
time gets rid of QSvgRefCounter dependency.

Task-number: QTBUG-144848
Change-Id: I8077c0248ecdcca9584d091b6d1cdfbd953ed576
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
commit9cdddaa067a0c54a5806a2492b2a5bfcbc03e0f0
parent135137279dc20ebe45ddf1e9fbbf2365e6bd9f0b
authorHatem ElKharashy <hatem.elkharashy@qt.io>
committerHatem ElKharashy <hatem.elkharashy@qt.io>
commit timeThu, 30 Apr 2026 15:14:38 +0000