[PySide] custom paint method and QLayout.spacing()

Sebastian Elner sebastian at risefx.com
Tue Jul 10 09:30:31 CEST 2012


On 07/10/2012 09:13 AM, Frank Rueter | OHUfx wrote:
> |painter.fillRect(self.rect(),  bgColor)|
Can you repalce this with:
|
painter.fillRect(event.rect(),bgColor)|

-- 
Sebastian Elsner    -    pipeline td   -   r i s e |  fx

t:  +49 30 20180300                 sebastian at risefx.com
                                           www.risefx.com

r i s e |  fx  GmbH
Schlesische Strasse 28 Aufgang B, 10997 Berlin
Geschäftsführer: Sven Pannicke, Robert Pinnow

Handelsregister Berlin HRB 106667 B

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20120710/5fdfa174/attachment.html>


More information about the PySide mailing list