[PyQt] QGraphicsView.setBackgroundBrush don't work

2010-10-23 Thread leo kirotawa
Hi, I have the piece of code view = QtGui.QGraphicsView(scene) view.setRenderHint(QtGui.QPainter.Antialiasing) view.setRenderHint(QtGui.QPainter.Antialiasing) pixmap = QtGui.QImage(:/images/background.jpg) view.setBackgroundBrush(QtGui.QBrush(pixmap))

Re: [PyQt] QGraphicsView.setBackgroundBrush don't work

2010-10-23 Thread Vincent Vande Vyvre
Le 23/10/10 09:09, leo kirotawa a écrit :  Hi, I  have the piece of code   view = QtGui.QGraphicsView(scene)         view.setRenderHint(QtGui.QPainter.Antialiasing)     view.setRenderHint(QtGui.QPainter.Antialiasing)     pixmap =

Re: [PyQt] QGraphicsView.setBackgroundBrush don't work

2010-10-23 Thread leo kirotawa
thanks for you help Now it work fine, was just the image path, but what is curious that it dont work begore, very strange. []'s On Sat, Oct 23, 2010 at 5:00 AM, Vincent Vande Vyvre vincent.vandevy...@swing.be wrote: Le 23/10/10 09:09, leo kirotawa a écrit : Hi, I have the piece of