In case someone ends up digging into this, this code might be useful.
The following script "embeds" an hyper link inside the selected node, but 
its not clickable for some reason:

c.frame.body.widget.setOpenExternalLinks(True)
c.frame.body.widget.insertHtml("<a 
href='http://www.w3schools.com/'>w3Schools</a>")
c.frame.body.widget.show()

Just copy paste and run in any node body in a new outline (some strange 
things happen after that).

There, you will just be accessing the body widget, which happens to be a 
QtTextBrowser 
<http://qt-project.org/doc/qt-4.8/qtextbrowser.html>Class, which happens to 
already support html and hyper links.

HTH.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to