Re: SVG files in Qwt library
Quote:
Originally Posted by
Hogwarts
But I need to develop new widgets, but using SVG files. I would like to use the facilities provided by this library and I want to know if you are considering include svg files in Qwt Widgets to improve design quality
A SVG document is simply a collection of paint commands, that are mapped by QSVGRenderer ~1:1 to QPainter calls. So it's obvious, that using SVG doesn't improve any design quality only because of using it and you could always paint the same writing QPainter calls in a C++ code.
What can be done with SVG is to make a widget more "themable" for the user, an idea Qt offers with the stylesheets. But ( beside of very basic stuff, that is supported in Qwt 6 ) this concept is only working for the Qt standard widget set.
I can imagine several components of Qwt widgets, that could optionally use SVG objects - like the needle of a dial or even curve symbols on a plot widget. But I don't believe in using SVG for displaying something like the scales.
So if you want to have a serious answer you need to be more specific about what components of which widgets you want to be displayed from a SVG object.
Uwe