Category "qlabel"

PyQt5: How to Get Dimensions of Displayed Widgets

I have PyQt5 QLabels that expand/contract as the QMainWindow size changes. I want to get the dimensions of the QLabels when the QMainWindow is sized to anythin

QLabel with image in round shape

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

How to setPixmap on a QLabel from QCamera image

I been trying an image to a Label via setPixmap() but to no avail... In fact, i want that if i click to call the Methode def click_photo(self): to setthe image