I want to add some effect to an applet I am really stuck on how I can get a QPixmap of my applet after i painted the applet I need something like
QPixmap* m_oldPixmap; void PlasmaApplet::paintInterface(QPainter *p, const QStyleOptionGraphicsItem *option, const QRect &contentsRect) { .... do the painting.... and now: store the current image of the applet for future use in a QPixmap/QImage something like that: m_oldPixmap=new QPixmap(PlasmaApplet::pixmap()) }; any ideas?
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel