Issue
I have a SVG widget
icon = QSvgWidget('path/icon.svg')
icon.setFixedSize(72, 72)
How I can change icon
's image?
Solution
I found how I can change it.
icon.setStyleSheet(f'image: url(cache/{str(app)}/icon.svg)')
Answered By - mmyš
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.