From pykde Fri Apr 22 13:25:03 2005 From: "Diez B. Roggisch" Date: Fri, 22 Apr 2005 13:25:03 +0000 To: pykde Subject: Re: [PyKDE] Render widgets to canvas/buffer Message-Id: <200504221525.03480.deets () web ! de> X-MARC-Message: https://marc.info/?l=pykde&m=111417611731223 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