Answer the question
In order to leave comments, you need to log in
How to show picture in PyQt form?
I am writing a program that generates a .png picture, how to show it in a Qt form, use graphicsView, but how?
Answer the question
In order to leave comments, you need to log in
Found a way, use label ,
example:
pix = PyQt5.QtGui.QPixmap("file.png")
self.ui.label.setPixmap(pix)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question