Hello,

I'm trying to insert a picture in PyQt. I've tried

LED = QLabel.setPixmap(QPixmap("LED_ON.PNG"))

but it returns:

LED = QLabel.setPixmap(QPixmap("LED_ON.PNG"))
TypeError: QLabel.setPixmap(QPixmap): first argument of unbound method
must have type 'QLabel'

Any Idea?
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to