Lines Matching defs:painter
78 void PlasmaMuleApplet::paintInterface(QPainter *painter,
81 painter->setRenderHint(QPainter::SmoothPixmapTransform);
82 painter->setRenderHint(QPainter::Antialiasing);
94 painter->drawPixmap(contentsRect, pixmap);
95 painter->save();
96 painter->setPen(Qt::red);
97 QFont font = painter->font();
99 painter->setFont(font);
102 painter->drawText(contentsRect, Qt::AlignCenter,
107 painter->drawText(contentsRect, Qt::AlignCenter,
111 painter->drawText(contentsRect, Qt::AlignCenter,
115 painter->setPen(Qt::black);
189 painter->drawText(contentsRect, Qt::TextDontClip | Qt::AlignTop | Qt::AlignLeft | Qt::TextWordWrap, message);
191 if (painter->boundingRect(contentsRect, Qt::TextDontClip | Qt::AlignTop | Qt::AlignLeft | Qt::TextWordWrap,
195 resize(painter->boundingRect(contentsRect, message).height()+(contentsRect.topLeft().y()*2),
196 painter->boundingRect(contentsRect, message).height()+(contentsRect.topLeft().y()*2));
199 painter->restore();