Hello, In my quest, I stumbled on this discussion that seems reasonable but it does not use Qt Designer:https://stackoverflow.com/questions/52837657/how-to-show-svg-image-in-pyqt5-from-string-xml-stream
This is the documentation (without examples, as expected):https://doc.qt.io/qtforpython/PySide2/QtSvg/QSvgWidget.html Henry On Thursday, July 23, 2020, 02:39:06 PM MDT, Eric Werner <eweryb...@gmail.com> wrote: Hello Henry,I don't think there is an "SVG-Widget". The easiest way I can think of is putting a QLabel and adding an svg-file in the pixmap attribute. "Choose File..."Voilà :)ëRiC On Thu, Jul 23, 2020 at 10:16 PM henry.wede--- via PySide <pyside@qt-project.org> wrote: Hello, I am trying to display some SVG files in a QMainWindow. I am using QtDesigner and not really interested in hand-coding the UI widgets. How to I insert a QSvgWidget into a layout using QtDesigner? I suspect that I drag a QWidget onto the layout and then "promote" it somehow but I don't understand how to do this correctly. I am pretty good at doing it "incorrectly". The current plan is to store the SVG images in a resource file and load them from there. I haven't got that far, but I am hoping that the QSvgWidget has a load method that will understand that? Thank you for the help. Henry _______________________________________________ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside
_______________________________________________ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside