From kde-devel Sat Oct 23 14:51:58 2004 From: Waldo Bastian Date: Sat, 23 Oct 2004 14:51:58 +0000 To: kde-devel Subject: Re: QWidget in QPixmap Message-Id: <200410231651.58686.bastian () kde ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=109854336227231 On Friday 22 October 2004 17:41, Laur Ivan wrote: > Hi all, > > Is there any easy way to make a widget to paint itself in a pixmap? I'm > aware of QPixmap::grabWidget(...), but I'm not sure it's the right thing > for a progressbar. Sort of. You can use a QPainter that operates on a QPixmap and then call the paint methods of the widget with your QPainter. Cheers, Waldo -- bastian@kde.org | SUSE LINUX 9.2: Order now! | bastian@suse.com http://www.suse.de/us/private/products/suse_linux/preview/index.html >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<