[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Render widgets to canvas/buffer
From:       "Diez B. Roggisch" <deets () web ! de>
Date:       2005-04-22 13:25:03
Message-ID: 200504221525.03480.deets () web ! de
[Download RAW message or body]

Am Friday, 22. April 2005 15:00 schrieb Diez B. Roggisch:
> Hi,
>
> this is more of a Qt-question I believe, but I'll ask here anyway - maybe
> someone on this list has done it before. And google didn't help me so far.
>
> I'm looking for a way to draw my widgets to a canvas so that I can create
> "snapshots" of my widgets.
>
> The overall goal is to create a toolchain so that I can update my
> applications docs with the real widgets instead of hand-made snapshots that
> are automatically outdating.
>
> Any suggestions?

Just for the record: It's QPixmap.grabWidget() that does the trick. Neat.

Diez

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic