hello All,
i'm tring to use QtPainter to display a QImage object
this is my paint event :
def paintEvent(self, event):
painter = QPainter(self)
painter.fillRect(event.rect(), QBrush(Qt.black))
image = self.receiver.getimage()
print image , 'passed'
Hi All,
i fixed my problem ...
the Qt code works fine i haven't changed it
the problem was during the conversion between PIL image Object to QImage Object
thanks to some web search i fixed it adding the 2 function :
open() and __PIL2Qt()
using them i'm now able to performs some image