Re: [PyQt] How to fix the size of a widget?

2012-01-05 Thread daitheflu
You should make the upper part of your GUI (what looks like to be a graph) grow (see QSizePolicy). -- François - Mail original - De: "Fabien Lafont" À: pyqt@riverbankcomputing.com Envoyé: Jeudi 5 Janvier 2012 11:47:08 Objet: [PyQt] How to fix the size of a widget? Is it possible to

Re: [PyQt] How to insert a picture

2012-01-05 Thread daitheflu
Hi Fabien, I think you'll need a QLabel instance : led = QLabel() led.setPixmap(QPixmap("LED_ON.PNG") Should do the job. Cheers, -- François - Mail original - De: "Fabien Lafont" À: pyqt@riverbankcomputing.com Envoyé: Jeudi 5 Janvier 2012 10:57:18 Objet: [PyQt] How to ins