PDA

View Full Version : Qt drawText QPainter



bunjee
7th April 2008, 16:56
Hello,

I'm using
void QPainter::drawText ( const QRectF & rectangle, int flags, const QString & text, QRectF * boundingRect = 0 ) to draw text.

Can I display an HTML link with that ?

Thanks.

wysota
7th April 2008, 20:00
If you want it to be interactive (clickable, with a tooltip, etc.), then no, you need to use a real widget for this (i.e. QLabel).