applet and panel backgrounds and one to rule them all

Marco Martin notmart at gmail.com
Mon Jan 7 14:18:16 CET 2008


Hi,
i have made a little class that manages the svg based backgrounds like the 
ones of the applet or the panel, with a little plasma applet for testing 
purposes (and could be useful for artists that wants to test-out themes 
they're creating).
a first version is at http://www.notmart.org/misc/SvgPanelTest.tar.bz2
the class is named SvgPanel and uses caching, can draw selectively all the 
four borders or only some of them and change the svg background on the fly.

it has still many problems, the panel-background svg looks disconnected into 
pieces (think was the same problem that occurred in the panel, a qsvg bug 
iirc?)
and the standard background svg looks fine in plasma but looks awful in 
plasmoidviewer :(

i would commit that into playground and leave here until the worst artifacts 
are fixed and everyone is happy with the code and then move SvgPanel into 
trunk for 4.1
sounds good?

Cheers,
Marco Martin


More information about the Panel-devel mailing list