Qt QGraphicsScene AddWidget QSvgWidget
Unsolved
General and Desktop
-
Hi,
What do you mean by broken ?
What are you getting ?
What are you expecting ? -
Broken means that I used svg, but when I apply the svg image to the button widget, it looks clean, but when I addWidget to the QGraphicsScene, it looks sizzling like a pixmap.
Hopefully I get a clean widget even when I add a widget in QGraphicsScene.
-
Why don't you use QGraphicsSvgItem instead?
Using a proxy widget will add all kinds of nasty surprises, one of them being that the content of the embedded widget does not scale nicely by default.