So far, I have the following code: p1 = QGraphicsWidget(self.scene.addItem(QGraphicsPixmapItem(self.pixmap))) p2 = QGraphicsWidget(self.scene.addItem(QGraphic
The answer code is located here (https://stackoverflow.com/a/50550471/4962676):https://github.com/eyllanesc/stackoverflow/tree/master/50550089 The answer was m
I want to display image with round shape in PyQt5/PySide2 application. Below is the code i tried. self.statusWidget = QLabel() img = QImage(":/image.jpg").scale