AcerExtensa
25th July 2009, 00:59
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.
void TestPlasmoid::paintInterface(QPainter *p, const QStyleOptionGraphicsItem *option, const QRect &contentsRect)
{
p->setOpacity(0.2);
}
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.
void TestPlasmoid::paintInterface(QPainter *p, const QStyleOptionGraphicsItem *option, const QRect &contentsRect)
{
p->setOpacity(0.2);
}