Hi all!
Do anybody know how to set opacity for plasmoid?
Background transparency like Desktop Folder plasmoid has...
I have tried with QPointer::setOpacity() but that doesn't work.
Qt Code:
void TestPlasmoid::paintInterface(QPainter *p, const QStyleOptionGraphicsItem *option, const QRect &contentsRect) { p->setOpacity(0.2); }To copy to clipboard, switch view to plain text mode
Bookmarks