pyqt5 image center code example
Example: pyqt5 image center
#Make sure to import PyQt5.QtCore first
self.label = QLabel(self,alignment=Qt.AlignCenter)
pixmap = QPixmap("image.png")
self.label.setPixmap(pixmap)
#Make sure to import PyQt5.QtCore first
self.label = QLabel(self,alignment=Qt.AlignCenter)
pixmap = QPixmap("image.png")
self.label.setPixmap(pixmap)