[PyQt] Auto links in a QTextBrowser?

Martin Airs camberwell at gmail.com
Tue Aug 31 15:06:48 BST 2010


Hi Taylor,

Thanks, I thought as much really, just wishfull thinking I guess :)

Martin

On 31/08/10 03:58, Taylor Carrasco wrote:
> 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
> <mailto: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
>     <mailto:PyQt at riverbankcomputing.com>
>     http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
>
>
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt



More information about the PyQt mailing list