I have a dialog (created with QT) with svg graphics (created with Inkscape), the grahics are integrated by styleSheet-property of an label.
Pressing various buttons in the dialog box also changes the used SVG files.
I don't want to use a lot of SVG files, I want to draw everything in one file at different layers.
And in the dialog I want to change the visibility of the layers by code.
Or in general:
How can I change an svg by code (without changing the file itself) and use it in the dialog ?