[Qt-interest] SVG masks and effects in Qt

Laurent Gomila laurent.gom at gmail.com
Tue Feb 3 13:52:54 CET 2009


Hi

I'd like to know more about the future improvements of the SVG module
in Qt. I'm using SVG intensively to draw and customize my widgets, and
some parts of my system directly depend on currently missing features
in QtSvg.

1- I've found a blog entry from last year about light and shadow
effects for SVG rendering. Is it totally abandonned? Still in
progress? Is it going to be part of a future release?
Blog entry:
http://labs.trolltech.com/blogs/2008/05/30/decoration-items-light-and-shadow-effects/

2- What about masks, and effects such as blur? I've seen many requests
for these, and what I understand from the answers is that it might be
implemented some day, but not now. Can someone tell me more about it?

3- Is there any plan to support SVG stylesheets?

4- I was also wondering why QGraphicsSvgItem doesn't expose any of its
attributes. I've seen from the source code that the SVG structure is
stored in a clean tree (made of QSvgNode), is there any reason not to
expose this structure in the public API?

5- My final question is not related to SVG, but still refers to
stylesheets. Can Qt stylesheets (QSS) be extended? I mean, is it
possible to set attributes of a custom widget class in a stylesheet?
Is it possible to define custom attributes, or maybe map the widget's
properties?

Thank you very much.


Laurent Gomila



More information about the Qt-interest-old mailing list