[PyQt] QPainter

lucaberto at libero.it lucaberto at libero.it
Thu Jun 21 09:05:32 BST 2007


Hello using pyqt3 for paint when i click one qbutton i do as follow

gr = QPainter(self.frame3)
gr.drawLine(30,10,30,490)
and the line is draw. 

if i do the same with pyqt4 nothing is draw can you explain me how to proceed

Regards

Luca

In both i use qtdesigner and eric



More information about the PyQt mailing list