Geert Vancompernolle wrote:

> Has anyone somewhere an example code of a small dialogue box which
> contains a hyperlink to a web site?

http://spyrit.svn.sourceforge.net/viewvc/spyrit/trunk/AboutDialog.py?revision=187&view=markup

Basically, you use a QLabel that contains your link in HTML, and don't 
forget to setOpenExternalLinks( True ) on that label. Links are then 
opened when clicked with the user's default Web browser. That's all!

-- S.
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to