Den 21:10 10. april 2012 skrev Uwe Rathmann <uwe.rathm...@tigertal.de>følgende:
> On 04/10/2012 08:03 PM, Uwe Rathmann wrote:Unfortunately QWidget::render > doesn't work. In my use case I'm inside of > QWidget::paintEvent and using QWidget::render leads to a recursive call > of QWidget::paintEvent. You want to take a screenshot of the widget from within the widget's own paintEvent? That cannot possibly work. Or even if it did, the result would be completely non-deterministic. The painting code required to take the screenshot is in the same function. Why do you want this? :-) Are you writing some fancy blending code that feeds the widgets' own rendered output back into its painting code? -- Andreas Aardal Hanssen
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development