PrintPreviewDialog problem

Chris Angelico rosuav at gmail.com
Tue Apr 17 10:22:25 EDT 2012


On Tue, Apr 17, 2012 at 4:09 PM, alhad <alhaddeshpande at gmail.com> wrote:
> but, i am getting AttributeError for "paintRequested"

Before executing that line, find out what 'preview' contains. My guess
is that you have an error return such as None, which will of course
not have a paintRequested attribute. If it's not obvious to you as
soon as you see what preview is, follow Vincent's advice and post a
full error traceback.

ChrisA



More information about the Python-list mailing list