[PyQt] Auto links in a QTextBrowser?

Taylor Carrasco crackerbunny at gmail.com
Tue Aug 31 03:58:04 BST 2010


I'd imagine you'd have to do this yourself - it's one line of code, two
including the if statement

On Mon, Aug 30, 2010 at 12:31 PM, Martin Airs <camberwell at gmail.com> wrote:

> Good day all,
>
> I wonder is it possible have a QTextBrowser automaticaly turn urls into
> links
>
> ie. If I use a QTextBrowser as a main window for a chatroom, and a user
> types http://www.google.com, can this be made clickable automatically
> somehow, or do I have to manually search each string for "http://" and
> convert it to <a href........ myself
>
> thanks in advance
>
> Martin
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100831/a8d69745/attachment.html>


More information about the PyQt mailing list